:root {
  --ink: #18212f;
  --muted: #607084;
  --line: #d9e0e8;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --teal: #227a3c;
  --teal-dark: #185c2d;
  --amber: #c8801d;
  --blue: #395b91;
  --shadow: 0 18px 50px rgba(26, 38, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 232, 0.75);
  backdrop-filter: blur(16px);
}

.brand,
.site-footer {
  font-weight: 750;
  letter-spacing: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.header-cta {
  padding: 0 16px;
  color: #fff;
  background: var(--teal);
}

.button {
  padding: 0 20px;
}

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

.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(11, 124, 120, 0.22);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary:hover {
  border-color: #aab8c8;
  box-shadow: 0 8px 20px rgba(24, 33, 47, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 150px);
  padding: clamp(34px, 5vw, 64px) clamp(20px, 4vw, 64px) 28px;
  background:
    linear-gradient(90deg, rgba(244, 247, 249, 0.98), rgba(244, 247, 249, 0.78)),
    #f4f7f9;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 4.6vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

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

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  gap: 10px;
  padding: 8px 14px;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(24, 33, 47, 0.18);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

.store-button small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 650;
}

.store-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 18px 0 0;
}

.hero-metrics dt {
  font-size: 1.2rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.affiliate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 4vw, 64px);
  background:
    linear-gradient(120deg, rgba(244, 247, 249, 0.98), rgba(244, 247, 249, 0.7)),
    #f4f7f9;
}

.affiliate-hero-copy {
  max-width: 800px;
}

.affiliate-summary {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.affiliate-summary strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.affiliate-summary span {
  color: var(--muted);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-strip span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  background: #fff;
  font-weight: 750;
  text-align: center;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro > p,
.split p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

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

.feature-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  padding: 28px;
}

.feature-card p,
.price-card p,
.faq p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--soft);
}

.proof-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 14px 34px rgba(24, 33, 47, 0.08);
}

.proof-panel div {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: #fff;
}

.proof-panel span {
  color: var(--muted);
}

.affiliate {
  display: grid;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(34, 122, 60, 0.08), rgba(57, 91, 145, 0.08)),
    #ffffff;
}

.affiliate .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.affiliate-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 14px 34px rgba(24, 33, 47, 0.08);
}

.affiliate-panel div {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 24px;
  background: #fff;
}

.affiliate-panel strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.affiliate-panel span {
  color: var(--muted);
}

.affiliate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.affiliate-split {
  background: var(--soft);
}

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

.price-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.featured {
  border-color: rgba(11, 124, 120, 0.45);
  box-shadow: var(--shadow);
}

.plan-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 2.45rem;
  font-weight: 850;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(24px, 6vw, 72px);
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

code {
  font-size: 0.92em;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(64px, 9vw, 120px) 20px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.final-cta .eyebrow {
  color: #d8a454;
}

.final-cta h2 {
  max-width: 780px;
}

.final-actions {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.final-actions .store-links {
  justify-content: center;
  margin-bottom: 0;
}

.store-button.dark {
  color: var(--ink);
  background: #fff;
}

.store-button.dark small {
  color: var(--muted);
}

.store-button.dark .store-icon {
  color: #fff;
  background: var(--ink);
}

.light {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.light:hover {
  border-color: #fff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 12px;
  }

  .site-header.is-open .header-cta {
    width: 100%;
  }

  .hero,
  .affiliate-hero,
  .intro,
  .split,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 24px;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-height: 190px;
    object-fit: cover;
    object-position: center;
  }

  .feature-grid,
  .affiliate-panel,
  .pricing-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 28px;
  }

  .hero-metrics {
    display: none;
  }

  .hero-actions,
  .hero-actions .button,
  .affiliate-actions,
  .affiliate-actions .button,
  .final-actions .button {
    width: 100%;
  }

  h1 {
    max-width: 13ch;
    margin-bottom: 14px;
    font-size: 2.24rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    margin: 20px 0 0;
  }

  .store-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 12px;
  }

  .store-button {
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .store-button small {
    font-size: 0.62rem;
  }
}
