:root {
  --forest-950: #071b10;
  --forest-900: #0a2010;
  --forest-800: #10301d;
  --forest-700: #1e6b42;
  --forest-600: #2d8a58;
  --moss-500: #5b9e8a;
  --moss-300: #9ecab9;
  --ink-900: #0f2418;
  --ink-700: #355244;
  --ink-500: #6c877a;
  --line: rgba(15, 36, 24, 0.1);
  --line-strong: rgba(15, 36, 24, 0.18);
  --surface: #f4f8f5;
  --surface-strong: #ebf5ef;
  --surface-plain: #ffffff;
  --gold: #d4a843;
  --gold-deep: #b8892e;
  --hero-glow: rgba(77, 211, 122, 0.18);
  --shadow-soft: 0 20px 60px rgba(11, 32, 18, 0.08);
  --shadow-card: 0 18px 50px rgba(11, 32, 18, 0.12);
  --shadow-dark: 0 28px 70px rgba(3, 13, 8, 0.38);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --container: min(1180px, calc(100vw - 40px));
  --nav-height: 76px;
  --section-space: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(91, 158, 138, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfdfb 0%, #f4f8f5 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--forest-700);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(91, 158, 138, 0.1), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(30, 107, 66, 0.08), transparent 22%);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.header-light {
  background: rgba(250, 252, 250, 0.86);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(11, 32, 18, 0.06);
}

.site-header.header-dark {
  background: rgba(7, 27, 16, 0.65);
}

.site-header.header-dark.is-scrolled {
  background: rgba(9, 28, 17, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: var(--container);
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(3, 13, 8, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.brand-tag {
  font-size: 0.8rem;
  color: var(--ink-500);
}

.header-dark .brand,
.header-dark .nav-link,
.header-dark .nav-toggle {
  color: #f6fbf7;
}

.header-dark .brand-tag {
  color: rgba(255, 255, 255, 0.66);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink-700);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(30, 107, 66, 0.08);
  color: var(--ink-900);
}

.nav-link.is-current {
  background: rgba(30, 107, 66, 0.12);
  color: var(--forest-700);
}

.header-dark .nav-link:hover,
.header-dark .nav-link:focus-visible,
.header-dark .nav-link.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.header-dark .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.header-dark .button-ghost:hover,
.header-dark .button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-600));
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 107, 66, 0.28);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(30, 107, 66, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  border: 1px solid currentColor;
}

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

.button-ghost {
  background: transparent;
  color: var(--forest-700);
  border: 1px solid var(--line-strong);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(30, 107, 66, 0.06);
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding-top: clamp(54px, 7vw, 88px);
  padding-bottom: clamp(54px, 7vw, 88px);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head h2,
.section-head h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.72;
  color: var(--ink-700);
}

.hero {
  position: relative;
  padding: calc(var(--nav-height) + 38px) 0 clamp(76px, 10vw, 108px);
  background:
    radial-gradient(circle at 18% 22%, var(--hero-glow), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(91, 158, 138, 0.2), transparent 28%),
    linear-gradient(180deg, #082112 0%, #0b2717 58%, #10301d 100%);
  color: #f6fbf7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background:
    linear-gradient(180deg, rgba(16, 48, 29, 0), rgba(16, 48, 29, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #f6faf7 88%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero .eyebrow::before {
  background: currentColor;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero p {
  max-width: 610px;
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.78;
  color: rgba(246, 251, 247, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 198px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(3, 13, 8, 0.18);
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.store-badge-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 251, 247, 0.68);
}

.store-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.store-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-badge-copy {
  min-width: 0;
}

.store-badge-logo {
  display: block;
  width: 29px;
  height: 29px;
}

.apple-logo {
  fill: #f9fcfa;
}

.google-play-logo {
  width: 30px;
  height: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 22px;
  color: rgba(246, 251, 247, 0.72);
  font-size: 0.95rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-note span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(77, 211, 122, 0.84);
  box-shadow: 0 0 0 7px rgba(77, 211, 122, 0.12);
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(180px, 0.88fr) minmax(300px, 1.08fr) minmax(180px, 0.92fr);
  grid-template-areas:
    "metric-top phone tall"
    "landscape phone tall"
    "metric-bottom phone square";
  gap: 20px;
  align-items: start;
}

.hero-visual > * {
  min-width: 0;
}

.photo-card,
.metric-card,
.phone-frame {
  position: relative;
  border-radius: 28px;
}

.photo-card {
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card.tall {
  grid-area: tall;
  width: 100%;
  height: 324px;
}

.photo-card.square {
  grid-area: square;
  width: 100%;
  max-width: 204px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  align-self: start;
}

.photo-card.landscape {
  grid-area: landscape;
  width: 100%;
  height: 170px;
}

.metric-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(3, 13, 8, 0.24);
}

.metric-card.top {
  grid-area: metric-top;
  width: 100%;
}

.metric-card.bottom {
  grid-area: metric-bottom;
  width: 100%;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.metric-value {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.metric-small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.phone-frame {
  grid-area: phone;
  width: 100%;
  max-width: 332px;
  padding: 18px;
  justify-self: center;
  align-self: center;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(248, 250, 248, 0.98), rgba(237, 244, 239, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-dark);
}

.phone-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
  color: var(--ink-900);
  padding: 18px;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: rgba(15, 36, 24, 0.08);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--ink-700);
}

.phone-status strong {
  color: var(--ink-900);
}

.phone-head {
  margin-top: 22px;
}

.phone-head small {
  display: block;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.phone-head h3 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.phone-pill {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--forest-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.phone-card {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
}

.phone-card + .phone-card {
  margin-top: 14px;
}

.phone-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-card-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--forest-700);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.task-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.task-item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
}

.task-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-700), var(--moss-500));
}

.task-dot.warn {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

.task-meta {
  color: var(--ink-500);
  font-size: 0.84rem;
}

.journey-bar {
  margin-top: 16px;
}

.journey-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 36, 24, 0.08);
  overflow: hidden;
}

.journey-fill {
  width: 57%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--forest-700), var(--moss-500));
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.journey-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-500);
  background: rgba(15, 36, 24, 0.04);
}

.journey-steps span.is-done,
.journey-steps span.is-active {
  color: var(--forest-700);
  background: rgba(30, 107, 66, 0.12);
}

.stats-strip {
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.stat-block {
  padding: 8px 10px;
}

.stat-block strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.05em;
}

.stat-block span {
  display: block;
  margin-top: 8px;
  line-height: 1.55;
  color: var(--ink-700);
}

.split-grid,
.feature-grid,
.journey-grid,
.pricing-grid,
.legal-grid,
.footer-grid,
.detail-grid {
  display: grid;
  gap: 24px;
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: start;
}

.feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.feature-card.media {
  min-height: 360px;
}

.feature-card.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 16, 0.04), rgba(7, 27, 16, 0.76)),
    var(--feature-image);
  background-size: cover;
  background-position: center;
}

.feature-card.media .feature-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  color: #f7fcf8;
}

.feature-card:not(.media) {
  padding: 26px;
}

.feature-copy h3,
.detail-card h3,
.journey-card h3,
.pricing-card h3,
.legal-card h3,
.cta-panel h2,
.masthead h1,
.support-card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.feature-copy p,
.detail-card p,
.journey-card p,
.pricing-card p,
.legal-card p,
.cta-panel p,
.masthead p,
.support-card p,
.comparison-note,
.footnote {
  margin: 0;
  line-height: 1.7;
  color: inherit;
}

.feature-kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.feature-kicker::before,
.card-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.feature-list,
.detail-list,
.pricing-list,
.comparison-list,
.legal-list,
.footer-links {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li,
.detail-list li,
.pricing-list li,
.comparison-list li,
.legal-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-700);
}

.feature-list li::before,
.detail-list li::before,
.pricing-list li::before,
.comparison-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-700);
}

.feature-card.media .feature-list li,
.feature-card.media .feature-copy p {
  color: rgba(247, 252, 248, 0.85);
}

.feature-card.media .feature-list li::before {
  background: rgba(247, 252, 248, 0.92);
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-plain);
  border: 1px solid rgba(15, 36, 24, 0.08);
  box-shadow: var(--shadow-soft);
}

.detail-card.highlight {
  background:
    linear-gradient(180deg, rgba(235, 245, 239, 0.82), rgba(255, 255, 255, 0.96));
}

.detail-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-card:last-child {
  grid-column: 2;
}

.journey-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 26px;
  border: 1px solid rgba(15, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.journey-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--forest-700);
  font-weight: 800;
}

.journey-card h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

.journey-card p {
  color: var(--ink-700);
}

.pricing-band {
  background:
    radial-gradient(circle at top right, rgba(91, 158, 138, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(244, 248, 245, 0.96), rgba(255, 255, 255, 0.96));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(15, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(235, 245, 239, 0.95), rgba(255, 255, 255, 0.95));
  border-color: rgba(30, 107, 66, 0.14);
  transform: translateY(-8px);
}

.pricing-card.premium {
  background: linear-gradient(180deg, rgba(18, 45, 30, 0.98), rgba(10, 28, 18, 0.98));
  color: #f7fcf8;
  border-color: rgba(212, 168, 67, 0.2);
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(30, 107, 66, 0.1);
  color: var(--forest-700);
  font-weight: 700;
  font-size: 0.84rem;
}

.pricing-card.premium .plan-pill {
  background: rgba(212, 168, 67, 0.16);
  color: #f6d57b;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.price strong {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.price span {
  color: var(--ink-500);
  padding-bottom: 8px;
}

.plan-price-note {
  margin-top: -8px;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.pricing-card.premium .price span,
.pricing-card.premium .pricing-list li,
.pricing-card.premium .plan-price-note,
.pricing-card.premium .footnote {
  color: rgba(247, 252, 248, 0.8);
}

.pricing-card.premium .pricing-list li::before {
  background: #f6d57b;
}

.pricing-card .button,
.pricing-card .button-ghost {
  margin-top: auto;
}

.comparison-panel,
.legal-panel,
.support-card,
.cta-panel,
.masthead-card {
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(15, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.comparison-panel {
  overflow: auto;
}

.comparison-note {
  margin-top: 18px;
  color: var(--ink-700);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 36, 24, 0.08);
  vertical-align: top;
}

.comparison-table th {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink-900);
}

.comparison-table td:nth-child(3) {
  background: rgba(30, 107, 66, 0.04);
}

.comparison-table td:nth-child(4),
.comparison-table th:nth-child(4) {
  background: rgba(11, 32, 18, 0.03);
}

.table-yes {
  font-weight: 700;
  color: var(--forest-700);
}

.table-premium {
  color: var(--gold-deep);
  font-weight: 700;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(15, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(91, 158, 138, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(235, 245, 239, 0.95), rgba(255, 255, 255, 0.95));
}

.cta-panel h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 12px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.masthead {
  padding-top: calc(var(--nav-height) + 34px);
}

.masthead-card {
  background:
    radial-gradient(circle at top right, rgba(91, 158, 138, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 245, 0.96));
}

.masthead h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.masthead p {
  color: var(--ink-700);
}

.support-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 245, 0.96));
}

.site-footer {
  margin-top: var(--section-space);
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, 1fr));
  align-items: start;
}

.footer-copy p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--ink-700);
  line-height: 1.7;
}

.footer-links a {
  color: var(--ink-700);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--forest-700);
}

.footer-title {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.copyright {
  margin-top: 24px;
  color: var(--ink-500);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-404 .masthead-card {
  text-align: center;
}

.page-404 .cta-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "metric-top metric-bottom"
      "landscape tall"
      "phone square";
    align-items: start;
  }

  .detail-grid,
  .pricing-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--nav-height) 20px auto;
    display: grid;
    gap: 10px;
    padding: 16px;
    background: rgba(250, 252, 250, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .header-dark .site-nav {
    background: rgba(10, 28, 18, 0.98);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .nav-link,
  .site-nav .button-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 28px);
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "metric-top"
      "phone"
      "metric-bottom"
      "landscape"
      "tall"
      "square";
  }

  .phone-frame {
    width: min(100%, 332px);
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-card:last-child {
    grid-column: 1 / -1;
  }

  .stats-panel,
  .detail-grid,
  .pricing-grid,
  .legal-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stat-block,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1180px);
    --nav-height: 72px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-copy {
    gap: 0;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .hero p,
  .section-head p,
  .masthead p {
    font-size: 1rem;
  }

  .hero-visual {
    gap: 16px;
  }

  .store-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badge {
    min-width: 0;
  }

  .photo-card.landscape {
    height: 148px;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .photo-card.tall {
    width: 100%;
    height: 220px;
  }

  .photo-card.square {
    width: min(100%, 240px);
    max-width: 240px;
    justify-self: center;
  }

  .phone-frame {
    max-width: none;
  }

  .stats-panel,
  .comparison-panel,
  .legal-panel,
  .support-card,
  .cta-panel,
  .masthead-card,
  .feature-card:not(.media),
  .detail-card,
  .journey-card,
  .pricing-card,
  .legal-card {
    padding: 24px;
  }

  .cta-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
