@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5f8;
  --ink: #1b1b25;
  --muted: #535061;
  --violet: #5a4fcf;
  --violet-deep: #4035b0;
  --lavender: #e7e0ff;
  --teal-ink: #126250;
  --line: #d8d4df;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 var(--body); }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--head); line-height: 1.03; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.2rem); letter-spacing: -.068em; }
h3 { font-size: 1.38rem; letter-spacing: -.045em; line-height: 1.16; }
:focus-visible { outline: 3px solid #126250; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; padding: 10px 14px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { background: #100f1a; color: #f4f2fa; border-bottom: 1px solid #39354a; }
.site-header .nav-links a { color: #d9d5e5; }
.site-header .nav-links a:hover { color: #fff; }
.site-header :focus-visible { outline-color: #50ddc1; }
.nav { display: flex; min-height: 76px; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.52rem; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.brand img { border-radius: 26%; }
.nav-links, .footer-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.nav-links a, .footer-links a { font-size: .9rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 12px; font-size: .91rem; font-weight: 800; line-height: 1.25; text-decoration: none; white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease; }
.button-nav { border-color: #77718e; border-radius: 7px; color: #fff; background: transparent; }
.button-nav:hover { background: #2a2540; border-color: #a99aff; }
.button-primary { background: var(--violet); color: #fff; }
.button-primary:hover { background: var(--violet-deep); }
.play { min-height: 60px; justify-content: start; border-radius: 14px; padding-inline: 18px 23px; font-size: 1.12rem; font-weight: 800; }
.play small { display: block; font-size: .67rem; font-weight: 700; }
.play-icon { width: 19px; height: 22px; background: currentColor; clip-path: polygon(4% 0, 100% 50%, 4% 100%); flex: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--violet-deep); font-size: .92rem; font-weight: 800; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

.eyebrow { color: var(--violet-deep); font-size: .87rem; line-height: 1.35; font-weight: 800; }

.sequence {
  --stage-height: min(910px, 100svh);
  --device-width: min(18.5vw, 31svh, 276px);
  --stage-ink: #f4f2fa;
  --stage-muted: #cbcad8;
  --stage-violet: #a99aff;
  --stage-teal: #50ddc1;
  --stage-amber: #f6c98a;
  display: grid;
  isolation: isolate;
  background: #100f1a;
  color: var(--stage-ink);
}
.sequence-backdrop, .sequence-stage, .sequence-copy { grid-area: 1 / 1; min-width: 0; }
.sequence-copy { position: relative; z-index: 1; }
.sequence-backdrop, .sequence-stage { position: relative; height: var(--stage-height); max-height: 100%; align-self: start; overflow: hidden; pointer-events: none; }
.sequence-backdrop { background: #100f1a; }
.sequence-stage { z-index: 2; }
.sequence[data-ready] :is(.sequence-backdrop, .sequence-stage) { position: sticky; top: 0; }
.stage-surface { position: absolute; inset: 0; overflow: hidden; }
.stage-surface::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 77% 40%, #29234b, transparent 57%), linear-gradient(117deg, #100f1a 45%, #18192c 69%, #102929); }
.stage-surface::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, #aba7f313 0, #aba7f313 1px, transparent 1px, transparent 46px), repeating-linear-gradient(90deg, #aba7f313 0, #aba7f313 1px, transparent 1px, transparent 46px); mask-image: linear-gradient(90deg, transparent 47%, #000); }
.stage-mark { position: absolute; top: 50%; left: 72%; width: min(43vw, 560px); aspect-ratio: 740 / 918; transform: translate(-50%,-50%); }
.stage-mark::before, .stage-mark::after { content: ""; position: absolute; inset: 0; mask: url("media/shield-mark.png") center / contain no-repeat; background: linear-gradient(135deg, #8566fc 5%, #4754b6 56%, #23b4a3 95%); opacity: .59; transition: transform 680ms cubic-bezier(.24,.75,.26,1), opacity 680ms ease; }
.stage-mark::before { clip-path: inset(0 0 50% 0); }
.stage-mark::after { clip-path: inset(50% 0 0 0); }
.sequence[data-scene="open"] .stage-mark::before { transform: translateY(-7px); opacity: .41; }
.sequence[data-scene="open"] .stage-mark::after { transform: translateY(7px); opacity: .41; }
.stage-map {
  position: absolute;
  top: 48%;
  left: 51%;
  width: min(21vw, 345px);
  height: clamp(146px, 17vw, 258px);
  transform: translateY(-50%);
  border: 1px solid #56516d;
  border-radius: 10px;
  background:
    repeating-linear-gradient(142deg, transparent 0 29px, #aaa2d313 30px 31px, transparent 32px 52px),
    repeating-linear-gradient(52deg, transparent 0 29px, #aaa2d313 30px 31px, transparent 32px 54px),
    #191728;
  opacity: 0;
  transition: opacity 280ms ease;
}
.sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) .stage-map { opacity: 1; }
.sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) .stage-mark::before,
.sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) .stage-mark::after { opacity: .07; }
.map-zone { position: absolute; inset: 12% 41% 12% 7%; border: 1px solid #50ddc1; border-radius: 38%; background: #17453ed9; }
.map-home { position: absolute; top: 22%; left: 33%; display: grid; justify-items: center; transform: translateX(-50%); color: #c2f9ec; line-height: 1.25; white-space: nowrap; }
.map-home strong { color: #f0fff9; font: 700 clamp(.95rem, 1.5vw, 1.35rem)/1.25 var(--head); }
.map-home span, .map-outside, .map-position span { font-size: .75rem; font-weight: 800; }
.map-outside { position: absolute; top: 38%; left: 83%; transform: translateX(-50%); color: #d3cde5; line-height: 1.25; }
.map-route { position: absolute; top: 60%; left: 33%; width: 50%; border-top: 2px dashed #b6b1ce; }
.map-position { position: absolute; top: 60%; left: 33%; display: grid; justify-items: center; gap: 2px; transform: translate(-50%, -6px); color: var(--stage-teal); line-height: 1.2; transition: left 560ms ease-in-out, color 160ms ease; }
.map-position i { width: 14px; aspect-ratio: 1; border: 2px solid #f3f0fa; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #181525; }
.map-position span { padding: 1px 4px; border-radius: 3px; background: #181525; color: #f3f0fa; }
.sequence[data-scene="trusted-away"] .map-position { left: 83%; color: var(--stage-amber); transition-delay: 0s, 320ms; }
.stage-timing { position: absolute; z-index: 1; top: 48%; left: 52%; display: grid; gap: 12px; width: min(18vw, 230px); transform: translateY(calc(-50% + 6px)); padding: 16px; border: 1px solid #77618c; border-radius: 10px; background: #15131f; opacity: 0; color: #c0b8d0; font: 800 .86rem/1.2 var(--body); transition: opacity 320ms ease, transform 380ms ease; }
.stage-timing span { display: flex; align-items: center; gap: 9px; }
.stage-timing span::before { content: ""; width: 8px; height: 8px; flex: none; border: 1px solid currentColor; border-radius: 50%; }
.timing-track { position: relative; height: 3px; background: #51475e; }
.timing-track i { position: absolute; inset: 0; transform: scaleX(var(--access-progress, 0)); transform-origin: left center; background: var(--stage-amber); transition: transform 170ms linear, background-color 280ms ease; }
.sequence:is([data-scene="emergency-entry"], [data-scene="emergency-open"], [data-scene="emergency-locked"]) .stage-timing { opacity: 1; transform: translateY(-50%); }
.sequence[data-scene="emergency-entry"] .timing-track i { transform: scaleX(0); }
.sequence[data-scene="emergency-entry"] .stage-timing span:first-child,
.sequence[data-scene="emergency-open"] .stage-timing span:nth-child(2) { color: var(--stage-amber); }
.sequence[data-scene="emergency-locked"] .stage-timing span:last-child { color: var(--stage-violet); }
.sequence[data-scene="emergency-entry"] .stage-timing span:first-child::before,
.sequence[data-scene="emergency-open"] .stage-timing span:nth-child(2)::before,
.sequence[data-scene="emergency-locked"] .stage-timing span:last-child::before { background: currentColor; }
.sequence[data-scene="emergency-locked"] .timing-track i { transform: scaleX(1); background: var(--stage-violet); transition-duration: 480ms; }

.stage-device { position: absolute; top: 48%; left: var(--phone-x, 80%); width: var(--device-width); padding: 6px; container-type: inline-size; transform: translate(calc(-50% + var(--device-offset-x, 0px)), calc(-50% + var(--device-offset-y, 0px))) rotate(var(--device-tilt, -4deg)); border: 1px solid #8383a5; border-radius: 16% / 7.5%; background: linear-gradient(140deg, #55546c, #222132 17%, #10101a 79%, #69657f); box-shadow: 11px 17px 0 -5px #04040a88, 20px 32px 48px #03030a89; transition: transform 750ms cubic-bezier(.24,.75,.26,1); }
.sequence[data-scene="open"] .stage-device { --device-tilt: -7deg; }
.sequence[data-scene="locked"] .stage-device { --device-tilt: 7deg; }
.sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) { --device-tilt: 0deg; --phone-x: 82.5%; }
.sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) .stage-device { border-color: #595973; }
.device-window { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 640 / 1422; border: 1px solid #12101c; border-radius: 14% / 6.4%; background: #111019; }
.device-open { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto 1fr; align-items: start; justify-items: center; padding: 18% 10% 5%; color: #eeeefa; background: radial-gradient(ellipse at 95% 26%, #513682, transparent 68%), radial-gradient(ellipse at 0 100%, #174950, transparent 69%), #121123; }
.device-clock { align-self: start; font: 500 19cqw/1 var(--head); letter-spacing: -.05em; }
.device-apps { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; }
.device-shortcut { display: grid; justify-items: center; gap: 5px; color: #f6f3fc; font-size: clamp(6px, 4cqw, 11px); line-height: 1.15; white-space: nowrap; }
.launcher-icon { position: relative; display: grid; place-items: center; width: 22cqw; aspect-ratio: 1; border-radius: 26%; background: #fff; }
.launcher-icon img { width: 77%; height: auto; }
.launcher-messages { background: #c6baff; }
.launcher-messages::before { content: ""; width: 48%; height: 40%; border-radius: 22% 22% 22% 0; background: #2d2251; }
.device-touch { position: absolute; z-index: 1; inset: 14%; transform: scale(.5); border: 2px solid #fff; border-radius: 50%; background: #ffffff48; opacity: 0; box-shadow: 0 0 0 4px #b3a3fc42; }
.sequence:is([data-tap], [data-place-tap]) .device-touch { animation: app-tap 430ms var(--tap-delay, 0s) ease-out both; }
.sequence:is([data-tap], [data-place-tap]) .launcher-messages { animation: icon-press 320ms var(--tap-delay, 0s) ease both; }
.sequence[data-place-tap][data-scene="trusted-home"] { --tap-delay: 440ms; --result-delay: 640ms; }
.sequence[data-place-tap][data-scene="trusted-away"] { --tap-delay: 570ms; --result-delay: 770ms; }
@keyframes app-tap { 0% { transform: scale(.5); opacity: 0; } 28% { opacity: 1; } 100% { transform: scale(1.56); opacity: 0; } }
@keyframes icon-press { 40% { transform: scale(.88); } }
.device-gesture { position: absolute; bottom: 3%; left: 38%; width: 24%; height: 2px; border-radius: 3px; background: #c9c6dc; }
.device-messages { position: absolute; inset: 0; display: grid; grid-template-rows: auto repeat(3, 19cqw); align-content: start; gap: 5cqw; padding: 17% 9%; background: #191727; opacity: 0; color: #f6f3fc; transition: opacity 240ms ease; }
.device-messages strong { font: 700 11cqw/1.2 var(--head); letter-spacing: -.045em; }
.message-row { display: grid; grid-template-columns: 14cqw 1fr; align-items: center; gap: 4cqw; padding-block: 2cqw; border-bottom: 1px solid #423853; }
.message-row i { aspect-ratio: 1; border-radius: 50%; background: #655284; }
.message-row:nth-child(3) i { background: #386562; }
.message-row span { display: grid; gap: 2.5cqw; }
.message-row span::before, .message-row span::after { content: ""; width: 77%; height: 2cqw; border-radius: 1cqw; background: #bfb1d0; }
.message-row span::after { width: 100%; height: 1.5cqw; background: #5e526d; }
.sequence:is([data-scene="emergency-open"], [data-scene="trusted-home"]) .device-messages { opacity: 1; }
.sequence[data-place-tap][data-scene="trusted-home"] .device-messages { transition-delay: var(--result-delay); }
.sequence[data-place-tap][data-scene="trusted-away"] .device-messages { transition: opacity 200ms ease 320ms; }
.device-shutter { position: absolute; inset: -1px; transform: translateY(0); transition: opacity 280ms ease; background: #12111a; }
.device-shutter img { width: 100%; height: 100%; object-fit: cover; }
.device-shutter::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #a99aff; box-shadow: 0 0 12px 2px #8865fd; }
.sequence:is([data-scene="open"], [data-scene="locked"]) .device-shutter { transition: transform 730ms cubic-bezier(.21,.84,.25,1); }
.sequence[data-scene="open"] .device-shutter { transform: translateY(-105%); }
.sequence[data-tap] .device-shutter { transition-delay: 285ms; }
.sequence:is([data-scene="emergency-open"], [data-scene="trusted-home"]) .device-shutter { opacity: 0; }
.sequence[data-place-tap][data-scene="trusted-away"] .device-shutter { transition-delay: var(--result-delay); }
.emergency-dots { position: absolute; top: 32.45%; left: 50%; display: flex; justify-content: space-between; width: 27.4%; transform: translate(-50%, -50%); visibility: hidden; }
.emergency-dots i { width: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--stage-amber); }
.sequence[data-scene="emergency-entry"] .emergency-dots { visibility: visible; }
.sequence[data-scene="emergency-entry"] .emergency-dots i { animation: password-dot 160ms var(--digit-delay, 240ms) both; }
.emergency-dots i:nth-child(2) { --digit-delay: 400ms; }
.emergency-dots i:nth-child(3) { --digit-delay: 560ms; }
.emergency-dots i:nth-child(4) { --digit-delay: 720ms; }
@keyframes password-dot { from { opacity: 0; } }
.stage-status { position: absolute; z-index: 1; left: 80%; bottom: 8.5%; display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100% - 32px); padding: 8px 13px; transform: translateX(-50%); border: 1px solid #544d72; background: #14111fec; color: #f1ecff; font-size: .86rem; font-weight: 800; line-height: 1.35; }
.stage-status i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--stage-violet); }
.sequence:is([data-scene="open"], [data-scene="emergency-open"], [data-scene="trusted-home"]) .stage-status i { background: var(--stage-teal); }
.sequence:is([data-scene="emergency-entry"], [data-scene="emergency-open"], [data-scene="trusted-away"]) .stage-status i { background: var(--stage-amber); }
.sequence[data-place-tap] .stage-status { animation: place-result 240ms var(--result-delay) ease both; }
@keyframes place-result { from { opacity: 0; } to { opacity: 1; } }

.sequence-panel { display: flex; align-items: center; min-height: min(650px, 82svh); padding-block: clamp(44px, 6vw, 84px); }
.sequence-panel > .wrap { width: min(1280px, calc(100% - 96px)); }
.sequence-text { width: min(50%, 628px); }
.sequence-text h1, .sequence-text h2, .sequence-text h3 { text-wrap: pretty; line-height: .98; }
.sequence-text h1 { font-size: clamp(3.6rem, 6.4vw, 6.6rem); letter-spacing: -.085em; }
.sequence-text h2 { font-size: clamp(2.8rem, 5vw, 5.05rem); letter-spacing: -.075em; }
.sequence-text h3 { font-size: clamp(2.2rem, 3.9vw, 4rem); letter-spacing: -.065em; }
.sequence-text em { display: block; color: var(--stage-violet); font-style: normal; }
.sequence-text p:not(.eyebrow) { max-width: 48ch; margin-top: 19px; color: var(--stage-muted); font-size: clamp(1rem, 1.4vw, 1.11rem); }
.sequence-text .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--stage-teal); }
.sequence-text .eyebrow::before { content: ""; width: 17px; height: 1px; background: currentColor; }
.sequence-text .text-link { color: #e0d8ff; }
.sequence-text .text-link:hover { color: #fff; }
.sequence-text > .text-link { margin-top: 15px; }
.sequence :focus-visible { outline-color: var(--stage-teal); }
.sequence-chapter .sequence-text { padding-top: 22px; border-top: 1px solid #48435a; }
.sequence-beat { min-height: min(440px, 57svh); }
.emergency-access { min-height: min(360px, 47svh); }
#emergency-title { font-size: clamp(2.6rem, 4.3vw, 4.4rem); }
.hero { min-height: calc(var(--stage-height) - 76px); padding-block: 38px 34px; }
.hero > .wrap { display: grid; grid-template-rows: 1fr auto; align-self: stretch; gap: 24px; }
.hero-copy { align-self: center; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.sequence .button-primary { border-color: #fff; border-radius: 7px; background: #f6f3ff; color: #181326; }
.sequence .button-primary:hover { border-color: var(--stage-violet); background: var(--stage-violet); }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 650px, 52vw); list-style: none; margin: 0 auto; padding: 0; border: 1px solid #625981; border-radius: 8px; background: #171422; }
.promise li { display: grid; min-height: 76px; place-items: center; padding: 12px 13px; color: var(--stage-ink); font: 700 clamp(1.28rem, 2vw, 1.8rem)/1.1 var(--head); text-align: center; text-wrap: balance; }
.promise li + li { border-left: 1px solid #625981; }

.more { padding-block: clamp(62px, 7.4vw, 106px); }
.section-heading { max-width: 750px; }
.section-heading .eyebrow, .privacy .eyebrow { margin-bottom: 13px; }
.section-heading > p:last-child { max-width: 580px; margin-top: 16px; color: var(--muted); font-size: 1.07rem; }
.privacy { background: #f0eaff; border-block: 1px solid var(--line); }
.privacy-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 76px); align-items: end; padding-block: clamp(48px, 7.5vw, 90px); }
.privacy-copy p { color: var(--muted); max-width: 410px; font-size: 1.06rem; }
.privacy-copy .text-link { margin-top: 6px; }
.faq { display: grid; grid-template-columns: 1fr 1.45fr; align-items: start; gap: clamp(24px, 5vw, 70px); padding-block: clamp(58px, 7.7vw, 105px); }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 3px; font-weight: 800; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--violet-deep); font-size: 1.42rem; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 16px 3px; color: var(--muted); }
.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(15px, 3vw, 30px); padding: clamp(21px, 4.6vw, 52px); border: 1px solid #d9cfea; border-radius: 22px; background: #f1ebfc; }
.download-card img { border-radius: 24%; }
.download-card h2 { font-size: clamp(1.96rem, 3.8vw, 3.3rem); }
.download-card p { margin-top: 8px; color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 30px; }
.footer .brand { font-size: 1.23rem; }

.quick-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin: 0; padding: 0 0 24px; }
.quick-features dt { font-weight: 800; line-height: 1.35; }
.quick-features dd { margin: 7px 0 0; color: var(--muted); font-size: .96rem; }
.feature-details { margin-top: 14px; border-top: 1px solid var(--line); }
.feature-details summary { color: var(--violet-deep); }
.sequence-details { border-color: #48435a; }
.sequence-details + .sequence-details { margin-top: 0; border-top: 0; }
.sequence-details summary, .sequence-details summary::after { color: #e0d8ff; }
.sequence-details .quick-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sequence-details dd { color: var(--stage-muted); }
.sequence-text .sequence-details p { padding: 0; margin: 0 0 16px; font-size: 1rem; }
.gmail-example { display: grid; grid-template-columns: minmax(76px, 108px) minmax(0, 1fr); align-items: center; gap: 16px; margin-block: 8px 22px; }
.sequence-text .gmail-example p { margin: 0; }

.tools-preview { padding-block: clamp(60px, 8vw, 104px); border-top: 1px solid var(--line); background: #eeecf3; }
.feature-gallery { margin-top: 24px; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.gallery-picker { display: grid; flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gallery-controls button { min-height: 44px; padding: 5px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: .91rem; font-weight: 800; line-height: 1.2; cursor: pointer; }
.gallery-controls button:hover { border-color: #b5a9cb; color: var(--ink); }
.gallery-picker button { display: grid; align-content: center; justify-items: start; gap: 4px; min-height: 63px; border-color: #d8d1e2; background: #fcfaff; text-align: left; }
.gallery-picker strong { font: 700 1rem/1.15 var(--head); }
.gallery-picker span { font-size: .75rem; font-weight: 700; }
.gallery-picker button[aria-current="true"] { border-color: #31284b; background: #242036; color: #fff; }
.gallery-arrows { display: flex; gap: 5px; flex: none; }
.gallery-arrows button { width: 44px; padding: 0; border-color: #d0c8de; color: var(--violet-deep); font-size: 1.6rem; font-weight: 500; }
.gallery-track { display: grid; gap: 12px; }
.feature-gallery[data-ready] .gallery-track { grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.feature-gallery[data-ready] .gallery-slide { scroll-snap-align: start; }
.gallery-slide { display: grid; grid-template-columns: 1.15fr .85fr; min-width: 0; overflow: hidden; border: 1px solid #d8d1e2; border-radius: 12px; background: #fcfaff; }
.gallery-visual { position: relative; isolation: isolate; display: grid; min-height: 280px; place-items: center; padding: clamp(16px, 3vw, 36px); overflow: hidden; background: #211b2e; }
.gallery-visual::before { content: ""; position: absolute; z-index: -1; width: 62%; height: 90%; mask: url("media/shield-mark.png") center / contain no-repeat; background: #8566fc; opacity: .21; }
.gallery-copy { display: grid; align-content: center; gap: 12px; padding: clamp(20px, 4vw, 58px); }
.gallery-copy h3 { font-size: clamp(1.8rem, 3.4vw, 3.15rem); text-wrap: pretty; }
.gallery-copy p { max-width: 45ch; color: var(--muted); }

.screen-crop { width: min(100%, var(--screen-width, 320px)); aspect-ratio: var(--screen-ratio); overflow: hidden; border: 1px solid #6d6380; border-radius: 9px; background: #131119; }
.screen-crop img { width: 100%; height: auto; transform: translateY(var(--screen-offset, 0%)); }
.screen-gmail { --screen-ratio: 5 / 6; --screen-offset: -17%; }
.screen-snatch { --screen-ratio: 4 / 5; --screen-offset: -14%; }
.screen-intruder { --screen-ratio: 4 / 3; --screen-width: 305px; }
.screen-sim { --screen-ratio: 4 / 1; --screen-offset: -36.4%; --screen-width: 500px; }
.screen-reset { --screen-ratio: 3.2 / 1; --screen-offset: -57.5%; --screen-width: 470px; }
.screen-vault { --screen-ratio: 4 / 5; --screen-offset: -6%; --screen-width: 286px; }
.screen-share { --screen-ratio: 3 / 2; --screen-offset: -6%; }
.screen-audit { --screen-ratio: 5 / 4; --screen-offset: -42.5%; }
.screen-events { --screen-ratio: 4 / 5; --screen-offset: -5%; --screen-width: 286px; }

.snatch-signal { display: grid; grid-template-columns: minmax(34px, 78px) 1fr minmax(74px, 158px); align-items: center; gap: clamp(6px, 2vw, 18px); width: min(100%, 385px); text-align: center; color: #e3daee; }
.snatch-watch { display: grid; justify-items: center; gap: 8px; font-size: .75rem; font-weight: 800; }
.snatch-watch i { position: relative; width: min(86%, 58px); aspect-ratio: 1.02; margin: 12px 0; border: 2px solid #a398b3; border-radius: 28%; background: radial-gradient(circle, #50ddc1 0 15%, #211e32 16% 100%); }
.snatch-watch i::before { content: ""; position: absolute; z-index: -1; inset: -14px 21%; border-radius: 7px; background: #5e516d; }
.snatch-link { position: relative; display: grid; justify-items: center; gap: 7px; min-width: 0; }
.snatch-link::before { content: ""; position: absolute; top: 13px; inset-inline: 0; border-top: 2px dashed #8d829d; }
.snatch-link span { position: relative; display: grid; place-items: center; width: 28px; aspect-ratio: 1; border: 1px solid var(--stage-amber, #f6c98a); border-radius: 50%; background: #211b2e; color: #f6c98a; font: 700 1rem/1 var(--head); }
.snatch-link small { font-size: .73rem; font-weight: 800; }

.preview-list { margin-top: 30px; border-top: 1px solid var(--line); }
.preview-row summary { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 1.25fr) auto; gap: 6px 20px; }
.preview-name { font: 700 clamp(1.05rem, 2vw, 1.33rem)/1.15 var(--head); }
.preview-outcome { color: var(--muted); font-size: .95rem; font-weight: 600; }
.preview-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 32px; align-items: start; padding-block: 8px 24px; }
.preview-details p { padding: 0; max-width: 44ch; }

@media (max-width: 980px) {
  .nav-links { gap: 15px; }
  .wrap, .sequence-panel > .wrap { width: calc(100% - 60px); }
}

@media (width > 820px) {
  .sequence[data-scene="open"] {
    --device-offset-x: min(-3vw, calc(390px - 30vw));
    --device-offset-y: max(clamp(0px, calc(142px - 17svh), 42px), clamp(0px, calc(11vw - 158px), 58px));
  }
  .sequence[data-scene="open"] .stage-mark { left: min(72%, calc(50% + 320px)); }
  .sequence[data-scene="open"] .stage-status {
    top: max(12px, calc(48% + var(--device-offset-y) - var(--device-width) * 1.1 - 56px));
    bottom: auto;
    left: calc(80% + var(--device-offset-x));
  }
  /* Keep the next chapter below the scene trigger when jumping here from the home panel. */
  #leaving-trusted-place { scroll-margin-top: max(96px, calc(var(--stage-height) * .57 - 390px)); }
  .sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) .stage-status {
    top: calc(48% + var(--device-width) * 1.1 + 14px);
    bottom: auto;
    left: var(--phone-x);
  }
}

@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .nav-links { display: none; }
  .sequence { --stage-height: clamp(248px, 41svh, 330px); --device-width: clamp(98px, 14.7svh, 132px); display: flex; flex-direction: column; }
  .sequence-copy, .hero, .hero > .wrap { display: contents; }
  .sequence-backdrop, .sequence-stage { order: 1; width: 100%; }
  .sequence-backdrop { z-index: 1; margin-bottom: calc(-1 * var(--stage-height)); border-block: 1px solid #39354a; }
  .sequence-chapter { order: 3; }
  .hero-copy, .promise { width: min(580px, calc(100% - 40px)); margin-inline: auto; }
  .hero-copy { order: 0; padding-block: 27px 19px; }
  .sequence-panel > .wrap, .wrap { width: calc(100% - 40px); }
  .sequence-panel:not(.hero) { min-height: max(39svh, 252px); padding-block: 25px; }
  .sequence-panel.emergency-access { min-height: max(31svh, 200px); }
  .sequence:not([data-ready]) .sequence-panel:not(.hero) { min-height: auto; }
  .sequence[data-ready] .sequence-chapter, .sequence[data-ready] .sequence-beat { scroll-margin-top: var(--stage-height); }
  .sequence-text:not(.hero-copy) { width: min(100%, 580px); }
  .sequence-text h1 { font-size: clamp(2.45rem, 8.5vw, 4.15rem); }
  .sequence-text h2, #emergency-title { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .sequence-text h3 { font-size: clamp(1.9rem, 6vw, 3.1rem); }
  .sequence-text .eyebrow { margin-bottom: 11px; }
  .sequence-text p:not(.eyebrow) { margin-top: 12px; }
  .sequence-text .sequence-details p { margin-top: 0; }
  .stage-surface::before { background: radial-gradient(ellipse at 62% 45%, #29234b, transparent 78%), #121320; }
  .stage-surface::after { mask-image: linear-gradient(110deg, transparent, #000); }
  .stage-mark { left: 43%; width: min(52vw, 266px); }
  .stage-device { left: var(--phone-x, 69%); top: 46%; padding: 4px; }
  .stage-status { left: 53%; bottom: 7px; font-size: .76rem; padding: 5px 9px; }
  .sequence[data-scene="open"] { --device-offset-y: clamp(10px, calc(22px - 1.5vw), 16px); }
  .sequence[data-scene="open"] .stage-status { left: 27%; bottom: 58px; max-width: 46%; padding-inline: 6px; }
  .stage-map { top: 46%; left: 5%; width: min(47vw, 260px); height: clamp(124px, 31vw, 168px); }
  .sequence:is([data-scene="trusted-home"], [data-scene="trusted-away"]) { --phone-x: 75%; }
  .stage-timing { left: 5%; top: 46%; width: min(42vw, 172px); font-size: .74rem; gap: 8px; padding: 10px; }
  .promise { position: relative; z-index: 1; order: 2; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1.12fr) minmax(0, .64fr); margin-top: -38px; }
  .promise li { min-height: 66px; padding: 9px 6px; font-size: clamp(1.125rem, 3.5vw, 1.4rem); }
  .actions { gap: 4px 13px; margin-top: 13px; }
  .sequence .play { min-height: 54px; padding-inline: 14px; }
}

@media (max-width: 720px) {
  .quick-features { grid-template-columns: 1fr; gap: 16px; }
  .gallery-controls { flex-wrap: wrap; }
  .gallery-picker { flex-basis: 100%; gap: 5px; }
  .gallery-controls button { padding-inline: 8px; font-size: .84rem; }
  .gallery-picker strong { font-size: .91rem; }
  .gallery-arrows { margin-left: auto; }
  .gallery-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .gallery-visual { min-height: 220px; padding: 16px; }
  .gallery-copy { align-content: start; gap: 8px; }
  .preview-row summary { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
  .preview-row summary::after { grid-area: 1 / 2 / span 2; }
  .preview-details { grid-template-columns: 1fr; }
  .privacy-layout, .faq { grid-template-columns: 1fr; gap: 17px; }
  .download-card { grid-template-columns: 43px minmax(0, 1fr); }
  .download-card img { width: 43px; height: 43px; align-self: start; }
  .download-card .button { justify-self: start; grid-column: 2; }
}

@media (max-width: 360px) {
  .wrap, .sequence-panel > .wrap { width: calc(100% - 30px); }
  .hero-copy, .promise { width: calc(100% - 30px); }
  .button.play { padding-inline: 13px; }
  .footer-links { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html, .feature-gallery[data-ready] .gallery-track { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
