:root {
  --ink: #17231d;
  --muted: #59675f;
  --cream: #f6f2e8;
  --paper: #fffdf7;
  --sage: #e3ecd9;
  --sage-strong: #c8dbbd;
  --green: #286849;
  --deep: #153b2d;
  --clay: #b96f45;
  --gold: #e1a84b;
  --line: rgba(21, 59, 45, 0.14);
  --shadow: 0 24px 70px rgba(21, 59, 45, 0.13);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--paper); color: var(--deep); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 232, 0.91);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); text-decoration: none; font-size: 1.18rem; font-weight: 950; letter-spacing: -0.04em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; font-weight: 800; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--green); }
.nav-cta { padding: 10px 15px; border-radius: 999px; background: var(--deep); color: white !important; }
.mobile-nav { display: none; position: relative; flex: 0 0 auto; width: max-content; }
.mobile-nav summary { display: block; cursor: pointer; list-style: none; white-space: nowrap; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 850; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-menu { position: absolute; right: 0; top: 52px; width: 230px; display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.mobile-menu a { padding: 11px 12px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.mobile-menu a:hover { background: var(--sage); }

h1, h2, h3 { margin: 0; line-height: 1.03; letter-spacing: -0.052em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.15rem, 4.8vw, 4.5rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.035em; }
p { text-wrap: pretty; }
.eyebrow { margin: 0 0 14px; color: var(--green); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 950; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 900; white-space: nowrap; }
.button.primary { background: var(--deep); color: white; box-shadow: 0 12px 24px rgba(21,59,45,.2); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.68); color: var(--deep); }
.button.light { background: var(--paper); color: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine-print { color: var(--muted); font-size: .84rem; }

.home-hero { position: relative; min-height: 78svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: white; }
.home-hero > img, .home-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero > img { z-index: -2; object-fit: cover; }
.home-hero::before { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(11,33,24,.93), rgba(11,33,24,.73) 50%, rgba(11,33,24,.18)), linear-gradient(0deg, rgba(11,33,24,.55), transparent 45%); }
.home-hero .hero-copy { max-width: 760px; padding-block: 92px; }
.home-hero h1 { max-width: 11ch; }
.home-hero .eyebrow { color: #f1c783; }
.home-hero .lead { max-width: 690px; color: rgba(255,255,255,.84); }
.home-hero .button.primary { background: white; color: var(--deep); }
.home-hero .button.secondary { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: white; }
.proof-strip { background: var(--deep); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.proof-item:last-child { border: 0; }
.proof-item strong { display: block; }
.proof-item span { color: rgba(255,255,255,.66); font-size: .88rem; }

.page-hero { padding: clamp(76px, 10vw, 128px) 0 70px; background: radial-gradient(circle at 85% 15%, rgba(40,104,73,.18), transparent 32%), linear-gradient(135deg, var(--paper), var(--sage)); }
.page-hero .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
.page-hero .lead { max-width: 700px; }
.hero-note { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); box-shadow: var(--shadow); }
.hero-note strong { display: block; color: var(--deep); font-size: 1.25rem; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section.paper { background: var(--paper); }
.section.sage { background: var(--sage); }
.section.deep { background: var(--deep); color: white; }
.section.deep .eyebrow { color: var(--sage-strong); }
.section.deep .lead, .section.deep .muted { color: rgba(255,255,255,.7); }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading .lead { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 16px 40px rgba(21,59,45,.055); }
.card p { color: var(--muted); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; background: var(--sage); color: var(--deep); font-weight: 950; }
.deep .card { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.07); box-shadow: none; }
.deep .card p { color: rgba(255,255,255,.7); }
.deep .card-number { background: rgba(255,255,255,.12); color: white; }
.tick-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 750; }
.tick-list li::before { content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--deep); font-size: .78rem; font-weight: 950; }
.tick-list li.limitation::before { content: "×"; background: #f3ded8; color: #8b2f24; }

.product-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.preview-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.preview-bar span { color: var(--muted); font-size: .85rem; font-weight: 800; }
.preview-map { position: relative; min-height: 360px; background: linear-gradient(135deg, rgba(83,129,84,.42), rgba(213,184,108,.34)), #dbe4cf; }
.paddock { position: absolute; display: grid; align-content: end; padding: 14px; border: 2px solid rgba(255,255,255,.8); background: rgba(21,59,45,.08); color: var(--deep); font-weight: 850; }
.paddock.one { inset: 24px 51% 49% 24px; transform: skew(-5deg); }
.paddock.two { inset: 38px 24px 48% 53%; transform: skew(4deg); }
.paddock.three { inset: 54% 46% 22px 42px; transform: skew(3deg); }
.mob { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid white; border-radius: 50%; background: #2e66cf; color: white; font-weight: 950; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.mob.a { left: 19%; top: 24%; }
.mob.b { right: 18%; bottom: 20%; background: #d7962c; }
.preview-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.preview-summary div { padding: 16px; background: var(--paper); }
.preview-summary span { display: block; color: var(--muted); font-size: .77rem; }
.preview-summary strong { color: var(--deep); }

.product-shot { width: 100%; max-width: 420px; margin: 0 auto; justify-self: center; }
.product-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.product-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .84rem; text-align: center; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.screenshot-grid .product-shot { max-width: none; }
.shot-copy { margin-top: 18px; }
.shot-copy h3 { margin-bottom: 8px; }
.shot-copy p { margin: 0; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-card .label { color: var(--green); font-weight: 950; }
.price { margin: 18px 0 4px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.price small { font-size: .95rem; color: var(--muted); letter-spacing: 0; }
.price-card .tick-list { margin-bottom: 28px; }
.price-card .button { margin-top: auto; }
.addon { margin-top: 20px; padding: 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-radius: var(--radius); background: var(--deep); color: white; }
.addon p { margin-bottom: 0; color: rgba(255,255,255,.7); }
.addon-price { white-space: nowrap; font-size: 2rem; font-weight: 950; }
.referral { padding: clamp(30px, 5vw, 54px); border-radius: 34px; background: linear-gradient(135deg, #dbe8cf, #f9edcf); }
.referral .split { align-items: start; }
.rules { margin: 0; padding-left: 20px; color: var(--muted); }
.rules li + li { margin-top: 8px; }

.steps { counter-reset: steps; display: grid; gap: 0; }
.step { counter-increment: steps; position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding-bottom: 32px; }
.step::before { content: counter(steps); position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: white; font-weight: 950; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--sage-strong); }
.step p { margin-top: 7px; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform { min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.platform-badge { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--sage); color: var(--deep); font-weight: 950; }

.cta { padding: 72px 0; background: var(--paper); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(30px, 5vw, 56px); border-radius: 36px; background: linear-gradient(135deg, var(--deep), #286849); color: white; }
.cta-box > .button { flex-shrink: 0; }
.cta-box p { max-width: 670px; color: rgba(255,255,255,.72); }
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 34px; }
.footer-grid h3 { margin-bottom: 12px; font-size: .86rem; letter-spacing: 0; text-transform: uppercase; }
.footer-grid a { display: block; margin: 7px 0; color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-note { max-width: 390px; color: var(--muted); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

.confirmation-page { min-height: calc(100svh - 77px); display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(circle at 80% 15%, rgba(40,104,73,.18), transparent 34%), linear-gradient(135deg, var(--paper), var(--sage)); }
.confirmation-card { width: min(680px, 100%); padding: clamp(32px, 7vw, 64px); border: 1px solid var(--line); border-radius: 36px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); text-align: center; }
.confirmation-card .lead { max-width: 540px; margin-inline: auto; }
.confirmation-card .actions { justify-content: center; }
.confirmation-card h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
.confirmation-mark { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 26px; border-radius: 50%; background: var(--deep); color: white; font-size: 2rem; font-weight: 950; }
.confirmation-mark.error { background: #9a3f32; }

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .proof-grid, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .page-hero .hero-grid, .split { grid-template-columns: 1fr; }
  .cards, .pricing-grid, .platform-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .home-hero { min-height: 75svh; }
  .home-hero::before { background: linear-gradient(90deg, rgba(11,33,24,.91), rgba(11,33,24,.62)), linear-gradient(0deg, rgba(11,33,24,.55), transparent); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .cards.four, .preview-summary, .footer-grid { grid-template-columns: 1fr; }
  .addon, .cta-box { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .actions .button { width: 100%; }
}

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