:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --surface: #ffffff;
  --surface-2: #e9eee3;
  --surface-3: #dfe8cf;
  --text: #171a16;
  --text-soft: #465143;
  --text-faint: #4b5648;
  --accent: #4e6714;
  --accent-bright: #bce95a;
  --accent-soft: #e1edc8;
  --line: rgb(23 26 22 / 0.1);
  --nav: rgb(255 255 255 / 0.86);
  --shadow: rgb(45 57 39 / 0.15);
  --phone: #20251f;
  --phone-edge: #7f897c;
  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius-sm: 0.75rem;
  --radius: 1.15rem;
  --radius-lg: 1.65rem;
  --pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d100d;
  --surface: #171c16;
  --surface-2: #20271e;
  --surface-3: #29341f;
  --text: #edf1e9;
  --text-soft: #b4bcb0;
  --text-faint: #919a8d;
  --accent: #b9dc58;
  --accent-bright: #c7ee60;
  --accent-soft: #29371c;
  --line: rgb(237 241 233 / 0.11);
  --nav: rgb(23 28 22 / 0.86);
  --shadow: rgb(0 0 0 / 0.44);
  --phone: #080a08;
  --phone-edge: #465043;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; scrollbar-color: var(--accent) var(--bg); scrollbar-width: thin; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.55; caret-color: var(--accent); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color 0.25s ease, color 0.25s ease; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--accent-bright); color: #151914; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.skip-link { position: fixed; z-index: 60; top: 0.75rem; left: -999px; padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); font-weight: 750; }
.skip-link:focus { left: max(0.75rem, env(safe-area-inset-left)); }

.nav { position: sticky; z-index: 30; top: 0; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(20px) saturate(125%); -webkit-backdrop-filter: blur(20px) saturate(125%); }
.nav__shell { max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.nav__inner { height: 4.75rem; display: flex; align-items: center; gap: 1.35rem; }
.brand { min-height: 2.75rem; min-width: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; white-space: nowrap; }
.brand img { border-radius: 0.6rem; }
.brand__copy { display: grid; line-height: 1.05; }
.brand__copy strong { font-size: 1rem; letter-spacing: -0.03em; }
.brand__copy small { margin-top: 0.2rem; color: var(--text-faint); font-size: 0.7rem; font-weight: 620; }
.nav__links { display: flex; align-self: stretch; gap: 0.35rem; margin-left: auto; color: var(--text-soft); font-size: 0.84rem; font-weight: 680; white-space: nowrap; }
.nav__links a { position: relative; padding-inline: 0.68rem; display: grid; place-items: center; transition: color 0.18s ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0.68rem; right: 0.68rem; bottom: 0.72rem; height: 2px; border-radius: var(--pill); background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav__links a:hover::after { transform: scaleX(0.38); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__store { min-height: 3rem; padding: 0.7rem 1rem; border-radius: var(--pill); background: var(--text); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 760; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.2s ease; }
.nav__store:hover { transform: translateY(-2px); box-shadow: 0 0.7rem 1.5rem var(--shadow); }
.nav__store:active { transform: scale(0.98); box-shadow: none; }
.trial-controls { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top) + 0.85rem); left: max(calc(var(--pad) + 11rem), calc((100vw - var(--wrap)) / 2 + var(--pad) + 11rem)); display: flex; align-items: center; gap: 0.75rem; }
.device-trial > span, .theme-trial > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.device-trial__controls, .theme-trial__controls { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); padding: 0.16rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--bg); }
.device-trial__controls::before, .theme-trial__controls::before { content: ""; position: absolute; z-index: 0; top: 0.16rem; bottom: 0.16rem; left: 0.16rem; width: calc(50% - 0.16rem); border-radius: var(--pill); background: var(--accent-bright); transform: translateX(0); transition: transform 0.36s var(--ease), background-color 0.25s ease; pointer-events: none; }
html[data-device="ipad"] .device-trial__controls::before, html[data-theme="dark"] .theme-trial__controls::before { transform: translateX(100%); }
.device-trial__button, .theme-trial button { position: relative; z-index: 1; min-height: 2.75rem; border: 0; border-radius: var(--pill); background: transparent; color: var(--text-soft); cursor: pointer; font-weight: 720; transition: color 0.18s ease, transform 0.18s var(--ease); }
.device-trial__button { padding: 0 1rem 0.2rem; font-size: 0.82rem; }
.theme-trial button { width: 2.75rem; padding: 0; font-size: 1rem; }
.device-trial__button[aria-pressed="true"], .theme-trial button[aria-pressed="true"] { color: #141811; }
.device-trial__button:active, .theme-trial button:active { transform: scale(0.95); }

.mobile-story { display: contents; }
.mobile-journey { display: contents; }
.mobile-flow, .mobile-section-nav, .mobile-pdf-share, .mobile-compatibility { display: none; }
[data-mobile-reveal] { opacity: 1; transform: none; filter: none; }
.story { position: relative; display: grid; grid-template-columns: minmax(24rem, 46%) minmax(0, 54%); background: var(--bg); }
.story__phone-column { position: relative; min-width: 0; }
.story__phone-stage { position: sticky; top: 4.75rem; height: calc(100dvh - 4.75rem); min-height: 40rem; display: grid; place-items: center; overflow: hidden; }
.story-phone { position: relative; z-index: 2; height: min(78dvh, 47rem); aspect-ratio: 393 / 852; padding: 0.55rem; border: 1px solid var(--phone-edge); border-radius: 3.4rem; background: linear-gradient(145deg, #9da499, var(--phone) 18%, var(--phone) 82%, #626960); box-shadow: 0 2.25rem 5rem var(--shadow), inset 0 0 0 1px rgb(255 255 255 / 0.15); transition: background 0.35s ease, box-shadow 0.35s ease; }
.story-phone__sensor { position: absolute; z-index: 8; top: 1.1rem; left: 50%; width: 5.8rem; height: 1.55rem; border-radius: var(--pill); background: #090b09; transform: translateX(-50%); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.1); }
.story-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.88rem; background: #10120f; }
.screen-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-layer--current { z-index: 1; }
.screen-layer--next { z-index: 2; clip-path: inset(0 100% 0 0); will-change: clip-path; transition: clip-path 0.42s var(--ease); }
.story-phone__screen[data-direction="back"] .screen-layer--next { clip-path: inset(0 0 0 100%); }
.story-phone__screen[data-direction="theme"] .screen-layer--next { clip-path: inset(100% 0 0 0); }
.story-phone__screen.is-switching .screen-layer--next { clip-path: inset(0); }
.story-phone__screen.is-settling .screen-layer--next { transition: none; }
.story-phone__screen.is-settling[data-direction="forward"] .screen-layer--next { clip-path: inset(0 100% 0 0); }
.story-phone__screen.is-settling[data-direction="back"] .screen-layer--next { clip-path: inset(0 0 0 100%); }
.story-phone__screen.is-settling[data-direction="theme"] .screen-layer--next { clip-path: inset(100% 0 0 0); }
.story-phone.is-pdf .story-phone__screen { background: #d9dcd6; }
.screen-layer.is-document { object-fit: contain; padding: 3.1rem 0.55rem 5rem; background: #d9dcd6; }
.share-bar { position: absolute; z-index: 6; left: 0.8rem; right: 0.8rem; bottom: 0.85rem; min-height: 3.55rem; padding: 0.7rem 1rem; border: 1px solid rgb(255 255 255 / 0.34); border-radius: 1rem; background: rgb(246 248 243 / 0.92); color: #161a15; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; font-weight: 720; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity 0.3s ease, transform 0.45s var(--ease); }
.share-bar strong { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.65rem; background: #2d6fdb; color: white; }
.story-phone.is-pdf .share-bar { opacity: 1; transform: none; }
.story-tablet { display: none; position: relative; z-index: 2; height: min(78dvh, 47rem); aspect-ratio: 3 / 4; padding: 0.85rem; border: 1px solid var(--phone-edge); border-radius: 2.1rem; background: linear-gradient(145deg, #9da499, var(--phone) 18%, var(--phone) 82%, #626960); box-shadow: 0 2.25rem 5rem var(--shadow), inset 0 0 0 1px rgb(255 255 255 / 0.15); }
.story-tablet__screen { position: relative; height: 100%; overflow: hidden; border-radius: 1.35rem; background: #10120f; }
.tablet-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tablet-layer--current { z-index: 1; }
.tablet-layer--next { z-index: 2; clip-path: inset(0 100% 0 0); will-change: clip-path; transition: clip-path 0.42s var(--ease); }
.story-tablet__screen[data-direction="back"] .tablet-layer--next { clip-path: inset(0 0 0 100%); }
.story-tablet__screen[data-direction="theme"] .tablet-layer--next { clip-path: inset(100% 0 0 0); }
.story-tablet__screen.is-switching .tablet-layer--next { clip-path: inset(0); }
.story-tablet__screen.is-settling .tablet-layer--next { transition: none; }
html[data-device="ipad"] .story-tablet { display: block; }
html[data-device="ipad"] .story-phone { display: none; }

.story__content { min-width: 0; }
.story-chapter { display: contents; }
.story-step { min-height: calc(100dvh - 4.9rem); padding: clamp(5rem, 9vw, 8rem) clamp(2rem, 6vw, 6.5rem); display: flex; align-items: center; }
.story-step__inner { width: 100%; max-width: 44rem; opacity: 1; transform: none; transition: opacity 0.3s linear, transform 0.5s var(--ease); }
.js .story-step__inner { opacity: 0.03; transform: translateY(2rem); }
/* Scroll-linked "rise" ramp: JS sets --rise (0.03 -> 1) from each block's vertical
   position, so text becomes more opaque as it scrolls up into the reading zone.
   Higher specificity (html.js) overrides the .js baseline; the 0.03 fallback keeps
   blocks transparent before JS sets --rise / on far off-screen steps. */
html.js .story-step__inner { opacity: var(--rise, 0.03); transform: translateY(calc((1 - var(--rise, 0.03)) * 2rem)); }
html.js .story-step [data-line-reveal] { clip-path: none; translate: none; opacity: 1; transition: none; }
.eyebrow { margin-bottom: 1rem; color: var(--accent); font-size: 0.8rem; font-weight: 760; }
.chapter-label { width: fit-content; margin-bottom: 1.15rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--accent); color: var(--text); font-size: clamp(1.05rem, 1.25vw, 1.25rem); font-weight: 780; letter-spacing: -0.02em; line-height: 1.15; }
.story-step h1, .story-step h2, .story-step h3, .section-copy h2 { max-width: 13ch; font-size: clamp(2.8rem, 4.35vw, 5rem); font-weight: 810; letter-spacing: -0.04em; line-height: 0.97; text-wrap: balance; }
.story-step h1 { max-width: 17ch; }
.lead, .story-copy, .section-copy > p:last-child { max-width: 38rem; margin-top: 1.5rem; color: var(--text-soft); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.64; text-wrap: pretty; }
.story-copy--compact { margin-top: 0.7rem; color: var(--text-faint); font-size: 0.92rem; }
.actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.app-store-cta { min-height: 3.5rem; padding: 0.58rem 1.05rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 0.78rem; background: #050505; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 0.68rem; font-size: 0.95rem; font-weight: 720; letter-spacing: -0.015em; text-align: center; box-shadow: 0 0.75rem 1.8rem rgb(20 24 17 / 0.18); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease; }
.app-store-cta__mark { flex: none; width: 1.9rem; height: 1.9rem; }
.app-store-cta:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.2rem rgb(20 24 17 / 0.24); }
.app-store-cta:active { transform: scale(0.985); }
.app-store-cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[data-theme="dark"] .app-store-cta { border-color: rgb(9 12 9 / 0.14); background: #f7f7f4; color: #0c0e0c; box-shadow: 0 0.75rem 1.8rem rgb(0 0 0 / 0.28); }
.platform-line { min-height: 1.75rem; margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text-soft); font-size: 0.875rem; font-weight: 690; letter-spacing: -0.01em; white-space: nowrap; }
.platform-line svg { flex: none; width: 1.5rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ink-underline { display: inline; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 0.09em; text-underline-offset: 0.16em; text-decoration-skip-ink: auto; transition: text-decoration-color 0.55s ease 0.15s; }
.is-active .ink-underline, .is-in .ink-underline { text-decoration-color: var(--accent-bright); }
.action-sequence { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem; }
.action-sequence strong { padding: 0.65rem 0.85rem; border-radius: var(--pill); background: var(--surface-2); font-size: 1rem; }
.action-sequence span { color: var(--accent); }
.privacy-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.privacy-list li { min-height: 3.25rem; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); background: var(--surface); display: flex; align-items: center; font-size: 0.88rem; font-weight: 680; }
.desktop-detail { width: min(100%, 39rem); margin-top: 1.6rem; }
.detail-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.detail-rail span { min-width: 0; padding: 0.85rem 0.65rem 0.85rem 0; color: var(--text-faint); font-size: 0.8rem; line-height: 1.35; }
.detail-rail span + span { padding-left: 0.8rem; border-left: 1px solid var(--line); }
.detail-rail strong { display: block; margin-bottom: 0.18rem; color: var(--text); font-size: 0.82rem; }
.detail-table { border-top: 1px solid var(--line); }
.detail-table > div { min-height: 2.85rem; padding: 0.62rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(6.5rem, 0.7fr) minmax(0, 1.3fr); gap: 1rem; align-items: center; }
.detail-table span { color: var(--accent); font-size: 0.76rem; font-weight: 780; }
.detail-table strong { font-size: 0.86rem; font-weight: 660; }
.detail-table--documents > div { grid-template-columns: minmax(9rem, 0.85fr) minmax(0, 1.15fr); }
.detail-table--documents > p { padding-top: 0.75rem; color: var(--text-faint); font-size: 0.76rem; font-weight: 680; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.section-card,
.swipe-actions__item { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.9rem; align-items: start; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.section-card { min-height: 8.5rem; }
.section-card__icon,
.swipe-actions__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0.55rem; border-radius: 0.85rem; background: var(--accent-soft); color: var(--accent); }
.section-card__icon svg,
.swipe-actions__icon svg { width: 100%; height: 100%; }
.detail-grid strong { font-size: 0.92rem; }
.detail-grid p { margin-top: 0.45rem; color: var(--text-soft); font-size: 0.8rem; line-height: 1.48; }
.payment-detail { display: grid; gap: 0.75rem; }
.payment-methods { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.payment-methods span { padding: 0.48rem 0.72rem; border: 1px solid var(--line); border-radius: var(--pill); color: var(--text-soft); font-size: 0.78rem; font-weight: 720; }
.allocation-flow { padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--surface-2); display: flex; align-items: center; gap: 0.8rem; }
.allocation-flow > span { color: var(--accent); font-size: 1.15rem; }
.allocation-flow p { display: grid; }
.allocation-flow b { font-size: 0.88rem; }
.allocation-flow small { margin-top: 0.15rem; color: var(--text-soft); font-size: 0.8rem; }
.privacy-layers { border-top: 1px solid var(--line); }
.privacy-layers section { padding: 0.75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2rem 1fr; gap: 0.7rem; }
.privacy-layers section > span { color: var(--accent); font-size: 0.72rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.privacy-layers strong { font-size: 0.88rem; }
.privacy-layers p { margin-top: 0.18rem; color: var(--text-soft); font-size: 0.78rem; line-height: 1.42; }
.mobile-proof { display: none; }

.js [data-line-reveal] { clip-path: inset(-0.2em 100% -0.24em 0); translate: -1.25rem 0; opacity: 0; transition: clip-path 0.62s var(--ease), translate 0.48s var(--ease), opacity 0.38s ease; }
.js [data-line-reveal].is-line-in { clip-path: inset(-0.2em 0 -0.24em 0); translate: 0 0; opacity: 1; }
.js .download-stage > img[data-line-reveal], .js .download-stage > .store-badge[data-line-reveal] { clip-path: inset(-4rem 100% -4rem -4rem); }
.js .download-stage > img[data-line-reveal].is-line-in, .js .download-stage > .store-badge[data-line-reveal].is-line-in { clip-path: inset(-4rem); }

.section-block { padding: clamp(6rem, 10vw, 9rem) 0; }
.section-copy h2 { max-width: 12ch; }
.faq { background: var(--bg); }
.faq__inner { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 4.75rem; padding: 1.25rem 3rem 1.25rem 0; cursor: pointer; font-size: 1.08rem; font-weight: 760; list-style-position: outside; }
.faq details p { max-width: 48rem; padding: 0 2rem 1.5rem 0; color: var(--text-soft); }
.availability { padding: clamp(4rem, 7vw, 6.5rem) 0; background: var(--bg); }
.download-stage { min-height: min(38rem, calc(100dvh - 8rem)); padding: clamp(3rem, 6vw, 5.5rem) var(--pad); border-radius: var(--radius-lg); background: var(--accent-bright); color: #141811; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; box-shadow: 0 2rem 5rem rgb(45 56 35 / 0.16); }
.download-stage > img { width: 6.5rem; height: 6.5rem; border-radius: 1.45rem; box-shadow: 0 1.2rem 3rem rgb(45 56 35 / 0.22); }
.download-stage__name { margin-top: 1rem; font-size: 1rem; font-weight: 800; }
.download-stage h2 { max-width: 13ch; margin-top: 0.55rem; font-size: clamp(3rem, 5.2vw, 5.25rem); font-weight: 820; letter-spacing: -0.04em; line-height: 0.94; text-wrap: balance; }
.download-stage > p:not(.download-stage__name) { max-width: 38rem; margin-top: 1rem; color: rgb(20 24 17 / 0.72); font-size: 1.04rem; }
.store-badge { min-height: 3.8rem; margin-top: 1.6rem; padding: 0.8rem 1.35rem; border-radius: var(--pill); background: #151914; color: #f4f6f1; display: inline-flex; align-items: center; justify-content: center; font-weight: 780; box-shadow: 0 0.9rem 2.4rem rgb(40 50 31 / 0.24); transition: transform 0.2s var(--ease), box-shadow 0.2s ease; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 1.2rem 2.8rem rgb(40 50 31 / 0.28); }
.store-badge:active { transform: scale(0.98); }
.download-facts { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem 1.2rem; color: rgb(20 24 17 / 0.64); font-size: 0.76rem; font-weight: 700; }
.download-facts span + span { position: relative; }
.download-facts span + span::before { content: ""; position: absolute; top: 50%; left: -0.68rem; width: 0.22rem; height: 0.22rem; border-radius: 50%; background: currentColor; }
.footer { padding: 2.8rem 0 max(4rem, env(safe-area-inset-bottom)); background: var(--surface-2); color: var(--text-soft); font-size: 0.86rem; }
.footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.7rem; }
.footer .brand { color: var(--text); }
.footer__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__links a { min-height: 2.75rem; min-width: 2.75rem; padding-inline: 0.35rem; display: inline-flex; align-items: center; justify-content: center; }
.footer__links a:hover { color: var(--accent); }
.footer__status { width: 100%; color: var(--text-faint); }

.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav__inner { gap: 0.75rem; }
  .brand__copy { display: none; }
  .trial-controls { left: max(calc(var(--pad) + 3.3rem), calc((100vw - var(--wrap)) / 2 + var(--pad) + 3.3rem)); }
  .nav__links { gap: 0; }
  .nav__links a { padding-inline: 0.55rem; }
  .nav__links a::after { left: 0.55rem; right: 0.55rem; }
  .nav__store { padding-inline: 0.85rem; }
  .story { grid-template-columns: minmax(21rem, 44%) minmax(0, 56%); }
  .story-step { padding-inline: clamp(2rem, 5vw, 4rem); }
  .story-phone { height: min(72dvh, 41rem); }
  .faq__inner { gap: 3rem; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__store { margin-left: auto; }
}

@media (max-width: 779px), (max-width: 900px) and (pointer: coarse) {
  html { scroll-padding-top: 10rem; }
  :root { --pad: clamp(1rem, 5.1vw, 2rem); }
  .nav__inner { height: 4.25rem; gap: 0.55rem; }
  .brand__copy { display: none; }
  .brand { justify-content: flex-start; }
  .nav__store { min-height: calc(3.05rem + 2px); padding: 0.65rem 1rem; font-size: clamp(0.72rem, 3vw, 0.8rem); }
  .trial-controls { top: calc(env(safe-area-inset-top) + 0.6rem - 1px); left: calc(max(var(--pad), env(safe-area-inset-left)) + 2.125rem + 0.75rem); }
  .device-trial { display: none; }
  .theme-trial__controls { padding: 0.15rem; }
  .theme-trial button { width: 2.75rem; min-height: 2.75rem; }

  .mobile-story { display: block; }
  .story { display: block; }
  .story__phone-column { display: none; }
  .story__content { width: 100%; }
  .story-chapter { display: block; }
  .story-step, .story-step--hero { min-height: 0; padding: clamp(4.25rem, 14vw, 7rem) max(var(--pad), env(safe-area-inset-right)) clamp(4.25rem, 14vw, 7rem) max(var(--pad), env(safe-area-inset-left)); align-items: flex-start; }
  .story-step--hero { padding-top: clamp(3.25rem, 10vw, 5rem); }
  .story-step__inner { max-width: 42.5rem; margin-inline: auto; opacity: 1; transform: none; }
  html.js .story-step__inner { opacity: 1; transform: none; }
  .story-step:nth-child(even), .story-chapter .story-step:nth-child(odd) { background: var(--surface-2); }
  .story-chapter .story-step:nth-child(even) { background: var(--bg); }
  .story-step h1 { max-width: 12ch; font-size: clamp(2.6rem, 12vw, 4.35rem); line-height: 1.02; }
  .story-step h2, .story-step h3 { max-width: 14ch; font-size: clamp(2.15rem, 9.5vw, 3.8rem); line-height: 1.04; }
  .ink-underline { text-decoration-thickness: 0.075em; text-underline-offset: 0.12em; }
  .chapter-label { margin-bottom: 0.9rem; font-size: 1rem; }
  .lead, .story-copy { max-width: 38rem; margin-top: 1.15rem; font-size: clamp(1rem, 4.25vw, 1.12rem); line-height: 1.58; }
  .desktop-detail { display: none; }
  .actions { margin-top: 1.5rem; }
  .platform-line { margin-top: 0.8rem; }
  .action-sequence { margin-top: 1.4rem; gap: 0.45rem; }
  .action-sequence strong { padding: 0.55rem 0.65rem; font-size: clamp(0.78rem, 3.3vw, 0.95rem); }
  .privacy-list { margin-top: 1.5rem; grid-template-columns: 1fr; gap: 0.5rem; }
  .privacy-list li { min-height: 3rem; }

  .mobile-proof { width: 100%; margin: clamp(2rem, 8vw, 3.25rem) 0 0; padding: clamp(1.75rem, 8vw, 2.5rem) clamp(1rem, 5vw, 1.75rem) 0; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 1rem 2.5rem var(--shadow); }
  .mobile-proof + .mobile-proof { margin-top: 1rem; }
  .mobile-story__shot, .mobile-story__pdf { width: clamp(12.5rem, 58vw, 16rem); height: auto; margin-inline: auto; object-fit: cover; object-position: top; transition: opacity 0.2s ease; }
  .mobile-story__shot { aspect-ratio: 900 / 1951; padding: 0.4rem; border: 1px solid var(--phone-edge); border-radius: 2.1rem; background: var(--phone); box-shadow: 0 0.9rem 2rem var(--shadow); }
  .mobile-iphone-shot { width: 100%; height: auto; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
  .mobile-proof--ipad .mobile-story__shot { width: min(100%, 23rem); aspect-ratio: 3 / 4; padding: 0.5rem; border-radius: 1.4rem; }
  .mobile-proof--paper .mobile-story__pdf { width: clamp(14rem, 70vw, 19rem); aspect-ratio: 1200 / 1698; border: 1px solid var(--line); border-radius: 0.35rem; background: #fff; box-shadow: 0 0.9rem 2rem var(--shadow); }
  .mobile-proof figcaption { max-width: 32ch; margin-inline: auto; padding: 1.1rem 0 1.35rem; color: var(--text-soft); font-size: 0.8rem; line-height: 1.45; text-align: center; text-wrap: balance; }

  .js .mobile-proof { clip-path: inset(-3rem 100% -3rem -3rem); translate: -1rem 0; opacity: 0; transition: clip-path 0.68s var(--ease), translate 0.52s var(--ease), opacity 0.4s ease; }
  .js .mobile-proof.is-line-in { clip-path: inset(-3rem); translate: 0 0; opacity: 1; }

  .section-block { padding: clamp(4.75rem, 15vw, 7rem) 0; }
  .faq__inner { max-width: 42.5rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .section-copy h2 { font-size: clamp(2.25rem, 10vw, 4rem); }
  .section-copy > p:last-child { margin-top: 1.15rem; font-size: 1rem; }

  .faq__list { margin-top: 0.25rem; }
  .faq summary { min-height: 4.25rem; padding-block: 1rem; font-size: 1rem; list-style-position: inside; }
  .faq details p { padding-bottom: 1.25rem; font-size: 0.94rem; }
  .footer__inner { max-width: 42.5rem; align-items: flex-start; flex-direction: column; }
  .footer__links { width: 100%; margin-left: 0; padding-block: 0.8rem; border-block: 1px solid var(--line); }
  .availability { padding-block: 4.5rem; }
  .download-stage { min-height: 32rem; padding-inline: 1.2rem; }
  .download-stage h2 { font-size: clamp(2.65rem, 12vw, 3.8rem); }
  .download-facts { flex-direction: column; gap: 0.35rem; }
  .download-facts span + span::before { display: none; }

  /* Mobile is a purpose-built journey, not the desktop story stacked vertically. */
  .mobile-journey { display: block; }
  .mobile-desktop-only { display: none; }

  .nav__inner { height: 3.9rem; }
  .nav__store { display: none; }
  .brand__copy { display: block; }
  .brand__copy small { display: none; }
  .trial-controls { top: calc(env(safe-area-inset-top) + 0.5rem); right: max(var(--pad), env(safe-area-inset-right)); left: auto; }
  .theme-trial__controls { background: var(--surface); }

  .mobile-section-nav { position: sticky; z-index: 18; top: calc(3.9rem + env(safe-area-inset-top)); width: 100%; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0.35rem max(var(--pad), env(safe-area-inset-left)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--bg); }
  .mobile-section-nav a { position: relative; min-height: 2.75rem; display: grid; place-items: center; color: var(--text-soft); font-size: clamp(0.7rem, 3vw, 0.78rem); font-weight: 720; text-align: center; }
  .mobile-section-nav a::after { content: ""; position: absolute; right: 0.55rem; bottom: 0.2rem; left: 0.55rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.24s var(--ease); }
  .mobile-section-nav a[aria-current="true"] { color: var(--text); }
  .mobile-section-nav a[aria-current="true"]::after { transform: scaleX(1); }

  .mobile-journey .story { display: block; }
  .mobile-journey .story__content { width: 100%; }
  .mobile-journey .story-step { padding-inline: max(var(--pad), env(safe-area-inset-left)); }
  .mobile-journey .chapter-label { color: var(--accent); font-size: 0.88rem; letter-spacing: 0; }
  .mobile-journey .story-step h1,
  .mobile-journey .story-step h2,
  .mobile-journey .story-step h3 { max-width: none; text-wrap: balance; }
  .mobile-journey [data-line-reveal] { clip-path: none; translate: none; opacity: 1; transition: none; }
  .js .mobile-journey .mobile-proof { clip-path: none; translate: 0; opacity: 1; transition: none; }

  .mobile-hero { padding-top: clamp(2.25rem, 8vw, 3.5rem); padding-bottom: 2.5rem; background: var(--bg); }
  .mobile-hero .story-step__inner { max-width: 34rem; }
  .mobile-hero h1 { max-width: 10ch; font-size: clamp(2.7rem, 12vw, 4rem); line-height: 0.96; letter-spacing: -0.04em; }
  .mobile-hero .lead { max-width: 31rem; margin-top: 1.2rem; font-size: 1.08rem; line-height: 1.48; }
  .mobile-hero .actions { margin-top: 1.35rem; }
  .mobile-hero .app-store-cta { min-height: 3.35rem; padding-inline: 0.95rem; }
  .mobile-hero .platform-line { max-width: 100%; }

  .mobile-flow { position: relative; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
  .mobile-flow::before { content: ""; position: absolute; top: 0.88rem; left: 16.5%; right: 16.5%; height: 1px; background: var(--line); }
  .mobile-flow span { position: relative; z-index: 1; min-width: 0; display: grid; justify-items: center; gap: 0.5rem; color: var(--text-soft); text-align: center; }
  .mobile-flow b { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 50%; background: var(--bg); color: var(--accent); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
  .mobile-flow strong { font-size: 0.75rem; line-height: 1.2; }

  .mobile-hero__visual { width: min(100%, 17rem); margin: 1.5rem auto 0; padding: 0.7rem; overflow: visible; border: 1px solid var(--line); border-radius: 1.15rem; background: var(--surface); box-shadow: 0 0.7rem 1.7rem var(--shadow); }
  .mobile-hero__visual .mobile-iphone-shot { width: min(100%, 9.25rem); margin-inline: auto; }

  .mobile-journey__step { position: relative; min-height: 0; padding-top: 1.45rem; padding-bottom: 1.45rem; border-top: 1px solid var(--line); }
  .mobile-step--list { background: var(--surface); }
  .mobile-step--remind { background: var(--surface-3); }
  .mobile-step--payment { background: var(--bg); }
  .mobile-journey__step .story-step__inner { max-width: 34rem; display: grid; grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 31vw, 8rem); grid-template-areas: "label preview" "title preview" "copy preview"; column-gap: clamp(0.8rem, 4vw, 1.35rem); align-items: start; }
  .mobile-journey__step .chapter-label { grid-area: label; margin-bottom: 0.55rem; }
  .mobile-journey__step h2, .mobile-journey__step h3 { grid-area: title; max-width: 12ch; font-size: clamp(1.45rem, 6.2vw, 2rem); line-height: 1.02; letter-spacing: -0.035em; }
  .mobile-journey__step .story-copy { grid-area: copy; max-width: 31rem; margin-top: 0.75rem; font-size: clamp(0.88rem, 3.8vw, 0.98rem); line-height: 1.45; }
  .mobile-journey__step .action-sequence { display: none; }

  .mobile-proof-panel { grid-area: preview; width: 100%; margin: 0; padding: 0.45rem; overflow: visible; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); box-shadow: 0 0.45rem 1.25rem var(--shadow); }
  .mobile-proof-panel .mobile-iphone-shot { display: block; margin: 0 auto; }

  .mobile-pdf-share { grid-column: 1 / -1; margin-top: 1rem; padding: 0.7rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 1fr); gap: 0.75rem; align-items: stretch; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: 0 0.55rem 1.4rem var(--shadow); }
  .mobile-pdf-share__document { min-height: 9.75rem; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 0.55rem; background: #fff; }
  .mobile-pdf-share__document img { width: 100%; height: 10.75rem; margin: 0; object-fit: contain; object-position: top; }
  .mobile-pdf-share__action { min-height: 9.75rem; padding: 0.85rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line)); border-radius: 0.7rem; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--text); }
  .mobile-pdf-share__action svg { width: 2rem; height: 2rem; color: var(--accent); }
  .mobile-pdf-share__action span, .mobile-pdf-share__action strong, .mobile-pdf-share__action small { display: block; }
  .mobile-pdf-share__action strong { font-size: 0.86rem; line-height: 1.15; }
  .mobile-pdf-share__action small { margin-top: 0.35rem; color: var(--text-soft); font-size: 0.68rem; line-height: 1.35; }

  .mobile-compatibility { grid-column: 1 / -1; margin-top: 1rem; padding-top: 1rem; display: block; border-top: 1px solid var(--line); }
  .mobile-compatibility__heading { margin-bottom: 0.7rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
  .mobile-compatibility__heading strong { font-size: 0.95rem; }
  .mobile-compatibility__heading span { color: var(--text-soft); font-size: 0.68rem; text-align: right; }
  .mobile-compatibility__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .mobile-compatibility__card { min-height: 7.4rem; padding: 0.8rem; display: grid; grid-template-rows: 2.2rem auto auto; align-content: space-between; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface); }
  .mobile-compatibility__card svg { width: 2rem; height: 2rem; color: var(--accent); }
  .mobile-compatibility__card strong { align-self: end; font-size: 0.82rem; line-height: 1.1; }
  .mobile-compatibility__card span { margin-top: 0.2rem; color: var(--text-soft); font-size: 0.66rem; font-weight: 680; text-transform: uppercase; letter-spacing: 0.04em; }

  .mobile-privacy { padding-block: 1.65rem; background: var(--text); color: var(--bg); }
  .mobile-privacy .story-step__inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 31vw, 8rem); grid-template-areas: "label preview" "title preview" "copy preview" "list list"; column-gap: clamp(0.8rem, 4vw, 1.35rem); }
  .mobile-privacy .chapter-label { grid-area: label; }
  .mobile-privacy h2 { grid-area: title; }
  .mobile-privacy .story-copy { grid-area: copy; }
  .mobile-privacy .privacy-list { grid-area: list; }
  .mobile-privacy .mobile-proof-panel { grid-area: preview; }
  .mobile-privacy .chapter-label, .mobile-privacy .story-copy { color: color-mix(in srgb, var(--bg) 78%, transparent); }
  .mobile-privacy h2 { max-width: 11ch; font-size: clamp(1.45rem, 6.2vw, 2rem); line-height: 1.02; }
  .mobile-privacy .ink-underline { text-decoration-color: var(--accent-bright); }
  .mobile-privacy .privacy-list { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
  .mobile-privacy .privacy-list li { min-height: 0; padding: 0.85rem 0.45rem 0.85rem 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); border-radius: 0; background: transparent; color: var(--bg); font-size: 0.78rem; line-height: 1.3; }
  .mobile-privacy .mobile-proof { display: block; }

  .faq.section-block { padding-block: clamp(4.5rem, 16vw, 6rem); }
  .faq__inner { gap: 2rem; }
  .faq details { border-color: var(--line); }
  .availability { padding-block: 3rem; }
  .download-stage { min-height: 26rem; }

  .js .mobile-journey [data-mobile-reveal] { clip-path: none; opacity: 0.35; transform: translateY(1rem); translate: 0; filter: blur(3px); transition: opacity 0.52s ease, transform 0.62s var(--ease), filter 0.52s ease; }
  .js .mobile-journey [data-mobile-reveal].is-mobile-in { clip-path: none; opacity: 1; transform: none; translate: 0; filter: none; }
}

@media (max-width: 359px) {
  .nav__store { max-width: 8.4rem; white-space: normal; line-height: 1.05; }
  .trial-controls { right: max(var(--pad), env(safe-area-inset-right)); left: auto; }
  .theme-trial button { width: 2.75rem; min-height: 2.75rem; }
  .story-step .app-store-cta { width: 100%; }
  .story-step h1 { font-size: 2.55rem; }
}

@media (max-width: 779px) and (orientation: landscape), (max-width: 900px) and (pointer: coarse) and (orientation: landscape) {
  html { scroll-padding-top: 7rem; }
  .mobile-section-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .story-step, .story-step--hero, .section-block { padding-top: 3rem; padding-bottom: 3rem; }
  .mobile-hero { padding-top: 1.5rem; }
  .mobile-hero h1 { max-width: 12ch; font-size: clamp(2.65rem, 7vw, 3.5rem); }
  .mobile-hero .lead { margin-top: 0.8rem; font-size: 0.96rem; line-height: 1.38; }
  .mobile-hero .actions { margin-top: 1rem; }
  .mobile-journey__step h2, .mobile-journey__step h3 { font-size: clamp(2.4rem, 7vw, 3.2rem); }
  .mobile-proof--ipad .mobile-story__shot, .mobile-proof--paper .mobile-story__pdf { width: auto; height: min(78dvh, 30rem); }
  .mobile-hero__visual .mobile-iphone-shot { width: min(100%, 9.25rem); height: auto; }
  .mobile-proof-panel .mobile-iphone-shot { width: 100%; height: auto; }
}

@media (max-width: 900px) and (max-height: 560px) and (pointer: coarse) {
  .story__phone-stage { min-height: 0; }
  .story-step { padding-block: 2.5rem; }
}

@media (min-width: 780px) and (max-height: 560px) and (pointer: fine) {
  .story__phone-stage { height: calc(100dvh - 4.75rem); min-height: 0; }
  .story-phone { width: auto; height: min(calc(100dvh - 7rem), 17rem); }
  .story-step { min-height: 100dvh; padding-block: 2rem; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .story-step__inner, .js .reveal, .js [data-line-reveal], .js .mobile-proof, .js .download-stage > img[data-line-reveal], .js .download-stage > .store-badge[data-line-reveal], .js .mobile-journey [data-mobile-reveal] { opacity: 1; transform: none; translate: none; clip-path: none; filter: none; }
  html.js .story-step__inner { opacity: 1; transform: none; }
  .screen-layer--next, .tablet-layer--next { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .share-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f4f6f1; }
}

/* ===================== Azioni rapide via swipe ===================== */
.swipe-actions { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.swipe-actions__icon--danger { color: #b3401f; }
[data-theme="dark"] .swipe-actions__icon--danger { color: #e8865f; }
.swipe-actions__item strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.swipe-actions__item p { margin: 0.28rem 0 0; color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; }
