/* TapToNote site. One navy field (the app icon), paper around it, Inter for type. Mobile first. */
@font-face{font-family:"Inter";src:url(/fonts/Inter-latin-cyr.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Fallback";src:local("Arial"),local("Helvetica");size-adjust:107.1%;ascent-override:90.2%;descent-override:22.5%;line-gap-override:0%}
:root{
  --bg:#f4f8f8;--surface:#fff;--tile:#e4eef0;--fg:#052a37;--muted:#46606b;--line:rgba(1,46,61,.13);--line-strong:rgba(1,46,61,.28);
  --accent:#0a6577;--btn-bg:#012e3d;--btn-fg:#fef7e7;--soft:#e4eef0;--field:#fff;--field-line:#6b848d;
  --navy:#012e3d;--cream:#fef7e7;--cyan:#2eeafe;--navy-muted:#a9c9d1;
  --radius:28px;--font:"Inter","Inter Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#00151d;--surface:#0a2431;--tile:#0e3140;--fg:#eaf6f8;--muted:#9bbac4;--line:rgba(234,246,248,.14);--line-strong:rgba(234,246,248,.3);
  --accent:#4fe0d2;--btn-bg:#fef7e7;--btn-fg:#012e3d;--soft:#0e3140;--field:#0a2431;--field-line:#5c8290;
}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:4.75rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--fg);font:400 1.0625rem/1.55 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
a,button,label,summary{-webkit-tap-highlight-color:transparent}
a,button,summary{touch-action:manipulation}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:1rem;top:-4rem;background:var(--btn-bg);color:var(--btn-fg);padding:.7rem 1rem;border-radius:10px;z-index:30;font-weight:600}
.skip:focus{top:.6rem}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{max-width:46rem;margin:0 auto;padding:0 1.25rem}
.wrap.wide{max-width:76rem}
@media (min-width:48rem){.wrap.wide{padding:0 2rem}}

/* header, shared with the legal pages */
header.top{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;min-height:64px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:650;letter-spacing:-.01em;color:var(--fg);min-height:44px}
.brand:hover{text-decoration:none}
.brand img{width:32px;height:32px;border-radius:8px}
.top-end{display:flex;align-items:center;gap:.4rem}
.top-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 .95rem;white-space:nowrap;border-radius:999px;border:1px solid var(--line-strong);color:var(--fg);font-weight:600;font-size:.9375rem}
.top-cta:hover{text-decoration:none;background:var(--soft)}
.lang{display:flex}
.lang a{color:var(--muted);font-size:.9rem;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.lang a[aria-current]{color:var(--fg);font-weight:650}
/* the language menu: a native <details>, the page's language as its summary, the languages as a list of links */
.lang details{position:relative}
.lang summary{display:flex;align-items:center;justify-content:center;gap:.4rem;min-width:44px;min-height:44px;padding:0 .6rem;border-radius:999px;list-style:none;cursor:pointer;color:var(--muted);font-size:.9rem;font-weight:500}
.lang summary::-webkit-details-marker{display:none}
.lang summary::after{content:"";width:.36rem;height:.36rem;margin-top:-.2rem;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.lang details[open] summary::after{margin-top:.2rem;transform:rotate(-135deg)}
.lang summary:hover,.lang details[open] summary{background:var(--soft)}
.lang ul{position:absolute;right:0;top:calc(100% + .4rem);z-index:30;min-width:13rem;margin:0;padding:.4rem;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 48px -24px rgba(1,46,61,.45)}
.lang ul a{display:flex;justify-content:flex-start;padding:0 .8rem;border-radius:12px;color:var(--fg);font-size:.9375rem}
.lang ul a:hover{background:var(--soft);text-decoration:none}
.lang ul a[aria-current]{font-weight:650}

/* type */
h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.03em;text-wrap:balance}
h1{font-size:clamp(2rem,11.2vw,4.25rem);line-height:1.02;letter-spacing:-.04em;font-weight:700}
h2{font-size:clamp(1.8rem,7.2vw,3.25rem);line-height:1.06;letter-spacing:-.04em}
h3{font-size:1.25rem;line-height:1.25;letter-spacing:-.02em}
p{margin:0}
.eyebrow{color:var(--accent);font-weight:600;font-size:.9375rem;margin-bottom:.65rem}
.lead{font-size:1.0625rem;line-height:1.55;color:var(--muted);max-width:34rem}
.fine{color:var(--muted);font-size:.9rem}
.nw{white-space:nowrap}
.split>span{display:block}

/* landing rhythm */
.landing main section{padding:4.25rem 0 0}
.landing main section.hero{padding:2rem 1.5rem 0;margin-top:.1rem}
@media (min-width:56rem){.landing main section{padding-top:clamp(4.5rem,6.5vw,5.75rem)}}

/* buttons and links */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 1.8rem;border-radius:999px;border:0;background:var(--btn-bg);color:var(--btn-fg);font:inherit;font-weight:650;font-size:1.0625rem;letter-spacing:-.01em;cursor:pointer;transition:transform .2s ease}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.textlink{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--navy-muted)}
.textlink:hover{color:var(--cream)}

/* hero: the app icon's navy field */
.hero{background:var(--navy);color:var(--cream);border-radius:26px;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;position:relative;isolation:isolate}
.hero::before{content:"";position:absolute;z-index:-1;left:50%;bottom:-16rem;transform:translateX(-50%);width:40rem;height:40rem;background:radial-gradient(closest-side,rgba(46,234,254,.2),rgba(46,234,254,0));pointer-events:none}
.hero a:focus-visible{outline-color:var(--cyan)}
.hero h1>span{display:inline-block}
.hero .lead{color:var(--navy-muted);margin-top:1.1rem}
.hero .support-line{margin-top:.8rem;font-weight:600;font-size:.9375rem;color:var(--cream)}
.hero .cta{margin-top:1.5rem;display:grid;gap:.2rem;justify-items:stretch}
.hero .btn{background:var(--cream);color:var(--navy)}
.hero .textlink{justify-content:center}
/* App Store mode: the line for the EU under the badge, as quiet as the lead */
.hero .eu{margin-top:.5rem;color:var(--navy-muted);font-size:.9375rem}
.hero .eu a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
.xticks{list-style:none;margin:1.1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;color:var(--navy-muted);font-size:.8125rem;font-weight:500}
.xticks li{position:relative;padding-left:1.05rem}
.xticks li::before{content:"";position:absolute;left:.15rem;top:.32em;width:.3rem;height:.56rem;border:solid var(--cyan);border-width:0 2px 2px 0;transform:rotate(45deg)}
.hero-visual{margin-top:1.8rem}

/* device frame (CSS only; the screen is a real capture of the app) */
.device{--w:15rem;position:relative;width:var(--w);padding:calc(var(--w)*.032);border-radius:calc(var(--w)*.165);background:linear-gradient(150deg,#56656b,#10171a 40%,#2b373c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 0 0 1px rgba(255,255,255,.12),0 36px 70px -28px rgba(0,0,0,.65)}
.device img{display:block;width:100%;height:auto;border-radius:calc(var(--w)*.135);background:#04101a}
.device::before{content:"";position:absolute;left:calc(var(--w)*-.014);top:calc(var(--w)*.34);width:calc(var(--w)*.016);height:calc(var(--w)*.1);border-radius:3px;background:linear-gradient(#6c7a7f,#2a3236)}
/* the first phone: a fingertip comes in from the left and presses the Action Button, which lights up and sinks in */
.hero .strip li:nth-child(1) .device::before{background:var(--cyan);box-shadow:0 0 14px 2px rgba(46,234,254,.55);animation:press 3.6s ease-in-out infinite}
.hero .strip li:nth-child(1) .device::after{content:"";position:absolute;z-index:4;left:calc(var(--w)*-.18);top:calc(var(--w)*.305);width:calc(var(--w)*.17);height:calc(var(--w)*.17);border-radius:50%;background:rgba(255,255,255,.3);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75),0 4px 12px rgba(0,0,0,.35);opacity:0;pointer-events:none;animation:finger 3.6s ease-in-out infinite}
@keyframes press{0%,50%,78%,100%{opacity:.55;transform:translateX(0)}56%,72%{opacity:1;transform:translateX(calc(var(--w)*.008))}}
@keyframes finger{0%,15%{opacity:0;transform:translateX(calc(var(--w)*-.12))}38%{opacity:1;transform:translateX(calc(var(--w)*-.02))}56%,72%{opacity:1;transform:translateX(0) scale(.9)}90%,100%{opacity:0;transform:translateX(calc(var(--w)*-.1))}}
@media (prefers-reduced-motion:reduce){.hero .strip li:nth-child(1) .device::before{animation:none;opacity:1}.hero .strip li:nth-child(1) .device::after{animation:none;opacity:1}}

/* bubbles: plain HTML, not a screenshot of any product */
.bubble{margin:0;padding:.8rem 1.05rem;border-radius:18px}
.bubble.you{justify-self:end;background:var(--btn-bg);color:var(--btn-fg);border-bottom-right-radius:6px}
.bubble.ai{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px;box-shadow:0 10px 30px -18px rgba(1,46,61,.35)}
.bubble.ai b{display:block;font-size:.8125rem;color:var(--accent);margin-bottom:.2rem}

/* FAQ */
.faq-list{margin-top:2rem;border-top:1px solid var(--line);max-width:48rem}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;min-height:60px;padding:1rem 2.6rem 1rem 0;font-weight:600;font-size:1.0625rem;line-height:1.35;position:relative;display:flex;align-items:center}
.faq-list summary::after{right:.3rem}
.faq-list details p{padding:0 2.6rem 1.3rem 0;color:var(--muted)}

/* beta tester form (/beta/) */
.signup{display:grid;gap:1rem}
.signup-form{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:1.4rem;box-shadow:0 24px 48px -36px rgba(1,46,61,.35)}
.signup form{display:grid;gap:1.15rem;max-width:32rem}
.signup label,.signup legend{display:block;font-weight:600;font-size:.9375rem;margin-bottom:.4rem;padding:0}
.signup input[type=text],.signup input[type=email],.signup select{width:100%;min-height:50px;padding:.6rem .9rem;font:inherit;font-size:1.0625rem;color:var(--fg);background:var(--field);border:1px solid var(--field-line);border-radius:12px;-webkit-appearance:none;appearance:none}
.signup input[type=text]:focus-visible,.signup input[type=email]:focus-visible,.signup select:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.signup select{padding-right:2.6rem;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:right 1.35rem center,right .95rem center;background-size:.4rem .4rem;background-repeat:no-repeat}
.signup label .optional{font-weight:400;color:var(--muted)}
.signup .hint{margin-top:.35rem;color:var(--muted);font-size:.875rem}
.signup fieldset{border:0;margin:0;padding:0;min-width:0}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.signup .choice{position:relative;display:inline-flex;margin:0;font-weight:500;cursor:pointer}
.signup .choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.signup .choice span{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:0 1.1rem;border:1px solid var(--field-line);border-radius:999px;background:var(--field);color:var(--fg);font-size:1rem}
.signup .choice input:checked+span{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-fg)}
.signup .choice input:checked+span::before{content:"";width:.34rem;height:.62rem;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.signup .choice input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.signup button[type=submit]{min-height:54px;width:100%}
.signup button[type=submit][aria-busy=true]{opacity:.7;cursor:progress}
.signup .trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.signup .msg{position:relative;display:none;align-items:center;margin:0 0 1rem;padding:1rem 1.1rem 1rem 3.3rem;min-height:3.4rem;border-radius:14px;background:var(--soft);font-weight:600}
.signup .msg:target,.signup-form.is-done .msg-thanks,.signup-form.has-error .msg-error{display:flex}
.signup .msg:focus{outline:2px solid var(--accent);outline-offset:2px}
.signup .msg::before{content:"";position:absolute;left:1rem;top:50%;width:1.5rem;height:1.5rem;margin-top:-.75rem;border-radius:50%;background:var(--accent)}
.signup .msg-thanks::after{content:"";position:absolute;left:1.58rem;top:50%;width:.3rem;height:.6rem;margin-top:-.42rem;border:solid var(--bg);border-width:0 2px 2px 0;transform:rotate(45deg)}
.signup .msg-error{color:var(--fg);border:1px solid var(--field-line)}
.signup .msg-error::before{content:"!";display:grid;place-items:center;color:var(--bg);font-weight:700;font-size:.95rem;background:var(--fg)}
.signup .msg-thanks:target~form,.signup-form.is-done form{display:none}
.signup-form.has-error .msg-thanks,.signup-form.has-error .next{display:none}
.signup .next{display:none}
.signup .msg-thanks:target~.next,.signup-form.is-done .next{display:block}
.next h3{font-size:1.0625rem;margin-bottom:.9rem}
.next .list li{color:var(--fg)}
.next .list a,.signup .fine a{text-decoration:underline;text-underline-offset:.15em}
.next .guide{margin-top:1.3rem}
@media (min-width:48rem){.signup-form{padding:2rem}}
/* /beta/: the phone comes first (native radios as two large options); each choice shows its own panel, CSS only */
.devices{display:grid;gap:.6rem;margin-top:1.1rem}
.signup .device-option{position:relative;display:block;margin:0;padding:0;cursor:pointer}
.device-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.device-option span{display:flex;height:100%;flex-direction:column;justify-content:center;gap:.1rem;min-height:60px;padding:.7rem 1.2rem;border:1px solid var(--field-line);border-radius:18px;background:var(--field);color:var(--fg);font-weight:600;font-size:1.0625rem;line-height:1.3}
.device-option small{font-weight:400;font-size:.875rem;color:var(--muted)}
.device-option input:checked+span{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-fg)}
.device-option input:checked+span small{color:inherit;opacity:.8}
.device-option input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
@media (min-width:48rem){.devices{grid-template-columns:repeat(2,1fr)}}
.device-panel{display:none;margin-top:1.2rem}
#apply:has([name=device]:checked) .device-panel,.device-panel:has(.msg:target){display:block}
/* Every phone gets the same form; the TestFlight button (TestFlight mode) and the TestFlight next steps are for iPhone only. */
#apply:not(:has([value=iphone]:checked)) .join,[data-store-mode=testflight] #apply:has([value=iphone]:checked) #beta-card,#apply:has([value=android]:checked) .next{display:none}
.ai-other{display:none;margin-top:.8rem}
.signup fieldset:has([value=other]:checked) .ai-other{display:block}

/* top navigation (landing only) */
.site-head{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 93%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
.site-head .bar{display:flex;align-items:center;gap:.5rem;min-height:64px}
.site-head .top-end{margin-left:auto}
.main-nav{display:none;gap:.1rem;margin-left:1.2rem}
.main-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 .85rem;color:var(--muted);font-size:.9375rem;font-weight:500;border-radius:999px}
.main-nav a:hover{color:var(--fg);text-decoration:none;background:var(--soft)}
@media (min-width:52rem){.main-nav{display:flex}}
@media (max-width:30rem){.site-head .top-cta{font-size:.875rem;padding:0 .85rem}.site-head .lang summary{padding:0 .4rem}}
@media (min-width:40rem){.top-cta{padding:0 1.1rem}}
@media (max-width:24rem){.site-head .brand{min-width:44px;justify-content:center}.brand-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.site-head .top-cta{padding:0 .8rem}}
/* TestFlight mode: the header pill carries the full "Get the beta on TestFlight", so on phones the brand keeps only its icon */
@media (max-width:33rem){html[data-store-mode=testflight] .site-head .brand{min-width:44px;justify-content:center}html[data-store-mode=testflight] .brand-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width:22.5rem){.site-head .bar{gap:0}.site-head .top-cta{padding:0 .6rem;font-size:.8125rem}.landing main section.hero{padding:1.75rem 1.2rem 0}.signup-form,.plan,.adv-body{padding-left:1.2rem;padding-right:1.2rem}}

/* footer */
footer{border-top:1px solid var(--line);margin-top:2rem;padding:1rem 0 2.4rem;color:var(--muted);font-size:.95rem;display:flex;flex-wrap:wrap;align-items:center;gap:0 1.3rem}
footer a{color:var(--muted);display:inline-flex;align-items:center;min-height:44px}
footer a:hover{color:var(--fg)}
.landing footer{margin-top:4.5rem;padding-top:1.4rem;gap:.4rem 2rem}
.landing footer .brand{color:var(--fg);font-size:1rem}
.landing footer .brand img{width:28px;height:28px;border-radius:7px}
.landing footer .links{display:flex;flex-wrap:wrap;gap:0 1.6rem;flex-basis:100%}
.landing footer>span{flex-basis:100%;font-size:.8125rem}
@media (min-width:44rem){.landing footer{margin-top:clamp(5rem,9vw,7rem)}.landing footer .links{flex-basis:auto;margin-right:auto}.landing footer>span{flex-basis:auto;font-size:.95rem}}

/* legal and support pages */
.hero-plain{padding:5rem 0 3rem;text-align:center}.hero-plain .lead{margin:0 auto;font-size:1.25rem;color:var(--fg)}
.doc{padding:1rem 0 2rem}.doc h1{font-size:2rem;text-align:left;margin:.5rem 0 1rem;letter-spacing:-.03em}.doc h2{margin:2rem 0 .6rem;font-size:1.25rem;letter-spacing:-.02em}.doc h3{margin:1.4rem 0 .4rem;font-size:1.05rem;letter-spacing:-.01em}
.doc p{margin:0 0 1em}.doc ul,.doc ol{margin:0 0 1em;padding-left:1.4rem}.doc li{margin:.3em 0}.doc hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.doc code{background:var(--soft);padding:.1rem .35rem;border-radius:6px;font-size:.92em;word-break:break-all;font-family:var(--mono)}
.doc table{border-collapse:collapse;width:100%;font-size:.95rem}.doc td,.doc th{border:1px solid var(--line);padding:.4rem .6rem;text-align:left;vertical-align:top}
.doc{overflow-wrap:anywhere}
.doc a,.fine a{text-decoration:underline;text-underline-offset:.15em}

/* reveal on scroll, only where supported and where motion is welcome. Transform only for the phones, so they are never invisible. */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .landing main section:not(.hero)>*,.steps li{animation:rise both linear;animation-timeline:view();animation-range:entry 0% entry 35%}
    .case .voice,.case .ask,.chat .bubble{animation:pop both linear;animation-timeline:view();animation-range:entry 25% entry 75%}
    .case .ask,.chat .bubble.ai{animation-range:entry 45% entry 95%}
    @keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
    @keyframes pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
  }
  .hero-visual .device{animation:enter .9s cubic-bezier(.2,.8,.2,1) both}
  @keyframes enter{from{transform:translateY(24px)}to{transform:none}}
}
/* Japanese, Korean and Thai: the system's own fonts (no CJK or Thai web font; pages.mjs skips the Inter preload), no
   tracking (it cramps Hangul and kana and spreads Thai), taller heading lines (Thai marks above and below the letters
   clash at 1.0-1.08), and Korean wraps between words */
html[lang=ja]{--font:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Segoe UI","Yu Gothic UI",Meiryo,"Noto Sans JP",sans-serif}
html[lang=ko]{--font:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Segoe UI","Malgun Gothic","Noto Sans KR",sans-serif;word-break:keep-all}
html[lang=th]{--font:-apple-system,BlinkMacSystemFont,Thonburi,"Segoe UI","Leelawadee UI","Noto Sans Thai",sans-serif}
html:is([lang=ja],[lang=ko],[lang=th]) *{letter-spacing:0!important}
html:is([lang=ja],[lang=ko]) :is(h1,h2,h3){line-height:1.3}
html[lang=th] :is(h1,h2,h3){line-height:1.45}

/* Ukrainian words are longer: a touch smaller on phones so "Запишіть зараз." keeps one line */
html[lang=uk] h1{font-size:clamp(1.8rem,9.4vw,4.25rem)}
@media (min-width:40rem) and (max-width:55.99rem){html[lang=uk] h1{font-size:clamp(2rem,4.8vw,3rem)}}
@media (min-width:56rem){html[lang=uk] h1{font-size:clamp(2.6rem,4.6vw,3.7rem)}}

/* ===== final structure: hero, one demo, two use cases, pricing, FAQ, signup ===== */
.hero .cta{margin-top:1.4rem}

/* the demo: one continuous story, in real life then days later */
.story{margin-top:2.4rem;display:grid;gap:0;background:var(--tile);border-radius:26px;padding:1.5rem 1.2rem 1.6rem}
.scene{display:grid;gap:1rem;justify-items:center;align-content:start}
.scene-label{justify-self:start;color:var(--muted);font-size:.8125rem;font-weight:650;letter-spacing:.02em}
.scene-a .phones{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.4rem;width:100%;max-width:26rem}
.scene-a .device{--w:min(11rem,38vw);justify-self:center}
.scene-a .arrow{width:1.4rem;height:1.4rem;position:relative}
.scene-a .arrow::before{content:"";position:absolute;left:0;right:.1rem;top:50%;height:2px;background:var(--accent);transform:translateY(-50%)}
.scene-a .arrow::after{content:"";position:absolute;right:.1rem;top:50%;width:.55rem;height:.55rem;border:solid var(--accent);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
.captions{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;width:100%;max-width:26rem;color:var(--muted);font-size:.9375rem;line-height:1.4;text-align:center}
.captions b{display:block;color:var(--fg);font-size:.9375rem;margin-bottom:.15rem}
.later{display:flex;flex-direction:column;align-items:center;margin:1.4rem 0 1.2rem}
.later::before,.later::after{content:"";width:2px;height:1.6rem;background:var(--line-strong)}
.later span{padding:.35rem .9rem;border:1px solid var(--line-strong);border-radius:999px;background:var(--bg);font-size:.8125rem;font-weight:650;color:var(--fg)}
.scene-b{width:100%}
.scene-b .chat{width:100%;max-width:30rem;justify-self:center;display:grid;gap:.6rem;font-size:1rem;line-height:1.45}
.scene-b .bubble{max-width:92%}
@media (min-width:56rem){
  .story{grid-template-columns:1.15fr auto 1fr;align-items:center;padding:2.6rem 2.4rem;gap:0 .5rem;margin-top:3rem}
  .scene-a .device{--w:13.4rem}
  .scene-a .phones{max-width:34rem;gap:.8rem}
  .captions{max-width:34rem}
  .later{margin:0 1.6rem;flex-direction:row;align-self:stretch;justify-content:center}
  .later{flex-direction:column;justify-content:center}
  .later::before,.later::after{flex:1;height:auto;min-height:2rem}
  .scene-b .chat{max-width:24rem}
}

/* two use cases: no paragraphs, just the idea */
.uses{display:grid;gap:1rem}
.case{background:var(--tile);border-radius:24px;padding:1.4rem 1.3rem 1.5rem;display:grid;gap:.9rem;align-content:start}
.case h3{font-size:1.25rem;line-height:1.22}
.stage{display:grid;gap:.45rem}
.stage-label{color:var(--muted);font-size:.8125rem;font-weight:600}
.voice{position:relative;margin:0;padding:.75rem 1rem .75rem 2.9rem;border-radius:18px;border-bottom-left-radius:6px;background:var(--navy);color:var(--cream);font-size:.9688rem;line-height:1.45}
.voice::before{content:"";position:absolute;left:1.05rem;top:50%;width:3px;height:.65rem;margin-top:-.32rem;border-radius:2px;background:var(--cyan);box-shadow:-6px .12rem 0 var(--cyan),6px -.12rem 0 var(--cyan),12px .12rem 0 var(--cyan)}
.ask{margin:0;padding:.75rem 1rem;border-radius:18px;border-bottom-right-radius:6px;background:var(--surface);border:1px solid var(--line);font-size:.9688rem;line-height:1.45;box-shadow:0 10px 30px -22px rgba(1,46,61,.35)}
@media (min-width:44rem){.uses{grid-template-columns:1fr 1fr;gap:1.25rem}.case{padding:1.8rem 1.6rem 1.9rem}}

/* connect page, and the beta pages in the same column */
.connect-page main,.beta-page main{max-width:46rem;margin:0 auto}
.connect-page h1,.beta-page h1{font-size:clamp(2rem,8vw,3rem);letter-spacing:-.04em}
.connect-page h2,.beta-page h2{font-size:clamp(1.35rem,4vw,1.6rem);letter-spacing:-.03em;line-height:1.2}
.connect-page main section,.beta-page main section{padding:2.6rem 0 0}
.connect-page .lead,.beta-page .lead{margin-top:1rem;color:var(--muted);font-size:1.125rem}
.beta-page main section>.list,.beta-page main section>.rows{margin-top:1rem}
.beta-page .rows{border-top:0;padding-top:0}
.beta-page .list li{color:var(--fg)}
.beta-page .list li b{font-weight:650}
.beta-page .list p{margin-top:.3rem;color:var(--muted)}
.beta-page .list a{text-decoration:underline;text-underline-offset:.15em}
.beta-page .addr-row{margin-top:.6rem}
.beta-page .signup-form{max-width:36rem}
.beta-page .join .btn{width:100%;max-width:32rem}
.beta-page .join .hint{margin-top:.6rem}
.beta-page .join .list{margin-top:1.4rem}
.beta-page .store-cta{margin-top:1.6rem}
/* /beta/: the tester's steps, one real screenshot each with the control to tap ringed in the picture, or text only while a
   screenshot is missing. On a phone the numbered caption comes first, then the picture; on a computer the phones sit three
   to a row with the caption under each, a computer screenshot takes the row with its caption beside it. The step links stay
   one row on a phone (it scrolls sideways) and say what the headings say. */
.b-toc ol{list-style:none;margin:1.4rem -1.25rem 0;padding:0 1.25rem;display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,#000 88%,transparent);mask-image:linear-gradient(to right,#000 88%,transparent)}
.b-toc ol::-webkit-scrollbar{display:none}
.b-toc li:last-child{padding-right:2.5rem}
.b-toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;white-space:nowrap;border:1px solid var(--line-strong);border-radius:999px;color:var(--fg);font-size:.9375rem;font-weight:600}
.b-toc a:hover{text-decoration:none;background:var(--soft)}
.beta-page .signup h3{margin-top:1rem;font-size:1.0625rem}
.steps{list-style:none;margin:1.6rem 0 0;padding:0;counter-reset:s;display:grid;gap:2.2rem}
.steps>li{counter-increment:s;min-width:0}
.steps.text-only{gap:1rem}
.step{margin:0;display:grid;gap:.9rem;justify-items:center}
.step figcaption{order:-1;justify-self:stretch;display:grid;grid-template-columns:1.7rem 1fr;gap:.75rem;align-items:start;font-weight:600;line-height:1.4}
.step figcaption::before{content:counter(s);grid-row:span 3;display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;border:1px solid var(--line-strong);font-size:.8125rem;font-weight:650;margin-top:-.1rem}
.step figcaption a,.stuck a,.b-source a,.beta-page .lead a{text-decoration:underline;text-underline-offset:.15em}
.step .more{display:block;margin-top:.4rem;font-weight:400;color:var(--muted)}
.step .addr-row{margin-top:.8rem;font-weight:400}
.step .addr-row code{font-size:.875rem;padding:.8rem .9rem}
.step .device{--w:min(15rem,70vw)}
.screen{position:relative;width:100%;border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:0 0 0 1px var(--line-strong),0 24px 48px -32px rgba(1,46,61,.45)}
.screen img{display:block;width:100%;height:auto}
@media (prefers-color-scheme:dark){.step img{filter:brightness(.9)}.step .device{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 0 0 1px rgba(255,255,255,.18)}}
.b-source{margin-top:1.4rem;color:var(--muted)}
.stuck{margin:1.4rem 0 0;border-top:1px solid var(--line)}
.stuck>div{padding:1.1rem 0;border-bottom:1px solid var(--line)}
.stuck dt{font-weight:650}
.stuck dd{margin:.35rem 0 0;color:var(--muted)}
.stuck dd code{font:500 .9em var(--mono);color:var(--fg);overflow-wrap:anywhere}
@media (min-width:48rem){
  .b-toc ol{flex-wrap:wrap;overflow:visible;margin-left:0;margin-right:0;padding:0;-webkit-mask-image:none;mask-image:none}
  .b-toc li:last-child{padding-right:0}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem 1.6rem;align-items:start}
  .steps.text-only{grid-template-columns:minmax(0,1fr);gap:1rem}
  .step figcaption{order:0;font-size:.9688rem}
  .step .device{--w:13rem}
  .steps>li.wide{grid-column:1/-1}
  .steps>li.wide .step{grid-template-columns:2fr 1fr;align-items:center;gap:1.6rem}
}
.connect-page .addr-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:1.3rem;box-shadow:0 24px 48px -36px rgba(1,46,61,.35)}
.connect-page .assistant{margin-top:1.2rem}
.connect-page .assistant h3{font-size:1.125rem;margin-bottom:.8rem}
.connect-page .list li{font-size:1.0625rem}
.connect-page .expect{display:grid;gap:.8rem;color:var(--muted)}
.connect-page .expect p strong{color:var(--fg)}
.label{color:var(--muted);font-size:.875rem;font-weight:600}
.addr-row{display:grid;gap:.6rem;margin-top:.5rem;justify-items:start}
.addr-row code{justify-self:stretch;display:block;font:500 clamp(.8rem,3.4vw,1.05rem)/1.4 var(--mono);background:var(--soft);border-radius:14px;padding:1rem 1.1rem;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all;color:var(--fg)}
.copy{min-height:48px;padding:0 1.2rem;border-radius:999px;border:1.5px solid var(--line-strong);background:transparent;color:var(--fg);font:inherit;font-weight:650;cursor:pointer}
.copy:hover{background:var(--soft)}
.copy.is-copied{background:var(--btn-bg);color:var(--btn-fg);border-color:var(--btn-bg)}
.list{margin:0;padding:0;list-style:none;counter-reset:s;display:grid;gap:.9rem}
.list li{counter-increment:s;display:grid;grid-template-columns:1.7rem 1fr;gap:.8rem;color:var(--muted);font-size:1rem}
.list li::before{content:counter(s);display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;border:1px solid var(--line-strong);color:var(--fg);font-size:.8125rem;font-weight:650;margin-top:.05rem}
.faq-list details p a{text-decoration:underline;text-underline-offset:.15em}
.scene-b{justify-items:stretch;max-width:27rem;justify-self:center}
.scene-b .chat{max-width:none}
.landing main section.usecases{padding-top:1.25rem}
@media (min-width:56rem){.landing main section.usecases{padding-top:1.5rem}}
.connect-page .expect{margin-top:.9rem}.connect-page .c-signin .lead{font-size:1.0625rem}

.scene-a .phones{display:flex;justify-content:center;max-width:none}
.landing footer .tagline{flex-basis:100%;order:5;margin-top:.4rem;color:var(--muted);font-size:.8125rem;letter-spacing:.02em}
@media (min-width:44rem){.landing footer .tagline{flex-basis:100%}}

/* ===== hero, finished: copy on top, three real screens as one row ===== */
.eyebrow-caps{margin-bottom:1rem;color:var(--cyan);font-size:.75rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
.hero h1{text-wrap:balance}
.hero-visual{margin-top:2rem;container-type:inline-size}
.strip{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;align-items:start;justify-items:center}
.strip li{position:relative;display:grid;justify-items:center;gap:.8rem;width:100%}
.strip .device{--w:min(12rem,calc(100cqw/2.7));margin-bottom:calc(var(--w)*-.8)}
.strip{gap:.2rem;justify-items:center}
.strip li{justify-items:center}
.strip li:nth-child(1){z-index:1}.strip li:nth-child(2){z-index:2}.strip li:nth-child(3){z-index:3}
.strip li:nth-child(1) .device,.strip li:nth-child(2) .device{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 0 0 1px rgba(255,255,255,.12),12px 0 30px -10px rgba(0,0,0,.6)}
.step-label{text-align:center;line-height:1.2}
.step-label b{display:block;font-size:1.0625rem;color:var(--cream)}
.step-label span{display:block;margin-top:.15rem;color:var(--navy-muted);font-size:.75rem;font-weight:500}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4.5rem;background:linear-gradient(to top,var(--navy),rgba(1,46,61,0));pointer-events:none;z-index:2}
.landing main section.hero{padding:2rem 1.5rem 0}
/* a language without the three phones yet (pages.mjs leaves them out): room under the buttons for the bottom fade */
.landing main section.hero:not(:has(.hero-visual)){padding-bottom:4.5rem}
@media (min-width:40rem){
  .landing main section.hero{padding:3rem 2.2rem 0;border-radius:var(--radius);text-align:center}
  .hero-copy{max-width:44rem;margin:0 auto;display:grid;justify-items:center}
  .hero .lead{margin-left:auto;margin-right:auto;font-size:1.2rem}
  .hero .cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.4rem;margin-top:1.8rem}
  .hero .eu{order:1;flex-basis:100%;margin-top:0}
  .hero .btn{width:auto}
  h1{font-size:clamp(2.6rem,7vw,4.4rem)}
  html[lang=uk] h1{font-size:clamp(2.2rem,5.6vw,3.7rem)}
  .hero::before{left:50%;right:auto;top:auto;bottom:-18rem;transform:translateX(-50%);width:60rem;height:44rem}
  .hero-visual{margin:3rem auto 0;width:min(100%,58rem)}
  .strip{gap:1.4rem;justify-items:center}
  .strip .device{--w:min(15rem,calc((100cqw - 4.2rem)/3));margin-bottom:calc(var(--w)*-.7)}
  .strip li+li::before{content:"";position:absolute;left:-1.15rem;top:.55rem;width:.55rem;height:.55rem;border:solid var(--cyan);border-width:2px 2px 0 0;transform:rotate(45deg);opacity:.8}
}
@media (min-width:72rem){
  .landing main section.hero{padding-top:4rem}
  .strip .device{margin-bottom:calc(var(--w)*-.66)}
}
.btn{text-align:center;line-height:1.25}
@media (max-width:39.99rem){.step-label{min-height:3.4rem}.hero .btn{padding-top:.6rem;padding-bottom:.6rem}}
/* on narrow phones the phones are wider than their columns, so a caption keeps to its own column (100cqw is the strip's width),
   the titles shrink a little below about 350px, and the captions share one row (subgrid) so the phones stay level */
@media (max-width:39.99rem){
  .strip{grid-template-rows:auto auto}
  .strip li{grid-row:span 2;grid-template-rows:subgrid}
  .step-label b{font-size:min(1.0625rem,6.2cqw)}
  .step-label span{max-width:calc((100cqw - .4rem)/3 - .5rem);margin:.15rem auto 0}
}

/* ===== pricing: selector above both cards, two equal cards, one disclosure ===== */
.pricing-ui{border:0;margin:0;padding:0;min-width:0}
.pricing-ui input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.period{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:min(100%,24rem);margin:2rem auto 0;padding:4px;border-radius:999px;background:var(--tile);box-shadow:inset 0 0 0 1px var(--line)}
.period label{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:.3rem .7rem;border-radius:999px;color:var(--fg);font-weight:600;font-size:.9375rem;line-height:1.2;cursor:pointer;transition:background .2s ease,color .2s ease}
.period label:hover{background:rgba(1,46,61,.07)}
#period-yearly:checked~.period label[for=period-yearly],
#period-monthly:checked~.period label[for=period-monthly]{background:var(--btn-bg);color:var(--btn-fg)}
#period-yearly:focus-visible~.period label[for=period-yearly],#period-monthly:focus-visible~.period label[for=period-monthly]{outline:2px solid var(--accent);outline-offset:2px}
.plans{display:grid;gap:1rem;margin-top:1.6rem}
.plan{border:1px solid var(--line);background:var(--surface);border-radius:26px;padding:1.5rem 1.4rem 1.6rem;display:flex;flex-direction:column;box-shadow:0 24px 48px -36px rgba(1,46,61,.35)}
.plan h3{font-size:1rem;color:var(--muted);font-weight:600;letter-spacing:0}
.pblock{margin-top:.7rem}
.amount{display:flex;align-items:baseline;gap:.5rem;line-height:1}
.amount .big{font-size:clamp(2.6rem,10vw,3.4rem);font-weight:700;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.amount .unit{font-size:1.125rem;font-weight:500;color:var(--muted)}
.bill{margin-top:.7rem;font-size:1.0625rem;line-height:1.3;color:var(--muted)}
.bill strong{font-weight:650;color:inherit}
.chip{display:inline-flex;align-items:center;margin-top:1rem;min-height:2rem;padding:0 .8rem;border-radius:999px;background:var(--soft);color:var(--fg);font-size:.875rem;font-weight:600}
.rows{list-style:none;margin:1.3rem 0 0;padding:1.3rem 0 0;border-top:1px solid var(--line);display:grid;gap:.8rem;align-content:start}
.rows li{position:relative;padding-left:1.9rem;line-height:1.4}
.rows li::before{content:"";position:absolute;left:.3rem;top:.2em;width:.38rem;height:.75rem;border:solid var(--accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
.plan.plus{background:var(--navy);border-color:var(--navy);color:var(--cream);box-shadow:none}
.plan.plus h3,.plan.plus .amount .unit,.plan.plus .bill{color:var(--navy-muted)}
.plan.plus .bill strong{color:var(--cream)}
.plan.plus .rows{border-top-color:rgba(254,247,231,.2)}
.plan.plus .rows li::before{border-color:var(--cyan)}
.plan.plus .chip{background:rgba(46,234,254,.16);color:var(--cyan)}
.pps{display:grid}
.pp{grid-area:1/1;visibility:visible;opacity:1;transition:opacity .2s ease}
.pp-monthly{visibility:hidden;opacity:0}
#period-monthly:checked~.plans .pp-monthly{visibility:visible;opacity:1}
#period-monthly:checked~.plans .pp-yearly{visibility:hidden;opacity:0}
.disclosure{display:grid;margin:1.6rem auto 0;max-width:40rem;text-align:center;color:var(--muted);font-size:.9375rem;line-height:1.5}
.d{grid-area:1/1;visibility:visible;opacity:1;transition:opacity .2s ease}
.d-monthly{visibility:hidden;opacity:0}
#period-monthly:checked~.disclosure .d-monthly{visibility:visible;opacity:1}
#period-monthly:checked~.disclosure .d-yearly{visibility:hidden;opacity:0}
.d a{text-decoration:underline;text-underline-offset:.15em}
@media (prefers-reduced-motion:reduce){.pp,.d,.period label{transition:none}}
@media (min-width:48rem){
  .plans{grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr;gap:1.25rem;margin-top:2rem}
  .plan{padding:1.8rem 1.8rem 2rem}
}
@supports (grid-template-rows:subgrid){
  @media (min-width:48rem){
    .plan{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
  }
}
.pblock{display:flex;flex-direction:column}
.pblock .chip{margin-top:auto;align-self:flex-start}
.pblock .bill{margin-bottom:1rem}

/* ===== roadmap: a dated timeline after Preline's Timeline (MIT). Per period a node on a rail, its date and its releases:
   on a phone the node beside the date and the releases under it, each release's status under its name; from 52rem the
   date, the node and the releases in three columns, the status beside the name, a release's items one column under 80
   characters. The rail runs from each node to the next, none after the last: solid for the current period (its node
   filled, its date in ink), dashed after it (ring nodes, muted dates).
   A release with nothing under way yet is lighter than the others. Status by shape, never colour alone: the template's
   glyphs. */
.r-wrap.wrap{max-width:60rem}
.r-head{padding-top:2.5rem}
.r-head h1{font-size:clamp(2.25rem,9vw,3.25rem);line-height:1.05}
.r-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.5rem;margin-top:1rem;color:var(--muted);font-size:.9375rem}
.updated a{color:inherit;text-decoration:underline;text-underline-offset:.15em;white-space:nowrap}
.legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:0;padding:0;list-style:none;font-size:.875rem}
.legend li{display:inline-flex;align-items:center;gap:.45rem}
.badge{flex:none;width:1rem;height:1rem;color:var(--accent)}
.badge.done circle{fill:currentColor}
.badge.done path{fill:none;stroke:var(--btn-fg);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.badge.progress circle,.badge.planned circle{fill:none;stroke:currentColor;stroke-width:1.75}
.badge.progress path{fill:currentColor}
.badge.planned{color:var(--muted)}
.timeline{list-style:none;margin:2rem 0 0;padding:0}
.r-period{--top:.3rem;position:relative;display:grid;grid-template-columns:1rem minmax(0,1fr);column-gap:.5rem;padding-bottom:2.5rem}
.r-period:last-child{padding-bottom:0}
.r-period::after{content:"";position:absolute;left:calc(.5rem - 1px);top:calc(var(--top) + 1.4rem);bottom:calc(.4rem - var(--top));border-left:2px dashed var(--line-strong)}
.r-period.is-current::after{border-left-style:solid}
.r-period:last-child::after{display:none}
.when{grid-column:2;grid-row:1;color:var(--muted);font-size:1.0625rem;line-height:1.5rem;font-weight:500;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.is-current .when{color:var(--fg);font-weight:650}
.node{grid-column:1;grid-row:1;align-self:start;justify-self:center;width:.875rem;height:.875rem;margin-top:var(--top);border-radius:50%;border:2px solid var(--line-strong);background:var(--bg)}
.is-current .node{width:1rem;height:1rem;border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}
.releases{grid-column:2;display:grid;gap:1rem;min-width:0;margin-top:.9rem}
.release{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1rem .875rem 1.1rem}
.release.is-planned{background:color-mix(in srgb,var(--surface) 40%,transparent)}
.release-head{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem .75rem}
.release h3{display:flex;align-items:center;min-width:0;gap:.65rem;font-size:clamp(1.1875rem,4.6vw,1.375rem);line-height:1.25}
.version{flex:none;display:inline-grid;place-items:center;min-width:2.25rem;height:1.5rem;padding:0 .4rem;border-radius:6px;background:var(--soft);box-shadow:inset 0 0 0 1px var(--line);color:var(--fg);font-size:.8125rem;font-weight:650;letter-spacing:0;font-variant-numeric:tabular-nums}
.pill{display:inline-flex;align-items:center;gap:.4rem;min-height:1.625rem;padding:0 .7rem 0 .5rem;border-radius:999px;font-size:.8125rem;font-weight:550;white-space:nowrap}
.pill .badge{width:.875rem;height:.875rem;color:inherit}
.pill.progress{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent)}
.pill.planned{box-shadow:inset 0 0 0 1px var(--line-strong);color:var(--muted)}
.tally{display:flex;align-items:center;gap:.75rem;margin-top:.8rem;color:var(--muted);font-size:.875rem;font-weight:500;font-variant-numeric:tabular-nums}
.tally progress{-webkit-appearance:none;appearance:none;width:5rem;height:.3125rem;border:0;border-radius:999px;background:var(--line);overflow:hidden}
.tally progress::-webkit-progress-bar{background:var(--line);border-radius:999px}
.tally progress::-webkit-progress-value{background:var(--accent);border-radius:999px}
.tally progress::-moz-progress-bar{background:var(--accent);border-radius:999px}
.items{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.625rem}
.items li{position:relative;display:grid;grid-template-columns:1rem minmax(0,1fr);gap:.6rem;line-height:1.5;text-wrap:pretty}
.items .badge{margin-top:.25rem}
@media (min-width:52rem){
  .r-period{--top:1.65rem;grid-template-columns:8.5rem 1rem minmax(0,1fr);column-gap:1.25rem}
  .r-period::after{left:calc(9.75rem + .5rem - 1px)}
  .when{grid-column:1;padding-top:calc(var(--top) - .25rem);text-align:right}
  .node{grid-column:2}
  .releases{grid-column:3;grid-row:1;margin-top:0}
  .release{padding:1.3rem 1.5rem 1.4rem}
  .release-head{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .items{max-width:38rem;gap:.75rem}
  .items li{gap:.75rem}
}

/* ===== sign-in, consent and QR fallback pages: one calm card, Clerk's own component inside ===== */
.auth{max-width:46rem;margin:0 auto;padding:1rem 0 1rem}
.auth h1{font-size:clamp(1.9rem,7.6vw,2.7rem);letter-spacing:-.04em;line-height:1.08}
.auth .lead{margin-top:.9rem}
.auth-grid{display:grid;gap:1rem;margin-top:1.8rem;max-width:28rem}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:1.3rem;box-shadow:0 24px 48px -36px rgba(1,46,61,.35);min-width:0}
.auth-card h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.02em}
.auth-card .fine{margin-top:.5rem}
.auth-status{margin-top:.9rem;min-height:1.5em;color:var(--muted);font-size:.9375rem;text-align:center}
.auth-card>div>.auth-status:only-child{margin-top:0}
.auth-action{margin-top:.6rem;text-align:center}
.auth-action .btn[hidden]{display:none}
.auth-action .btn{min-height:48px;padding:0 1.4rem;font-size:1rem}
.auth-terms{margin-top:1.4rem;max-width:34rem}
.auth-terms a{text-decoration:underline;text-underline-offset:.15em}
.qr-box{width:min(100%,14rem);aspect-ratio:1;margin:1.1rem auto 0;padding:.45rem;border-radius:14px;background:#fff;border:1px solid var(--line)}
.qr-box svg{display:block;width:100%;height:100%;transition:opacity .2s ease}
.qr-box.is-stale svg{opacity:.1}
.auth-page .list li{color:var(--fg)}
@media (min-width:48rem){
  .auth-grid.has-qr{max-width:none;grid-template-columns:1fr 1fr;align-items:start}
  .auth-card{padding:1.6rem}
}
.consent-scopes{margin:.9rem 0 0;padding:0 0 0 1.2rem;color:var(--fg)}
.consent-scopes li{margin:.3rem 0}
.consent-form .fine{margin-top:1rem}
.consent-url{margin-top:.4rem;font-size:.9rem;color:var(--muted)}
.consent-url summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.consent-url code{display:block;overflow-wrap:anywhere;font-size:.8125rem}
.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.3rem}
.consent-actions .btn{padding:0 1rem}
.consent-actions .btn:disabled{opacity:.6;cursor:default}
.consent-form .auth-status{margin-top:.8rem}
.consent-form .auth-status:empty{display:none}
@media (prefers-reduced-motion:reduce){.qr-box svg{transition:none}}

/* store links: shown by site.js when a URL is configured */
[hidden]{display:none!important}
.appstore{display:inline-flex;align-items:center;justify-self:start;padding:.4rem;margin:-.4rem 0 -.4rem -.4rem;border-radius:12px}
.appstore img{display:block;height:3.1rem;width:auto}
.appstore:hover{filter:brightness(1.08)}
@media (min-width:40rem){.hero .cta .appstore{justify-self:center;margin:0}}

