/* LOCK.AI marketing site v6. Plain CSS, no build step, no external fonts or scripts.
   One light source: the orange glow sits behind LOCK and nowhere else. */

:root {
  --ink: #14110e;          /* warm near-black */
  --ink-2: #1d1914;
  --ink-3: #2a241d;
  --cream: #fbf5ec;
  --cream-2: #f3eadc;
  --line: rgba(20, 17, 14, 0.12);
  --line-dark: rgba(251, 245, 236, 0.14);
  --text: #231d17;
  --muted: #6e6257;
  --muted-dark: #b7aa9a;
  --orange: #d97d41;
  --orange-deep: #b35d27;
  --teal: #2bb5a3;
  --radius: 22px;
  --display: "Space Grotesk", "SF Pro Display", "Avenir Next", -apple-system, system-ui, sans-serif;
  --body: "Manrope", -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ink-deep: #0f0d0a;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--cream); background: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(2.9rem, 7vw, 6.4rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.2; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.dark .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34em; }
.dark .lead { color: var(--muted-dark); }
.accent { color: var(--orange); }

/* ---------- Buttons and form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font: 700 1rem var(--body); cursor: pointer; text-decoration: none; background: var(--orange); color: var(--ink); transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s var(--ease); }
.btn:hover { background: #e58d52; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.65); }
.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn--ghost { background: transparent; color: inherit; border: 1px solid var(--line-dark); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }

.signup { display: grid; gap: 10px; max-width: 480px; }
.signup__row { display: flex; gap: 8px; }
.signup input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(251, 245, 236, 0.08); color: var(--cream); font: 500 1rem var(--body); }
.light .signup input[type="email"] { background: #fff; border-color: var(--line); color: var(--text); }
.signup input::placeholder { color: var(--muted-dark); }
.light .signup input::placeholder { color: #9a8d80; }
.signup .btn { min-height: 52px; white-space: nowrap; }
.signup__note { font-size: 0.85rem; color: var(--muted-dark); }
.light .signup__note { color: var(--muted); }
.signup__note a { text-underline-offset: 3px; }
.signup__status { font-size: 0.95rem; min-height: 1.4em; font-weight: 600; }
.signup__status[data-state="error"] { color: #ff9b7a; }
.light .signup__status[data-state="error"] { color: #b3361b; }
.signup__hp { position: absolute; left: -9999px; }
.signup.is-done .signup__row, .signup.is-done .signup__note { display: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(20, 17, 14, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font: 800 1.15rem var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--cream); }
.brand span { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 22px; color: var(--cream); font-size: 0.93rem; font-weight: 600; }
.nav__links a:not(.btn) { position: relative; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__cta { flex: none; }
.nav__toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-dark); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav.is-open .nav__toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle i:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.dark { background: var(--ink); color: var(--cream); }
.hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: clamp(96px, 13vh, 120px) 0 clamp(40px, 6vh, 64px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 76% 58%, rgba(217, 125, 65, 0.28), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(217, 125, 65, 0.08), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 16px 0 22px; }
.hero h1 .soft { color: var(--muted-dark); }
.hline { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hline__in { display: block; }
.hero .lead { margin-bottom: 30px; }
.hero__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: min(560px, 64vh); }
.hero__lockwrap { position: absolute; right: -5%; bottom: -10px; width: min(310px, 48%); z-index: 3; transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0) rotate(var(--lr, 0deg)); transform-origin: 50% 90%; }
.hero__lock { width: 100%; animation: bob 5.5s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(0,0,0,0.45)); }
.hero__phone { transform: translateX(-26%) rotate(-3deg) translate3d(var(--px, 0px), var(--py, 0px), 0); }
.bubble { position: absolute; z-index: 4; right: 0; top: 0; max-width: 250px; padding: 12px 16px; background: var(--cream); color: var(--ink); border-radius: 18px 18px 4px 18px; font-weight: 700; font-size: 0.93rem; line-height: 1.3; box-shadow: 0 12px 30px rgba(0,0,0,0.35); opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: bottom right; transition: opacity 0.4s, transform 0.5s var(--ease); }
.bubble.is-on { opacity: 1; transform: none; animation: bubblePop 0.55s var(--ease-out); }
@keyframes bubblePop { 0% { opacity: 0; transform: translateY(10px) scale(0.9); } 55% { opacity: 1; transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* Entrance choreography: masked lines, then lead/form, then phone and LOCK.
   Scoped to .js + no-preference so no-JS and reduced-motion get the static page. */
@keyframes fadeUp { from { opacity: 0; translate: 0 16px; } }
@keyframes fadeDown { from { opacity: 0; translate: 0 -10px; } }
@keyframes lineUp { from { translate: 0 112%; } }
@keyframes stageRise { from { opacity: 0; translate: 0 46px; } }
@keyframes lockIn { from { opacity: 0; translate: 0 26px; scale: 0.9; } }
@media (prefers-reduced-motion: no-preference) {
  .js .nav { animation: fadeDown 0.7s var(--ease-out) both; }
  .js .hero .eyebrow { animation: fadeUp 0.7s var(--ease-out) 0.1s both; }
  .js .hline:nth-of-type(1) .hline__in { animation: lineUp 1s var(--ease-out) 0.16s both; }
  .js .hline:nth-of-type(2) .hline__in { animation: lineUp 1s var(--ease-out) 0.32s both; }
  .js .hero .lead { animation: fadeUp 0.8s var(--ease-out) 0.44s both; }
  .js .hero .signup { animation: fadeUp 0.8s var(--ease-out) 0.54s both; }
  .js .hero__phone { animation: stageRise 1.1s var(--ease-out) 0.36s both; }
  .js .hero__lockwrap { animation: lockIn 1s var(--ease-out) 0.6s both; }
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(0.6deg); } }

/* ---------- Phone with real HTML screens ---------- */
.phone { position: relative; width: 270px; aspect-ratio: 9 / 19; background: #0b0a08; border-radius: 46px; padding: 9px; box-shadow: 0 0 0 1.5px #3a332b, 0 40px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px #000; flex: none; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--cream); color: var(--text); font-size: 11px; }
.phone__island { position: absolute; top: 9px; left: 50%; width: 72px; height: 20px; margin-left: -36px; background: #000; border-radius: 12px; z-index: 6; }
.screen { position: absolute; inset: 0; padding: 40px 14px 58px; display: flex; flex-direction: column; gap: 9px; opacity: 0; transform: translateY(10px) scale(0.985); transition: opacity 0.22s ease, transform 0.3s ease; pointer-events: none; }
.screen.is-on { opacity: 1; transform: none; transition: opacity 0.45s var(--ease) 0.15s, transform 0.55s var(--ease) 0.15s; }
.screen__title { font: 800 16px var(--display); letter-spacing: -0.02em; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px; }
.s-tag { font-size: 8.5px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.s-big { font: 800 15px/1.15 var(--display); letter-spacing: -0.02em; margin: 4px 0 3px; }
.s-copy { color: var(--muted); font-size: 10px; line-height: 1.35; }
.s-btn { display: block; margin-top: 9px; text-align: center; background: var(--orange-deep); color: #fff; font-weight: 800; font-size: 10px; letter-spacing: 0.05em; padding: 9px; border-radius: 10px; }
.s-row { display: flex; gap: 8px; }
.s-row > * { flex: 1; }
.s-gauge { text-align: center; padding: 10px 6px 8px; }
.s-gauge svg { width: 44px; height: 50px; display: block; margin: 0 auto 4px; }
.s-gauge b { display: block; font: 800 12px var(--display); }
.s-gauge span { color: var(--muted); font-size: 9px; }
.s-input { background: var(--cream-2); border-radius: 10px; padding: 9px 10px; font-size: 10.5px; line-height: 1.35; font-weight: 600; }
.s-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 10.5px; }
.s-item:last-child { border: 0; }
.s-item span { color: var(--muted); font-weight: 600; }
.s-stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.s-stepper b { font: 800 30px var(--display); letter-spacing: -0.04em; }
.s-note { font-size: 9px; color: var(--orange-deep); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.s-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; z-index: 5; padding: 0 6px 6px; }
.s-tabs i { width: 22px; height: 22px; border: 0; background: #a59888; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 21px 21px; mask-size: 21px 21px; }
.s-tabs i:nth-child(1) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5'/%3E%3Cpath%20d='M5%209.5V21h14V9.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5'/%3E%3Cpath%20d='M5%209.5V21h14V9.5'/%3E%3C/svg%3E"); }
.s-tabs i:nth-child(2) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='11'%20cy='11'%20r='6.5'/%3E%3Cpath%20d='m20%2020-3.3-3.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='11'%20cy='11'%20r='6.5'/%3E%3Cpath%20d='m20%2020-3.3-3.3'/%3E%3C/svg%3E"); }
.s-tabs i:nth-child(3) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%205v14M5%2012h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%205v14M5%2012h14'/%3E%3C/svg%3E"); }
.s-tabs i:nth-child(4) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2020V11M12%2020V4M19%2020v-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2020V11M12%2020V4M19%2020v-6'/%3E%3C/svg%3E"); }
.s-tabs i:nth-child(5) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='8'%20r='3.6'/%3E%3Cpath%20d='M4.5%2020.5c0-3.8%203.4-6%207.5-6s7.5%202.2%207.5%206'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='8'%20r='3.6'/%3E%3Cpath%20d='M4.5%2020.5c0-3.8%203.4-6%207.5-6s7.5%202.2%207.5%206'/%3E%3C/svg%3E"); }
.s-tabs i.on { background: var(--orange-deep); }
.phone__cap { text-align: center; color: var(--muted-dark); font-size: 0.78rem; margin-top: 14px; }

/* ---------- Story (pinned scroll) ---------- */
.story { position: relative; background: var(--cream); }
.story__head { padding: 110px 0 30px; }
.story__head h2 { max-width: 13em; margin: 12px 0 14px; }
.story__track { height: 420vh; position: relative; }
.story__pin { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 620px; display: flex; align-items: center; }
.story__stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.story__copy { position: relative; height: 320px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.22s ease, transform 0.3s ease; pointer-events: none; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.step.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.5s var(--ease) 0.2s, transform 0.6s var(--ease) 0.2s; }
.step__n { font: 800 0.85rem var(--display); letter-spacing: 0.14em; color: var(--orange-deep); }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.04; letter-spacing: -0.035em; }
.step p { color: var(--muted); font-size: 1.12rem; max-width: 28em; }
.story__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.story__lock { position: absolute; left: 50%; margin-left: 40px; bottom: -6px; width: 170px; z-index: 3; transition: opacity 0.3s, transform 0.5s var(--ease); filter: drop-shadow(0 18px 22px rgba(20,17,14,0.3)); }
.story__lock.is-swap { opacity: 0; transform: translateY(10px); }
.story__dots { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; }
.story__dots i { width: 26px; height: 4px; border-radius: 4px; background: rgba(20, 17, 14, 0.2); overflow: hidden; }
.story__dots i::after { content: ""; display: block; height: 100%; width: 0; background: var(--orange-deep); transition: width 0.4s var(--ease); }
.story__dots i.is-done::after { width: 100%; }

/* ---------- Proof (what LOCK won't do) ---------- */
.proof { padding: 120px 0; }
.proof__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.proof h2 { margin: 12px 0 16px; }
.nots { list-style: none; padding: 0; display: grid; }
.nots li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.nots li:last-child { border-bottom: 1px solid var(--line-dark); }
.nots b { font: 800 1.35rem/1.15 var(--display); letter-spacing: -0.025em; display: block; margin-bottom: 4px; }
.nots span { color: var(--muted-dark); }
.nots svg { width: 26px; height: 26px; margin-top: 3px; stroke: var(--orange); }

/* ---------- Ways to log (bento) ---------- */
.ways { padding: 120px 0; }
.ways h2 { margin: 12px 0 40px; max-width: 12em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -20px rgba(20, 17, 14, 0.25); border-color: rgba(20, 17, 14, 0.28); }
.tile:active { transform: translateY(-1px) scale(0.995); }
.tile--a:hover { border-color: #3d332a; }
.tile--d:hover { border-color: var(--orange-deep); }
.tile--c { background-color: #fff; background-image: radial-gradient(rgba(20, 17, 14, 0.07) 1px, transparent 1.4px); background-size: 16px 16px; }
.tile--e { background: linear-gradient(155deg, rgba(43, 181, 163, 0.14), rgba(43, 181, 163, 0) 55%), #fff; }
.tile p { color: var(--muted); margin-top: 6px; }
.tile--a { grid-column: span 3; background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tile--a p { color: var(--muted-dark); }
.tile--b { grid-column: span 3; }
.tile--c { grid-column: span 2; }
.tile--d { grid-column: span 2; background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tile--d p { color: rgba(20, 17, 14, 0.85); }
.tile--d .kept small { color: rgba(20, 17, 14, 0.85); }
.tile--e { grid-column: span 2; }
.tile__art { position: absolute; top: 22px; left: 26px; right: 26px; }
.wave-bars { display: flex; align-items: center; gap: 4px; height: 64px; }
.wave-bars i { flex: 1; max-width: 7px; border-radius: 6px; background: var(--orange); animation: eq 1.4s ease-in-out infinite; animation-play-state: paused; height: 30%; }
.wave-bars i:nth-child(2n) { animation-delay: -0.4s; }
.wave-bars i:nth-child(3n) { animation-delay: -0.9s; }
.wave-bars i:nth-child(5n) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.scan { width: 100%; max-width: 150px; height: 44px; border: 2px solid var(--ink); border-radius: 8px; position: relative; overflow: hidden; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: scan 2.2s ease-in-out infinite; animation-play-state: paused; }
@keyframes scan { 0%, 100% { top: 4px; } 50% { top: 38px; } }
.offline-ring { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.offline-ring i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: pulse 2s ease-in-out infinite; animation-play-state: paused; }
/* Tile art demonstrates itself briefly on arrival, then rests; hover replays it. */
.tile.is-in .wave-bars i, .tile.is-in .scan::after { animation-play-state: running; animation-iteration-count: 3; }
.tile.is-in .offline-ring i { animation-play-state: running; animation-iteration-count: 2; }
.tile:hover .wave-bars i, .tile:hover .scan::after, .tile:hover .offline-ring i,
.tile:focus-within .wave-bars i, .tile:focus-within .scan::after, .tile:focus-within .offline-ring i { animation-play-state: running; animation-iteration-count: infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: 0.4; } }
.kept { font: 800 2.4rem var(--display); letter-spacing: -0.04em; line-height: 1; }
.kept small { font: 600 0.9rem var(--body); color: var(--muted); letter-spacing: 0; display: block; margin-top: 6px; }

/* ---------- Meet LOCK ---------- */
.meet { padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
.meet::before { content: ""; position: absolute; left: 50%; top: 60%; width: 720px; height: 720px; margin: -360px 0 0 -360px; z-index: -1; background: radial-gradient(closest-side, rgba(217, 125, 65, 0.22), transparent); }
.meet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.meet h2 { margin: 12px 0 18px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.mood { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--cream); font: 700 0.95rem var(--body); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.mood[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.meet__line { font: 700 clamp(1.2rem, 2.2vw, 1.7rem)/1.25 var(--display); letter-spacing: -0.02em; min-height: 3.8em; max-width: 20em; }
.meet__stage { display: flex; justify-content: center; }
.meet__stage img { width: min(380px, 80%); transition: opacity 0.25s, transform 0.5s var(--ease); filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.5)); }
.meet__stage img.is-swap { opacity: 0; transform: translateY(14px) scale(0.97); }
.meet__rule { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 0.95rem; max-width: 34em; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq h2 { margin-top: 12px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 700 1.15rem var(--display); letter-spacing: -0.02em; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 500 1.6rem var(--body); color: var(--orange-deep); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 38em; }

/* ---------- Final CTA ---------- */
.final { padding: 120px 0 90px; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 800px; height: 800px; margin: -400px 0 0 -400px; z-index: -1; background: radial-gradient(closest-side, rgba(217, 125, 65, 0.2), transparent); }
.final__lock { width: 190px; margin: 0 auto 12px; transition: transform 0.6s var(--ease); }
.final h2 { max-width: 12em; margin: 0 auto 16px; }
.final .lead { margin: 0 auto 28px; }
.final .signup { margin: 0 auto; text-align: left; }
.final .signup__status { text-align: center; }
.foot { margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-dark); font-size: 0.88rem; text-align: left; }
.foot nav { display: flex; gap: 18px; }

/* ---------- Reveal on scroll (progressive: content visible without JS) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Anchors land below the fixed nav. */
section[id] { scroll-margin-top: 76px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .meet__grid, .proof__grid, .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { display: block; min-height: 0; padding: 104px 0 60px; }
  .hero__stage { min-height: 500px; }
  .hero__phone { transform: translateX(-14%) rotate(-2deg) translate3d(var(--px, 0px), var(--py, 0px), 0); }
  .hero__lockwrap { right: 2%; width: min(250px, 50%); }
  .bubble { right: 2%; top: 0; }
  .story__pin { align-items: center; }
  .story__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding-top: 66px; gap: 0; }
  .story__copy { height: 190px; order: 2; }
  .story__visual { order: 1; transform: scale(0.7); transform-origin: top center; height: 380px; }
  .step h3 { font-size: 1.7rem; }
  .step p { font-size: 1rem; }
  .story__lock { width: 130px; margin-left: 50px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--a, .tile--b { grid-column: span 2; }
  .tile--c, .tile--d, .tile--e { grid-column: span 1; min-height: 210px; }
  .nav__right { gap: 12px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; top: 70px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: rgba(20, 17, 14, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px; border-radius: 10px; opacity: 1; }
  .nav__links a:hover { background: rgba(251, 245, 236, 0.06); }
  .proof, .ways, .meet, .faq { padding: 84px 0; }
}
@media (max-width: 520px) {
  .signup__row { flex-direction: column; }
  .tile--c, .tile--d, .tile--e { grid-column: span 2; }
  .phone { width: 236px; }
  .hero__stage { min-height: 470px; justify-content: flex-start; padding-left: 4px; }
  .hero__phone { transform: rotate(-2deg) translate3d(var(--px, 0px), var(--py, 0px), 0); }
  .hero__lockwrap { width: 44%; right: -4px; }
  .bubble { top: -26px; right: 0; max-width: 210px; font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* No JS: show every story step stacked, phone screens one after another. */
html:not(.js) .story__track { height: auto; }
html:not(.js) .story__pin { position: static; height: auto; }
html:not(.js) .story__stage { display: block; padding: 20px 0 60px; }
html:not(.js) .story__copy { height: auto; display: grid; gap: 28px; }
html:not(.js) .step { position: static; opacity: 1; transform: none; }
html:not(.js) .story__visual { display: none; }

/* ===== v7 redesign: unified dark theme + rhythm ===== */
.story { background: var(--ink-deep); }
.proof { background: var(--ink-deep); }
.faq { background: var(--ink-deep); }
.story .lead { color: var(--muted-dark); }
.story__head { padding-top: 96px; }
.step p { color: var(--muted-dark); }
.step__n { color: var(--orange); letter-spacing: 0.08em; text-transform: none; font-size: 0.9rem; }
.story__dots i { background: rgba(251, 245, 236, 0.22); }
.tile--a { background: #1b1712; border-color: #2b241c; }
.tile--a p { color: var(--muted-dark); }
.tile--b, .tile--c, .tile--e { color: var(--text); }
.faq details { border-color: var(--line-dark); }
.faq details p { color: var(--muted-dark); }
.faq summary::after { color: var(--orange); }
.mood { border-radius: 12px; }
