/* Scoped styles: the existing homepage and its simulations are unchanged. */
.speech-tool-page{background:#faf9f6;color:#252b30}.tool-header,.tool-main,.tool-footer{width:min(1160px,calc(100% - 48px));margin-inline:auto}.tool-header{display:flex;align-items:center;justify-content:space-between;padding:24px 0;gap:20px}.tool-header-actions{display:flex;align-items:center;gap:18px}.tool-header .brand{font-size:27px;gap:10px}.tool-header .locale-picker{position:relative}.tool-header .locale-picker summary{cursor:pointer}.tool-intro{max-width:790px;margin:54px auto 36px;text-align:center}.tool-intro h1{font-size:clamp(32px,4vw,54px);line-height:1.16;letter-spacing:-.035em;margin:0 0 22px}.tool-intro p{font-size:19px;line-height:1.65;color:#606b78;margin:0}.tool-workspace{background:#fff;border:1px solid #e2e7ee;border-radius:24px;box-shadow:0 18px 48px -24px #23344b38;overflow:hidden}.tool-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:24px;border-bottom:1px solid #e2e7ee;background:#eef3fa}.tool-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#606b78}.speech-tool-page select{font:inherit;font-size:16px;max-width:100%;padding:8px 28px 8px 10px;border:1px solid #dbe3ed;border-radius:9px;background:#fff;color:#252b30}.record-control{display:flex;align-items:center;gap:14px}.record-control output{font-variant-numeric:tabular-nums;color:#606b78;direction:ltr}#tool-status{font-size:14px;line-height:1.5;flex:1;min-width:160px;margin:0;color:#606b78}.speech-tool-page button{font:inherit;font-size:15px;min-height:44px;border-radius:10px;padding:10px 15px;cursor:pointer;line-height:1.35;display:inline-flex;justify-content:center;align-items:center;gap:8px}.speech-tool-page button:disabled{opacity:.48;cursor:default}.speech-tool-page .tool-primary{background:#1968e5;border:1px solid #1968e5;color:#fff;font-weight:600}.speech-tool-page .tool-secondary{background:#fff;border:1px solid #dce4ef;color:#1968e5}.speech-tool-page .tool-quiet{border:0;background:transparent;color:#606b78}.speech-tool-page button:focus-visible,.speech-tool-page select:focus-visible,.speech-tool-page textarea:focus-visible{outline:2px solid #1968e5;outline-offset:3px}.speech-tool-page #record[data-recording=true]{background:#b53550;border-color:#b53550}.tool-editors{display:grid;grid-template-columns:1fr 1fr}.tool-editor{min-width:0;padding:24px;display:flex;flex-direction:column}.tool-editor+.tool-editor{border-inline-start:1px solid #e2e7ee}.tool-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:45px;font-weight:600}.tool-editor-heading span{font-size:13px;color:#606b78;font-weight:400}.tool-editor textarea{width:100%;min-height:300px;resize:vertical;box-sizing:border-box;border:0;padding:20px 0;color:#252b30;background:#fff;font:inherit;font-size:19px;line-height:1.7}.tool-editor textarea[readonly]{color:#35485c}.tool-editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.tool-allowance{border-top:1px solid #e2e7ee;padding:18px 24px;background:#f8fafd;font-size:14px;line-height:1.65;color:#606b78;display:flex;flex-wrap:wrap;gap:10px}.tool-allowance p{margin:0;flex:1;min-width:200px}.tool-allowance output{font-variant-numeric:tabular-nums}.tool-notice:empty{display:none}.tool-notice{padding:0 24px 18px;font-size:14px;color:#b53550}.tool-details{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:36px 0 72px;color:#606b78;font-size:15px;line-height:1.8}.tool-details p{margin:0}.tool-mac{text-align:center;padding:40px;background:#edf2fa;border-radius:22px}.tool-mac h2{font-size:26px;line-height:1.4;margin:0 0 22px}.tool-mac p{font-size:14px;color:#606b78;margin:18px 0 0}.tool-mac .silicon{color:#e84e68;font-weight:650}.tool-footer{display:flex;justify-content:center;gap:24px;font-size:14px;padding:40px 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:720px){.tool-header,.tool-main,.tool-footer{width:calc(100% - 32px)}.tool-header{align-items:flex-start}.tool-header-actions{gap:10px;align-items:flex-end;flex-direction:column}.tool-header .brand{font-size:24px}.tool-intro{margin-top:34px}.tool-intro p{font-size:17px}.tool-toolbar{padding:18px;gap:14px}.tool-editors{grid-template-columns:1fr}.tool-editor{padding:18px}.tool-editor+.tool-editor{border-inline-start:0;border-top:1px solid #e2e7ee}.tool-editor textarea{min-height:220px;font-size:18px}.tool-details{grid-template-columns:1fr;gap:24px;margin-bottom:44px}.tool-allowance{padding:18px}.tool-mac{padding:30px 20px}.tool-mac h2{font-size:22px}.tool-toolbar #tool-status{flex-basis:100%}.tool-header-actions button{font-size:13px;max-width:200px}.tool-header .locale-directory{inset-inline-end:0;inset-inline-start:auto}}
.speech-tool-page .tool-intro .tool-eyebrow{color:#1968e5;font-size:14px;font-weight:600;margin-bottom:16px}
.speech-tool-page .tool-header .locale-directory{grid-template-columns:minmax(0,1fr);width:236px;max-width:calc(100vw - 32px);max-height:min(540px,65vh);padding:8px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e2e7ee;box-shadow:0 6px 20px rgb(37 43 48 / .06)}
.speech-tool-page .tool-header .locale-directory a{padding:10px 14px;border-radius:7px;font-size:14px;line-height:1.6;color:#252b30;text-decoration:none}.speech-tool-page .tool-header .locale-directory a:hover,.speech-tool-page .tool-header .locale-directory a[aria-current]{background:#eef3fa;color:#1968e5}
@media(max-width:800px){.speech-tool-page .tool-header .locale-picker>.locale-directory{inset-inline-start:auto;inset-inline-end:16px;top:78px;width:236px}}
.speech-tool-page .tool-intro h1{text-wrap:balance}
/* Real controls use solid, readable states rather than faded mockup outlines. */
.speech-tool-page button{transition:background-color .16s,color .16s,box-shadow .16s;white-space:normal;text-align:center}
.speech-tool-page button:disabled{opacity:1;background:#f0f2f5;border-color:#e2e7ee;color:#657080;cursor:not-allowed;box-shadow:none}
.speech-tool-page .tool-primary:not(:disabled){box-shadow:0 3px 8px rgb(25 104 229 / .13)}
.speech-tool-page .tool-primary:not(:disabled):hover{background:#125bc9;border-color:#125bc9}
.speech-tool-page .tool-secondary:not(:disabled){background:#eef3fa;border-color:transparent;color:#155dcc;font-weight:550}
.speech-tool-page .tool-secondary:not(:disabled):hover{background:#e1ebf9}
.speech-tool-page .tool-quiet:not(:disabled):hover{background:#f0f2f5;color:#252b30}
.speech-tool-page #record[data-recording=true]:not(:disabled):hover{background:#9d2a43;border-color:#9d2a43}
.tool-free-badge{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;border-radius:999px;background:#eaf1fc;padding:7px 16px;color:#155dcc;font-size:15px;font-weight:650;line-height:1.5}
.tool-free-badge:before{content:'';width:7px;height:7px;background:#ff6274;border-radius:50%;flex:none}
.speech-tool-page .tool-intro .tool-eyebrow{margin-bottom:12px;color:#606b78;font-size:13px;font-weight:500}
/* The browser tool is speech-to-text only. The app is the next step. */
.tool-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.tool-content-grid .tool-workspace{min-width:0}.tool-content-grid .tool-editor textarea{min-height:310px}
.tool-content-grid .tool-toolbar{gap:14px;padding:20px}.tool-content-grid #tool-status{flex-basis:100%;min-width:0;font-size:13px}
.tool-session{padding:0 20px 16px;border-top:1px solid #edf0f4}.tool-session button{margin-top:10px;font-size:13px}
.tool-app-card{padding:30px;background:#eef3fa;border:1px solid #dfe6ef;border-radius:24px;min-width:0}
.tool-app-card>img{display:block;margin-bottom:24px}.tool-app-eyebrow{font-size:12px;letter-spacing:.06em;color:#606b78;font-weight:600;margin:0 0 12px}
.tool-app-card h2{font-size:28px;line-height:1.3;letter-spacing:-.8px;margin-bottom:24px;overflow-wrap:anywhere}
.tool-app-card ul{padding:0;list-style:none;margin:0 0 30px;display:grid;gap:18px}.tool-app-card li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.6;color:#35485c}.tool-app-card li svg{width:23px;height:23px;flex:0 0 23px;color:#1968e5}.tool-app-card li+li svg{color:#b53550}
.tool-app-card .button{width:100%;justify-content:center;gap:8px;text-align:center;font-size:15px;line-height:1.5;padding:15px;white-space:normal}
.tool-app-system{font-size:12px;line-height:1.7;color:#606b78;margin:16px 0 0}.tool-app-system span{font-weight:650;color:#cf405a}
.tool-header .button.small{font-size:14px;gap:8px;padding:12px 18px;white-space:normal;text-align:center;justify-content:center}
@media(max-width:900px){.tool-content-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.tool-app-card{padding:24px}.tool-app-card h2{font-size:25px}}
@media(max-width:720px){.tool-content-grid{grid-template-columns:minmax(0,1fr);gap:24px}.tool-header-actions{flex-direction:row;align-items:center}.tool-header{flex-wrap:wrap;align-items:center}.tool-header-actions{flex-wrap:wrap;justify-content:flex-end;flex:1}.tool-header .button.small{font-size:13px;padding:10px 14px}.tool-intro{margin-top:26px}.tool-content-grid .tool-editor textarea{min-height:250px}.tool-app-card{padding:28px}.tool-app-card h2{max-width:500px;font-size:28px}.tool-app-card>img{width:48px;height:48px;margin-bottom:20px}.tool-details{margin-bottom:28px}}
@media(max-width:420px){.tool-header{gap:12px}.tool-header-actions{display:contents}.tool-header .locale-picker{margin-inline-start:auto}.tool-header .button.small{width:100%;font-size:15px}}
/* Recording feedback stays beside the tapped control on narrow screens. */
.speech-tool-page .tool-toolbar .tool-notice{flex-basis:100%;padding:0;margin:0;font-size:14px;line-height:1.65;color:#a12b43;overflow-wrap:anywhere;scroll-margin-block:16px}
.speech-tool-page #record[data-state=starting]{background:#eaf1fc;border-color:#c9daf5;color:#155dcc;box-shadow:none}

/* Provisional words can change; finalized words retain the normal text color. */
.speech-tool-page .tool-editor [hidden]{display:none!important}
.tool-live-transcript{box-sizing:border-box;width:100%;min-height:310px;max-height:440px;overflow:auto;padding:20px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#252b30;background:#fff;font:inherit;font-size:19px;line-height:1.7}
.tool-live-transcript .tool-partial{color:#747b84}
.tool-live-transcript:focus-visible{outline:2px solid #1968e5;outline-offset:3px}
.tool-details{display:block;margin-bottom:28px}
.tool-privacy{border-top:1px solid #e2e7ee;padding-top:26px;margin-bottom:72px;color:#606b78;font-size:15px;line-height:1.8}
.tool-privacy h2{font-size:20px;line-height:1.4;letter-spacing:-.02em;color:#252b30;margin:0 0 12px}
.tool-privacy p{max-width:900px;margin:0}.tool-privacy a{color:#1968e5}
@media(max-width:900px){.tool-live-transcript{min-height:260px}}
@media(max-width:720px){.tool-live-transcript{font-size:18px;min-height:220px;max-height:360px}.tool-privacy{margin-bottom:44px;padding-top:22px}}
