/* TacticLock homepage. Three grounds: dark (hero + how), paper (why → daily), dark (safety → download). */
:root {
  --ink: #0A0A0A;
  --paper: #F3F2EE;
  --mist: #D8E0E8;
  --sage: #CFDEC9;
  --lime: #EFEFA4;
  --red: #E57371;
  --on-dark-soft: #A3A39E;
  --on-light-soft: #4B4D52;
  --hair-dark: rgba(255, 255, 255, .12);
  --hair-light: rgba(0, 0, 0, .12);
  --wrap: 1160px;
  --gutter: clamp(16px, 5vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* Very light film grain for the dark grounds. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Grounds */
.dark { background-color: var(--ink); background-image: var(--grain); color: var(--paper); }
.paper { background: var(--paper); color: var(--ink); }
section { position: relative; padding-block: clamp(88px, 10vw, 140px); overflow: clip; }

/* One small-label style everywhere */
.label { font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.dark .label { color: var(--on-dark-soft); }
.paper .label, .footer .label { color: #5A5D64; }
.eyebrow { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--hair-light); }
.dark .eyebrow { border-color: var(--hair-dark); }
.eyebrow .label:first-child { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.lime { background: var(--lime); }
.dot.red { background: var(--red); }

/* Type scale: calm headings, a few very large moments (ghost words, the 19, the final line, the wordmark) */
.h2 { font-size: clamp(34px, 3.8vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; max-width: 14ch; padding-bottom: .04em; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; font-weight: 400; max-width: 38ch; margin-top: 22px; color: var(--on-light-soft); }
.dark .lede { color: var(--on-dark-soft); }

/* Desktop header */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 32px var(--gutter) 0; }
.topbar-inner {
  display: flex; align-items: center; gap: 24px; width: min(1240px, 100%); margin-inline: auto;
  padding: 8px 8px 8px 14px; border-radius: 20px; color: var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.topbar.is-solid .topbar-inner { background: rgba(14, 14, 14, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 20px 50px -30px rgba(0, 0, 0, .7); }
.topbar.on-light .topbar-inner { background: rgba(243, 242, 238, .82); color: var(--ink); box-shadow: 0 0 0 1px var(--hair-light), 0 20px 50px -30px rgba(0, 0, 0, .25); }
.top-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin-right: auto; }
.top-brand img { width: 32px; height: 32px; border-radius: 9px; }
.top-links { display: flex; gap: 2px; }
.top-links a { padding: 9px 14px; border-radius: 12px; font-size: 15px; opacity: .78; transition: opacity .2s, background .2s; }
.top-links a:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.top-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 18px; border-radius: 14px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 15px; }
.top-cta svg { width: 17px; height: 17px; }
.topbar.is-hidden { transform: translateY(-120%); }
.topbar { transition: transform .45s var(--ease); }

/* Mobile CTA dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 20px; z-index: 50;
  width: min(440px, calc(100% - 24px)); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px;
  padding: 6px; border-radius: 22px;
  background: rgba(243, 242, 238, .9); color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px var(--hair-light);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  animation: dock-in .8s 1.2s var(--ease) backwards;
}
.dock.is-hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }
@keyframes dock-in { from { opacity: 0; transform: translateY(40px); } }
.dock-menu { width: 48px; height: 48px; border: 0; border-radius: 16px; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; transition: background .2s; }
.dock-menu:hover { background: rgba(0, 0, 0, .06); }
.dock-menu i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.dock-menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.dock-menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.dock-brand { justify-self: center; display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.dock-brand img { width: 30px; height: 30px; border-radius: 9px; }
.dock-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 20px; border-radius: 16px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; }
.dock-cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dock-cta:hover svg { transform: translate(2px, -2px); }
.dock-panel { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: grid; padding: 10px; border-radius: 22px; background: rgba(243, 242, 238, .95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px var(--hair-light); }
.dock-panel[hidden] { display: none; }
.dock-panel a { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; border-radius: 14px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; transition: background .2s; }
.dock-panel a:hover { background: rgba(0, 0, 0, .06); }
.dock-panel span { font-size: 13px; font-weight: 600; color: #8A8C92; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Store buttons (magnetic ones move with the pointer, so no CSS hover transform) */
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px 0 20px; border-radius: 999px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.store small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0; margin-bottom: 3px; }
.store svg { width: 28px; height: 28px; }
.store-light { background: var(--paper); color: var(--ink); }
.store-dark { border: 1px solid rgba(255, 255, 255, .22); color: var(--paper); padding-inline: 24px; font-size: 18px; }
.store-dark small { color: #BDBDB8; }
.store-ink { background: var(--ink); color: var(--paper); }
.store-outline { border: 1px solid rgba(0, 0, 0, .25); color: var(--ink); padding-inline: 24px; font-size: 18px; }
.store-outline small { color: #4B4D52; }

/* Phone: one frame everywhere. Metal edge, thin bezel, punch-hole camera, side button, soft shadow. */
.phone {
  position: relative; width: 280px; flex: none; padding: 9px; border-radius: 46px;
  background: linear-gradient(150deg, #4a4a4d 0%, #1d1d1f 22%, #2b2b2e 55%, #121214 80%, #3a3a3d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 3.5px #050505, 0 50px 90px -45px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .1);
}
.phone img { display: block; width: 100%; aspect-ratio: 9 / 20; height: auto; object-fit: cover; border-radius: 37px; background: #000; }
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; z-index: 3; background: radial-gradient(circle at 38% 35%, #3b3f55 0 18%, #0a0a0f 45%, #000 70%); }
.phone::before { content: ""; position: absolute; right: -3px; top: 21%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #1b1b1d, #4a4a4d); }
.phone .stack-shot:not(:first-child) { position: absolute; top: 9px; left: 9px; width: calc(100% - 18px); }
.media { display: flex; justify-content: center; }
/* On dark grounds the dark frame needs a lit edge: a fine highlight rim and a faint glow, like light catching metal. */
.dark .phone {
  background: linear-gradient(150deg, #8a8a8f 0%, #2a2a2d 18%, #3a3a3e 50%, #1a1a1c 78%, #6e6e73 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 0 3.5px #050505, 0 0 0 1px rgba(255, 255, 255, .08), 0 0 90px -10px rgba(239, 239, 164, .10), 0 50px 90px -40px rgba(0, 0, 0, .9);
}

/* Intro: one knight move, then the page opens */
.intro { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background-color: var(--ink); background-image: var(--grain); }
.intro-on .intro { display: grid; animation: intro-fallback .4s 2.6s forwards; }
@keyframes intro-fallback { to { opacity: 0; visibility: hidden; } }
.intro-board { position: relative; display: grid; grid-template-columns: repeat(4, 56px); grid-template-rows: repeat(2, 56px); }
.intro-board i { background: #161616; }
.intro-board i:nth-child(odd) { background: #1f1f1f; }
.intro-board i:nth-child(n+5):nth-child(even) { background: #1f1f1f; }
.intro-board i:nth-child(n+5):nth-child(odd) { background: #161616; }
.intro-board .intro-target { box-shadow: inset 0 0 0 2px var(--lime); }
.intro-knight { position: absolute; left: 6px; top: 62px; width: 44px; height: 44px; filter: invert(1); }

/* ===== Scene: hero + how a lock works ===== */
.scene { padding: 0; }
.scene-dim { display: none; }
.is-pinned .scene-dim { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(239, 239, 164, .06), rgba(0, 0, 0, .55) 70%); }
.scene-pin { position: relative; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 100svh; padding-block: 140px 90px; }
.hero-grid::before {
  content: ""; position: absolute; inset: 0 -20vw; z-index: -1;
  background: repeating-conic-gradient(rgba(255, 255, 255, .025) 0 25%, transparent 0 50%) 0 0 / 120px 120px;
  mask: radial-gradient(50% 60% at 72% 50%, #000 0%, transparent 75%);
  -webkit-mask: radial-gradient(50% 60% at 72% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.pill-note { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: #CFCFCA; padding: 8px 14px 8px 12px; margin-left: -12px; border-radius: 999px; transition: background .2s; }
a.pill-note:hover { background: rgba(255, 255, 255, .06); }
.pill-link { color: var(--lime); font-weight: 600; }
.hero-title { font-size: clamp(44px, min(5vw, 10vh), 84px); font-weight: 800; line-height: .96; letter-spacing: -.055em; margin-top: 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
/* "Then scroll." fades light to grey, as in the mockup. */
.muted-grad > span { background: linear-gradient(180deg, #C8C8C3, #8E8E89); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; font-weight: 400; color: #A9A9A4; max-width: 36ch; margin-top: 26px; }
.hero-lede strong { color: var(--paper); font-weight: 600; }

.stage-anchor { display: flex; justify-content: center; }
.stage { position: relative; padding: 20px 80px; }
.scene-phone { width: min(300px, 30vh); }
.screen { opacity: 0; }
.screen.is-on { opacity: 1; }
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 11px; border-radius: 20px; color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.1; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.chip small { display: block; font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.chip-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 0, 0, .07); font-size: 15px; font-weight: 800; }
.chip-icon svg { width: 20px; height: 20px; }
.chip-mist { background: var(--mist); top: 16%; left: 0; }
.chip-lime { background: var(--lime); bottom: 18%; right: 0; }

.ghosts { display: none; }
.scene-copy { padding-bottom: clamp(80px, 10vw, 120px); }
.scene-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--hair-dark); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.step h2 { font-size: clamp(36px, 4.2vw, 62px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; margin-top: 14px; max-width: 10ch; padding-bottom: .04em; }
.step p { font-size: 18px; line-height: 1.55; font-weight: 400; color: #B5B5B0; max-width: 30ch; margin-top: 18px; }
.step-shot { width: min(260px, 72vw); margin-top: 28px; border-radius: 34px; border: 8px solid #1d1d1f; box-shadow: 0 0 0 1px var(--hair-dark); }
.scene-bar { display: none; }

/* Pinned scene (desktop, JS adds .is-pinned) */
.is-pinned .scene-pin { height: 100svh; overflow: hidden; }
.is-pinned .hero-grid { position: absolute; inset: 0; margin-inline: auto; min-height: 0; padding-block: 112px 40px; display: flex; align-items: center; }
.is-pinned .hero-copy { max-width: 52%; }
.is-pinned .stage-anchor { position: absolute; inset: 112px 0 40px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.is-pinned .stage { padding: 0; }
.is-pinned .chip-mist { left: -96px; }
.is-pinned .chip-lime { right: -110px; }
.is-pinned .ghosts { display: block; position: absolute; top: 0; bottom: 0; left: 46%; right: 0; overflow: hidden; pointer-events: none; }
.is-pinned .ghosts span { position: absolute; left: 52%; top: 50%; translate: -50% -50%; font-size: 12vw; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: #1A1A1A; white-space: nowrap; opacity: 0; }
.is-pinned .scene-copy { position: absolute; inset: 112px 0 40px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding: 0; pointer-events: none; }
.is-pinned .scene-head, .is-pinned .steps, .is-pinned .scene-bar { width: 42%; }
.is-pinned .scene-head, .is-pinned .scene-bar { opacity: 0; }
.is-pinned .steps { position: relative; display: block; height: 300px; margin-top: 36px; }
.is-pinned .step { position: absolute; inset: 0; opacity: 0; }
.is-pinned .step-shot { display: none; }
.is-pinned .scene-bar { display: block; height: 1px; margin-top: 8px; background: var(--hair-dark); }
.is-pinned .scene-bar i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }

/* ===== Paper block ===== */
.why .eyebrow { margin-bottom: clamp(32px, 4vw, 48px); }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.statement { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; max-width: 18ch; }
.statement .w { display: inline-block; }
.why-note { font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--on-light-soft); max-width: 40ch; margin-top: 28px; }
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--hair-light); }
.fact-num { font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.fact-text { font-size: 15px; line-height: 1.45; color: #2F3136; }
.fact-src { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; color: #5A5D64; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }
a.fact-src:hover { color: var(--ink); text-decoration-color: currentColor; }
.fact-ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.fact-ink .fact-text { color: #C9C9C4; }
.fact-ink .fact-src { color: #8E8E89; text-decoration: none; }
.science-note { margin-top: 16px; font-size: 13px; color: #5A5D64; }
.science-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.facts { margin-top: 32px; max-width: 520px; border-bottom: 1px solid var(--hair-light); }
.facts li { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-top: 1px solid var(--hair-light); }
.facts strong { flex: none; width: 1.3em; font-size: 48px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.facts span { font-size: 19px; font-weight: 600; letter-spacing: -.02em; max-width: 24ch; line-height: 1.3; }

.stats-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.stats-head .lede { margin-top: 0; }
.stat-bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--hair-light); }
.stat-big { grid-row: span 2; background: var(--mist); box-shadow: none; }
.stat-giant { font-size: clamp(110px, 13vw, 200px); font-weight: 800; letter-spacing: -.07em; line-height: .82; margin-top: 18px; font-variant-numeric: tabular-nums; }
.stat-giant span { font-size: .16em; letter-spacing: -.02em; margin-left: .3em; }
.week { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 150px; margin-top: auto; padding-top: 28px; }
.week i { flex: 0 1 34px; height: var(--h); min-height: 10px; border-radius: 999px; border: 1.5px solid #8C95A2; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(0, 0, 0, .16) 5px 6.5px); }
.week i.today { background: var(--ink); border-color: var(--ink); }
.week-days { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: #5A5D64; }
.week-days span { flex: 0 1 34px; text-align: center; }
.stat-num { font-size: clamp(48px, 5vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1; margin-top: auto; padding-top: 24px; font-variant-numeric: tabular-nums; }
.stat-text { font-size: 16px; line-height: 1.45; color: #3E4045; }
.up { color: #2E7D4F; font-weight: 700; }
.stat-lime { background: var(--lime); box-shadow: none; }
.stat-note { grid-column: 1 / -1; font-size: 13px; color: #5A5D64; }

/* ===== Dark block 2 ===== */
.safe-split { align-items: start; }
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento { display: flex; flex-direction: column; gap: 14px; min-height: 210px; padding: 24px; border-radius: 28px; background: #141414; box-shadow: 0 0 0 1px var(--hair-dark); }
.bento p { margin-top: auto; font-size: 16px; line-height: 1.45; color: #B5B5B0; font-weight: 400; }
.bento strong { font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.b-emergency { grid-column: 1 / -1; min-height: 0; }
.emergency-btn { align-self: flex-start; padding: 16px 26px; border-radius: 999px; background: var(--paper); color: #C2413B; font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.01em; box-shadow: 0 0 0 6px rgba(229, 115, 113, .14); }
.app-icons { display: flex; gap: 10px; }
.app-icons i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.app-icons svg { width: 24px; height: 24px; }
.b-vacation { background: var(--lime); color: var(--ink); box-shadow: none; }
.b-vacation .label { color: #5D5D3A; }
.b-vacation p { color: #3F3F2A; }

.privacy-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--hair-dark); }
.privacy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.privacy-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-dark); font-size: 16px; font-weight: 600; }
.privacy-pills svg { width: 18px; height: 18px; color: var(--lime); }
.perm-card { padding: 28px; border-radius: 28px; background: var(--sage); color: var(--ink); }
.perm-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.perm { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hair-light); }
.perm-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .6); }
.perm-icon svg { width: 22px; height: 22px; }
.perm strong { font-size: 17px; font-weight: 700; }
.perm p { font-size: 15px; line-height: 1.45; color: #3B4238; margin-top: 4px; }
.perm-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.perm-foot svg { width: 18px; height: 18px; }

/* Final CTA: the largest type on the page, on a drifting chessboard floor */
.final { padding-block: clamp(110px, 12vw, 170px) clamp(150px, 16vw, 230px); text-align: center; isolation: isolate; border-top: 1px solid var(--hair-dark); }
.final-glow { position: absolute; left: 50%; top: 42%; width: min(900px, 120vw); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(closest-side, rgba(239, 239, 164, .12), transparent 70%); z-index: -1; pointer-events: none; }
.final-floor {
  position: absolute; left: -50%; right: -50%; bottom: -4%; height: 70%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(#1f1f1f 0 25%, #0b0b0b 0 50%) 0 0 / 110px 110px;
  transform: perspective(520px) rotateX(58deg); transform-origin: 50% 100%;
  mask: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
  -webkit-mask: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
  animation: floor 9s linear infinite;
}
@keyframes floor { to { background-position: 0 220px; } }
.final-inner { position: relative; }
.final-icon { width: 72px; height: 72px; margin: 0 auto 36px; border-radius: 20px; box-shadow: 0 20px 50px -10px rgba(239, 239, 164, .25), 0 0 0 1px var(--hair-dark); }
.final-title { font-size: clamp(60px, 11vw, 180px); font-weight: 800; letter-spacing: -.065em; line-height: .9; }
.final-line { display: block; white-space: nowrap; }
.final-title .word { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.final-title .ch { display: inline-block; }
.final .stores { margin-top: 48px; }
.final-note { color: var(--on-dark-soft); font-size: 17px; line-height: 1.45; max-width: 40ch; margin: 28px auto 0; font-weight: 400; }

/* Footer: paper again, so the page ends on light */
.footer { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.foot-logo img { width: 36px; height: 36px; border-radius: 10px; }
.foot-brand p { margin-top: 18px; font-size: 15px; line-height: 1.6; color: #4B4D52; font-weight: 400; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h3 { margin-bottom: 4px; }
.foot-col a, .foot-col span { font-size: 17px; color: var(--ink); transition: opacity .2s; }
.foot-col a:hover { opacity: .6; }
.foot-store { display: inline-flex; align-items: center; gap: 8px; }
.foot-store svg { width: 18px; height: 18px; }
.foot-store.is-off { color: #7A7C82 !important; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--hair-light); font-size: 13px; color: #5A5D64; }
.foot-wordmark { margin-top: 28px; line-height: .74; text-align: center; white-space: nowrap; overflow: hidden; }
.foot-wordmark span { display: inline-block; font-size: 21.5vw; font-weight: 800; letter-spacing: -.065em; color: var(--ink); transform: translateY(14%); }

/* Blog article */
.article-page { background: var(--paper); }
.article-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); background: rgba(243, 242, 238, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair-light); }
.article-cta { background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 14px; }
.post { width: min(680px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0 64px; }
.post-kicker { font-size: 13px; font-weight: 600; color: #5A5D64; }
.post h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; margin-top: 16px; }
.post-dek { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: #3E4045; margin-top: 22px; font-weight: 400; }
.post-meta { font-size: 13px; font-weight: 600; color: #5A5D64; margin-top: 22px; padding-bottom: 32px; border-bottom: 1px solid var(--hair-light); }
.post-body { margin-top: 36px; font-size: 19px; line-height: 1.7; color: #24262B; font-weight: 400; }
.post-body p + p, .post-body ul + p, .post-body p + ul { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; color: var(--ink); margin: 2em 0 .7em; }
.post-body em, .post-body cite { font-style: italic; }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body ul { list-style: none; display: grid; gap: 12px; }
.post-body li { position: relative; padding-left: 26px; }
.post-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.post-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.post-stats div { padding: 22px; border-radius: 22px; background: var(--mist); display: flex; flex-direction: column; gap: 8px; }
.post-stats strong { font-size: 48px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.post-stats span { font-size: 16px; line-height: 1.4; color: #3E4045; }
.post-sign { font-weight: 700; color: var(--ink); font-size: 21px; letter-spacing: -.02em; }
.post-cta { margin-top: 56px; padding: 32px; border-radius: 28px; background: var(--lime); }
.post-cta p { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.post-cta .stores { margin-top: 20px; }
.post-sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair-light); }
.post-sources h2 { font-size: 15px; font-weight: 700; }
.post-sources ol { list-style: decimal; padding-left: 20px; margin-top: 14px; display: grid; gap: 12px; font-size: 14px; line-height: 1.55; color: #4B4D52; }
.post-sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.article-foot { border-top: 1px solid var(--hair-light); padding: 28px var(--gutter) 40px; }
.post-foot-inner { width: min(680px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #6B6D73; }
.post-foot-inner a:hover { color: var(--ink); }

/* Header on desktop, dock on phones */
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .topbar { display: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .split, .why-grid, .privacy-band, .stat-bento { grid-template-columns: 1fr; }
  .stat-big { grid-row: auto; }
  .hero-grid { padding-top: 110px; }
  .split .media { order: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .scene-phone { width: 250px; }
}

@media (max-width: 560px) {
  .pill-note .dot { display: none; }
  .scene-phone { width: 210px; }
  .stage { padding: 10px 24px; }
  .chip { font-size: 14px; padding: 8px 12px 8px 8px; border-radius: 16px; }
  .chip-icon { width: 30px; height: 30px; }
  .chip-mist { left: -8px; }
  .chip-lime { right: -8px; }
  .store { height: 52px; font-size: 18px; padding: 0 20px 0 16px; }
  .phone { width: 240px; }
  .dock-brand span { display: none; }
  .bento-grid, .science-grid, .post-stats { grid-template-columns: 1fr; }
  .bento { min-height: 0; }
  .final-line { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .final-floor { animation: none; }
  .dock { animation: none; }
}
