/* Chat Lock website. Colours come from the app's six lock styles. */
@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

@property --a { syntax: "<color>"; inherits: true; initial-value: #06261c; }
@property --b { syntax: "<color>"; inherits: true; initial-value: #0b3d2e; }
@property --c { syntax: "<color>"; inherits: true; initial-value: #145a3f; }

@view-transition { navigation: auto; }

:root {
  --gold: #f4b942; --gold-deep: #c98a12; --ink: #06261c; --cream: #fff8ea;
  --mint: #a8f0c6; --sky: #a9dcff; --lilac: #dcc4ff; --coral: #ffb0a0; --butter: #ffe08a; --rose: #ffc2dc;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; font: 500 17px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }

/* ---------- Home canvas: fixed gradient that wears the current lock style ---------- */
body.home {
  --a: #06261c; --b: #0b3d2e; --c: #145a3f;
  color: #fff; background: var(--a);
  transition: --a .9s ease, --b .9s ease, --c .9s ease;
}
body.home::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(70vmax 60vmax at 85% 0%, var(--c), transparent 62%),
    radial-gradient(60vmax 60vmax at 0% 100%, var(--b), transparent 62%),
    var(--a);
}
body.home::after {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: linear-gradient(#000, transparent 75%);
}
body[data-t="forest"]   { --a: #06261c; --b: #0b3d2e; --c: #145a3f; }
body[data-t="midnight"] { --a: #05070f; --b: #111a33; --c: #1f2e5c; }
body[data-t="gold"]     { --a: #120d05; --b: #2e2109; --c: #6b4d12; }
body[data-t="ocean"]    { --a: #031b2e; --b: #0b3c5d; --c: #1565a0; }
body[data-t="plum"]     { --a: #1a0526; --b: #3d0f52; --c: #6a1b7a; }
body[data-t="sunset"]   { --a: #2a0a1c; --b: #6b1e3a; --c: #b5472f; }

/* Scroll progress: a gold key-line. Quietly absent where unsupported. */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--gold); transform-origin: left; transform: scaleX(0); animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 12px auto 0; padding: 8px 8px 8px 16px; border-radius: 99px;
  background: rgba(6, 18, 14, .55); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--display); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 16px 26px; border-radius: 99px;
  font-weight: 800; text-decoration: none; white-space: nowrap; background: var(--gold); color: #1d1402;
  box-shadow: 0 5px 0 var(--gold-deep), 0 14px 30px rgba(0,0,0,.28);
  transition: transform .18s var(--spring), box-shadow .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 7px 0 var(--gold-deep), 0 18px 34px rgba(0,0,0,.3); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-deep); }
.btn.ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn.ghost:hover { background: rgba(255,255,255,.18); }

/* ---------- Layout ---------- */
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.1); color: var(--gold); border: 1px solid rgba(244,185,66,.38); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(244,185,66,0); } 0% { box-shadow: 0 0 0 0 rgba(244,185,66,.6); } }
.head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.head h2 { font-size: clamp(38px, 6.6vw, 72px); font-weight: 800; margin-top: 18px; }
.head p { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); }
em.hl { font-style: normal; color: var(--gold); }

/* Reveal on scroll (only hidden once JS has confirmed it can reveal) */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 92px) clamp(64px, 8vw, 104px); position: relative; }
.hero h1 { font-size: clamp(54px, 9.4vw, 112px); font-weight: 800; margin-top: 20px; line-height: .96; }
.hero h1 span { display: block; animation: rise .9s var(--ease) both; }
.hero h1 span:nth-child(2) { animation-delay: .12s; color: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(2deg); } }
.hero-sub { margin-top: 24px; max-width: 520px; font-size: clamp(18px, 2.2vw, 21px); color: rgba(255,255,255,.82); animation: rise .9s .24s var(--ease) both; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; animation: rise .9s .34s var(--ease) both; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.76); animation: rise .9s .44s var(--ease) both; }
.proof li { display: flex; align-items: center; gap: 7px; }
.proof li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%2306261c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m5 9.4 2.8 2.7L13 6.5'/%3E%3C/svg%3E"); }
.stage { position: relative; display: grid; place-items: center; animation: pop 1s .2s var(--spring) both; padding-top: 46px; }
@keyframes pop { from { opacity: 0; transform: translateY(50px) scale(.9) rotate(4deg); } }

/* Floating decorations */
.float { position: absolute; display: grid; place-items: center; pointer-events: none; animation: bob 5s ease-in-out infinite; z-index: 0; }
.float.bubble { padding: 9px 14px; border-radius: 18px 18px 18px 5px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: 0 12px 26px rgba(0,0,0,.26); white-space: nowrap; }
.float.bubble.b2 { background: var(--mint); border-radius: 18px 18px 5px 18px; animation-delay: -1.6s; }
.float.bubble.b3 { background: var(--butter); animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-13px) rotate(-3deg); } }
.f1 { top: 30%; left: -6%; z-index: 3; } .f2 { top: 46%; right: -3%; z-index: 3; } .f3 { bottom: 6%; left: 1%; z-index: 3; }
@media (max-width: 1040px) { .f1 { left: 0; } .f2 { right: 0; } }

/* ---------- Phone ---------- */
.phone {
  --w: min(296px, 84vw); --l1: #06261c; --l2: #0b3d2e; --l3: #145a3f;
  position: relative; z-index: 1; width: var(--w); aspect-ratio: 9 / 19; padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .15);
  background: #0a0e0c; font-size: calc(var(--w) / 26);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.2) inset, 0 34px 70px rgba(0,0,0,.5), 0 0 90px color-mix(in srgb, var(--gold) 16%, transparent);
}
.phone::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 3.5%; aspect-ratio: 1; translate: -50%; border-radius: 50%; background: #000; z-index: 9; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .125); background: #f6faf7; color: #171d1a; }
.lock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; color: #fff; padding: 4.6em .8em 1em; background: linear-gradient(160deg, var(--l1), var(--l2) 55%, var(--l3)); transition: transform .7s var(--ease), --l1 .6s, --l2 .6s, --l3 .6s; }
.lock.gone { transform: translateY(-104%); }
.lock-logo { width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: 0 0 0 .5em rgba(244,185,66,.1), 0 0 2.4em rgba(244,185,66,.3); }
.lock-logo svg { width: 2.3em; }
.lock h3 { font: 700 1.25em var(--body); letter-spacing: 0; margin-top: .85em; }
.lock-sub { font-size: .86em; min-height: 1.6em; color: rgba(255,255,255,.74); }
.lock-sub.err { color: #ff8a80; }
.dots { display: flex; gap: 1.1em; margin: .75em 0 1em; }
.dots i { width: .78em; height: .78em; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); transition: transform .25s var(--spring), background .15s; }
.dots i.on { background: var(--gold); border-color: var(--gold); transform: scale(1.2); box-shadow: 0 0 .8em rgba(244,185,66,.6); }
.pad { display: grid; grid-template-columns: repeat(3, minmax(44px, 3.9em)); gap: .7em .95em; justify-content: center; margin-block: auto; }
.pad button { height: 3.9em; min-height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); font-size: 1em; font-weight: 600; color: #fff; touch-action: manipulation; transition: transform .12s, background .15s; }
.pad button b { font-size: 1.32em; font-weight: 600; }
.pad button:hover { background: rgba(255,255,255,.18); }
.pad button:active { transform: scale(.88); background: var(--gold); color: #1d1402; }
.pad button:disabled { opacity: .35; }
.pad .blank { visibility: hidden; }
.pad .del { background: none; border: 0; }
.pad .del svg { width: 1.6em; margin: auto; }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.hint { position: relative; z-index: 2; margin-top: 18px; padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 600; text-align: center; }
.hint kbd { font: 800 15px var(--body); color: var(--gold); letter-spacing: .08em; }

/* Chat behind the lock */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(170deg, #fdf3df, #ffe4e4 55%, #e5ddff); }
.chat-top { display: flex; align-items: center; gap: .6em; padding: 3.4em .9em .7em; background: rgba(255,255,255,.75); }
.chat-av { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: var(--coral); font-size: 1em; }
.chat-top b { display: block; font-size: .95em; line-height: 1.2; }
.chat-top small { color: #55625b; font-size: .74em; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: .5em; padding: .9em; justify-content: flex-end; overflow: hidden; }
.msg { max-width: 82%; padding: .5em .8em; border-radius: 1em 1em 1em .25em; background: #fff; font-size: .86em; line-height: 1.32; box-shadow: 0 1px 3px rgba(0,0,0,.1); opacity: 0; transform: translateY(1em) scale(.9); transform-origin: left bottom; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 1em 1em .25em 1em; transform-origin: right bottom; }
.open .msg { animation: msg .5s var(--spring) forwards; }
.open .msg:nth-child(1) { animation-delay: .45s; } .open .msg:nth-child(2) { animation-delay: 1s; } .open .msg:nth-child(3) { animation-delay: 1.55s; } .open .msg:nth-child(4) { animation-delay: 2.1s; }
@keyframes msg { to { opacity: 1; transform: none; } }
.relock { margin: 0 .9em 1.1em; padding: .8em; min-height: 44px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .9em; font-weight: 700; }

/* Confetti */
.bit { position: fixed; z-index: 70; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; animation: fall 1.3s cubic-bezier(.2,.7,.5,1) forwards; }
@keyframes fall { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Pip ---------- */
.pip { overflow: visible; }
.pip * { transform-box: view-box; }
.pip-eyes { transition: transform .12s ease-out; }
.pip-blink { transform-origin: 70px 88px; animation: blink 4.6s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(.08); } }
.pip-all { transform-origin: 70px 140px; animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03, .97); } }
.pip-shackle { transform-origin: 92px 66px; transition: transform .45s var(--spring); }
.pip-hand { transform: translateY(60px); opacity: 0; transition: transform .28s var(--spring), opacity .15s; }
.pip-happy { opacity: 0; }
.pip.typing .pip-hand { transform: none; opacity: 1; }
.pip.happy .pip-shackle { transform: translateY(-9px) rotate(32deg); }
.pip.happy .pip-blink { opacity: 0; }
.pip.happy .pip-happy { opacity: 1; }
.pip.happy .pip-all { animation: hop .6s var(--spring) 3; }
.pip.sad .pip-all { animation: shake .45s; }
@keyframes hop { 40% { transform: translateY(-20px) scale(.95, 1.06); } }
.stage .pip { position: absolute; z-index: 4; top: 0; right: calc(50% - 150px); width: 104px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
@media (max-width: 400px) { .stage .pip { right: 6%; width: 88px; } }

/* ---------- Tape ---------- */
.tape { overflow: hidden; background: var(--gold); color: #1d1402; rotate: -1.6deg; scale: 1.03; font: 800 clamp(19px, 3vw, 26px) var(--display); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.tape div { display: flex; width: max-content; padding: 12px 0; animation: slide 30s linear infinite; }
.tape span { padding-inline: 20px; white-space: nowrap; }
.tape span::after { content: "✦"; margin-left: 40px; opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.how-phone { position: sticky; top: 104px; display: grid; place-items: center; }
.how-phone .phone { --w: min(280px, 56vw); }
.steps { display: grid; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .36; transition: opacity .5s; }
.step.on { opacity: 1; }
.step b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; font: 800 26px var(--display); color: #1d1402; background: var(--c1); rotate: -6deg; }
.step h3 { font-size: clamp(30px, 4.6vw, 48px); margin-top: 16px; }
.step p { margin-top: 12px; font-size: clamp(17px, 2vw, 19px); color: rgba(255,255,255,.8); max-width: 440px; }
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(.94); transition: opacity .5s, transform .6s var(--ease); }
[data-step="1"] .scr.s1, [data-step="2"] .scr.s2, [data-step="3"] .scr.s3 { opacity: 1; transform: none; }
.app { padding: 3.2em .85em 1em; height: 100%; }
.app h4 { margin: 0; font: 700 1.3em var(--body); }
.chip { display: inline-block; margin: .5em 0 .9em; padding: .25em .8em; border-radius: 99px; background: #cfebda; color: #1b7a4e; font-size: .76em; font-weight: 700; }
.row { display: flex; align-items: center; gap: .6em; padding: .55em .65em; margin-bottom: .45em; border-radius: 1.1em; background: #eaf1ec; }
.row > i { width: 2.1em; height: 2.1em; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; font-weight: 700; font-size: .92em; }
.row span { flex: 1; min-width: 0; font-size: .88em; font-weight: 600; line-height: 1.25; }
.row small { display: block; font-size: .78em; font-weight: 500; color: #404943; }
.sw { width: 2.5em; height: 1.45em; flex: none; border-radius: 99px; background: #cdd6d0; position: relative; transition: background .3s; }
.sw::after { content: ""; position: absolute; top: .17em; left: .17em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; transition: transform .35s var(--spring); }
.sw.on { background: #145a3f; }
.sw.on::after { transform: translateX(1.05em); }
.sw.auto { animation: swbg 3s infinite; }
.sw.auto::after { animation: swdot 3s var(--spring) infinite; }
@keyframes swbg { 0%, 25% { background: #cdd6d0; } 45%, 100% { background: #145a3f; } }
@keyframes swdot { 0%, 25% { transform: none; } 45%, 100% { transform: translateX(1.05em); } }
.cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em; color: #fff; text-align: center; padding: 1em; background: linear-gradient(160deg, var(--l1), var(--l2) 55%, var(--l3)); }
.cover .lock-logo { animation: thud 2s var(--spring) infinite; }
@keyframes thud { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 26% { transform: scale(.97); } 40% { transform: scale(1); } }
.cover b { font-size: 1.15em; margin-top: .6em; }
.cover small { color: rgba(255,255,255,.74); font-size: .84em; }
.fp { position: relative; width: 6.4em; height: 6.4em; margin-top: .6em; display: grid; place-items: center; border-radius: 50%; background: #cfebda; overflow: hidden; }
.fp svg { width: 3.6em; color: #145a3f; }
.fp::after { content: ""; position: absolute; left: 0; right: 0; height: .28em; background: var(--gold); box-shadow: 0 0 1em var(--gold); animation: scan 1.9s ease-in-out infinite alternate; }
@keyframes scan { from { top: 8%; } to { top: 88%; } }
.sheet { position: absolute; inset: auto 0 0; padding: 1.5em 1em 2em; border-radius: 1.6em 1.6em 0 0; background: #f6faf7; color: #171d1a; display: flex; flex-direction: column; align-items: center; }
.sheet b { font-size: 1.1em; } .sheet small { color: #404943; font-size: .84em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; grid-column: span 2; min-height: 290px; padding: 26px; border-radius: 30px; color: #171d1a; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { box-shadow: 0 24px 50px rgba(0,0,0,.32); }
.card.w3 { grid-column: span 3; } .card.w4 { grid-column: span 4; }
.card h3 { font-size: clamp(25px, 2.8vw, 31px); font-weight: 800; }
.card p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #2c332f; }
.art { flex: 1; display: grid; place-items: center; min-height: 118px; margin-bottom: 18px; font-size: 13px; }
.art .row { width: min(290px, 100%); background: rgba(255,255,255,.72); }
.art .row span { font-size: 1.1em; } .art .sw { font-size: 1.1em; } .art .row > i { font-size: 1.15em; }
.art-stack { display: grid; gap: 2px; width: 100%; justify-items: center; }
.bigshackle { width: 112px; }
.bigshackle path:first-child { transform-origin: 72px 44px; animation: snap 3.2s var(--spring) infinite; }
@keyframes snap { 0%, 55%, 100% { transform: translateY(0); } 70%, 85% { transform: translateY(-13px) rotate(14deg); } }
.blurname { font: 800 28px var(--display); background: #fff; padding: 12px 24px; border-radius: 18px; transition: filter .5s; animation: hideme 4s infinite; white-space: nowrap; }
@keyframes hideme { 0%, 30% { filter: blur(0); } 45%, 85% { filter: blur(9px); } 100% { filter: blur(0); } }
.timer { display: flex; gap: 10px; }
.timer i { width: 22px; height: 22px; border-radius: 50%; background: #e23d28; animation: dotpop 3.4s infinite; animation-delay: calc(var(--n) * .28s); }
@keyframes dotpop { 0%, 8% { transform: scale(.4); opacity: .3; } 16%, 80% { transform: none; opacity: 1; } 100% { transform: scale(.4); opacity: .3; } }
.qa { background: #fff; padding: 12px 16px; border-radius: 18px 18px 18px 5px; font-weight: 700; font-size: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.12); rotate: -2deg; }
.qa.a { margin-top: 8px; background: #3d0f52; color: #fff; border-radius: 18px 18px 5px 18px; rotate: 2deg; justify-self: end; }
.pair { display: flex; gap: 12px; }
.pair span { padding: 12px 18px; border-radius: 18px; font-weight: 800; font-size: 15px; background: #fff; }
.pair span + span { background: #145a3f; color: #fff; }
.mode { width: 104px; height: 56px; border-radius: 99px; background: #fff; position: relative; animation: modebg 5s infinite; }
.mode::after { content: ""; position: absolute; top: 7px; left: 7px; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); animation: modedot 5s var(--spring) infinite; }
@keyframes modebg { 45%, 95% { background: #06261c; } }
@keyframes modedot { 45%, 95% { transform: translateX(48px); background: #f6faf7; box-shadow: inset -9px -4px 0 #c9d6ce; } }

/* ---------- Lock styles ---------- */
.styles { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 6vw, 80px); align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; }
.tile { position: relative; aspect-ratio: 1 / .92; min-height: 44px; display: flex; align-items: flex-end; padding: 12px; border-radius: 22px; text-align: left; font-weight: 700; font-size: 15px; color: #fff; line-height: 1.15; border: 2px solid rgba(255,255,255,.16); background: linear-gradient(150deg, var(--t1), var(--t2) 55%, var(--t3)); transition: transform .25s var(--spring), border-color .2s; }
.tile:hover { transform: translateY(-4px) rotate(-1.5deg); }
.tile[aria-pressed="true"] { border-color: var(--gold); transform: scale(1.04); box-shadow: 0 0 0 3px rgba(244,185,66,.3); }
.styles-note { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.76); }

/* ---------- Direct chat ---------- */
.dc { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.dc ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 18px; }
.dc li { display: flex; gap: 12px; align-items: baseline; }
.dc li::before { content: "✦"; color: var(--gold); }
.form { padding-top: 3.4em; }
.field { margin-top: .75em; padding: .65em .8em; border: 1.5px solid #145a3f; border-radius: .8em; font-size: .92em; min-height: 3em; }
.field small { display: block; font-size: .72em; color: #145a3f; font-weight: 700; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: #145a3f; animation: car 1s steps(2) infinite; }
@keyframes car { 50% { opacity: 0; } }
.quick { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .8em; }
.quick span { padding: .3em .7em; border-radius: 99px; background: #eaf1ec; font-size: .78em; font-weight: 600; }
.go { margin-top: .9em; padding: .85em; border-radius: 99px; text-align: center; font-weight: 700; background: #145a3f; color: #fff; }

.recent { margin: 1em 0 .5em; font-size: .78em; font-weight: 700; color: #145a3f; }
.tabs { position: absolute; inset: auto 0 0; display: flex; justify-content: space-around; align-items: center; padding: .8em .5em 1em; background: #eaf1ec; font-size: .76em; font-weight: 600; color: #404943; }
.tabs b { padding: .2em .9em; border-radius: 99px; background: #ffe7b8; color: #2b1d00; }

/* ---------- Privacy ---------- */
.flow { display: grid; grid-template-columns: 1.3fr .7fr 1fr; align-items: center; gap: 12px; padding: clamp(20px, 3.5vw, 36px); border-radius: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.flow h3 { font-size: 22px; margin-bottom: 14px; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-chips span { padding: 8px 14px; border-radius: 14px; background: var(--mint); color: var(--ink); font-size: 15px; font-weight: 700; }
.flow-chips span:nth-child(2) { background: var(--butter); } .flow-chips span:nth-child(3) { background: var(--sky); } .flow-chips span:nth-child(4) { background: var(--rose); }
.wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 8px, transparent 8px 16px); animation: wire 1s linear infinite; background-size: 16px 2px; }
@keyframes wire { to { background-position: 16px 0; } }
.wire i { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; background: #e23d28; display: grid; place-items: center; font: 800 24px/1 var(--body); font-style: normal; color: #fff; box-shadow: 0 0 0 8px rgba(226,61,40,.22); }
.nosrv { text-align: center; padding: 22px 14px; border-radius: 22px; border: 2px dashed rgba(255,255,255,.28); }
.nosrv b { display: block; font: 800 24px var(--display); } .nosrv small { color: rgba(255,255,255,.72); font-size: 15px; }
.truth { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.truth article { padding: 26px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.truth h3 { font-size: 24px; margin-bottom: 12px; }
.truth p, .truth li { font-size: 16px; color: rgba(255,255,255,.82); }
.truth ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.yes::before, .no::before { font-weight: 800; margin-right: 8px; }
.yes::before { content: "✓"; color: var(--mint); } .no::before { content: "✕"; color: var(--coral); }
.truth a { color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 10px; }
details { border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); transition: background .25s; }
details[open] { background: rgba(255,255,255,.13); }
summary { position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 18px; line-height: 1.35; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 28px; line-height: 1; color: var(--gold); transition: rotate .3s var(--spring); }
details[open] summary::after { rotate: 45deg; }
details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { height: auto; }
details p { padding: 0 22px 20px; color: rgba(255,255,255,.82); font-size: 16.5px; }

/* ---------- Final call ---------- */
.final { text-align: center; }
.final-card { position: relative; overflow: hidden; padding: clamp(44px, 8vw, 90px) 22px; border-radius: 42px; color: #1d1402; background: linear-gradient(150deg, var(--butter), var(--gold) 50%, #ff9d6c); }
.final-card .pip { width: 130px; margin: 0 auto 12px; }
.final-card h2 { font-size: clamp(42px, 8vw, 88px); font-weight: 800; }
.final-card p { margin: 14px auto 28px; max-width: 480px; font-size: 19px; }
.final-card .btn { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000, 0 14px 30px rgba(0,0,0,.25); }

/* ---------- Footer ---------- */
.foot { padding-block: 44px 40px; font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { font-weight: 600; text-decoration: none; padding-block: 8px; }
.foot nav a:hover { text-decoration: underline; }
.legal-line { margin-top: 20px; opacity: .72; font-size: 13.5px; line-height: 1.55; max-width: 860px; }

/* ---------- Scroll-linked extras ---------- */
@supports (animation-timeline: view()) {
  .tape { animation: tilt linear both; animation-timeline: view(); }
  @keyframes tilt { from { rotate: -3.5deg; } to { rotate: 1deg; } }
  .head h2 { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes drift { from { transform: translateX(-34px); letter-spacing: -.045em; } to { transform: none; letter-spacing: -.025em; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .styles, .dc { grid-template-columns: 1fr; }
  .dc .phone-col { order: 2; }
  .styles .phone-col, .dc .phone-col { display: grid; place-items: center; }
  .truth { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card.w3, .card.w4 { grid-column: span 1; }
  .card.w4 { grid-column: span 2; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .how { grid-template-columns: 1fr; gap: 0; }
  .how { gap: 24px; }
  .how-phone { position: static; }
  .how-phone .phone { --w: min(240px, 66vw); }
  /* Swipe cards: a sticky phone would cover the text on small screens */
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 86%; min-height: 0; padding: 22px; justify-content: flex-start; scroll-snap-align: center; border-radius: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); opacity: .6; }
  .bento { grid-template-columns: 1fr; }
  .card, .card.w3, .card.w4 { grid-column: auto; min-height: 250px; }
  .flow { grid-template-columns: 1fr; }
  .wire { height: 74px; width: 2px; margin: auto; background: repeating-linear-gradient(rgba(255,255,255,.45) 0 8px, transparent 8px 16px); animation: none; }
  .float.f1, .float.f3 { display: none; }
  .float.f2 { top: 34%; right: 0; }
  .nav .btn { padding: 10px 14px; }
  .cta .btn { flex: 1 1 100%; }
}

/* ---------- Legal and support pages ---------- */
body.page {
  --pg: #f6faf7; --tx: #171d1a; --mut: #404943; --line: #cfdad3; --panel: #eaf1ec; --lnk: #0d6a44;
  background: var(--pg); color: var(--tx); font-weight: 500;
}
@media (prefers-color-scheme: dark) {
  body.page { --pg: #0b1411; --tx: #eaf1ec; --mut: #b6c3bb; --line: #2b3a33; --panel: #15211c; --lnk: #8fd5ae; }
}
.page-top { position: relative; overflow: hidden; padding-bottom: clamp(36px, 6vw, 64px); color: #fff; background: linear-gradient(120deg, #06261c, #145a3f 45%, #1565a0 75%, #6a1b7a); background-size: 220% 220%; animation: sweep 16s ease-in-out infinite alternate; }
@keyframes sweep { to { background-position: 100% 100%; } }
.page-title { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; width: min(980px, 100%); margin: clamp(32px, 5vw, 56px) auto 0; padding-inline: var(--gutter); }
.page-title h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; }
.page-title p { margin-top: 12px; color: rgba(255,255,255,.84); }
.page-title .pip { width: 92px; flex: none; }
@media (max-width: 560px) { .page-title .pip { display: none; } }
.doc-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; width: min(980px, 100%); margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) 72px; }
.toc { position: sticky; top: 28px; align-self: start; font-size: 14.5px; }
.toc b { display: block; margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; color: var(--mut); text-decoration: none; }
.toc a:hover { color: var(--lnk); }
@media (max-width: 820px) { .doc-wrap { grid-template-columns: 1fr; gap: 24px; } .toc { display: none; } }
.doc { max-width: 680px; line-height: 1.7; }
.doc h2 { font-size: clamp(25px, 3.6vw, 31px); margin: 42px 0 12px; font-weight: 800; scroll-margin-top: 20px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font: 700 18px var(--body); letter-spacing: 0; margin: 22px 0 6px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc a { color: var(--lnk); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.summary { padding: 20px 22px; margin-bottom: 30px; border-radius: 22px; background: var(--panel); border-left: 5px solid var(--gold); }
.summary p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
body.page .foot { border-top: 1px solid var(--line); color: var(--mut); }
body.page .foot .wrap { width: min(980px, 100%); }
.page-nav { background: rgba(0,0,0,.28); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound .pip { width: 150px; margin: 0 auto 14px; }
.notfound h1 { font-size: clamp(42px, 9vw, 76px); font-weight: 800; }
.notfound p { margin: 14px auto 26px; max-width: 420px; color: rgba(255,255,255,.8); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .progress { display: none; }
  .msg { opacity: 1; transform: none; }
}

.indie { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,.72); animation: rise .9s .5s var(--ease) both; }
