/* TypeKey site, r7. Flat colours, no gradients, no glow, no blur. */
:root{--bg:#F5F9F6;--paper:#fff;--tint:#E8F3EE;--line:#D9E6DF;--ink:#14231F;--muted:#55665F;--teal:#29524F;--teal2:#1E3F3C;--mint:#54D8AB;--soft:#67B0A6;
--serif:"Fraunces",Georgia,"Times New Roman",serif;--sans:"Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;color-scheme:light}
body{background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--teal)}img,svg{display:block;max-width:100%}
.w{max-width:1120px;margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:-.02em;color:var(--ink)}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* header */
.nav{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}
.nav .w{display:flex;align-items:center;gap:20px;height:64px}
.brand{display:flex;align-items:center;gap:10px;font:600 19px var(--sans);letter-spacing:-.01em;text-decoration:none;color:var(--ink)}
.brand img{width:32px;height:32px;border-radius:9px}
.sp{flex:1}
.nav a.l{font-size:15px;color:var(--muted);text-decoration:none}.nav a.l:hover{color:var(--ink)}
.nav .hide-m{display:none}@media(min-width:760px){.nav .hide-m{display:inline}}

/* App Store badge (official svg) */
.badge{display:inline-block;line-height:0;border-radius:9px}
.badge img{height:54px;width:auto}
.badge.s img{height:40px}
.badge:hover{opacity:.88}

/* hero */
.hero{background:var(--tint);padding:44px 0 40px;border-bottom:1px solid var(--line)}
.hero .w{display:grid;gap:36px;align-items:center}
@media(min-width:960px){.hero{padding:68px 0 60px}.hero .w{grid-template-columns:1fr 440px;gap:40px}}
h1{font-size:clamp(42px,8.6vw,84px);line-height:.98;letter-spacing:-.035em;margin-bottom:20px}
h1 em{font-style:italic;color:var(--teal);font-weight:400}
.sub{font-size:clamp(18px,2.2vw,21px);color:var(--muted);max-width:34ch;line-height:1.55}
.cta{margin-top:28px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.meta{margin-top:16px;font-size:15px;color:var(--muted)}
.stage{display:flex;flex-direction:column;align-items:center;gap:18px;min-width:0}

/* phone with the animated keyboard */
.phone{position:relative;width:324px;flex:none;padding:8px;border-radius:52px;background:#16211e;border:1.5px solid #3c4a46}
.screen{position:relative;height:652px;border-radius:44px;overflow:hidden;background:#000;color:#fff;font-family:var(--sans)}
.island{position:absolute;top:10px;left:50%;width:92px;height:27px;margin-left:-46px;background:#000;border-radius:20px;z-index:6}
.status{position:absolute;top:0;left:0;right:0;height:48px;padding:15px 26px 0;display:flex;justify-content:space-between;font-size:14px;font-weight:600;z-index:5}
.status svg{height:11px;width:auto;fill:#fff}
.appbar{position:absolute;top:48px;left:14px;right:14px;height:40px;display:flex;align-items:center;justify-content:space-between;z-index:4}
.pill{height:36px;min-width:36px;border-radius:18px;background:#1b1b1d;display:grid;place-items:center;padding:0 10px}
.pill svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apptitle{font-size:13px;font-weight:600;color:#9a9a9f}
.doc{position:absolute;top:100px;left:0;right:0;bottom:318px}
.pnote,.chat{position:absolute;inset:0;padding:0 20px;transition:opacity .35s}
.chat{opacity:0;pointer-events:none}.screen.chatmode .chat{opacity:1}.screen.chatmode .pnote{opacity:0}
.draft{font-size:16.5px;line-height:1.55;color:#f2f2f2;min-height:100px}
.caret{display:inline-block;width:2px;height:1.1em;background:var(--mint);vertical-align:-3px;margin-left:1px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.draft.flash{animation:flash .7s}@keyframes flash{0%{color:var(--mint)}100%{color:#f2f2f2}}
.bubble{max-width:82%;padding:10px 14px;border-radius:20px;font-size:15px;line-height:1.4;margin-top:12px}
.bubble.in{background:#26262a;border-bottom-left-radius:6px;opacity:0;transform:translateY(8px);transition:.4s}.screen.chatmode .bubble.in.on{opacity:1;transform:none}
.cmeta{font-size:11px;color:#77777c;margin:14px 0 0 6px}
.compose{position:absolute;left:14px;right:14px;bottom:10px;min-height:42px;border-radius:21px;border:1px solid #323236;display:flex;align-items:flex-end;gap:8px;padding:9px 8px 9px 15px;font-size:15px;line-height:1.35}
.compose .ct{flex:1;min-width:0;color:#f2f2f2}.compose .ct.ph{color:#6b6b70}
.compose .send{width:26px;height:26px;border-radius:50%;background:#2a2a2e;display:grid;place-items:center;flex:none;transition:background .3s}.compose .send.on{background:var(--soft)}
.compose .send svg{width:13px;height:13px;stroke:#fff;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.kb{position:absolute;left:0;right:0;bottom:0;height:318px;background:#151517;border-radius:30px 30px 0 0;border-top:1px solid #2a2a2d;z-index:3}
.kbbar{display:flex;align-items:center;gap:8px;padding:11px 10px 9px;overflow:hidden;white-space:nowrap;position:relative;z-index:2}
.kbbar::after{content:"";flex:none;width:10px;height:1px}
.logo{width:30px;height:30px;border-radius:9px;flex:none}
.chip{flex:none;display:flex;align-items:center;gap:6px;height:34px;padding:0 11px;border-radius:17px;background:#1b2f2b;color:#79BDB1;font-size:13px;font-weight:600;transition:background .25s,color .25s,opacity .2s}
.chip svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip.on{background:var(--soft);color:#0c1f1c}
.kbbar .chip.off{opacity:0}
.kbbody{position:absolute;top:54px;left:0;right:0;bottom:52px;overflow:hidden}
.v{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s,visibility 0s .28s}.v.on{opacity:1;visibility:visible;transition:opacity .28s,visibility 0s}
.kbfoot{position:absolute;left:0;right:0;bottom:0;height:52px;padding:0 24px;display:flex;justify-content:space-between;align-items:center}
.kbfoot svg{width:22px;height:22px;fill:none;stroke:#e8e8ea;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.keys{padding:4px 3px;display:grid;gap:9px}.kr{display:flex;gap:4.5px;justify-content:center}
.key{flex:1;max-width:27px;height:38px;border-radius:6px;background:#575759;display:grid;place-items:center;font-size:17px;font-weight:400;color:#f3f3f3;box-shadow:0 1px 0 #0a0a0a}
.key.sh{max-width:none;flex:0 0 40px;background:#2b2b2d;padding:0}.key.spc{max-width:none;flex:1;font-size:13px}.key.n{flex:0 0 46px;background:#2b2b2d;max-width:none;font-size:14px}.key.r{flex:0 0 66px;max-width:none;background:#2b2b2d}
.key.sh svg,.key.r svg{width:19px;height:19px;fill:none;stroke:#f3f3f3;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.krow2{padding-left:15px;padding-right:15px}
.hd{display:flex;justify-content:space-between;align-items:center;padding:8px 18px;font-size:14px;font-weight:600}.hd a{color:var(--soft);font-weight:500;font-size:13px}
.tg{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 14px}
.tb{height:42px;border-radius:12px;background:#1d302c;color:#8FCBC0;font-size:14px;font-weight:600;display:grid;place-items:center;transition:.2s}
.tb.on{background:var(--soft);color:#0c1f1c}
.tag{display:inline-block;font-size:11.5px;font-weight:600;color:#79BDB1;background:#1b2f2b;padding:5px 12px;border-radius:8px;margin:2px 0 0 14px}
.rc{margin:9px 14px 0;padding:13px 15px;border-radius:16px;background:#1a2e2a;font-size:14.5px;line-height:1.45;color:#f1f1f1;min-height:104px}
.rc .dots{display:flex;gap:6px;padding-top:34px;justify-content:center}.rc .dots i{width:7px;height:7px;border-radius:50%;background:var(--soft);animation:dot 1s infinite}.rc .dots i:nth-child(2){animation-delay:.15s}.rc .dots i:nth-child(3){animation-delay:.3s}
@keyframes dot{0%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
.btns{position:absolute;left:14px;right:14px;bottom:2px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn{height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;border:1.5px solid var(--soft);color:#79BDB1}
.btn.p{background:var(--soft);color:#0c1f1c}.btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mini{display:flex;gap:6px;padding:0 14px 8px}.mini span{font-size:12px;font-weight:600;padding:5px 11px;border-radius:8px;background:#1b2f2b;color:#79BDB1;transition:.2s}.mini span.on{background:var(--soft);color:#0c1f1c}
.opts{display:grid;gap:7px;padding:0 14px}.op{padding:10px 13px;border-radius:13px;background:#1a2e2a;font-size:13.5px;line-height:1.35;color:#ececec;transition:.25s;border:1.5px solid transparent}
.op.on{border-color:var(--soft);background:#234640}
.tap{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(255,255,255,.32);border:2px solid rgba(255,255,255,.7);z-index:9;opacity:0;pointer-events:none;transform:scale(1.6);transition:left .55s cubic-bezier(.4,0,.2,1),top .55s cubic-bezier(.4,0,.2,1),opacity .2s,transform .2s}
.tap.show{opacity:1;transform:scale(1)}.tap.press{transform:scale(.72);background:rgba(255,255,255,.5)}
/* demo switcher under the phone: plain text tabs */
.scenes{display:flex;gap:22px;justify-content:center;flex-wrap:wrap}
.sc{font:500 15px var(--sans);color:var(--muted);background:none;border:0;border-bottom:2px solid transparent;padding:6px 0;cursor:pointer}
.sc:hover{color:var(--ink)}.sc[aria-pressed=true]{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}
.cap{font-size:14.5px;color:var(--muted);text-align:center;min-height:44px;max-width:34ch}

/* sections */
section{padding:72px 0}@media(min-width:900px){section{padding:104px 0}}
h2{font-size:clamp(32px,5vw,52px);line-height:1.06;margin-bottom:16px}
.lede{color:var(--muted);font-size:clamp(17px,2vw,19px);max-width:44ch}
.split{display:grid;gap:44px;align-items:center}@media(min-width:960px){.split{grid-template-columns:1fr 1.05fr;gap:72px}}
.plain{list-style:none;padding:0;margin-top:24px;display:grid;gap:10px;font-size:17px}
.plain b{font-weight:600}
.alt{background:var(--tint);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.small{margin-top:18px;font-size:15px;color:var(--muted);max-width:68ch}
.center{text-align:center}.center .lede{margin:0 auto}

/* app screens, recreated */
.duo{display:grid;gap:26px;justify-items:center}
@media(min-width:640px){.duo{grid-template-columns:1fr 1fr;gap:18px;align-items:start;justify-items:stretch}.duo .f2{margin-top:56px}}
.frame{background:#fff;border-radius:34px;padding:20px 18px 24px;box-shadow:0 0 0 8px #162320;width:100%;max-width:300px;color:#14231F}
.frame .st{display:flex;justify-content:space-between;font-size:12px;font-weight:600;padding:0 6px 14px}
.frame h3{font:600 24px var(--sans);letter-spacing:-.02em;margin:2px 6px 14px;text-align:left}
.frame.res h3{text-align:center;font-size:15px;margin:2px 0 18px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{background:#F1F6F3;border-radius:18px;padding:14px 13px 15px;min-height:116px}
.tile .ic{width:36px;height:36px;border-radius:11px;background:#2F5F5B;display:grid;place-items:center;margin-bottom:11px}.tile .ic svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tile b{display:block;font-size:14.5px;font-weight:600;line-height:1.2;margin-bottom:3px}.tile span{display:block;font-size:12px;color:#5d6e68;line-height:1.35}
.tile.hot{background:#2F5F5B;color:#fff}.tile.hot .ic{background:rgba(255,255,255,.18)}.tile.hot span{color:rgba(255,255,255,.78)}
.rbox{background:#F3F5F4;border:1px solid #E6EAE8;border-radius:16px;padding:14px 15px;font-size:14.5px;line-height:1.5;margin-bottom:12px}
.rb{height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14.5px;font-weight:600;margin-bottom:9px;border:1.5px solid #2F5F5B;color:#2F5F5B}
.rb.p{background:#2F5F5B;color:#fff}.rb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rt{text-align:center;font-size:14px;font-weight:600;color:#2F5F5B;padding:10px 0 4px}
.was{font-size:12px;color:#7a8a84;margin:0 4px 10px}.was b{font-weight:600;color:#2F5F5B}

/* guide links */
.guides{margin-top:64px}
.guides h3{font:500 28px/1.15 var(--serif);margin-bottom:8px}
.xl{display:grid;margin-top:14px;border-bottom:1px solid var(--line)}@media(min-width:720px){.xl{grid-template-columns:1fr 1fr;column-gap:48px}}
.xl a{display:block;padding:20px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.xl b{display:block;font-size:18px;font-weight:600;color:var(--teal);margin-bottom:4px}.xl a:hover b{text-decoration:underline}
.xl span{font-size:15.5px;color:var(--muted);line-height:1.5;display:block}
.xl.one{border-bottom:0}@media(min-width:720px){.xl.one{grid-template-columns:1fr 1fr 1fr}}

/* how it works */
.how{margin-top:22px;max-width:60ch;display:grid;gap:12px;font-size:19px;line-height:1.55}

/* privacy: one flat dark block */
.priv{background:#1E403C;color:#fff;padding:64px 0}@media(min-width:900px){.priv{padding:92px 0}}
.priv .w{display:grid;gap:28px}@media(min-width:900px){.priv .w{grid-template-columns:1fr 1.1fr;gap:64px;align-items:start}}
.priv h2{color:#fff;margin:0}.priv p{color:rgba(255,255,255,.86);max-width:50ch;font-size:18px}.priv p+p{margin-top:16px}
.priv a{color:var(--mint)}

/* pricing */
.plans{display:grid;gap:18px;margin-top:40px}@media(min-width:800px){.plans{grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}}
.plan{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:32px 30px}
.plan h3{font:600 22px var(--sans);letter-spacing:-.01em;color:var(--teal);margin-bottom:12px}
.plan .big{font:500 34px/1.1 var(--serif);letter-spacing:-.02em;margin-bottom:8px}
.plan .d{color:var(--muted);font-size:16px;margin-bottom:18px}
.plan p{font-size:16.5px;margin-top:10px}
.plan.pro{background:#2B5A55;border-color:#2B5A55;color:#fff}.plan.pro h3{color:var(--mint)}.plan.pro .big,.plan.pro p{color:#fff}
.fine{font-size:14px;color:var(--muted);margin-top:20px;max-width:70ch}

/* faq */
.faq{max-width:780px;margin:32px auto 0}details{border-bottom:1px solid var(--line);padding:20px 0}
summary{cursor:pointer;font:500 20px/1.3 var(--serif);letter-spacing:-.01em;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center}
summary::-webkit-details-marker{display:none}summary::after{content:"+";flex:none;font:400 26px/1 var(--sans);color:var(--teal)}
details[open] summary::after{content:"\2212"}details p{color:var(--muted);margin-top:10px;max-width:62ch;font-size:16.5px}

/* closing band */
.band{background:var(--teal);color:#fff;text-align:center;padding:72px 0}
.band .w{display:flex;flex-direction:column;align-items:center}
.band img.ic{width:64px;height:64px;border-radius:18px;margin-bottom:22px}
.band h2{color:#fff;margin-bottom:10px}.band p{color:rgba(255,255,255,.84);margin-bottom:26px}

/* footer */
footer{padding:44px 0 52px;font-size:14px;color:var(--muted)}
footer .w{display:grid;gap:18px}footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}footer a{color:var(--muted)}

/* sub pages */
.hero.sub-hero{padding:40px 0 36px}
.sub-hero h1{font-size:clamp(34px,6.4vw,58px);line-height:1.05;margin-bottom:14px}
@media(min-width:880px){.hero.sub-hero{padding:60px 0 52px}.hero.sub-hero .w{grid-template-columns:1.05fr .95fr;gap:48px}}
.note{font-size:14.5px;color:var(--muted)}
.demo{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.demo .in,.demo .out{padding:18px 20px}
.lab{font-size:14px;font-weight:600;color:var(--muted);margin-bottom:6px}
.demo .in p{color:var(--muted)}.demo .out{border-top:1px solid var(--line)}.demo .out p{font-weight:600}
.demo .bar{display:flex;gap:8px;align-items:center;padding:10px 14px;background:#E3E8E6}
.demo .chip{height:auto;padding:6px 12px;border-radius:10px;background:var(--teal);color:#fff;font-size:14px}
.demo .chip.g{background:transparent;color:var(--muted);font-weight:500;padding-left:4px}
.ex{float:right;font-size:13px;font-weight:400;color:var(--muted)}
.page section{padding:52px 0}@media(min-width:900px){.page section{padding:64px 0}}
.page h2{font-size:clamp(27px,4.4vw,38px);margin-bottom:16px}
.prose{max-width:68ch}.prose p+p{margin-top:14px}
.page .how{font-size:18px;margin-top:0}
.page .band{padding:56px 0}.page .band h2{font-size:clamp(27px,4.4vw,38px)}
.page .xl{grid-template-columns:1fr}@media(min-width:720px){.page .xl{grid-template-columns:1fr 1fr 1fr;column-gap:32px}}

/* privacy policy and 404 */
.legal h1{font-size:clamp(34px,6vw,52px);line-height:1.05;margin-bottom:14px}
.legal h2{font-size:26px;margin:36px 0 10px}.legal ul{padding-left:20px}.legal li{margin:6px 0}.legal p{margin:8px 0}
.legal .note{margin-bottom:8px}
.tablewrap{overflow-x:auto;margin:12px 0}.legal table{border-collapse:collapse;font-size:15px;min-width:640px}
.legal th,.legal td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}.legal th{background:var(--tint)}
.legal.prose{max-width:820px}
.nf{padding:56px 0 24px}.nf h1{font-size:clamp(36px,6vw,56px);margin-bottom:10px}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* comparison tables (2026-10-21) */
.cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cmp{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;min-width:560px}
.cmp th,.cmp td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.08)}
.cmp th{font-weight:600}
.cmp td:first-child{font-weight:600;width:22%}
