/* SpeakScribe editorial system. Outfit is bundled under the SIL OFL. */
@font-face {
  font-family: "Outfit";
  src: url("outfit-latin-v15.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #131510;
  --paper: #ffffff;
  --yellow: #f5df4d;
  --text: #20251c;
  --muted: #555e50;
  --line: #d5d9ce;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.6 var(--font); }
h1, h2, h3, .site-brand { font-family: var(--font-display); }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button, input):focus-visible { outline: 3px solid #3053cb; outline-offset: 5px; }
.site-header :focus-visible, .hero-editorial :focus-visible, .site-footer :focus-visible, .docs-footer :focus-visible { outline-color: var(--yellow); }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 18px; background: var(--yellow); color: var(--ink); border-radius: 4px; font-size: 16px; }
.skip-link:focus { transform: translateY(0); }
.section-shell, .site-nav { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: var(--ink); color: white; border-bottom: 1px solid #35372e; }
.site-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 96px; gap: 32px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 600; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: grid; flex-shrink: 0; width: 36px; height: 40px; place-items: center; border-radius: 10px; background: var(--yellow); color: var(--ink); }
.brand-period { color: var(--yellow); }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px 25px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: #e0e1d9; font-size: 15px; text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta, .button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 54px; padding: 13px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.nav-cta { min-height: 48px; padding: 11px 23px; background: var(--yellow); color: var(--ink); font-size: 15px; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button:not(.is-disabled):hover, .nav-cta:hover { transform: translateY(-2px); }
.button-primary:hover, .nav-cta:hover { background: #fff07b; }
.button-dark:hover { background: #30372a; }
.text-link, .hero-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 16px; font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.eyebrow { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h2 { margin: 0; font-size: clamp(42px, 4.5vw, 64px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
h2 em { font-style: normal; font-weight: 300; }
h3 { margin: 0 0 12px; font-size: 27px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
p { margin: 0; }
.hero-editorial { position: relative; isolation: isolate; background: var(--ink); color: white; overflow: clip; }
.hero-photo { position: absolute; inset: 0 0 0 28%; z-index: -1; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #131510 0%, rgba(19,21,16,.92) 24%, rgba(19,21,16,.68) 40%, rgba(19,21,16,.05) 70%); }
.hero-layout { position: relative; display: flex; align-items: center; min-height: 735px; padding-block: 88px 115px; }
.hero-copy { width: min(620px, 57%); }
.hero-copy .eyebrow { color: var(--yellow); font-weight: 400; }
.hero-copy h1 { margin: 25px 0; color: white; font-size: clamp(66px, 7.7vw, 110px); font-weight: 300; line-height: 1.03; letter-spacing: -.05em; }
.hero-copy h1 strong { color: var(--yellow); font-weight: 600; }
.hero-copy > p { max-width: 420px; color: #e0e1d9; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }
.hero-copy > .hero-footnote { margin-top: 22px; font-size: 14px; color: #c3c5ba; }
.hero-note { position: absolute; right: 0; bottom: 48px; width: min(360px, 35%); padding: 24px 26px; border: 1px solid #555748; border-radius: 8px; background: #20241c; box-shadow: 0 18px 60px #0004; color: #f7f8f2; }
.hero-note > div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.example-label { margin-left: auto; color: #c3c5ba; }
.hero-note p { margin: 18px 0 13px; font-size: 24px; line-height: 1.35; font-weight: 300; }
.note-caption { font-size: 14px; color: #c3c5ba; }
.context-strip { border-bottom: 1px solid var(--line); background: #f4f5ef; }
.context-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 30px; }
.context-inner p { color: var(--muted); font-size: 15px; }
.context-inner ul { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 36px; padding: 0; margin: 0; list-style: none; }
.context-inner li { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.content-section { padding-block: 110px; }
.section-heading { margin-bottom: 64px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 70px; }
.split-heading > p { max-width: 440px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.feature-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 85px; }
.writing-example { margin: 0; padding: 30px; background: #f0f2e9; border-radius: 8px; }
.sample-topline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
.sample-topline > :first-child { letter-spacing: .06em; }
.spoken-line { padding: 28px 0; }
.spoken-line > span, .written-note > span { display: block; margin-bottom: 13px; font-size: 14px; color: var(--muted); }
.spoken-line p { font-size: 24px; font-weight: 300; line-height: 1.45; }
.written-note { padding: 28px; background: white; border-top: 4px solid #f5df4d; box-shadow: 0 16px 32px #20251c0a; }
.written-note p { font-size: 21px; line-height: 1.5; }
.written-note p + p { margin-top: 20px; }
.writing-example figcaption { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.feature-list article { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 20px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.feature-list article:first-child { padding-top: 0; }
.feature-number { padding-top: 5px; color: #636c5e; font-size: 14px; }
.feature-list p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-footnotes { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature-footnotes p { color: var(--muted); font-size: 16px; }
.feature-footnotes strong { display: block; margin-bottom: 5px; color: var(--text); font-weight: 500; }
.engines-section { background: var(--yellow); }
.engines-section .split-heading > p { color: #42451f; }
.engine-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.engine-cards article { display: flex; flex-direction: column; padding: 40px; border: 1px solid #8a812f; border-radius: 8px; }
.engine-cards .engine-featured { background: var(--ink); border-color: var(--ink); color: white; }
.engine-tag { align-self: flex-start; font-size: 14px; font-weight: 400; }
.engine-cards h3 { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 38px 0 22px; font-size: 38px; font-weight: 400; }
.engine-cards h3 > span { font-size: 30px; }
.engine-cards p { font-size: 18px; line-height: 1.65; }
.engine-detail { margin-top: 18px; color: #42451f; }
.engine-featured .engine-detail { color: #c3c5ba; }
.engine-bottom { display: block; padding-top: 34px; margin-top: auto; font-size: 14px; font-weight: 500; }
.engine-featured .engine-bottom, .engine-featured .engine-tag { color: var(--yellow); }
.engine-disclosure { display: flex; justify-content: space-between; gap: 50px; align-items: center; margin-top: 30px; }
.engine-disclosure p { max-width: 750px; font-size: 14px; line-height: 1.65; color: #42451f; }
.engine-disclosure strong { font-weight: 500; }
.engine-disclosure a { flex-shrink: 0; }
.experience-section { background: var(--ink); color: white; }
.experience-section .eyebrow, .experience-section h2 em { color: var(--yellow); }
.experience-section .split-heading > p { color: #c3c5ba; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin: 0; padding: 0; list-style: none; }
.steps-grid li { border-top: 1px solid #545b4b; padding-top: 30px; }
.steps-grid li > span { display: block; margin-bottom: 35px; font-size: 65px; line-height: 1; font-weight: 300; color: var(--yellow); letter-spacing: -.06em; }
.steps-grid p { color: #c3c5ba; font-size: 17px; line-height: 1.65; }
.pricing-section { background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.price-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid #a7ae9d; border-radius: 8px; }
.free-plan { background: #f3f5ec; border-color: #677253; }
.plan-name { font-size: 17px; font-weight: 500; }
.site-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.site-price strong { font-size: 55px; font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.site-price span { font-size: 14px; color: var(--muted); }
.price-card > p { margin-top: 22px; color: var(--muted); font-size: 16px; }
.plan-features { padding: 0; margin: 27px 0 32px; list-style: none; }
.plan-features li { position: relative; margin-bottom: 13px; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.plan-features li::before { position: absolute; left: 0; content: "✓"; font-size: 14px; }
.plan-features strong { font-weight: 500; }
.full-button { width: 100%; margin-top: auto; }
.button.is-disabled { background: #eaede5; border: 1px solid #c1c8b8; color: #59604f; cursor: not-allowed; }
.purchase-help { max-width: 1000px; margin: 28px auto 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.purchase-help strong { color: var(--text); font-weight: 500; }
.purchase-help a { color: #35491b; }
.final-cta { background: var(--yellow); padding-block: 75px; }
.final-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; }
.final-inner h2 { font-size: clamp(42px, 5.3vw, 76px); }
.final-inner p { margin-top: 25px; max-width: 580px; }
.site-footer { background: var(--ink); color: white; padding-block: 60px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; align-items: center; }
.site-footer .site-brand { font-size: 37px; }
.footer-inner > p { grid-row: 2; font-size: 16px; color: #c3c5ba; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #e0e1d9; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.footer-inner small { font-size: 14px; color: #b3baaa; text-align: right; }

/* Same editorial identity, with conservative credential-handling markup. */
.docs-page { background: #f2f4ec; }
.docs-header { background: var(--ink); color: white; padding-block: 25px; }
.docs-header .section-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.docs-header a:not(.site-brand) { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.docs-header :focus-visible { outline-color: var(--yellow); }
.container { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 50px 0 80px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 22px; font-size: 16px; }
.back-link::before { content: "←"; margin-right: 10px; }
.panel, .policy-panel { padding: clamp(24px, 5vw, 60px); background: white; border: 1px solid var(--line); border-top: 5px solid var(--yellow); border-radius: 6px; }
.docs-page h1 { margin: 0 0 25px; font-size: clamp(40px, 6vw, 66px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.docs-page .lede { margin: 0 0 30px; font-size: 19px; color: var(--muted); }
.last-updated { margin-bottom: 40px; color: var(--muted); font-size: 15px; }
.policy-panel h2 { margin: 42px 0 16px; font-size: 27px; font-weight: 500; }
.policy-panel h2:first-of-type { margin-top: 0; }
.policy-panel p { margin: 0 0 20px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.policy-panel strong { color: var(--text); font-weight: 500; }
.policy-panel a, .support a, .notice a { color: #304817; overflow-wrap: anywhere; }
.key-panel { margin-bottom: 28px; padding: 22px; background: #f2f4ec; border: 1px solid #b5bea6; border-radius: 6px; }
.key-label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.key-row { display: flex; gap: 12px; }
.key-value { flex: 1; width: 100%; min-width: 0; padding: 14px; background: white; border: 1px solid #7a846e; border-radius: 4px; color: var(--text); font: 400 15px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-btn { min-width: 110px; min-height: 48px; padding: 12px 20px; background: var(--yellow); color: var(--ink); border: 1px solid #8a812f; border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer; }
.copy-btn:disabled { background: #eaede5; color: #59604f; border-color: #c1c8b8; cursor: not-allowed; }
.copy-status { min-height: 24px; margin-top: 10px; color: #2d601d; font-size: 15px; }
.notice { margin-bottom: 26px; padding: 20px 22px; background: #fbf4c6; border-left: 3px solid #8a812f; font-size: 16px; line-height: 1.7; color: #45411e; }
.steps { display: grid; margin: 32px 0; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-number { font-size: 30px; font-weight: 300; line-height: 1.2; color: #64704e; }
.step h2 { font-size: 22px; letter-spacing: -.02em; font-weight: 500; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 17px; }
.support { color: var(--muted); font-size: 15px; line-height: 1.75; }
.docs-footer { padding-block: 30px; background: var(--ink); color: #c3c5ba; font-size: 15px; }
.docs-footer .section-shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.docs-footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1100px) {
  .hero-copy h1 { font-size: 84px; }
  .hero-note { width: 31%; }
  .hero-actions { gap: 12px 24px; }
  .split-heading, .feature-story, .feature-footnotes { gap: 45px; }
  .price-card { padding: 25px; }
  .site-price strong { font-size: 48px; }
  .nav-links { gap: 8px 18px; }
}
@media (max-width: 900px) {
  .section-shell, .site-nav { width: calc(100% - 48px); }
  .site-nav { grid-template-columns: 1fr auto; min-height: 78px; gap: 10px 20px; padding-block: 18px; }
  .nav-links { grid-column: 1 / -1; order: 3; justify-content: flex-start; }
  .nav-links a { min-height: 36px; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .split-heading > p { max-width: 640px; }
  .feature-story { gap: 35px; }
  .engine-cards article { padding: 30px; }
  .engine-cards h3 { font-size: 30px; }
  .engine-disclosure { align-items: flex-start; gap: 20px; flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 32px; }
  .context-inner { flex-direction: column; gap: 15px; }
  .context-inner ul { justify-content: center; }
  .final-inner { grid-template-columns: 1fr; gap: 30px; }
  .final-inner > a { justify-self: start; }
}
@media (max-width: 800px) {
  .hero-layout { min-height: 0; padding-block: 55px 45px; display: block; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(52px, 10vw, 80px); }
  .hero-copy > p { max-width: 540px; }
  .hero-actions { gap: 14px 24px; }
  .hero-photo { position: relative; inset: auto; height: 380px; }
  .hero-photo img { object-position: 60% 43%; }
  .hero-photo::after { background: linear-gradient(0deg, #131510, transparent 45%); }
  .hero-editorial { display: flex; flex-direction: column-reverse; }
  .hero-note { position: relative; width: min(440px, 100%); right: auto; bottom: auto; margin-top: 35px; }
  .content-section { padding-block: 75px; }
  .section-heading { margin-bottom: 42px; }
  .feature-story, .feature-footnotes, .engine-cards, .steps-grid { grid-template-columns: 1fr; }
  .feature-footnotes { margin-top: 35px; gap: 25px; }
  .feature-list article:first-child { padding-top: 10px; }
  .steps-grid { gap: 35px; }
  .steps-grid li > span { margin-bottom: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-inner small { text-align: left; }
}
@media (max-width: 480px) {
  .section-shell, .site-nav { width: calc(100% - 40px); }
  .site-brand { font-size: 21px; }
  .site-nav { grid-template-columns: 1fr; }
  .nav-cta { justify-self: start; order: 4; }
  .nav-links { gap: 6px 21px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-copy > p { font-size: 18px; }
  .hero-photo { height: 320px; }
  .hero-note { padding: 22px; }
  .context-inner { align-items: flex-start; }
  .context-inner ul { justify-content: flex-start; gap: 8px 24px; }
  .context-inner li { font-size: 20px; }
  .writing-example, .written-note, .engine-cards article, .price-card { padding: 24px; }
  .spoken-line p { font-size: 22px; }
  .feature-list article { gap: 12px; }
  .final-cta { padding-block: 60px; }
  .container { width: calc(100% - 32px); padding-top: 28px; }
  .docs-header .section-shell { align-items: flex-start; flex-direction: column; gap: 5px; }
  .key-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
