/* Sureword: shared visual and motion tokens. Existing workflow styles are retained. */
:root {
  color-scheme: light;
  --color-background:#fff; --color-surface:#f5f7f9; --color-surface-alt:#eef5fa;
  --color-ink:#102c43; --color-muted:#536471; --color-accent:#0369a1;
  --color-border:rgba(16,44,67,.14); --color-hover-layer:#eaf2f7; --color-pressed-layer:#deebf4; --color-focus-layer:#d5eafa;
  --bg-page:var(--color-background); --text-main:var(--color-ink); --text-muted:var(--color-muted);
  --ease-primary:cubic-bezier(.165,.84,.44,1); --ease-expo:cubic-bezier(.19,1,.22,1); --ease-reveal:cubic-bezier(.22,1,.36,1);
  --dur-fast:150ms; --dur-base:250ms; --dur-slow:450ms; --dur-scene:700ms;
  --stagger-step:70ms; --stagger-char:22ms; --blur-diffuse:16px; --blur-glass:16px; --blur-overlay:24px;
  --lift-hover:-2px; --lift-card:-4px; --press-scale:.98; --z-header:50; --z-dropdown:60; --z-overlay:80; --z-toast:90;
  --focus-ring:2px solid var(--color-accent); --focus-offset:3px;
  --radius-sm:8px; --radius-md:16px; --radius-lg:24px; --radius-full:9999px;
  --space-1:4px; --space-2:8px; --space-3:16px; --space-4:24px; --space-5:36px; --space-6:48px; --space-7:80px; --space-8:120px;
  --shadow-card:none; --shadow-subtle:none;
}
html {scroll-behavior:smooth; scroll-padding-top:100px; scrollbar-color:#8396a6 #f5f7f9; scrollbar-width:thin}
body {font-size:16px; overflow-wrap:break-word}
::selection {background:#c2e8fb;color:#102c43}
a {color:var(--color-accent)}
[hidden] {display:none!important}
.container {max-width:1360px;padding-inline:48px;width:100%}
.app-header {z-index:var(--z-header);border-bottom:1px solid var(--color-border);background:#fff;box-shadow:none}
@supports(backdrop-filter:blur(16px)){.app-header {background:rgba(255,255,255,.92);backdrop-filter:blur(var(--blur-glass))}}
.app-header.scrolled {border-color:#b4c4d0}
.header-container {min-height:80px;flex-wrap:nowrap;padding-block:14px}
.brand {gap:8px;flex-shrink:0}.brand-logo-img{width:36px;height:36px}.logo-wrapper{width:36px;height:36px;background:none;box-shadow:none}
.brand-name {font-size:26px;letter-spacing:-1px;color:var(--color-ink);font-weight:650;text-decoration:none}.brand-period{color:#0284c7}
.site-nav {display:flex;align-items:center;gap:32px;font-size:13px}.site-nav>a{color:var(--color-ink);text-decoration:none}.site-nav>a:not(.btn):hover{text-decoration:underline;text-underline-offset:6px}
.btn,.nav-tab,.preset-chip {min-height:44px;transition:background var(--dur-fast),transform var(--dur-fast) var(--ease-primary),border-color var(--dur-base);box-shadow:none;border-radius:var(--radius-full)}
.btn {font-weight:500;gap:18px}.btn:active{transform:scale(var(--press-scale))}.btn:disabled{transform:none;cursor:not-allowed}
.nav-cta,.hero-primary {background:var(--color-ink);color:white!important;border:1px solid var(--color-ink);padding:12px 23px}
.hero {position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:12px;padding-block:76px 64px;min-height:650px;align-items:center}
.eyebrow {font-size:11px;letter-spacing:.12em;font-weight:600;color:var(--color-muted);margin-bottom:24px;display:flex;align-items:center;gap:8px}
.tiny-dot {width:6px;height:6px;border-radius:50%;background:#0284c7}
h1,h2,h3{text-wrap:balance}
.hero h1 {font-size:clamp(48px,5.8vw,80px);font-weight:500;line-height:1.04;letter-spacing:-.055em;margin:0 0 26px}.hero h1>span{color:#027db8}
.hero-description{max-width:400px;font-size:17px;line-height:1.65;color:var(--color-muted)}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:30px}.quiet-link{font-size:13px;text-decoration:none;color:var(--color-ink);text-underline-offset:5px}.quiet-link:hover,.quiet-link:focus-visible{text-decoration:underline}
.hero-note{font-size:11px;color:var(--color-muted);margin-top:22px}
.voice-art {position:relative;aspect-ratio:1.08;min-width:0;color:var(--color-ink)}
#particle-field,.voice-orbit{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.voice-orbit{fill:none;stroke:#dbe8ef;stroke-width:1}.voice-orbit .orbit-core{fill:#f0f7fc;stroke:#c5e1ef}.voice-bars{stroke:#0284c7;stroke-width:5;stroke-linecap:round}
.art-label {position:absolute;font-size:9px;letter-spacing:.16em;color:#637b8c}.art-label-top{top:7%;left:15%}.art-label-bottom{bottom:8%;right:10%}
.art-chip{position:absolute;background:#fff;border:1px solid #d6e3eb;border-radius:12px;padding:14px 18px;font-size:12px;display:flex;gap:20px;align-items:center}.art-chip b{font-size:10px;font-weight:500;color:#03665a;background:#eaf7f3;border-radius:9999px;padding:4px 8px}.chip-name{top:26%;left:0}.chip-visit{bottom:23%;right:0}.illustration-label{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10px;color:var(--color-muted)}
.art-controls{position:absolute;right:48px;bottom:20px;display:flex;gap:20px}.text-control{border:0;background:none;color:var(--color-muted);font:inherit;font-size:11px;cursor:pointer;min-height:44px;text-decoration:underline;text-underline-offset:4px}.text-control[aria-pressed=true]{color:var(--color-accent)}
.proof-strip{border-block:1px solid var(--color-border);background:#f9fafb}.proof-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:92px}.proof-inner>span:first-child{font-size:10px;letter-spacing:.1em;color:var(--color-muted)}.proof-inner p{font-size:13px}.strip-divider{height:18px;width:1px;background:var(--color-border)}
.main-content{padding-block:76px 0;flex:initial}.workspace-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;scroll-margin-top:110px;margin-bottom:32px}.workspace-heading h2{font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;font-weight:500;line-height:1.2}.workspace-heading .eyebrow{margin-bottom:14px}.workspace-heading>p{font-size:12px;color:var(--color-muted);max-width:310px;line-height:1.7}
.workspace-toolbar .header-actions{width:100%;display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px}.workspace-toolbar{padding-bottom:20px;border-bottom:1px solid var(--color-border);margin-bottom:12px}.nav-tabs{background:var(--color-surface);padding:4px;border:0;border-radius:9999px}.nav-tab{font-size:13px;padding:8px 16px}.nav-tab.active{background:var(--color-ink);color:#fff;border-color:transparent}.nav-tab.active .pill-counter{background:#fff;color:var(--color-ink)}.lang-select{font-size:12px;border-radius:9999px;min-height:44px;max-width:100%}.badge{font-size:10px}.system-status-group{flex-wrap:wrap;gap:12px}
.sample-disclosure{font-size:11px;color:var(--color-muted);margin-bottom:24px}.grid-layout{grid-template-columns:.85fr 1.15fr;gap:24px;align-items:start}.card{border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:28px;box-shadow:none}.card h2{font-size:20px;letter-spacing:-.025em;font-weight:550}.instruction{font-size:14px;color:var(--color-muted)}.presets-row{flex-wrap:wrap}.preset-chip{font-size:11px;background:#fff;min-height:44px}.mic-controls{margin-block:24px}.btn-record{min-height:54px;background:var(--color-ink);border-color:var(--color-ink)}.transcript-box{border:0;background:var(--color-surface);border-radius:16px;padding:20px;min-height:160px}.transcript-text{font-size:14px;line-height:1.7}.transcript-box h3{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--color-muted)}.patient-summary-card{grid-template-columns:repeat(3,minmax(0,1fr));border-radius:12px;background:var(--color-surface);border:0}.summary-v{font-size:13px;overflow-wrap:anywhere}.summary-k{font-size:10px}.fields-form{gap:20px}.field-label-row label{font-size:12px}.status-tag{font-size:10px}.input-readonly-voice{background:#fff!important;font-size:14px!important;border:1px solid #a8bac8!important;border-radius:8px!important;min-width:0}.commit-bar{gap:16px;flex-wrap:wrap}.commit-info{font-size:12px}.btn-success{background:var(--color-ink);border-color:var(--color-ink)}.registry-actions{flex-wrap:wrap}.table-container{max-width:100%;overflow:auto}.registry-table{min-width:800px}.notice{padding:16px;background:#fff3dc;color:#664000}
.workflow{padding-block:110px}.section-intro{max-width:650px;margin-bottom:44px}.section-intro h2,.faq-section h2{font-size:clamp(32px,4vw,52px);line-height:1.12;font-weight:500;letter-spacing:-.04em;margin-bottom:20px}.section-intro>p:last-child{font-size:15px;color:var(--color-muted)}.stage-controls{display:flex;gap:6px;background:var(--color-surface);padding:6px;width:fit-content;border-radius:9999px;margin-bottom:36px}.stage-controls button{min-height:44px;border:0;border-radius:9999px;padding:10px 24px;background:transparent;font:inherit;font-size:13px;cursor:pointer;transition:background var(--dur-base)}.stage-controls button[aria-selected=true]{background:var(--color-ink);color:#fff}.stage-panel{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;min-height:300px;border-top:1px solid var(--color-border);padding-block:40px;animation:panel-in var(--dur-slow) var(--ease-reveal)}.stage-word{font-size:clamp(64px,8vw,112px);color:#64869c;letter-spacing:-.06em;line-height:1.1}.stage-panel h3{font-size:25px;font-weight:500;letter-spacing:-.025em;margin-bottom:16px}.stage-panel p:not(.eyebrow){font-size:15px;line-height:1.8;max-width:480px;color:var(--color-muted);margin-bottom:22px}.stage-panel .eyebrow{margin-bottom:14px}
.faq-section{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;padding-bottom:110px}.faq-section>div>p:last-child{font-size:14px;color:var(--color-muted)}details{border-bottom:1px solid var(--color-border)}summary{padding:24px 32px 24px 0;cursor:pointer;font-size:15px;list-style:none;position:relative}summary::-webkit-details-marker{display:none}summary:after{content:'';width:14px;height:14px;position:absolute;right:0;top:29px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat}details[open] summary:after{transform:rotate(45deg)}details p{font-size:14px;line-height:1.8;color:var(--color-muted);padding:0 16px 24px 0}.app-footer{border-top:1px solid var(--color-border);background:#f9fafb;padding-block:30px;margin-top:0}.footer-copy{font-size:11px}.footer-links{font-size:12px}
#tts-audio-player:not([hidden]){position:fixed;bottom:16px;right:16px;z-index:var(--z-overlay);max-width:calc(100vw - 32px)}
:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset)}
@keyframes panel-in{from{opacity:.5;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes reveal-in{from{opacity:.5;transform:translateY(24px)}to{opacity:1;transform:none}}
.revealed{animation:reveal-in var(--dur-scene) var(--ease-reveal) both}
@media(hover:hover){.btn:not(:disabled):hover{transform:translateY(var(--lift-hover))}.preset-chip:hover{border-color:var(--color-accent)}.btn-record:hover,.hero-primary:hover,.nav-cta:hover{background:#204b68}}
@media(min-width:1600px){.hero{min-height:740px;padding-block:100px}.hero h1{font-size:86px}}
@media(max-width:1024px){.container{padding-inline:28px}.site-nav{gap:20px}.hero{padding-block:60px;min-height:600px}.hero h1{font-size:64px}.hero-actions{gap:16px}.art-controls{right:28px}.grid-layout{grid-template-columns:1fr}.card{padding:24px}.workspace-heading>p{max-width:230px}.faq-section{gap:40px}.voice-art .art-chip{padding:10px;gap:8px;font-size:10px}.proof-inner{gap:12px}.proof-inner p{font-size:11px}}
@media(max-width:767px){.container{padding-inline:20px}.header-container{min-height:68px;gap:8px}.brand-name{font-size:24px}.site-nav>a:not(.btn){display:none}.site-nav .btn{padding:10px 16px;font-size:11px}.brand-logo-img,.logo-wrapper{width:30px;height:30px}.hero{display:flex;flex-direction:column;align-items:stretch;padding-block:44px 60px;gap:12px}.hero h1{font-size:clamp(48px,11vw,72px)}.eyebrow{font-size:9px}.hero-description{font-size:16px}.hero-note{font-size:10px}.voice-art{width:100%;max-width:480px;align-self:center;margin-top:20px}.art-controls{bottom:6px;right:20px;left:20px;justify-content:center}.hero-actions{gap:18px}.hero-actions .quiet-link{font-size:12px}.proof-inner{flex-wrap:wrap;justify-content:center;padding-block:22px;gap:12px 20px}.proof-inner>span:first-child{flex-basis:100%;text-align:center}.strip-divider{display:none}.main-content{padding-top:48px}.workspace-heading{display:block}.workspace-heading>p{max-width:none;margin-top:16px}.workspace-toolbar .header-actions{align-items:stretch;gap:16px}.nav-tabs{width:100%;display:flex}.nav-tab{flex:1;white-space:normal;padding-inline:8px;font-size:12px}.system-status-group{width:100%;justify-content:space-between}.lang-selector-wrapper{max-width:65%}.lang-select{width:100%}.card{padding:20px}.form-header{flex-wrap:wrap;gap:12px}.patient-summary-card{grid-template-columns:repeat(2,minmax(0,1fr))}.fields-form{grid-template-columns:1fr}.commit-bar{align-items:stretch}.commit-bar .btn{width:100%}.workflow{padding-block:64px}.stage-panel{grid-template-columns:1fr;gap:24px;min-height:420px;padding-top:24px}.stage-word{font-size:76px}.stage-controls{width:100%;gap:0}.stage-controls button{padding-inline:10px;flex:1;font-size:12px}.faq-section{grid-template-columns:1fr;gap:28px;padding-bottom:64px}.footer-container{align-items:start;gap:18px}.clarification-header{flex-wrap:wrap}.summary-col{min-width:0}.registry-header-row{flex-wrap:wrap}.registry-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.btn:hover{transform:none!important}}
@media print{.app-header,.art-controls,.voice-art,.hero-actions,.workspace-toolbar,.mic-controls,.app-footer{display:none!important}.container{max-width:none;padding:0}.stage-panel[hidden]{display:grid!important}body{color:#000;background:#fff}.card{break-inside:avoid}}

.footer-links a{color:#0369a1}.btn{text-decoration:none}
/* Disclosure and state text remains readable at narrow widths. */
.hero-note,.sample-disclosure,.illustration-label,.footer-copy,.status-tag,.badge,.summary-k{font-size:12px}
