/* Typvo 全站 B 版：白底、大字、近黑文字。组件只在这里定义；手机与 Mac 的真实界面各用自己的样式。 */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --ink:#080A0E; --ink-2:#333942; --ink-3:#5A616C;
  --line:#E3E7EC; --blue:#2365C1; --blue-ink:#205FB5; --brand:#3180EC; --tint:#E5EEFC;
  --serif:"Fraunces","Noto Serif SC","Songti SC",Georgia,serif; --sans:"Figtree","PingFang SC","Noto Sans SC",system-ui,sans-serif;
  --ios:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
  --gutter:clamp(16px,5vw,64px); --rhythm:clamp(72px,10vw,128px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion: no-preference){ html{scroll-behavior:smooth} }
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased}
a{color:var(--blue-ink);text-decoration:none} a:hover{color:#174D97}
button{font:inherit}
:focus-visible{outline:2.5px solid var(--brand);outline-offset:3px}
.wrap{max-width:1160px;margin:0 auto;padding-inline:var(--gutter)}
main,section,.hero-text,.feature-head,.feature-demo,.steps,.fcard,.keys{min-width:0}
section{scroll-margin-top:24px}

/* Navigation */
.nav{display:flex;align-items:center;justify-content:space-between;height:76px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font:600 21px/1 var(--serif)}
.brand img{width:32px;height:32px;border-radius:8px}
.nav-links{display:flex;align-items:center;gap:28px;font-weight:500;font-size:15px}
.nav-links a{color:#2B323C}
.lang{display:flex;gap:2px;padding:3px;border-radius:999px;background:#E7EAEF}
.lang a{padding:6px 11px;border-radius:999px;font-size:13px;font-weight:500;color:#4A5361}
.lang a[aria-current="page"]{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(14,17,22,.12)}

/* Hero: the words on the left; on the right the short loop, what is being said beside it, and the three ways in */
.hero{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:center;padding-block:32px 48px}
.eyebrow,.kicker{display:inline-block;color:var(--blue-ink);font-weight:500;font-size:13px;line-height:1.65;letter-spacing:.01em}
.eyebrow svg{display:none}
h1{font:600 clamp(44px,6.25vw,80px)/1.15 var(--serif);letter-spacing:-.025em;margin:24px 0 0;overflow-wrap:anywhere}
/* F-013：只约束首页 slogan；长英文词不能沿用全局 anywhere 拆开。 */
#hero-h{overflow-wrap:normal;word-break:normal;hyphens:none}
.hero-tagline{margin:20px 0 0;font-size:clamp(17px,2.2vw,22px);font-weight:600;line-height:1.4;color:var(--ink);overflow-wrap:normal;word-break:keep-all;hyphens:none}
.hero-tagline+.lede{margin-top:16px}
.lede,.section-lede,.fcard p,.pledges p{text-wrap:pretty}   /* no last line of one lonely character */
.lede{max-width:470px;margin:28px 0 0;font-size:18px;line-height:1.7;color:var(--ink-2)}
.ctas{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:32px}
.soon{margin:16px 0 0;font-size:15px;font-weight:500;color:var(--ink-2)}
.btn{display:inline-flex;align-items:center;height:52px;padding:0 24px;border-radius:999px;font-weight:600;font-size:16px}
.btn-primary{background:var(--ink);color:#fff;gap:12px}
.btn-primary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-top:1.5px solid currentColor;transform:rotate(45deg);margin-right:2px}
.more-link{font-weight:600}
.req{margin:14px 0 0;font-size:14px;color:var(--ink-3)}
.hero-visual{display:flex;flex-direction:column;align-items:center;gap:16px}
.stage{position:relative;margin:0;width:min-content}
.hero .phone-slot{--s:.59}
.phone-link{display:block;border-radius:44px}
.say{width:100%;margin-top:16px;min-height:90px;display:grid;align-content:start}
.say p{grid-area:1/1;margin:0;font:500 14px/1.4 var(--serif);opacity:0;transform:translateY(6px);transition:opacity .4s,transform .4s}
.say p.on:has(~ p.on){opacity:0}
.say p.on{opacity:1;transform:none}
.say small{display:flex;align-items:center;gap:6px;margin-bottom:4px;font:600 12px/1.3 var(--sans);color:var(--blue-ink)}
.say small.ok{margin:0;color:#1E8A4C}
.stage > .toggle{position:absolute;left:calc(100% + 12px);top:8px}
.jump{align-self:stretch;display:flex;justify-content:center;gap:5px;flex-wrap:wrap}
.jump a{position:relative;overflow:hidden;min-height:38px;padding:8px;border:1px solid transparent;background:#F2F4F7;border-radius:7px;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink);transition:border-color .35s,box-shadow .35s}
.jump a:hover{border-color:#B9CCE8;color:var(--ink)}
 .jump .n{width:18px;height:18px;flex:none;border-radius:50%;background:var(--tint);color:var(--blue-ink);display:grid;place-items:center;font-size:12px;transition:background-color .35s,color .35s}
.jump a.on .n{background:var(--blue);color:#fff}

/* A feature section: title and steps on one side, its phone on the other; steps light up as the phone acts them */
.feature,.privacy{margin-top:96px;padding-top:72px;border-top:1px solid var(--line)}   /* flat, ruled sections (2026-10-19 preview: the reference's thin lines instead of white panels) */
.feature{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto auto 1fr;
  grid-template-areas:". demo" "head demo" "steps demo" ". demo";column-gap:72px}
.feature.flip{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"demo ." "demo head" "demo steps" "demo ."}   /* phone left, words right */
.feature-head{grid-area:head}
h2{font:600 clamp(40px,5vw,64px)/1.18 var(--serif);letter-spacing:-.025em;margin:18px 0 0;overflow-wrap:anywhere;text-wrap:balance}
/* 长单词整词换行；极窄时由既有标题适配脚本按内容区缩小。 */
.fit-words{overflow-wrap:normal;word-break:normal;hyphens:none}
.center{max-width:720px;margin-inline:auto;text-align:center}
.center .section-lede{margin-inline:auto}
.section-lede{margin:24px 0 0;max-width:470px;color:var(--ink-2);font-size:17px;line-height:1.7}
.steps{grid-area:steps;list-style:none;margin:28px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.steps{position:relative;isolation:isolate}
.step{position:relative;overflow:hidden;padding:14px 18px;border-radius:8px;border:1px solid transparent;color:#69727F;transition:border-color .35s,box-shadow .35s,color .35s}
.step .num{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#EEF1F5;font-size:12px;font-weight:700;transition:background-color .35s,color .35s}
.step h3{margin:8px 0 2px;font:500 23px/1.2 var(--serif)}
.step p{margin:0;font-size:15px}
.step q{display:block;margin-top:8px;font:500 15px/1.45 var(--serif)}
.step.on{color:var(--ink-2)}
.step.on h3,.step.on q{color:var(--ink)}
.step.on .num{background:var(--blue);color:#fff}

/* What is playing now — a step beside a phone, or a tab under the hero phone — is light-blue frosted glass (owner,
   2026-09-27): a gradient from pale blue (not white: that blurred into the white card) to a deeper blue, a fine grain
   on ::before (so it can fade in), a bright top edge, a blur of what glows behind it, a soft blue shadow. A line
   along its foot fills for as long as it plays (--span, set by player.js). Steps not playing are pale grey. */
.step,.jump a{isolation:isolate}   /* the glass layer below sits under their text, over their own background */
.step::before,.jump a::before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;opacity:0;transition:opacity .35s;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(90% 130% at 0% 0%,rgba(255,255,255,.6),rgba(255,255,255,0) 50%),
    radial-gradient(100% 140% at 100% 100%,rgba(49,128,236,.42),rgba(49,128,236,0) 65%),
    linear-gradient(135deg,rgba(219,232,251,.85),rgba(166,199,244,.82))}
.step.on,.jump a.on{border-color:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);
  box-shadow:inset 0 1px 0 #fff}
.step.on::before,.jump a.on::before{opacity:1}
.step::after,.jump a::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:var(--brand);transform:scaleX(0);transform-origin:left}
.step.on::after,.jump a.on::after{animation:fill var(--span,3s) linear forwards}
@keyframes fill{to{transform:scaleX(1)}}
.feature-demo{grid-area:demo;display:flex;flex-direction:column;align-items:center;gap:14px}
.demo-controls{display:flex;align-items:center;gap:12px}
.caption{display:none;margin:0;font:500 18px/1.3 var(--serif)}
.caption span{color:var(--blue-ink);font:700 13px var(--sans);margin-right:8px}

/* Pause / play: two bars, or a triangle once paused. A paused section freezes every running animation in it. */
.paused *,.paused *::after{animation-play-state:paused!important}
.toggle{width:34px;height:34px;flex:none;border-radius:50%;border:1px solid #CCD4DF;background:var(--surface);color:var(--ink-2);display:grid;place-items:center;cursor:pointer;padding:0}
.toggle:hover{border-color:#AEB9C7;color:var(--ink)}
.toggle[hidden]{display:none}
.toggle::before{content:"";width:10px;height:12px;border-inline:3px solid currentColor}
.toggle[aria-pressed="true"]::before{width:0;height:0;border-right:0;border-left:10px solid currentColor;border-block:6px solid transparent;margin-left:3px}


/* About Tolk: everything it does, as cards, no animation; the three core ones carry a filled blue icon */
.about{margin-top:var(--rhythm)}
.about-head{max-width:680px}
.features{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fcard{border-top:1px solid var(--line);padding:28px 12px 24px;display:flex;flex-direction:column;gap:10px}
.fcard .ico,.pledges .ico{width:24px;height:24px;color:var(--ink);display:grid;place-items:center;margin-bottom:8px}
.fcard.core .ico{color:var(--blue)}
.fcard h3,.pledges h3{margin:6px 0 0;font:600 18px/1.3 var(--sans)}
.fcard p,.pledges p{margin:0;font-size:15px;color:var(--ink-2)}

/* Privacy: what can already be promised, three short points in one white panel, no animation. The last point is a
   placeholder (dashed, grey) until the full policy is written — together with the relay (HANDOFF 8 f). */
.privacy header{max-width:680px}
.privacy .more-link{display:inline-block;margin-top:18px}   /* to the full policy (/tolk/privacy/) */
.pledges{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}   /* two pledges until the full policy exists (a third, "how long, how to delete", and the link to the policy come back with it) */
.pledges li{display:flex;flex-direction:column;gap:8px;padding-top:24px;border-top:1px solid var(--line)}

/* The Mac: one dark banner pointing to its own page (the home page is about the phone, owner 2026-09-26). The keys
   are the Mac's own default for dictation — tap control and shift — drawn as keycaps; no animation. */
.mac{margin-top:var(--rhythm);color:var(--ink);border-top:1px solid var(--line);
  padding-top:clamp(40px,6vw,72px);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
.mac .more-link{display:inline-block;margin-top:18px}
.keys{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.keycaps{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.keycaps b{font:500 24px var(--sans);color:#8B95A3}
.keycaps kbd{width:clamp(84px,9vw,104px);aspect-ratio:1;border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between;
  background:linear-gradient(#FDFDFE,#E3E7ED);color:#3E4652;font:500 14px/1 var(--ios);text-align:left;
  box-shadow:inset 0 1px 0 #fff,0 3px 0 #B5BEC9,0 14px 26px -14px rgba(0,0,0,.45)}
.keycaps kbd span{font-size:24px;color:var(--ink)}
.keys figcaption{font:500 16px/1.4 var(--sans);color:var(--ink-2)}
.mac .req{margin:0;color:var(--ink-3)}
.keys figcaption,.mac .req{text-wrap:balance}

footer{margin-top:var(--rhythm);border-top:1px solid var(--line);padding-block:36px 48px}
.foot{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.foot b{font:600 19px var(--serif)}
.foot small{display:block;margin-top:6px;color:var(--ink-3);font-size:13px;overflow-wrap:anywhere}
.foot .footer-slogan{max-width:42rem;overflow-wrap:normal;word-break:normal;hyphens:none}
.foot nav{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:14px}
.foot nav a{color:#2B323C}

/* Four facts in one ruled strip under the hero */
.facts{list-style:none;margin:clamp(48px,7vw,88px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts li{padding:28px 24px 30px;border-left:1px solid var(--line)}
.facts li:first-child{border-left:0;padding-left:4px}
.facts b{display:block;font:500 clamp(34px,3.6vw,46px)/1 var(--serif);letter-spacing:-.02em}
.facts span{display:block;margin-top:10px;font-size:14px;color:var(--ink-3)}

/* FAQ: numbered questions on thin rules; <details> opens them, a + turns into × */
.faq{margin-top:var(--rhythm);padding-top:clamp(40px,6vw,72px);border-top:1px solid var(--line)}
.faq-list{max-width:860px;margin:44px auto 0;border-top:1px solid var(--line);counter-reset:faq}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 6px;font:600 17px/1.4 var(--sans)}
.faq summary::-webkit-details-marker{display:none}
.faq .q::before{counter-increment:faq;content:counter(faq,decimal-leading-zero) ".";margin-right:12px;color:var(--ink-3);font-weight:500}
.faq summary::after{content:"+";flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);font:300 20px/1 var(--sans);color:var(--ink-2);transition:transform .25s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{margin:0;padding:0 46px 24px 6px;max-width:760px;color:var(--ink-2);font-size:16px}

/* The close: one dark band, the two ways in again */
.cta{margin-top:var(--rhythm);position:relative;overflow:hidden;isolation:isolate;border-radius:16px;background:var(--ink);color:#fff;padding:clamp(48px,7vw,96px) clamp(24px,5vw,72px);text-align:center}
.cta::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(60% 90% at 50% 115%,rgba(49,128,236,.20),transparent 70%)}
.cta .kicker{border-color:rgba(255,255,255,.22);background:transparent;color:#D5DAE2}
.cta h2{color:#fff}
.cta .section-lede{color:#C4CCD8;margin-inline:auto}
.cta .ctas{justify-content:center}
.cta .btn-primary{background:#fff;color:var(--ink)}
.cta .more-link{color:#86B7FA}
.cta .soon{color:#D5DAE2}
.footnote{margin:40px 0 0;color:var(--ink-3);font-size:13px}
.footnote a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.footnote+footer{margin-top:24px}
.note-ref{margin-left:2px;font:500 12px var(--sans);vertical-align:super}
.language-picker{min-height:100svh;display:grid;place-items:center;text-align:center}
.language-picker img{width:64px;height:64px;border-radius:16px;margin-bottom:24px}
.language-picker nav{display:flex;gap:24px;justify-content:center}

/* 字体和自动换行：原 <br> 不变；fit-title.js 在字体到齐后保证 h1 两行。 */
:lang(zh) h1{line-height:1.2}
:lang(zh) h2{line-height:1.2}
/* 中文场景主句只在手机上按负责人定的四行排；桌面保留原换行与字号。 */
:lang(zh) #scenario-features-h .scenario-line{display:contents}
/* 首页中文关于标题：手机上「每一步」整行，桌面保留原排版。 */
:lang(zh) #about-h .about-line{display:contents}
/* 一份标题：桌面按原换行，手机才启用词组边界。 */
:is(.home-title,.page-title) :is(.title-layout,.title-word){display:contents}
:is(.home-title,.page-title) :is(.title-break,.title-line-break){display:none}
:lang(zh) .facts b,:lang(zh) .step h3,:lang(zh) .say p,:lang(zh) .step q{letter-spacing:0}
:lang(zh) .kicker,:lang(zh) .eyebrow{letter-spacing:.04em}
@media (max-height:820px){.feature .phone-slot{--s:.7}}
@media (min-height:1000px){.feature .phone-slot{--s:.86}}
@media (max-width:960px){
  .nav-links>a{display:none}
  .hero{grid-template-columns:1fr;gap:36px;padding-block:24px 48px}
  h1{font-size:72px}
  h2{font-size:54px}
  .feature,.feature.flip{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "demo" "steps";padding-top:56px}
  .feature-demo{margin-top:32px}
  .caption{display:block}
  .features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts li:nth-child(odd){border-left:0;padding-left:4px}
  .facts li:nth-child(n+3){border-top:1px solid var(--line)}
  .mac{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){.features,.pledges{grid-template-columns:minmax(0,1fr)}}
@media (max-width:460px){
  .nav{height:68px}
  .hero{padding-top:16px;gap:28px}
  h1{font-size:48px;margin-top:18px}
  h2{font-size:48px}
  :lang(zh) .home-title{font-size:38px;word-break:keep-all;overflow-wrap:normal;text-wrap:balance}
  :is(.home-title,.page-title) .title-desktop-break{display:none}
  :is(.home-title,.page-title) .title-break{display:inline}
  :is(.home-title,.page-title) .title-word{display:inline;white-space:nowrap}
  :is(.home-title,.page-title) .title-line-break{display:block}
  .page-title{word-break:keep-all;overflow-wrap:normal;text-wrap:balance}
  .center:has(>.home-title,>.page-title){text-align:left}
  .nav-links{gap:20px}
  :lang(zh) #about-h .about-line{display:block;white-space:nowrap}
  :lang(zh) #scenario-features-h .scenario-line{display:block;white-space:nowrap}
  :lang(zh) #scenario-features-h .scenario-desktop-break{display:none}
  .lede{font-size:15px;line-height:1.65;margin-top:18px}
  .ctas{margin-top:22px;gap:16px}
  .btn{height:44px;padding-inline:18px;font-size:16px}
  .more-link{font-size:14px}
  .soon{font-size:14px;margin-top:14px}
  .req{font-size:12px;margin-top:10px}
  .hero .phone-slot{--s:.50}
  .jump{gap:6px}
  .jump a{padding-inline:12px}
  .jump .n{display:none}
  .feature{margin-top:72px;padding-top:44px}
  .section-lede{font-size:16px}
  .feature .phone-slot{--s:.76}
  .cta{border-radius:12px}
  .facts{grid-template-columns:minmax(0,1fr)}
  .facts li{border-left:0;padding-left:4px}
  .facts li:nth-child(n+2){border-top:1px solid var(--line)}
}
@media (max-width:359px){
  h1,h2{font-size:40px}
  :lang(zh) .home-title{font-size:31.666667px}
  .feature .phone-slot{--s:.68}
  .ctas{gap:12px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .step::after,.jump a::after{display:none}
}

/* O-48 B：测试状态紧邻真实安装入口。 */
.beta{font-size:14px;color:var(--ink-3);white-space:nowrap}

.draft-note{padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--tint);color:var(--ink-2)}

/* 帮助和研究正文用系统中文字体，不扩展演示标题字库。 */
.guide{max-width:820px;margin:48px auto 80px;overflow-wrap:anywhere}
.guide h1,.guide h2,.guide h3{font-family:var(--sans);letter-spacing:0}
.guide h1{font-size:clamp(36px,6vw,64px);line-height:1.15}
.guide h2{font-size:30px;margin:48px 0 16px}
.guide h3{font-size:21px;margin:24px 0 8px}
.guide p,.guide li{line-height:1.8}
.guide li+li{margin-top:12px}
.guide nav{line-height:2}

/* 页末学习场景的长标题用正文家族，避免现有中文衬线子集缺字。 */
.fcard h3.body-title{font-family:var(--sans)}

/* 收款准备页：同一订阅的两种付费周期，以大数字和细线呈现，不接付款按钮。 */
.pricing{max-width:960px;margin:48px auto 80px}
.pricing .section-lede{max-width:none}
.price-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:48px;border-block:1px solid var(--line)}
.price-options section{padding:28px 0 36px}
.price-options section+section{border-left:1px solid var(--line);padding-left:40px}
.price-amount{font:500 clamp(64px,8vw,104px)/1.1 var(--serif);letter-spacing:-.04em;margin:14px 0}
.price-unit{margin:0;color:var(--ink-2)}
.price-status{font-size:22px;font-weight:600;margin:32px 0 0}
.price-includes{margin:36px 0;border-top:1px solid var(--line);padding-top:24px}
.price-includes ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px}
.price-note{font-size:14px;color:var(--ink-3)}
.nav-links>.pricing-nav{display:inline-flex}
@media (max-width:560px){
  .price-options{grid-template-columns:1fr;margin-top:32px}
  .price-options section+section{border-left:0;border-top:1px solid var(--line);padding-left:0}
  .price-includes ul{grid-template-columns:1fr;gap:12px}
}
