:root {
  color-scheme: light;
  --ink: #0f1d1a;
  --muted: #5b6965;
  --canvas: #f5f3ea;
  --paper: #fffef9;
  --lime: #cfee66;
  --lime-soft: #e7f4b5;
  --mint: #e4eee6;
  --orange: #e57c2f;
  --line: rgba(15, 29, 26, .13);
  --shadow: 0 28px 70px rgba(15, 29, 26, .13);
  --radius: 28px;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 3%, rgba(207, 238, 102, .27), transparent 25rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--lime); padding: .75rem 1rem; border-radius: .5rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header, .site-footer, main > .section, .home-hero { width: var(--page); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 7px 18px rgba(15,29,26,.15); }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--ink); color: var(--lime); box-shadow: 0 7px 18px rgba(15,29,26,.15); font-size: 1.25rem; font-weight: 950; letter-spacing: -.14em; }
.brand-name { font-size: .83rem; font-weight: 900; letter-spacing: .2em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.3vw, 2rem); }
.site-nav a { color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { padding: .72rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; }

.home-hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 4.5rem 0 6rem;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 1rem; color: #55705f; font-size: .72rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 1.9rem; height: 2px; margin: 0 .55rem .2rem 0; background: currentColor; }
.eyebrow.light { color: var(--lime); }
.home-hero h1 { max-width: 720px; margin-bottom: 1.4rem; font-size: clamp(4rem, 8vw, 7.9rem); font-weight: 820; letter-spacing: -.075em; line-height: .86; }
h1 em { color: #6f8d29; font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 660px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.28rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.store-button { display: inline-flex; align-items: center; gap: .72rem; min-width: 190px; padding: .7rem 1.05rem; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.store-button svg { width: 27px; fill: currentColor; }
.store-button span { font-size: 1.13rem; font-weight: 750; line-height: 1.05; }
.store-button small { display: block; margin-bottom: .12rem; font-size: .62rem; font-weight: 600; letter-spacing: .02em; }
.text-link { font-weight: 750; text-decoration: none; }
.availability { margin-top: 1.2rem; color: #78847f; font-size: .78rem; }
.hero-visual { position: relative; min-height: 640px; }
.photo-frame { overflow: hidden; border-radius: 42px; box-shadow: var(--shadow); }
.hero-photo { position: absolute; inset: 0 0 3rem 2rem; transform: rotate(2deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-float { position: absolute; left: -2.3rem; bottom: 0; width: min(330px, 75%); padding: 1.25rem; border: 1px solid rgba(255,255,255,.65); border-radius: 22px; background: rgba(255,254,249,.93); box-shadow: 0 20px 55px rgba(15,29,26,.2); backdrop-filter: blur(14px); }
.result-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.rank { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--lime); font-size: .72rem; font-weight: 900; }
.confidence { color: var(--muted); font-size: .7rem; font-weight: 750; }
.confidence i { display: inline-block; width: 7px; height: 7px; margin-right: .35rem; border-radius: 50%; background: #6ca848; }
.result-float strong { font-size: 1.18rem; }
.result-float p { margin: .18rem 0 .8rem; color: var(--muted); font-size: .82rem; }
.result-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.result-tags span { padding: .28rem .5rem; border-radius: 999px; background: var(--mint); font-size: .66rem; font-weight: 750; }
.scan-float { position: absolute; top: 2rem; right: -1rem; padding: .7rem 1rem; border-radius: 999px; background: var(--lime); box-shadow: 0 12px 28px rgba(15,29,26,.18); font-size: .75rem; font-weight: 850; }
.scan-float span { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: var(--ink); animation: pulse 1.8s infinite; }

.ticker { overflow: hidden; padding: 1.05rem 0; border-block: 1px solid rgba(255,255,255,.08); background: var(--ink); color: #fff; }
.ticker div { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 2.8vw, 2.6rem); width: max-content; min-width: 100%; padding-inline: 2rem; }
.ticker span { font-size: .68rem; font-weight: 850; letter-spacing: .15em; white-space: nowrap; }
.ticker i { color: var(--lime); font-style: normal; }

.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section-heading { display: grid; grid-template-columns: .62fr 1.38fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.section-heading h2, .story-copy h2, .travel h2, .download h2 { margin: 0; font-size: clamp(2.6rem, 5.3vw, 5.4rem); letter-spacing: -.06em; line-height: .98; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { position: relative; min-height: 320px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,249,.72); }
.step.featured-step { background: var(--lime); transform: translateY(1.6rem); }
.step-number { font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.step-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 3.7rem 0 2rem; border-radius: 24px; background: var(--ink); color: var(--lime); font-size: 2rem; font-weight: 800; transform: rotate(-3deg); }
.step h3 { margin-bottom: .5rem; font-size: 1.6rem; letter-spacing: -.03em; }
.step p { max-width: 280px; margin-bottom: 0; color: var(--muted); }
.featured-step p { color: rgba(15,29,26,.72); }

.story-panel { display: grid; grid-template-columns: 1fr 1fr; padding: 0 !important; overflow: hidden; border-radius: 40px; background: var(--ink); color: #fff; }
.story-photo { position: relative; min-height: 760px; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.scan-line { position: absolute; left: 5%; right: 5%; top: 35%; height: 2px; box-shadow: 0 0 24px 4px rgba(207,238,102,.9); background: var(--lime); animation: scan 4s ease-in-out infinite alternate; }
.story-copy { padding: clamp(3rem, 6vw, 6rem); align-self: center; }
.story-copy > p:not(.eyebrow) { margin: 1.5rem 0 2.2rem; color: rgba(255,255,255,.67); font-size: 1.06rem; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.feature-list li > span { color: var(--lime); font-size: .7rem; font-weight: 900; }
.feature-list strong, .feature-list small { display: block; }
.feature-list small { margin-top: .2rem; color: rgba(255,255,255,.55); font-size: .82rem; }

.travel { display: grid; grid-template-columns: 1fr .6fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.travel-copy .lede { margin-top: 1.5rem; }
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.mini-features div { padding: 1.2rem; border-top: 2px solid var(--ink); }
.mini-features strong, .mini-features span { display: block; }
.mini-features span { margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.travel-visual { display: grid; place-items: center; }
.travel-visual > img { width: min(100%, 280px); height: auto; border-radius: 28px; box-shadow: var(--shadow); transform: rotate(-1deg); }

.safety { display: grid; grid-template-columns: auto .8fr 1fr; gap: 2rem; align-items: center; padding: 2rem !important; border: 1px solid rgba(229,124,47,.34); border-radius: 26px; background: #fff5e8; }
.safety-mark { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 2rem; font-weight: 900; }
.safety .eyebrow { margin-bottom: .4rem; color: var(--orange); }
.safety h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; }
.safety > p { margin: 0; color: #705d4e; font-size: .9rem; }

.download { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; margin-top: clamp(5rem, 10vw, 9rem); padding: clamp(2.5rem, 6vw, 5.5rem) !important; border-radius: 40px; background: var(--ink); color: #fff; }
.download-icon { width: clamp(100px, 12vw, 168px); border-radius: 32px; box-shadow: 0 20px 55px rgba(0,0,0,.3); transform: rotate(-5deg); }
.download h2 { max-width: 720px; font-size: clamp(2.4rem, 5vw, 4.9rem); }
.download-copy > p:last-child { margin: 1.1rem 0 0; color: rgba(255,255,255,.55); }
.download-action { display: grid; gap: .8rem; justify-items: start; }
.download-action .store-button { background: #fff; color: var(--ink); }
.download-action > a { color: rgba(255,255,255,.65); font-size: .78rem; text-decoration: none; }

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.link-cards a { position: relative; min-height: 190px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,254,249,.72); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.link-cards a:hover { transform: translateY(-4px); background: var(--paper); }
.link-cards span, .link-cards strong { display: block; }
.link-cards span { margin-bottom: 2.8rem; color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.link-cards strong { max-width: 260px; font-size: 1.15rem; line-height: 1.25; }
.link-cards i { position: absolute; right: 1.4rem; top: 1.2rem; font-size: 1.2rem; font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; padding: 2.3rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }

/* Legal and support pages */
body:not(:has(.home-hero)) main { width: min(940px, calc(100% - 40px)); margin-inline: auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.hero:not(.home-hero) { max-width: 760px; margin-bottom: 3.5rem; }
.hero:not(.home-hero) h1 { margin-bottom: 1rem; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.06em; line-height: .95; }
.legal-page h1 { font-size: clamp(2.8rem, 7vw, 5.3rem) !important; }
.updated { color: var(--muted); font-size: .85rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.link-card, .content-card, .contact-card, .notice { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,254,249,.82); box-shadow: 0 18px 50px rgba(15,29,26,.07); }
.link-card { display: flex; min-height: 13rem; flex-direction: column; justify-content: space-between; padding: 1.4rem; text-decoration: none; }
.link-card:nth-child(2) { background: var(--ink); color: #fff; }
.link-card:nth-child(3) { background: var(--lime); }
.link-card p { margin: .5rem 0 0; opacity: .7; }
.arrow { align-self: end; font-size: 1.6rem; }
.content { display: grid; gap: 1rem; }
.content-card { padding: clamp(1.3rem, 4vw, 2.2rem); }
.content-card h2 { letter-spacing: -.025em; }
.content-card p:last-child, .content-card ul:last-child { margin-bottom: 0; }
.notice { margin-bottom: 1rem; padding: 1.2rem 1.3rem; border-color: rgba(229,124,47,.34); background: #fff5e8; }
.notice strong { color: #bd5e1d; }
.contact-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center; padding: 2rem; background: var(--ink); color: #fff; }
.contact-card p { color: rgba(255,255,255,.65); }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1rem; border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 800; text-decoration: none; }
.faq { margin-top: 2rem; }
.faq details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }
.company-card { margin-top: 2rem; }

@keyframes scan { from { top: 24%; } to { top: 76%; } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.72); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 900px) {
  .site-nav > a:not(.nav-cta) { display: none; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  .hero-visual { width: min(680px, 95%); min-height: 620px; margin: 1rem auto 0; }
  .section-heading { grid-template-columns: 1fr; }
  .story-panel, .travel { grid-template-columns: 1fr; }
  .story-photo { min-height: 580px; }
  .travel-copy { order: 2; }
  .travel-visual { order: 1; width: min(300px, 78%); margin: auto; }
  .safety { grid-template-columns: auto 1fr; }
  .safety > p { grid-column: 2; }
  .download { grid-template-columns: auto 1fr; }
  .download-action { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --page: min(100% - 28px, 1180px); --radius: 22px; }
  .site-header { min-height: 74px; }
  .brand-name { font-size: .72rem; }
  .site-nav .nav-cta { padding: .6rem .8rem; font-size: .76rem; }
  .home-hero { padding: 3.5rem 0 4.5rem; }
  .home-hero h1 { font-size: clamp(3.8rem, 19vw, 6.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 460px; }
  .hero-photo { inset: 0 0 2rem 0; border-radius: 28px; }
  .result-float { left: -.3rem; width: 82%; }
  .scan-float { top: 1rem; right: -.4rem; }
  .ticker div { justify-content: flex-start; animation: marquee 18s linear infinite; }
  .steps, .link-cards, .card-grid { grid-template-columns: 1fr; }
  .step { min-height: 270px; }
  .step.featured-step { transform: none; }
  .step-icon { margin: 2.2rem 0 1.4rem; }
  .story-panel { width: calc(100% - 20px) !important; border-radius: 28px; }
  .story-photo { min-height: 470px; }
  .story-copy { padding: 2.3rem 1.4rem 3rem; }
  .travel-visual { width: min(280px, 82%); }
  .mini-features { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; padding: 1.5rem !important; }
  .safety > p { grid-column: 1; }
  .download { grid-template-columns: 1fr; text-align: left; border-radius: 28px; }
  .download-action { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .contact-card { grid-template-columns: 1fr; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
