:root {
  --navy: #12243a;
  --navy-soft: #1c3554;
  --ruby: #8f2740;
  --ruby-dark: #741d33;
  --ivory: #fbf7ef;
  --ivory-deep: #f3eadb;
  --gold: #c9a24a;
  --text: #1f2933;
  --muted: #657184;
  --white: #ffffff;
  --border: #e7ddcc;
  --shadow: 0 14px 35px rgba(18, 36, 58, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  letter-spacing: 0;
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--ruby);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.section {
  padding: 82px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 162, 74, 0.17), transparent 26%),
    linear-gradient(135deg, var(--ivory), #ffffff 64%, var(--ivory-deep));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ruby);
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.35;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.45;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.hero-text {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--ruby);
  box-shadow: 0 10px 22px rgba(143, 39, 64, 0.2);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--ruby-dark);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.button-large {
  min-height: 52px;
  padding-inline: 30px;
}

.small-note,
.section-note,
.warning-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gold);
}

.panel-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ruby);
  background: #fbf0f2;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-panel ul {
  margin: 22px 0 0;
  padding: 0 20px 0 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.centered {
  text-align: center;
}

.cards-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.price-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(18, 36, 58, 0.06);
}

.card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-muted {
  background: var(--white);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 18px 68px 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: auto;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.price-card {
  text-align: center;
}

.price-card.featured {
  border-color: rgba(143, 39, 64, 0.35);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.price {
  color: var(--ruby) !important;
  font-weight: 700;
}

.section-note {
  margin: 22px 0 0;
  text-align: center;
}

.section-download {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.section-download h2,
.section-download .eyebrow,
.section-download p {
  color: var(--white);
}

.section-download .warning-note {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-box p {
  color: var(--muted);
}

.company-name {
  margin-bottom: 0;
  color: var(--navy) !important;
  font-weight: 700;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 860px) {
  .navbar {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
  }

  .hero-grid,
  .cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .contact-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-box .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 58px 0;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero-actions,
  .hero-actions .button,
  .section-download .button {
    width: 100%;
  }

  .card,
  .price-card,
  .hero-panel,
  .contact-box {
    padding: 20px;
  }
}
