:root {
  --ink: #121a18;
  --muted: #59645f;
  --jade: #0b6552;
  --jade-dark: #063f35;
  --mint: #79d9bd;
  --ruby: #b5362c;
  --paper: #fbf8eb;
  --paper-deep: #eeeddd;
  --white: #fffef8;
  --line: rgba(18, 26, 24, 0.14);
  --shadow: 0 28px 80px rgba(6, 63, 53, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--jade); }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--ruby); outline-offset: 4px; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: white; }
.skip-link:focus { top: 18px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 116px; }

.site-header { position: relative; z-index: 20; }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 5px 14px rgba(6, 63, 53, .18); }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links > a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; text-decoration: none; }
.button { border-radius: 999px; background: var(--jade); color: white; text-decoration: none; box-shadow: 0 12px 28px rgba(11, 101, 82, .2); }
.button:hover { background: var(--jade-dark); color: white; }
.button-small { padding: 9px 18px; }

.hero { min-height: 730px; padding-block: 78px 90px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.hero > *, .film-header > *, .scenario-heading > *, .transform-grid > *, .feature-row > *, .privacy-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 18px; color: var(--ruby); font-size: .78rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: var(--mint); }
h1, h2, h3 { margin-top: 0; letter-spacing: -.055em; }
h1 { max-width: 790px; margin-bottom: 0; font-size: clamp(3.8rem, 7.5vw, 7.1rem); line-height: .93; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; }
h3 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1; }
.lede { max-width: 700px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.app-store-badge { width: 196px; height: 66px; display: inline-block; border-radius: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .13); }
.app-store-badge img { width: 100%; height: 100%; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-weight: 760; }
.trust-list { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px 20px; list-style: none; color: var(--muted); font-size: .9rem; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--jade); font-weight: 850; }
.hero-visual { min-height: 560px; display: grid; place-items: center; position: relative; }
.hero-orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(121,217,189,.42), rgba(11,101,82,.06) 58%, transparent 72%); }
.phone { overflow: hidden; position: relative; width: min(350px, 78vw); aspect-ratio: 1320 / 2868; border: 8px solid #111; border-radius: 44px; background: #111; box-shadow: var(--shadow); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone { width: min(330px, 78vw); transform: rotate(2deg); }
.ruby-card { position: absolute; right: 0; top: 19%; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 28px; background: rgba(255,255,255,.95); color: var(--jade); font-family: Georgia, "Noto Serif SC", serif; font-size: 3.2rem; box-shadow: 0 18px 48px rgba(6,63,53,.2); }
.ruby-card rt { color: var(--ruby); font-family: ui-sans-serif, sans-serif; font-size: .28em; }

.film-section { padding-block: 112px; background: var(--jade-dark); color: white; }
.film-header, .scenario-heading { margin-bottom: 52px; display: grid; grid-template-columns: 1fr .65fr; gap: clamp(42px, 8vw, 110px); align-items: end; }
.film-header > p, .scenario-heading > p { margin: 0; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.film-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: #020707; box-shadow: 0 36px 90px rgba(0,0,0,.32); }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.transform-grid { min-height: 570px; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.section-copy > p:last-child { max-width: 550px; color: var(--muted); font-size: 1.08rem; }
.before-after { display: grid; gap: 18px; }
.before-after > div { padding: 30px 34px; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: var(--jade-dark); color: white; }
.before-after > .after { border-color: rgba(121,217,189,.52); background: var(--jade); }
.before-after span { color: rgba(255,255,255,.62); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.before-after p { margin: 19px 0 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2rem, 4.4vw, 4.3rem); line-height: 1.36; }
.ruby-line { display: flex; flex-wrap: wrap; gap: .04em; padding-top: .32em; }
.ruby-line rt { color: var(--mint); font-family: ui-sans-serif, sans-serif; font-size: .24em; }

.features { padding-bottom: 70px; }
.section-heading { max-width: 850px; margin-bottom: 80px; }
.feature-row { min-height: 650px; padding-block: 65px; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(56px, 10vw, 140px); align-items: center; border-top: 1px solid var(--line); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .phone { order: 1; }
.feature-copy p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.step { color: var(--ruby); font-size: .78rem; font-weight: 850; letter-spacing: .13em; }
.feature-copy h3 { margin-top: 14px; }
.feature-row .phone { justify-self: center; }

.perspectives { background: var(--jade-dark); color: white; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.scenario-card video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #020707; }
.scenario-content { padding: 26px 26px 30px; }
.scenario-tag { display: inline-flex; padding: 6px 9px; border: 1px solid rgba(121,217,189,.28); border-radius: 999px; color: var(--mint); font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.scenario-card .scenario-summary { margin: 22px 0 0; color: white; font-family: Georgia, serif; font-size: 1.27rem; line-height: 1.42; }
.scenario-card p { margin: 0; color: rgba(255,255,255,.6); font-size: .86rem; }

.privacy-band { background: var(--paper-deep); }
.privacy-grid { min-height: 520px; padding-block: 98px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 9vw, 120px); align-items: center; }
.privacy-points { border-top: 1px solid var(--line); }
.privacy-points p { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.privacy-points strong { color: var(--ink); }
.download { min-height: 560px; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.download-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.download-copy .app-store-badge { margin-top: 18px; }
.qr-card { width: 250px; padding: 20px; display: grid; gap: 14px; justify-items: center; border: 1px solid var(--line); border-radius: 24px; background: white; text-decoration: none; box-shadow: var(--shadow); }
.qr-card img { width: 190px; height: 190px; }
.qr-card span { font-weight: 760; }

footer { border-top: 1px solid var(--line); }
.footer { min-height: 124px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.brand-footer { color: var(--ink); font-weight: 800; }
.footer > div { display: flex; flex-wrap: wrap; gap: 12px 24px; }

.legal-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; padding-block: 90px 120px; display: grid; grid-template-columns: minmax(220px,.36fr) minmax(0,.64fr); gap: clamp(48px,8vw,110px); }
.legal-intro { position: sticky; top: 36px; align-self: start; }
.legal-intro h1 { font-size: clamp(2.8rem,5vw,5.2rem); }
.legal-intro p { color: var(--muted); }
.status-pill { display: inline-flex; margin-top: 10px; padding: 8px 12px; border: 1px solid rgba(11,101,82,.24); border-radius: 999px; background: #dcebe3; color: var(--jade); font-size: .82rem; font-weight: 760; }
.legal-content section { margin-bottom: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #39413e; }
.legal-content ul, .legal-content ol { padding-left: 1.3rem; }
.callout { padding: 20px 22px; border-left: 3px solid var(--jade); background: #dcebe3; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.delay-one { transition-delay: .1s; }
.js .reveal.delay-two { transition-delay: .2s; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .trust-list { justify-content: center; }
  .film-header, .scenario-heading, .transform-grid, .privacy-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 45px; text-align: center; }
  .feature-copy p { margin-inline: auto; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .phone { order: initial; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card { display: grid; grid-template-columns: minmax(260px,.85fr) 1fr; }
  .download { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .download-copy { display: grid; justify-items: center; }
}

@media (max-width: 620px) {
  .shell, .legal-shell { width: calc(100% - 32px); max-width: 1180px; }
  .nav, .hero { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
  .section-pad { padding-block: 80px; }
  .nav { min-height: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-links .button { display: none; }
  h1 { width: 300px; max-width: 100%; margin-inline: auto; font-size: 2.35rem; line-height: .98; overflow-wrap: normal; }
  h2 { font-size: clamp(2.35rem,12vw,3.8rem); }
  .hero { min-height: 0; padding-block: 62px 74px; }
  .hero-copy, .hero-actions { width: calc(100vw - 32px); max-width: calc(100vw - 32px); min-width: 0; }
  .lede { width: 300px; max-width: 100%; padding-inline: 4px; font-size: .96rem; overflow-wrap: anywhere; }
  .hero-actions { flex-direction: column; justify-content: center; gap: 14px; }
  .hero-actions .app-store-badge { width: 180px; height: auto; aspect-ratio: 196 / 66; }
  .text-link { white-space: nowrap; }
  .trust-list { width: 300px; max-width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); justify-items: start; gap: 8px 14px; }
  .trust-list li:last-child { grid-column: 1 / -1; justify-self: center; }
  .hero-visual { min-height: 500px; }
  .hero-phone { width: min(290px,78vw); }
  .ruby-card { right: 2px; width: 92px; height: 92px; border-radius: 22px; font-size: 2.5rem; }
  .film-section { padding-block: 78px; }
  .film-header, .scenario-heading { margin-bottom: 34px; }
  .film-frame { border-radius: 18px; }
  .before-after > div { padding: 24px 20px; }
  .before-after p { font-size: clamp(1.55rem,9.6vw,2.65rem); }
  .feature-row { min-height: 0; padding-block: 58px 70px; }
  .scenario-card { display: block; }
  .privacy-grid { min-height: 0; padding-block: 76px; }
  .download { min-height: 0; }
  .legal-shell { grid-template-columns: 1fr; padding-top: 58px; }
  .legal-intro { position: static; }
  .footer { padding-block: 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(18,26,24,.45); }
  .button, .app-store-badge { outline: 2px solid currentColor; }
}
