:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #eef2f1;
  --text: #17201d;
  --muted: #66716d;
  --line: #dfe5e2;
  --line-strong: #cbd4d0;
  --brand: #146b4e;
  --brand-strong: #0d573e;
  --brand-soft: #e2f2eb;
  --lime: #b9e76b;
  --shadow: 0 12px 30px rgba(25, 46, 38, 0.08);
  --font: Inter, "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111614;
  --surface: #18201d;
  --surface-2: #202a26;
  --text: #edf4f1;
  --muted: #9eaca6;
  --line: #2c3934;
  --line-strong: #3a4b44;
  --brand: #72d1ac;
  --brand-strong: #9be7c8;
  --brand-soft: #203b31;
  --lime: #b9e76b;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 19px; height: 19px; stroke-width: 1.8; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.topbar-inner { height: 72px; display: flex; align-items: center; gap: 42px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 210px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--brand-strong); border-radius: 6px; }
.brand-mark svg { width: 21px; height: 21px; }
.brand strong { display: block; font-size: 15px; line-height: 1.25; letter-spacing: 0; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.2; letter-spacing: 1.6px; }
.desktop-nav { display: flex; align-self: stretch; gap: 28px; }
.desktop-nav a { position: relative; display: flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--brand); }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-button { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.voice-button { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 15px; color: #fff; background: var(--brand-strong); border: 0; border-radius: 5px; font-weight: 700; cursor: pointer; }
.voice-button:hover { filter: brightness(1.08); }
.voice-button { text-decoration: none; }
.voice-button svg { width: 17px; height: 17px; }
.live-dot { width: 7px; height: 7px; flex: 0 0 auto; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(185, 231, 107, 0.14); }
.mobile-menu-button, .mobile-nav { display: none; }

.intro-band { overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.intro-layout { min-height: 370px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr); align-items: center; gap: 76px; padding-top: 50px; padding-bottom: 50px; }
.intro-copy { max-width: 620px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
.eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: 0; }
.eyebrow > span { width: 22px; height: 2px; background: var(--brand); }
.intro-copy h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: 0; }
.intro-copy > p:not(.eyebrow) { max-width: 560px; margin: 20px 0 26px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13px; }
.intro-meta span { display: flex; align-items: center; gap: 7px; }
.intro-meta svg { width: 16px; height: 16px; color: var(--brand); }

.voice-panel { position: relative; padding: 26px; color: #eef9f4; background: #153e31; border: 1px solid #255745; border-radius: 7px; box-shadow: 0 20px 46px rgba(19, 62, 48, 0.2); }
.voice-panel::before { content: ""; position: absolute; top: 0; left: 26px; width: 48px; height: 3px; background: var(--lime); }
.voice-panel-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }
.voice-icon { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; }
.voice-panel-top p { margin: 0; color: #9fc1b4; font-size: 11px; }
.voice-panel-top h2 { margin: 1px 0 0; font-size: 17px; line-height: 1.4; letter-spacing: 0; }
.status-pill { display: flex; align-items: center; gap: 6px; padding: 4px 8px; color: #dff9b8; background: rgba(185, 231, 107, 0.1); border: 1px solid rgba(185, 231, 107, 0.22); border-radius: 999px; font-size: 10px; }
.status-pill span { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; }
.server-row { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 14px; padding: 14px 15px; background: rgba(3, 19, 14, 0.24); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; }
.server-row small { display: block; color: #87ad9f; font-size: 9px; letter-spacing: 1px; }
.server-row strong { display: block; margin-top: 2px; font-family: Consolas, monospace; font-size: 14px; letter-spacing: 0; }
.icon-button.subtle { color: #b9d6ca; background: transparent; border-color: rgba(255,255,255,.12); }
.icon-button.subtle:hover { background: rgba(255,255,255,.08); }
.connect-button { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #163528; background: var(--lime); border: 0; border-radius: 5px; font-weight: 800; cursor: pointer; }
.connect-button svg:last-child { width: 16px; margin-left: auto; }
.connect-button svg:first-child { margin-left: auto; }
.connect-button:hover { filter: brightness(1.04); }
.connect-button.disabled { opacity: .45; pointer-events: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions .primary-button, .hero-actions .secondary-button { min-width: 170px; padding: 0 18px; }
.portal-console { padding: 22px; color: #eaf6f1; background: #112b22; border: 1px solid #285443; border-radius: 7px; box-shadow: 0 22px 52px rgba(15, 48, 36, .22); }
.console-heading { display: flex; justify-content: space-between; padding-bottom: 14px; color: #7fa596; border-bottom: 1px solid rgba(255,255,255,.1); font: 700 9px/1.3 Consolas, monospace; letter-spacing: 1.2px; }
.console-status { display: flex; align-items: center; gap: 5px; color: var(--lime); }
.console-status svg { width: 12px; height: 12px; }
.console-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 2px; border-bottom: 1px solid rgba(255,255,255,.09); }
.console-route:last-child { border-bottom: 0; }
.console-route:hover .console-icon { color: #163528; background: var(--lime); }
.console-route > svg { width: 17px; color: #81a899; }
.console-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #b5d9cb; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; }
.console-route small, .console-route strong, .console-route em { display: block; }
.console-route small { color: #6f9486; font: 700 9px/1.4 Consolas, monospace; letter-spacing: 1px; }
.console-route strong { margin-top: 2px; font-size: 16px; }
.console-route em { color: #96b4a9; font-size: 11px; font-style: normal; }

.portal-band { padding: 72px 0 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-size: 28px; }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); }
.destination-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.destination-item { min-height: 190px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.destination-item:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.destination-number { align-self: start; color: var(--muted); font: 700 10px/1 Consolas, monospace; }
.destination-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--brand-strong); background: var(--brand-soft); border-radius: 6px; }
.destination-icon svg { width: 25px; height: 25px; }
.destination-copy small, .destination-copy strong, .destination-copy em { display: block; }
.destination-copy small { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.destination-copy strong { margin: 4px 0 2px; font-size: 21px; }
.destination-copy em { color: var(--muted); font-size: 12px; font-style: normal; }
.destination-item > svg { color: var(--muted); }

.page-banner { padding: 48px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-banner-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-banner h1 { margin: 0; font-size: 42px; line-height: 1.1; }
.page-banner-inner > p { margin: 0; color: var(--muted); }

.voice-page { min-height: calc(100vh - 154px); }
.voice-stage { min-height: 590px; display: flex; align-items: center; color: #edf7f3; background: #102a21; border-bottom: 1px solid #28483c; }
.voice-stage-layout { display: grid; grid-template-columns: 1fr minmax(390px, .8fr); align-items: center; gap: 90px; padding-top: 64px; padding-bottom: 64px; }
.voice-stage-copy { max-width: 620px; }
.voice-stage-copy h1 { margin: 0; font-size: 58px; line-height: 1.1; letter-spacing: 0; }
.voice-stage-copy > p:not(.eyebrow) { max-width: 500px; margin: 22px 0 28px; color: #a4bbb2; font-size: 16px; }
.voice-facts { display: flex; flex-wrap: wrap; gap: 18px; color: #a4bbb2; font-size: 12px; }
.voice-facts span { display: flex; align-items: center; gap: 7px; }
.voice-facts svg { width: 16px; color: var(--lime); }
.voice-connect-panel { padding: 26px; background: #173b2f; border: 1px solid #2b5a48; border-radius: 7px; box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.voice-connect-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.voice-connect-head small, .voice-connect-head strong { display: block; }
.voice-connect-head small { color: #8aafa1; font-size: 9px; letter-spacing: 1px; }
.voice-connect-head strong { font-size: 17px; }
.address-display { position: relative; margin: 26px 0 14px; padding: 16px 56px 16px 16px; background: rgba(3,19,14,.26); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; }
.address-display small, .address-display strong { display: block; }
.address-display small { color: #86aa9c; font-size: 9px; letter-spacing: 1px; }
.address-display strong { margin-top: 3px; overflow: hidden; font: 700 15px/1.4 Consolas, monospace; text-overflow: ellipsis; }
.address-display button { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); }
.nickname-field { display: block; margin-bottom: 14px; }
.nickname-field > span { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #9bb9ae; font-size: 10px; }
.nickname-field > span svg { width: 14px; height: 14px; }
.nickname-field input { width: 100%; height: 44px; padding: 0 13px; color: #edf7f3; background: rgba(3,19,14,.26); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; outline: 0; }
.nickname-field input::placeholder { color: #6f9184; }
.nickname-field input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(185,231,107,.12); }
.client-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; color: #87a99c; font-size: 10px; }
.client-row a { display: flex; align-items: center; gap: 5px; color: #d9f5e9; font-weight: 700; }
.client-row svg { width: 12px; height: 12px; }
.voice-details { background: var(--surface); border-bottom: 1px solid var(--line); }
.voice-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.voice-detail-grid > div { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 28px 34px; border-right: 1px solid var(--line); }
.voice-detail-grid > div:last-child { border-right: 0; }
.voice-detail-grid > div > svg { color: var(--brand); }
.voice-detail-grid small, .voice-detail-grid strong { display: block; }
.voice-detail-grid small { color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.voice-detail-grid strong { overflow: hidden; font-family: Consolas, monospace; font-size: 13px; text-overflow: ellipsis; }

.catalog-band { min-height: 600px; padding: 72px 0 90px; }
.catalog-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-kicker { margin-bottom: 7px; }
.catalog-header h2 { margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: 0; }
.catalog-header h2 span { display: inline-grid; place-items: center; min-width: 28px; height: 24px; margin-left: 7px; vertical-align: 4px; color: var(--brand-strong); background: var(--brand-soft); border-radius: 4px; font-size: 12px; }
.search-box { width: min(340px, 100%); height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.search-box svg { width: 18px; color: var(--muted); }
.search-box input { min-width: 0; flex: 1; padding: 0; color: var(--text); background: transparent; border: 0; outline: 0; }
.search-box input::placeholder { color: var(--muted); }
kbd { padding: 1px 6px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px; font-family: inherit; font-size: 11px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.filter-chip { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; cursor: pointer; }
.filter-chip span { color: var(--muted); font-size: 10px; }
.filter-chip:hover { color: var(--text); background: var(--surface); }
.filter-chip.active { color: #fff; background: var(--brand-strong); border-color: var(--brand-strong); }
.filter-chip.active span { color: #b8d8ca; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { min-width: 0; display: flex; flex-direction: column; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.tool-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #176247; background: #e3f2eb; border: 1px solid #cfe6dc; border-radius: 6px; }
.tool-icon svg { width: 23px; height: 23px; }
.tool-icon.blue { color: #245b96; background: #e8f0fa; border-color: #d5e2f2; }
.tool-icon.orange { color: #9c571d; background: #faeee2; border-color: #efdac5; }
.tool-icon.rose { color: #a23d5a; background: #f9e9ee; border-color: #efd4dc; }
.tool-icon.violet { color: #6b4a9b; background: #f0eafa; border-color: #dfd3f0; }
.tool-icon.cyan { color: #276f7b; background: #e4f2f3; border-color: #cce4e7; }
:root[data-theme="dark"] .tool-icon { background: var(--surface-2); border-color: var(--line); }
.tool-badges { display: flex; gap: 6px; }
.featured-badge, .category-badge { padding: 3px 8px; border-radius: 3px; font-size: 10px; }
.featured-badge { color: #79590d; background: #fff4cc; }
.category-badge { color: var(--muted); background: var(--surface-2); }
.tool-copy { min-height: 125px; padding-top: 18px; }
.tool-copy h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: 0; }
.tool-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.tool-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin: 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-meta div { min-width: 0; display: flex; justify-content: space-between; gap: 8px; }
.tool-meta dt, .tool-meta dd { margin: 0; font-size: 11px; white-space: nowrap; }
.tool-meta dt { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.tool-meta dt svg { width: 13px; height: 13px; }
.tool-meta dd { overflow: hidden; color: var(--text); text-overflow: ellipsis; }
.tool-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.checksum { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.checksum svg { width: 14px; height: 14px; color: var(--brand); }
.download-button { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: #fff; background: var(--brand-strong); border-radius: 4px; font-size: 12px; font-weight: 700; }
.download-button:hover { filter: brightness(1.08); }
.download-button svg { width: 15px; height: 15px; }
.download-button.unavailable { color: var(--muted); background: var(--surface-2); cursor: default; }
.download-button.unavailable:hover { filter: none; }
.empty-state { padding: 70px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 7px; }
.empty-state > svg { width: 32px; height: 32px; margin: 0 auto; color: var(--muted); }
.empty-state h3 { margin: 14px 0 3px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }
.empty-state button { padding: 8px 13px; color: var(--brand-strong); background: var(--brand-soft); border: 0; border-radius: 4px; cursor: pointer; }

.about-band { padding: 60px 0; background: var(--surface); border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 70px; }
.about-layout h2 { max-width: 490px; margin: 0; font-size: 25px; line-height: 1.45; letter-spacing: 0; }
.about-layout > p { margin: 0; color: var(--muted); }
.about-layout > a { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 13px; font-weight: 700; white-space: nowrap; }
.about-layout > a svg { width: 15px; height: 15px; }
footer { padding: 30px 0; background: #101815; color: #d7e1dd; }
.footer-inner { display: flex; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand svg { color: var(--lime); }
.footer-meta { display: grid; gap: 5px; }
.footer-inner p { margin: 0; color: #7f9189; font-size: 11px; }
.icp-link { width: fit-content; color: #9caea7; font-size: 11px; }
.icp-link:hover { color: #d7e1dd; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a, .footer-links button { padding: 0; color: #9caea7; background: none; border: 0; font-size: 11px; cursor: pointer; }

.voice-dialog { width: min(470px, calc(100% - 32px)); padding: 34px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 24px 80px rgba(0,0,0,.28); text-align: center; }
.voice-dialog::backdrop { background: rgba(8, 16, 13, .68); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 14px; }
.dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--brand-strong); background: var(--brand-soft); border-radius: 6px; }
.dialog-icon svg { width: 25px; height: 25px; }
.voice-dialog h2 { margin: 0 0 10px; font-size: 23px; letter-spacing: 0; }
.dialog-copy { margin: 0 auto 16px; color: var(--muted); font-size: 13px; }
.dialog-address { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; }
.dialog-address strong { font-family: Consolas, monospace; font-size: 13px; }
.dialog-warning { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 10px; color: #8c5f0b; background: #fff5d9; border: 1px solid #eedba8; border-radius: 4px; font-size: 11px; text-align: left; }
.dialog-warning[hidden] { display: none; }
.dialog-warning svg { width: 16px; flex: 0 0 auto; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; margin-top: 22px; }
.secondary-button, .primary-button { height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 4px; cursor: pointer; }
.secondary-button { background: var(--surface); border: 1px solid var(--line); }
.primary-button { color: #fff; background: var(--brand-strong); border: 0; font-weight: 700; }
.primary-button.disabled { opacity: .45; cursor: not-allowed; }
.primary-button svg { width: 16px; height: 16px; }
.voice-dialog > small { display: block; margin-top: 13px; color: var(--muted); font-size: 10px; }
.download-client-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--brand); font-size: 11px; font-weight: 700; }
.download-client-link:hover { text-decoration: underline; }
.download-client-link svg { width: 13px; height: 13px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 15px; color: #fff; background: #1c2924; border: 1px solid #34483f; border-radius: 5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 17px; color: var(--lime); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .mobile-nav { padding: 8px 24px 18px; background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-nav:not([hidden]) { display: grid; gap: 4px; }
  .mobile-nav a, .mobile-nav button { display: flex; align-items: center; gap: 8px; padding: 10px; background: transparent; border: 0; text-align: left; }
  .intro-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 44px; padding-bottom: 48px; }
  .intro-copy { max-width: 680px; }
  .voice-panel { max-width: 620px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .about-layout > a { grid-column: 1 / -1; }
  .voice-stage-layout { grid-template-columns: 1fr; gap: 40px; }
  .voice-connect-panel { max-width: 620px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar-inner { height: 64px; gap: 12px; }
  .brand { min-width: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand small { display: none; }
  .voice-button { width: 40px; padding: 0; justify-content: center; }
  .voice-button .live-dot, .voice-button span:last-child { display: none; }
  .intro-layout { min-height: auto; padding-top: 34px; padding-bottom: 36px; }
  .intro-copy h1 { font-size: 37px; }
  .intro-copy > p:not(.eyebrow) { margin: 15px 0 20px; font-size: 15px; }
  .intro-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .voice-panel { padding: 20px; }
  .voice-panel-top { grid-template-columns: auto 1fr; }
  .status-pill { display: none; }
  .server-row strong { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
  .catalog-band { padding: 52px 0 64px; }
  .catalog-header { align-items: stretch; flex-direction: column; gap: 20px; }
  .search-box { width: 100%; }
  .filter-row { flex-wrap: nowrap; margin-right: -14px; overflow-x: auto; padding-right: 14px; scrollbar-width: none; }
  .filter-chip { flex: 0 0 auto; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-copy { min-height: 0; padding-bottom: 18px; }
  .about-layout { grid-template-columns: 1fr; gap: 20px; }
  .about-layout > a { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-links { margin-left: 0; }
  .dialog-actions { grid-template-columns: 1fr; }
  .voice-dialog { padding: 28px 20px; }
  .toast { right: 14px; bottom: 14px; left: 14px; }
  .hero-actions { display: grid; }
  .portal-console { padding: 16px; }
  .portal-band { padding: 52px 0 64px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-item { min-height: 150px; grid-template-columns: auto 1fr auto; gap: 14px; padding: 20px; }
  .destination-number { display: none; }
  .destination-icon { width: 46px; height: 46px; }
  .page-banner { padding: 34px 0; }
  .page-banner-inner { align-items: start; flex-direction: column; gap: 10px; }
  .page-banner h1 { font-size: 36px; }
  .voice-stage { min-height: auto; }
  .voice-stage-layout { gap: 34px; padding-top: 46px; padding-bottom: 46px; }
  .voice-stage-copy h1 { font-size: 40px; }
  .voice-connect-panel { padding: 20px; }
  .voice-connect-head { grid-template-columns: auto 1fr; }
  .voice-connect-head .status-pill { display: none; }
  .client-row { align-items: start; flex-direction: column; gap: 5px; }
  .voice-detail-grid { grid-template-columns: 1fr; }
  .voice-detail-grid > div { padding: 20px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .voice-detail-grid > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
