/* Shared supporting pages for NUO NOTES. */
.about-page main, .speech-page main, .error-page main { padding-top: var(--header-h); }
.page-eyebrow, .speech-kicker, .speech-section__eyebrow { color: var(--accent); font: 12px/1.8 "IBM Plex Mono", monospace; letter-spacing: .06em; margin: 0 0 14px; }
.page-lead { font: 18px/1.95 "LXGW WenKai", "Noto Serif SC", serif; color: var(--ink-soft); }
.page-link { display: inline-block; color: var(--accent); font-size: 15px; line-height: 1.8; text-underline-offset: 6px; margin-top: 16px; }
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; max-width: 1200px; margin: auto; padding: 64px 32px 56px; }
.about-hero h1 { font: 600 clamp(36px, 4vw, 54px)/1.5 "Noto Serif SC", serif; margin: 0; letter-spacing: -.025em; }
.about-hero h1 em { color: var(--accent); font-style: normal; }
.about-hero figure { margin: 0; }
.about-hero img { width: 100%; height: auto; display: block; clip-path: polygon(1% 1%, 25% 0, 50% 1%, 75% 0, 99% 1%, 100% 98%, 76% 100%, 50% 99%, 25% 100%, 0 99%); }
.about-hero figcaption { color: var(--secondary); margin-top: 14px; font-size: 13px; line-height: 1.8; }
.about-section { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; max-width: 1120px; margin: auto; padding: 52px 32px; border-top: 1px solid var(--divider); scroll-margin-top: calc(var(--header-h) + 20px); }
.about-label h2 { font: 600 30px/1.6 "Noto Serif SC", serif; margin: 0; }
.about-detail { min-width: 0; color: var(--ink-soft); font: 18px/1.95 "Noto Serif SC", serif; }
.about-detail p { margin: 0 0 24px; }
.about-detail h3 { font-size: 21px; margin: 0 0 16px; color: var(--ink); }
.about-detail h3:not(:first-child) { margin-top: 32px; }
.about-detail strong { color: var(--ink); }
.about-email { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--accent); text-decoration: none; border-block: 1px solid var(--divider); padding: 20px 0; }
.about-email span { font: 14px/1.7 sans-serif; color: var(--secondary); }
.about-email strong { font: 600 clamp(22px, 2.2vw, 30px)/1.6 "Cormorant Garamond", serif; overflow-wrap: anywhere; }
.site-footer { padding: 32px max(22px, calc((100vw - 1120px)/2)); border-top: 1px solid var(--divider); background: var(--surface-tint); color: var(--ink); }
.site-footer strong { font: 600 26px "Cormorant Garamond", serif; }
.site-footer p { font-size: 15px; line-height: 1.8; color: var(--secondary); margin: 12px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0; }
.site-footer a { color: var(--accent); font-size: 14px; text-underline-offset: 4px; }
.site-footer small { color: var(--secondary); font-size: 12px; }

/* Speech project: retain the product explanation with the blog's palette. */
.speech-hero { padding: 56px 32px; max-width: 1200px; margin: auto; }
.speech-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.speech-hero h1 { margin: 0; font: 600 clamp(40px, 4.5vw, 60px)/1.4 "Noto Serif SC", serif; }
.speech-hero h1 span { color: var(--accent); }
.speech-hero__lead { font: 18px/1.95 "LXGW WenKai", serif; color: var(--ink-soft); margin: 20px 0; }
.speech-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.speech-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 18px; border: 1px solid var(--divider); color: var(--accent); font-size: 14px; line-height: 1.6; text-decoration: none; }
.speech-button--primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
[data-theme="dark"] .speech-button--primary { color: #0d1318; }
.speech-app { min-width: 0; border: 1px solid var(--divider); background: var(--surface); box-shadow: 0 16px 48px rgba(25,43,66,.08); }
.speech-app__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--divider); font-size: 13px; }
.speech-app__bar > span { margin-left: auto; color: var(--secondary); }
.speech-app__dots { display: flex; gap: 5px; }
.speech-app__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .55; }
.speech-app__body { display: flex; }
.speech-app__nav { display: none; }
.speech-app__main { width: 100%; padding: 22px; }
.speech-app__title { font-size: 18px; font-weight: 600; }
.speech-app__sub { font-size: 13px; color: var(--secondary); line-height: 1.8; margin-top: 8px; }
.speech-recorder { margin: 22px 0; padding: 22px 14px; text-align: center; background: var(--surface-tint); }
.speech-recorder__mic { display: none; }
.speech-wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 34px; margin-bottom: 14px; }
.speech-wave span { width: 3px; height: 16px; background: var(--accent); }
.speech-wave span:nth-child(2n) { height: 28px; }
.speech-wave span:nth-child(3n) { height: 8px; }
.speech-recorder__status { color: var(--accent); font-size: 15px; }
.speech-recorder__hint { font-size: 13px; color: var(--secondary); margin-top: 8px; }
.speech-output { font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.speech-section { max-width: 1200px; margin: auto; padding: 48px 32px; border-top: 1px solid var(--divider); scroll-margin-top: calc(var(--header-h) + 20px); }
.speech-section__head { max-width: 760px; margin-bottom: 28px; }
.speech-section h2 { font: 600 clamp(28px, 3vw, 36px)/1.6 "Noto Serif SC", serif; margin: 0 0 14px; }
.speech-section__head > p:not(.speech-section__eyebrow) { color: var(--secondary); font-size: 17px; line-height: 1.9; }
.speech-feature-grid, .speech-audience-grid, .speech-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.speech-feature, .speech-audience, .speech-use { padding-top: 22px; border-top: 2px solid var(--accent-soft); }
.speech-feature__icon, .speech-audience__icon, .speech-use__icon { display: none; }
.speech-section h3 { color: var(--ink); font: 600 21px/1.6 "Noto Serif SC", serif; margin: 0 0 12px; }
.speech-section article p { font-size: 16px; line-height: 1.9; color: var(--ink-soft); margin: 0; }
.speech-flow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.speech-flow__step { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--divider); }
.speech-flow__number { font: 24px "Cormorant Garamond", serif; color: var(--accent); }
.speech-flow__step span { font-size: 14px; color: var(--secondary); }
.speech-proof { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.speech-proof__item { display: grid; gap: 8px; padding: 18px 0; border-block: 1px solid var(--divider); }
.speech-proof strong { color: var(--accent); font: 600 30px "Cormorant Garamond", serif; }
.speech-proof span { font-size: 14px; color: var(--secondary); }
.speech-github { margin-top: 38px; display: flex; gap: 32px; align-items: center; }
.speech-github > div { flex: 1; min-width: 0; }
.speech-github p { font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.speech-github code { overflow-wrap: anywhere; font-size: 14px; }
.error-content { max-width: 820px; min-height: 55vh; padding: 80px 24px; margin: auto; }
.error-content h1 { font: 600 clamp(32px,5vw,52px)/1.5 "Noto Serif SC",serif; }
@media(max-width:859px) {
  .about-hero, .speech-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .about-hero { padding: 36px 22px; }
  .about-hero figure { max-width: 560px; }
  .about-section { grid-template-columns: 1fr; gap: 20px; padding: 36px 22px; }
  .about-detail { font-size: 17px; }
  .speech-hero, .speech-section { padding: 36px 22px; }
  .speech-feature-grid, .speech-audience-grid, .speech-use-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .speech-flow, .speech-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .speech-github { flex-direction: column; align-items: start; gap: 12px; }
}
@media(max-width:560px) {
  .speech-feature-grid, .speech-audience-grid, .speech-use-grid { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 34px; }
  .speech-hero h1 { font-size: 40px; }
  .speech-hero__lead { font-size: 17px; }
  .speech-section h2 { font-size: 27px; }
  .speech-section { padding-inline: 18px; }
  .speech-app__main { padding: 18px; }
  .speech-app__bar { gap: 8px; padding: 12px; }
}
