/* 3taps.app home: quiet neutrals, one amber accent (the app's own), and short product films. */
:root {
  --bg: #f4f5f1; --surface: #fff; --ink: #161e1b; --muted: #5d6a65; --faint: #8e9a95; --line: #dde2dd;
  --accent: #9a4f12; --accent-2: #e9a35a; --accent-soft: #f5e7d6;
  --phone: #121614; --screen: #fbfbf8; --s-ink: #161e1b; --s-muted: #78847f;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1110; --surface: #151b19; --ink: #e8ece9; --muted: #9da9a4; --faint: #6f7b76; --line: #232c29;
    --accent: #e9a35a; --accent-2: #f3c189; --accent-soft: #33261a;
    --phone: #050706; --screen: #101413; --s-ink: #e8ece9; --s-muted: #8a9691; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--body); overflow-x: hidden; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 200; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-weight: 500; font-size: 1.12rem; }
p { margin: .8rem 0 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 max(16px, 5vw); }
section { padding: clamp(44px, 9vw, 120px) 0; }


/* header */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: .8rem max(16px, 5vw);
       background: var(--bg); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .5rem; font: 500 1.15rem var(--display); color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.bar nav { margin-left: auto; display: flex; gap: 1.6rem; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.cta { display: inline-block; border: 0; cursor: pointer; padding: .9rem 1.4rem; border-radius: 999px; background: var(--ink); color: var(--bg);
       font: 700 .98rem var(--body); text-decoration: none; }
.cta.sm { padding: .55rem 1rem; font-size: .88rem; }
.cta.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.link { color: var(--muted); text-decoration: none; }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2rem; align-items: center; padding-top: clamp(20px, 4vw, 48px); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 32rem; margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-top: 2rem; }
.trust { margin-top: 1.1rem; font-size: .9rem; color: var(--faint); letter-spacing: .02em; }

/* the film */
.film { position: relative; display: flex; flex-direction: column; align-items: center; }
.stage { position: relative; }
.phone { --pw: 270px; position: relative; width: var(--pw); height: calc(var(--pw) * 19 / 9); border-radius: 42px; padding: 9px; background: var(--phone);
         box-shadow: 0 40px 80px -30px rgba(20,30,25,.45), 0 0 0 1px transparent; box-shadow: 0 40px 80px -30px rgba(20,30,25,.45), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--screen); color: var(--s-ink); font-size: 12.5px; }
.layer { position: absolute; inset: 0; padding: 42px 20px 18px; display: flex; flex-direction: column; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.hide { opacity: 0; pointer-events: none; }
.l-lock { background: linear-gradient(180deg, #1c2421, #0e1311); color: #e8ece9; align-items: center; text-align: center; }
.l-lock .t { font: 200 58px/1 var(--display); margin-top: 40px; letter-spacing: -2px; }
.l-lock .d { opacity: .7; margin-top: 6px; }
.l-lock .hint { margin-top: auto; opacity: .55; font-size: 11px; }
.l-home .t { font: 200 46px/1 var(--display); letter-spacing: -2px; }
.l-home .d { color: var(--s-muted); margin-top: 3px; }
.lab { font-size: 8.5px; letter-spacing: .14em; color: var(--accent); margin-top: 14px; }
.one { font: 500 14px var(--display); }
.apps { list-style: none; padding: 0; margin: auto 0; display: grid; gap: 6px; font: 300 19px var(--display); }
.apps li { border-radius: 8px; padding: 0 6px; margin: 0 -6px; transition: background .25s, color .25s; }
.apps li.dim { color: var(--s-muted); }
.apps li.hit { background: var(--accent-soft); color: var(--accent); }
.fbar { display: flex; align-items: center; gap: 9px; font-size: 10px; color: var(--s-muted); }
.fbar .p { background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 999px; font-weight: 700; }
.fbar .sp { flex: 1; }
.l-app { background: var(--screen); background: color-mix(in srgb, var(--screen) 90%, var(--accent)); transform: translateY(0); }
.l-app.hide { transform: translateY(40px); }
.app-top { display: flex; align-items: center; gap: 8px; font: 500 14px var(--display); padding-bottom: 10px;
           border-bottom: 1px solid transparent; border-bottom: 1px solid color-mix(in srgb, var(--s-muted) 25%, transparent); margin-bottom: 10px; }
.app-top b { width: 26px; height: 26px; border-radius: 50%; background: #3a8f5c; color: #fff; display: grid; place-items: center; font-size: 11px; }
.msg { max-width: 78%; padding: 7px 11px; border-radius: 15px; margin-top: 7px; opacity: 0; transform: translateY(6px); transition: all .35s; }
.msg.on { opacity: 1; transform: none; }
.msg.them { background: var(--screen); align-self: flex-start; border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--s-muted) 20%, transparent); }
.msg.me { background: var(--accent); color: #fff; align-self: flex-end; }
.done { position: absolute; right: 12px; bottom: 96px; padding: 10px 14px; border-radius: 999px; background: var(--accent-2); color: #2a1a08;
        font-weight: 700; font-size: 13px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.done.on { transform: scale(1); }
.done.press { transform: scale(.86); }
.l-closing { background: transparent; }
.card-shrink { position: absolute; inset: 0; border-radius: 34px; background: var(--screen); background: color-mix(in srgb, var(--screen) 90%, var(--accent));
               transform: scale(1); opacity: 1; transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s; }
.l-locked { background: #000; color: #e8ece9; align-items: center; justify-content: center; text-align: center; }
.l-locked .ic { font-size: 30px; }
.l-locked .x { margin-top: 10px; font-size: 12px; opacity: .75; }

/* finger + ripple */
.finger { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.55); border: 2px solid rgba(22,30,27,.35);
          box-shadow: 0 6px 16px rgba(0,0,0,.25); transform: translate(-50%, -50%); transition: left .55s cubic-bezier(.4,0,.2,1), top .55s cubic-bezier(.4,0,.2,1), opacity .3s;
          pointer-events: none; z-index: 6; opacity: 0; }
.finger.on { opacity: 1; }
.finger::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent-2); opacity: 0; }
.finger.tap::after { animation: ripple .55s ease-out; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* caption chip under phone, like an edited video */
.caption { margin-top: 18px; display: flex; gap: 6px; }
.step { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: .4rem .85rem;
        font: 500 .85rem var(--display); cursor: pointer; transition: all .25s; }
.step b { color: var(--accent); margin-right: .3rem; }
.step.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.step.on b { color: var(--accent-2); }
.say { margin-top: 10px; min-height: 1.5em; font-size: .92rem; color: var(--muted); text-align: center; transition: opacity .3s; }

/* the separate "Premium, in Settings" clip */
.l-title { background: #000; color: #e8ece9; align-items: center; justify-content: center; text-align: center; }
.l-title .k { font-size: 9px; letter-spacing: .18em; color: var(--accent-2); }
.l-title .h { font: 300 20px/1.2 var(--display); margin-top: 8px; }
.l-title .s2 { font-size: 11px; opacity: .65; margin-top: 8px; }
.l-set h5, .l-opts h5 { margin: 0 0 12px; font: 300 22px var(--display); }
.row { padding: 9px 8px; margin: 0 -8px; border-radius: 10px; border-bottom: 1px solid transparent; border-bottom: 1px solid color-mix(in srgb, var(--s-muted) 18%, transparent); transition: background .25s; }
.row b { display: block; font-weight: 500; font-size: 12.5px; }
.row span { color: var(--s-muted); font-size: 10px; }
.row.hit { background: var(--accent-soft); }
.sect { font-size: 9px; letter-spacing: .14em; color: var(--accent); margin: 4px 0 6px; }
.sw { display: flex; align-items: center; justify-content: space-between; font-size: 12px; padding: 6px 0 10px; }
.sw i { width: 30px; height: 17px; border-radius: 999px; background: var(--accent); position: relative; }
.sw i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.q { font-size: 12px; margin: 4px 0 6px; }
.q .tag { margin-left: 4px; }
.ch { display: flex; align-items: center; gap: 8px; font-size: 11.5px; padding: 7px 8px; margin: 2px -8px; border-radius: 10px; transition: background .25s; }
.ch i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--s-muted); flex: none; transition: all .25s; }
.ch small { display: block; color: var(--s-muted); font-size: 9.5px; }
.ch.sel i { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.ch.sel { background: var(--accent-soft); }
.saved { margin-top: auto; text-align: center; font-size: 10.5px; color: var(--s-muted); opacity: 0; transition: opacity .4s; }
.saved.on { opacity: 1; }
.step.prem b { color: var(--accent); }
.tag { display: inline-block; font: 700 .62rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem;
       border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* ---------- BENEFITS ---------- */
.benefits .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.b { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; display: flex; flex-direction: column; }
.b p { color: var(--muted); font-size: .98rem; }
.b small { color: var(--faint); font-size: .82rem; margin-top: .6rem; display: block; }
.mini { height: 220px; border-radius: 18px; background: var(--bg); position: relative; overflow: hidden; margin-bottom: 1.2rem;
        display: flex; align-items: center; justify-content: center; }
.mini .scr { width: 150px; height: 196px; border-radius: 22px; background: var(--screen); border: 6px solid var(--phone); position: relative; overflow: hidden;
             font-size: 10px; color: var(--s-ink); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* a) pause */
.breath { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
          background: radial-gradient(circle, var(--accent-soft), transparent 70%); animation: breathe 6s ease-in-out infinite; margin-top: 6px; }
@keyframes breathe { 0%,100% { transform: scale(.7); } 50% { transform: scale(1.08); } }
.why { font: 500 11px var(--display); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: 7px; }
.chips span { border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--s-muted) 45%, transparent); border-radius: 6px; padding: 2px 5px; font-size: 8px; }
.chips span.pick { animation: pick 6s infinite; }
@keyframes pick { 0%,45% { background: transparent; } 55%,100% { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); } }
.pa { display: flex; gap: 4px; width: 100%; margin-top: auto; }
.pa span { flex: 1; border-radius: 999px; padding: 4px; font-size: 8.5px; font-weight: 700; }
.pa .g { border: 1px solid var(--s-muted); }
.pa .s { background: var(--s-ink); color: var(--screen); animation: glow 6s infinite; }
@keyframes glow { 0%,70% { box-shadow: none; } 78%,90% { box-shadow: 0 0 0 4px var(--accent-soft); } }
/* b) quiet notifications */
.note-n { position: absolute; left: 10px; right: 10px; top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
          padding: 6px 8px; text-align: left; font-size: 9px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); opacity: 0; animation: tuck 7.5s infinite; }
.note-n b { display: block; font-size: 9.5px; }
.note-n:nth-child(2) { animation-delay: 1.2s; } .note-n:nth-child(3) { animation-delay: 2.4s; }
@keyframes tuck {
  0% { opacity: 0; transform: translateY(-30px); }
  6%, 18% { opacity: 1; transform: translateY(0); }
  28% { opacity: 0; transform: translateY(110px) scale(.4); }
  100% { opacity: 0; transform: translateY(110px) scale(.4); }
}
.waiting { position: absolute; left: 10px; right: 10px; bottom: 34px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
           font-size: 9px; font-weight: 700; padding: 5px; animation: count 7.5s infinite; }
@keyframes count { 0%,30% { transform: scale(1); } 34% { transform: scale(1.08); } 38%,100% { transform: scale(1); } }
.allowed { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 8px; color: var(--s-muted); }
/* c) focus */
.fc .lab2 { font-size: 8px; letter-spacing: .14em; color: var(--accent); }
.fc .cnt { font: 200 34px/1 var(--display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.dnd { margin-top: 8px; font-size: 8.5px; padding: 3px 8px; border-radius: 999px; background: var(--s-ink); color: var(--screen); }
.wave { display: flex; gap: 3px; align-items: center; height: 40px; margin-top: auto; }
.wave i { width: 4px; border-radius: 2px; background: var(--accent); background: color-mix(in srgb, var(--accent) 60%, transparent); animation: wv 2.2s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .25s; } .wave i:nth-child(3) { animation-delay: .5s; } .wave i:nth-child(4) { animation-delay: .75s; }
.wave i:nth-child(5) { animation-delay: 1s; } .wave i:nth-child(6) { animation-delay: 1.25s; }
@keyframes wv { 0%,100% { height: 8px; } 50% { height: 32px; } }
.np { font-size: 8.5px; color: var(--s-muted); margin-top: 4px; }

/* ---------- GUARDIAN ---------- */
.guardian { background: var(--ink); color: var(--bg); }
.guardian .muted { color: var(--bg); color: color-mix(in srgb, var(--bg) 65%, var(--ink)); }
.g-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.g-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.g-points li { padding-left: 1.5rem; position: relative; color: var(--bg); color: color-mix(in srgb, var(--bg) 70%, var(--ink)); font-size: 1rem; }
.g-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); }
.g-points b { color: var(--bg); }
.duo { position: relative; display: flex; justify-content: center; gap: 70px; padding: 10px 0 0; }
.small-phone { --sw: 170px; width: var(--sw); height: calc(var(--sw) * 2); border-radius: 30px; padding: 7px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.small-phone .sc { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #fbfbf8; color: #161e1b; font-size: 10.5px; }
.small-phone .who { position: absolute; top: -26px; left: 0; right: 0; text-align: center; font-size: .78rem; color: var(--bg); color: color-mix(in srgb, var(--bg) 60%, var(--ink)); }
.small-phone { position: relative; }
.gl { position: absolute; inset: 0; padding: 26px 12px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .4s; }
.gl .big { font: 500 15px var(--display); margin-top: 8px; }
.gl .sub { color: #78847f; margin-top: 3px; }
.gbtn { margin-top: 10px; width: 100%; border-radius: 999px; padding: 7px; font-weight: 700; font-size: 10px; background: #9a4f12; color: #fff; transition: transform .2s; }
.gbtn.o { background: transparent; color: #9a4f12; border: 1px solid #9a4f12; }
.gbtn.press { transform: scale(.92); }
.mins { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.mins span { border: 1px solid #c9cfc9; border-radius: 7px; padding: 3px 6px; font-size: 9.5px; transition: all .25s; }
.mins span.on { background: #f5e7d6; border-color: #9a4f12; color: #9a4f12; font-weight: 700; }
.code { font: 300 26px/1 var(--display); letter-spacing: 3px; color: #9a4f12; margin-top: 12px; opacity: 0; transition: opacity .4s; }
.code.on { opacity: 1; }
.flyer { position: absolute; top: 45%; left: 50%; z-index: 5; background: var(--accent-2); color: #2a1a08; border-radius: 14px; padding: 6px 10px;
         font-size: .78rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: all .7s cubic-bezier(.4,0,.2,1); }
.flyer.go { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.g-foot { margin-top: 2rem; font-size: .9rem; color: var(--bg); color: color-mix(in srgb, var(--bg) 60%, var(--ink)); }
.g-foot a { color: var(--accent-2); }

/* ---------- TOOLS / PRIVACY / PRICING / FAQ ---------- */
.tools .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
              border-radius: 22px; overflow: hidden; margin-top: 2.2rem; }
.tools article { background: var(--bg); padding: 1.6rem; }
.tools p { color: var(--muted); font-size: .97rem; }
details.more { margin-top: .7rem; font-size: .9rem; color: var(--muted); }
details.more summary { cursor: pointer; color: var(--accent); }
.privacy .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2.2rem; }
.privacy .facts div { border-top: 1px solid var(--ink); padding-top: .9rem; font-size: .96rem; color: var(--muted); }
.privacy .facts b { display: block; color: var(--ink); font: 500 1.08rem var(--display); margin-bottom: .2rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.2rem; max-width: 52rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem; }
.plan.f { border-color: var(--accent); }
.price { font: 200 2.8rem/1 var(--display); margin-top: .8rem; }
.price span { font: 400 1rem var(--body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .45rem; font-size: .97rem; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan .cta { margin-top: 1.5rem; }
.faq details { border-top: 1px solid var(--line); max-width: 46rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font: 500 1.08rem var(--display); position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 1.2rem; }
.final { text-align: center; }
.final .actions { justify-content: center; }
footer { text-align: center; color: var(--muted); font-size: .88rem; padding: 2rem 16px 3rem; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */

/* ---------- v2 additions ---------- */
.illus { font-size: .74rem; color: var(--faint); margin-top: 4px; text-align: center; }
.sec-head { max-width: 44rem; }
.sec-head > p:not(.eyebrow) { color: var(--muted); }
.num { font-size: .7rem; letter-spacing: .12em; color: var(--accent); }
.b h3 { margin-top: .5rem; }
.foot { display: block; font-size: .78rem; color: var(--accent); margin-top: .9rem; }

/* AFTER: a timed session runs out, then home */
.sess { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-size: 8.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
        background: var(--s-ink); color: var(--screen); white-space: nowrap; }
.feed { width: 100%; display: grid; gap: 5px; margin-top: 22px; }
.feed i { display: block; height: 34px; border-radius: 6px; background: transparent; background: color-mix(in srgb, var(--s-muted) 22%, transparent); animation: feed 2s linear infinite; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-39px); } }
.timeup { position: absolute; inset: 0; background: var(--screen); background: color-mix(in srgb, var(--screen) 96%, transparent); display: flex; flex-direction: column; align-items: center;
          justify-content: center; gap: 6px; opacity: 0; animation: timeup 7s infinite; font-size: 10px; }
.timeup b { font: 500 13px var(--display); }
.timeup .dn { background: var(--accent-2); color: #2a1a08; border-radius: 999px; padding: 4px 9px; font-weight: 700; font-size: 9px; }
@keyframes timeup { 0%, 55% { opacity: 0; } 62%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* Small tools film */
.tfilm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 2.6rem; }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chap { border: 0; background: transparent; text-align: left; padding: 0 0 10px; cursor: pointer; color: var(--muted); font: 500 .92rem var(--display); }
.chap .bar2 { display: block; height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 10px; overflow: hidden; }
.chap .bar2 i { display: block; height: 100%; width: 0; background: var(--accent); }
.chap.on { color: var(--ink); }
.chap.on .bar2 i { animation: fill var(--dur, 8s) linear forwards; }
.chap.done .bar2 i { width: 100%; }
@keyframes fill { to { width: 100%; } }
.panels { position: relative; min-height: 15rem; margin-top: 1.4rem; }
.panel { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; pointer-events: none; }
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
.panel h3 { font: 300 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; }
.panel p { color: var(--muted); font-size: 1.02rem; }
.panel .fine2 { font-size: .9rem; }
.tphone { display: flex; flex-direction: column; align-items: center; }
.tphone .phone { --pw: 250px; }
/* focus screen */
.f-lab { font-size: 9px; letter-spacing: .14em; color: var(--accent); text-align: center; }
.f-cnt { font: 200 56px/1 var(--display); text-align: center; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.f-dnd { align-self: center; margin-top: 12px; font-size: 10px; padding: 4px 10px; border-radius: 999px; background: var(--s-ink); color: var(--screen); }
.f-wave { display: flex; gap: 4px; justify-content: center; align-items: center; height: 70px; margin-top: auto; }
.f-wave i { width: 5px; border-radius: 3px; background: var(--accent); background: color-mix(in srgb, var(--accent) 60%, transparent); animation: wv 2.2s ease-in-out infinite; }
.f-wave i:nth-child(2) { animation-delay: .2s; } .f-wave i:nth-child(3) { animation-delay: .4s; } .f-wave i:nth-child(4) { animation-delay: .6s; }
.f-wave i:nth-child(5) { animation-delay: .8s; } .f-wave i:nth-child(6) { animation-delay: 1s; } .f-wave i:nth-child(7) { animation-delay: 1.2s; }
.f-np { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid transparent; border-top: 1px solid color-mix(in srgb, var(--s-muted) 25%, transparent); padding-top: 8px; margin-top: 10px; font-size: 11px; }
.f-np small { display: block; color: var(--s-muted); font-size: 9.5px; }
.f-np span { color: var(--accent); letter-spacing: 4px; }
/* note screen */
.l-note { background: var(--screen); background: color-mix(in srgb, var(--screen) 82%, var(--s-muted)); padding-top: 18px; }
.sheet { background: var(--screen); border-radius: 18px; padding: 12px 14px; transform: translateY(-120%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sheet.on { transform: none; }
.sheet .lab { margin-top: 0; }
.typed { font: 400 14px/1.35 var(--display); min-height: 2.7em; margin: 6px 0; }
.typed::after { content: "|"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rec { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--accent); opacity: 0; transition: opacity .3s; }
.rec.on { opacity: 1; }
.rec .dot { width: 7px; height: 7px; border-radius: 50%; background: #c0392b; animation: blink 1s steps(1) infinite; }
.rec .mw { display: flex; gap: 2px; align-items: center; height: 14px; }
.rec .mw i { width: 2px; background: var(--accent); animation: wv 1s ease-in-out infinite; }
.rec .mw i:nth-child(2n) { animation-delay: .3s; } .rec .mw i:nth-child(3n) { animation-delay: .6s; }
.nchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.nchips span { font-size: 9.5px; border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--s-muted) 45%, transparent); border-radius: 7px; padding: 3px 6px; transition: all .25s; }
.nchips span.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.save { margin-top: 10px; text-align: center; background: var(--s-ink); color: var(--screen); border-radius: 999px; padding: 6px; font-size: 10.5px; font-weight: 700; transition: transform .2s; }
.save.press { transform: scale(.93); }
.sent { margin-top: auto; background: var(--screen); border-radius: 14px; padding: 10px 12px; font-size: 10.5px; opacity: 0; transform: translateY(10px); transition: all .4s; }
.sent.on { opacity: 1; transform: none; }
.sent b { display: block; font-size: 11.5px; }
.sent span { color: var(--accent); font-weight: 700; }
/* progress screen */
.pchips { display: flex; gap: 4px; }
.pchips span { font-size: 9px; padding: 3px 7px; border-radius: 7px; border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--s-muted) 40%, transparent); transition: all .25s; }
.pchips span.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.phead { font: 400 14px/1.3 var(--display); margin-top: 14px; min-height: 3.9em; }
.pbars { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: auto; }
.pbars i { flex: 1; border-radius: 3px; background: transparent; background: color-mix(in srgb, var(--accent) 35%, transparent); height: 4%; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.pbars i:last-child { background: var(--accent); }
.pbest { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: transparent; background: color-mix(in srgb, var(--s-muted) 12%, transparent); font-size: 10px; }
.pbest b { display: block; font-size: 8.5px; letter-spacing: .14em; color: var(--accent); font-weight: 400; }

/* Guardian copy blocks */
.g-block { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); border-top: 1px solid color-mix(in srgb, var(--bg) 18%, var(--ink)); }
.g-block h3 { color: var(--bg); }
.g-block p { color: var(--bg); color: color-mix(in srgb, var(--bg) 65%, var(--ink)); font-size: 1rem; margin-top: .4rem; }

/* Privacy */
.privacy .facts { grid-template-columns: repeat(3, 1fr); }
.plinks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.8rem; font-size: .92rem; }

/* Pricing: USD first, local prices easy to find */
.currency { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.6rem; padding: 1rem 1.2rem; border-radius: 18px;
            background: var(--accent-soft); max-width: 52rem; }
.currency .cur-text { font-size: .98rem; }
.currency .cur-text b { color: var(--accent); }
.currency select { font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--accent); border-radius: 999px;
                   padding: .55rem 2.4rem .55rem 1rem; appearance: none; -webkit-appearance: none; cursor: pointer;
                   background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
                   background-position: calc(100% - 19px) 55%, calc(100% - 14px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.suggest { border: 0; background: var(--ink); color: var(--bg); border-radius: 999px; padding: .5rem .95rem; font: 700 .85rem var(--body); cursor: pointer; }
.fine { color: var(--faint); font-size: .85rem; max-width: 46rem; margin-top: 1.2rem; }

/* Beta panel */
.beta-panel { background: var(--accent-soft); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.beta-panel .actions { justify-content: center; }
.beta-panel .lede { margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .tfilm { grid-template-columns: 1fr; }
  .tphone { order: -1; }
  .panels { min-height: 17rem; }
  .privacy .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tphone .phone { --pw: 200px; }
  .f-cnt { font-size: 44px; }
  .chapters { gap: 6px; }
  .chap { font-size: .8rem; }
  .panels { min-height: 19rem; }
  .currency { padding: .9rem; }
}

@media (max-width: 900px) {
  .hero, .g-grid { grid-template-columns: 1fr; }
  .benefits .grid, .tools .row { grid-template-columns: 1fr; }
  .privacy .facts { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .bar nav { display: none; }
  .bar .cta { margin-left: auto; }
  .phone { --pw: 200px; border-radius: 34px; padding: 7px; }
  .screen { border-radius: 27px; font-size: 10px; }
  .layer { padding: 32px 14px 14px; }
  .l-home .t { font-size: 36px; } .l-lock .t { font-size: 44px; }
  .apps { font-size: 15px; gap: 4px; }
  .done { font-size: 11px; padding: 8px 11px; bottom: 72px; }
  .film { margin-top: .6rem; }
  .duo { gap: 26px; }
  .small-phone { --sw: 150px; }
  .privacy .facts { grid-template-columns: 1fr; }
  .mini { height: 200px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Accessibility */
.skip { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 10px 18px; background: var(--surface); color: var(--ink); border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
html { scroll-padding-top: 80px; }

/* ---------- v3: hero film centred in the first screen, steps on top ---------- */
.hero { min-height: calc(100svh - 64px); align-items: center; padding: 12px 0 20px; }
.film .caption { margin: 0 0 6px; flex-wrap: wrap; justify-content: center; }
.film .step { padding: .5rem 1rem; font-size: .92rem; }
.film .say { margin: 0 0 14px; font-size: .98rem; color: var(--ink); }
/* The phone shrinks on short screens so the steps, the phone and its caption all fit at once. */
.hero .phone { --pw: 250px; --pw: clamp(190px, calc((100vh - 260px) * 9 / 19), 250px); --pw: clamp(190px, calc((100svh - 260px) * 9 / 19), 250px); }
.film .illus { margin-top: 10px; }

/* ---------- v3: small tools as a scrolling story beside one phone ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 2rem; }
.beat { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s; }
.beat.on { opacity: 1; }
.beat h3 { font: 300 clamp(1.6rem, 2.8vw, 2.2rem)/1.15 var(--display); letter-spacing: -.02em; margin-top: .4rem; }
.beat p { color: var(--muted); font-size: 1.04rem; max-width: 30rem; }
.beat .fine2 { font-size: .92rem; }
.story .tphone { position: sticky; top: calc(50vh - 290px); align-self: start; padding-top: 6vh; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story .tphone { order: -1; top: 56px; z-index: 5; background: var(--bg); padding: 10px 0 6px; }
  .story .tphone .phone { --pw: 132px; border-radius: 24px; padding: 6px; }
  .story .tphone .screen { border-radius: 21px; font-size: 8px; }
  .story .tphone .layer { padding: 22px 10px 10px; }
  .story .tphone .f-cnt { font-size: 34px; }
  .story .tphone .typed { font-size: 10px; }
  .story .tphone .phead { font-size: 10px; }
  .story .tphone .pbars { height: 80px; }
  .beat { min-height: 62vh; justify-content: flex-start; padding-top: 1.5rem; }
}

/* ---------- v4: phone-width fixes ---------- */
@media (max-width: 560px) {
  /* Hero: steps on one line, a phone that fits, and Settings options that fit inside it. */
  .hero { min-height: 0; padding: 8px 0 12px; gap: 1.6rem; }
  .hero .phone { --pw: 212px; }
  .film .caption { gap: 5px; flex-wrap: nowrap; }
  .film .step { padding: .38rem .62rem; font-size: .8rem; white-space: nowrap; }
  .film .say { font-size: .9rem; padding: 0 8px; text-align: center; }
  .l-set h5, .l-opts h5 { font-size: 17px; margin-bottom: 8px; }
  .row { padding: 6px 8px; }
  .row b { font-size: 11px; }
  .row span { font-size: 8.5px; }
  .ch { padding: 5px 8px; font-size: 10.5px; }
  .ch small { display: none; }
  .sw, .q { font-size: 10.5px; }
  .l-title .h { font-size: 17px; }
  .l-locked .x { font-size: 10px; padding: 0 10px; }
  .app-top { font-size: 12px; }
  .msg { font-size: 10.5px; }
  .done { bottom: 74px; }

  /* Small tools: a small phone pinned at the top, the story underneath it. */
  .story .tphone { top: 52px; padding: 6px 0 4px; box-shadow: 0 10px 14px -12px rgba(0,0,0,.18); }
  .story .tphone .illus { display: none; }
  .story .tphone .f-cnt { font-size: 28px; }
  .story .tphone .f-wave { height: 40px; }
  .story .tphone .sheet { padding: 8px 9px; }
  .story .tphone .nchips span { font-size: 7.5px; padding: 2px 4px; }
  .story .tphone .save { padding: 4px; font-size: 8.5px; }
  .story .tphone .sent { font-size: 8px; padding: 6px 8px; }
  .story .tphone .pbars { height: 60px; }
  .story .tphone .pbest { font-size: 8px; padding: 6px; }
  .beat { min-height: 58vh; padding-top: 1rem; }
  .beat h3 { font-size: 1.55rem; }

  /* Guardian: two phones side by side, readable, nothing wrapping. */
  .duo { gap: 14px; }
  .small-phone { border-radius: 26px; padding: 6px; }
  .small-phone .sc { border-radius: 21px; font-size: 9.5px; }
  .gl { padding: 22px 9px 10px; }
  .gl .big { font-size: 13px; }
  .gbtn { font-size: 9px; padding: 6px 4px; }
  .mins span { font-size: 8.5px; padding: 2px 5px; }
  .code { font-size: 20px; letter-spacing: 1px; white-space: nowrap; }
  .flyer { font-size: .68rem; padding: 5px 8px; max-width: 180px; white-space: normal; text-align: center; }

  .currency { gap: .6rem; }
  .currency select { width: 100%; }
}
@media (max-width: 370px) {
  .film .step { padding: .34rem .5rem; font-size: .74rem; }
  .hero .phone { --pw: 196px; }
  .small-phone { --sw: 136px; }
}
