/* AI&I Tech Scout engine: dark-first glass board, indigo / purple / pink accents. */
:root {
  --indigo: #6366f1;
  --purple: #a855f7;
  --indigo-soft: #818cf8;
  --purple-soft: #c084fc;
  --pink: #f472b6;
  --bg: #090a1a;
  --ink: #eef0ff;
  --ink-soft: #cfd3f5;
  --muted: #aab0dd;
  --panel: #14162f;
  --panel-glass: rgba(20, 22, 47, 0.66);
  --panel-2: #1b1e3d;
  --line: rgba(160, 166, 255, 0.22);
  --field: #0f1128;
  --accent-text: #c4b5fd;
  --link: #a5b4fc;
  --bubble-user: #3730a3;
  --bubble-user-ink: #ffffff;
  --bubble-bot: #1b1e3d;
  --coral: #ff9b8a;
  --nav-glass: rgba(9, 10, 26, 0.72);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --scroll-thumb: rgba(165, 180, 252, 0.55);
  --glow-1: rgba(99, 102, 241, 0.55);
  --glow-2: rgba(168, 85, 247, 0.45);
  --glow-3: rgba(244, 114, 182, 0.35);
  --head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 1.1rem;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f4ff;
  --ink: #17143a;
  --ink-soft: #322d63;
  --muted: #4f4a7d;
  --panel: #ffffff;
  --panel-glass: rgba(255, 255, 255, 0.78);
  --panel-2: #f1efff;
  --line: rgba(79, 70, 229, 0.2);
  --field: #ffffff;
  --accent-text: #5b21b6;
  --link: #4338ca;
  --bubble-user: #4f46e5;
  --bubble-user-ink: #ffffff;
  --bubble-bot: #f1efff;
  --coral: #b4321f;
  --nav-glass: rgba(245, 244, 255, 0.78);
  --shadow: 0 10px 30px rgba(49, 46, 129, 0.12);
  --scroll-thumb: rgba(79, 70, 229, 0.45);
  --glow-1: rgba(99, 102, 241, 0.32);
  --glow-2: rgba(168, 85, 247, 0.26);
  --glow-3: rgba(244, 114, 182, 0.24);
  color-scheme: light;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-font-size="md"] { font-size: 112.5%; }
html[data-font-size="lg"] { font-size: 125%; }
html[data-font-size="xl"] { font-size: 137.5%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background-color: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1rem; line-height: 1.55;
  overflow-wrap: anywhere;
}
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 12% 8%, var(--glow-1), transparent 65%),
    radial-gradient(38rem 26rem at 88% 14%, var(--glow-2), transparent 65%),
    radial-gradient(36rem 26rem at 60% 100%, var(--glow-3), transparent 70%);
}
a { color: var(--link); text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 0.1875rem solid var(--purple-soft); outline-offset: 0.125rem; border-radius: 0.5rem; }
:root[data-theme="light"] :focus-visible { outline-color: var(--indigo); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 0.75rem; top: -3rem; z-index: 60; padding: 0.5rem 0.875rem; border-radius: 0.5rem; background: #4f46e5; color: #ffffff; text-decoration: none; }
.skip:focus { top: calc(0.75rem + env(safe-area-inset-top)); }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: var(--nav-glass); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); }
}
.nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.25rem; padding: 0.55rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-mark {
  flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background: #4f46e5; background: linear-gradient(135deg, #4f46e5, #7e22ce 55%, #be185d);
  color: #ffffff; font-family: var(--head); font-weight: 700; font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-size: 1rem; }
.brand-text span { font-size: 0.75rem; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; }
.nav-links a { padding: 0.35rem 0.7rem; border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.nav-links a:hover { background: var(--panel-2); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.prefs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }
.sizes { display: inline-flex; align-items: flex-end; gap: 0.125rem; padding: 0.1875rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.size-btn { min-width: 2rem; height: 2rem; padding: 0 0.375rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font-weight: 700; cursor: pointer; line-height: 1; }
.size-btn.s1 { font-size: 0.75rem; }
.size-btn.s2 { font-size: 0.875rem; }
.size-btn.s3 { font-size: 1rem; }
.size-btn.s4 { font-size: 1.15rem; }
.size-btn:hover { background: var(--panel-2); }
.size-btn[aria-pressed="true"] { background: #4f46e5; color: #ffffff; }
.theme-btn { display: inline-flex; align-items: center; gap: 0.375rem; height: 2.375rem; padding: 0 0.875rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; font-weight: 600; font-size: 0.875rem; }
.theme-btn:hover { background: var(--panel-2); }
.theme-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }

/* ---------- Hero (compact) ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.55rem; padding: 1.1rem 1rem 1rem; }
.chip { margin: 0; padding: 0.2rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: var(--panel); border: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; color: var(--ink); }
.grad { color: #c084fc; background: linear-gradient(90deg, #818cf8, #c084fc 50%, #f472b6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root[data-theme="light"] .grad { color: #6d28d9; background: linear-gradient(90deg, #4338ca, #7e22ce 55%, #be185d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subline { margin: 0; max-width: 46rem; font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.br-wide { display: none; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.chip-link { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.3rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.875rem; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.chip-link:hover { border-color: var(--purple-soft); }

/* ---------- Board ---------- */
.board {
  width: min(100% - 2rem, 83.75rem); margin: 0 auto 2rem;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; align-items: start;
}
.card {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.05rem 1rem 1rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .card { background: var(--panel-glass); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #6366f1; }
.chat-card::before { background: linear-gradient(90deg, #6366f1, #a855f7, #f472b6); }
.match-card::before { background: linear-gradient(90deg, #a855f7, #f472b6); }
.short-card::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.detail-card::before { background: linear-gradient(90deg, #f472b6, #c084fc); }
.card h2 { font-size: 1.15rem; color: var(--ink); }

/* Chat card */
.chat-card { text-align: left; container-type: inline-size; container-name: chat; }
@container chat (max-width: 22rem) {
  .pill-btn { width: 2.375rem; padding: 0; }
  .pill-btn .full-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.chat-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.chat-titles { min-width: 0; flex: 1 1 12rem; }
.sub { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.875rem; }
.chat-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; flex: 1 1 100%; }
.icon-btn, .pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; height: 2.375rem; min-width: 2.375rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); cursor: pointer;
}
.pill-btn { padding: 0 0.85rem; font-weight: 600; font-size: 0.85rem; }
.icon-btn svg, .pill-btn svg, .mic-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn:hover:not(:disabled), .pill-btn:hover { border-color: var(--purple-soft); }
.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pill-btn[aria-pressed="true"] { background: #4f46e5; color: #ffffff; border-color: #4f46e5; }
.count-chip { margin: 0 auto 0 0; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); background: var(--panel-2); border: 1px solid var(--line); }
.log {
  flex: 1 1 auto; min-height: 9rem; max-height: 26rem; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.6rem; padding: 0.25rem 0.35rem 0.25rem 0;
  scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent;
}
.scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
.log::-webkit-scrollbar, .scroll::-webkit-scrollbar { width: 0.45rem; }
.log::-webkit-scrollbar-thumb, .scroll::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; }
.msg { flex: none; max-width: 92%; padding: 0.6rem 0.85rem; border-radius: 1rem; font-size: 0.95rem; }
.msg p { margin: 0 0 0.5rem; }
.msg p:last-child, .msg ul:last-child { margin-bottom: 0; }
.msg ul { margin: 0 0 0.5rem; padding-left: 1.2rem; }
.msg li { margin: 0.15rem 0; }
.msg.user { align-self: flex-end; background: var(--bubble-user); color: var(--bubble-user-ink); border-bottom-right-radius: 0.3rem; white-space: pre-wrap; }
.msg.bot { align-self: flex-start; background: var(--bubble-bot); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 0.3rem; }
.msg.bot a { color: var(--link); }
.msg .next-line { font-weight: 600; }
.msg.error { align-self: flex-start; background: transparent; border: 1px solid var(--coral); color: var(--coral); }
.msg.thinking { display: flex; flex-direction: column; gap: 0.35rem; }
.dots { display: inline-flex; gap: 0.35rem; padding: 0.2rem 0; }
.dots span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #a855f7; animation: pulse 1.2s infinite ease-in-out; }
.dots span:nth-child(1) { background: #818cf8; }
.dots span:nth-child(3) { background: #f472b6; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse { 0%, 80%, 100% { opacity: 0.35; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.1); } }
.wait-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.composer { display: flex; flex-direction: column; gap: 0.4rem; container-type: inline-size; }
.composer-row { display: flex; flex-direction: column; gap: 0.5rem; }
.composer textarea {
  width: 100%; min-width: 0; min-height: 2.75rem; max-height: 8rem; resize: none; overflow-y: hidden;
  padding: 0.65rem 0.9rem; border-radius: 1.1rem; border: 1.5px solid var(--line); background: var(--field); color: var(--ink);
  font: inherit; line-height: 1.4;
}
.composer textarea::placeholder { color: var(--muted); opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer textarea { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
.composer textarea::-webkit-scrollbar { width: 0.45rem; }
.composer textarea::-webkit-scrollbar-button { display: none; height: 0; }
.composer textarea::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; }
.composer textarea:focus { outline: none; border-color: var(--purple-soft); box-shadow: 0 0 0 0.1875rem rgba(168, 85, 247, 0.25); }
.composer-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.mic-btn { flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); cursor: pointer; }
.mic-btn[hidden] { display: none; }
.mic-btn[aria-pressed="true"] { background: #db2777; border-color: #db2777; color: #ffffff; box-shadow: 0 0 0 0.25rem rgba(244, 114, 182, 0.3); }
.send-btn {
  flex: none; height: 2.75rem; min-width: 5rem; padding: 0 1.2rem; border-radius: 999px; border: 0; cursor: pointer;
  background: #4f46e5; background: linear-gradient(135deg, #4f46e5, #7e22ce); color: #ffffff; font-weight: 700;
}
.send-btn:disabled { opacity: 0.6; cursor: progress; }
@container (min-width: 18.5rem) {
  .composer-row { flex-direction: row; align-items: flex-end; }
  .composer-row textarea { flex: 1 1 auto; }
}
.listening { margin: 0; font-size: 0.85rem; color: var(--muted); }
.error { margin: 0; font-size: 0.85rem; color: var(--coral); font-weight: 600; }
.listening[hidden], .error[hidden] { display: none; }
.note { margin: 0; font-size: 0.78rem; color: var(--muted); }

/* Full page chat */
.chat-card.is-full {
  position: fixed; z-index: 50;
  top: calc(0.75rem + env(safe-area-inset-top)); bottom: calc(0.75rem + env(safe-area-inset-bottom));
  left: calc(0.75rem + env(safe-area-inset-left)); right: calc(0.75rem + env(safe-area-inset-right));
  width: auto; max-width: 64rem; margin: 0 auto; background: var(--panel);
}
.chat-card.is-full .log { max-height: none; }
.chat-placeholder { visibility: hidden; }
body.chat-full { overflow: hidden; }
.full-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(5, 6, 16, 0.6); }
:root[data-theme="light"] .full-scrim { background: rgba(23, 20, 58, 0.35); }

/* Top match */
.pill { align-self: flex-start; margin: 0; padding: 0.15rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--panel-2); color: var(--accent-text); border: 1px solid var(--line); }
.tile { border-radius: 0.9rem; padding: 0.9rem 1rem; background: #4338ca; background: linear-gradient(135deg, #4338ca, #7e22ce 60%, #be185d); color: #ffffff; }
.tile-kind { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; opacity: 0.92; }
.tile-title { margin: 0.2rem 0 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: #ffffff; }
.fit { display: flex; flex-direction: column; gap: 0.2rem; }
.fit-score { margin: 0; font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.fit-of { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 0.2rem; }
.fit-why { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-height: 9rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }

/* Shortlist */
.short-head { position: relative; display: flex; align-items: center; gap: 0.75rem; }
.gauge { width: 3rem; height: 3rem; flex: none; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 5; }
.gauge-track { stroke: var(--panel-2); }
.gauge-fill { stroke: #a855f7; stroke-linecap: round; transition: stroke-dasharray 0.5s ease; }
.gauge-num { position: absolute; left: 0; top: 50%; width: 3rem; transform: translateY(-50%); text-align: center; font-family: var(--head); font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.rank-note { margin: 0.1rem 0 0; font-size: 0.8rem; color: var(--muted); }
.short-list { list-style: none; margin: 0; padding: 0 0.25rem 0 0; display: flex; flex-direction: column; gap: 0.4rem; max-height: 18rem; }
.short-list li { flex: none; }
.short-list .empty { color: var(--muted); font-size: 0.9rem; }
.short-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; text-align: left;
  padding: 0.55rem 0.7rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); cursor: pointer;
}
.short-item:hover { border-color: var(--purple-soft); }
.short-item[aria-current="true"] { border-color: var(--purple-soft); box-shadow: inset 0 0 0 1px var(--purple-soft); }
.short-item .t { min-width: 0; font-weight: 600; font-size: 0.9rem; }
.score-pill { flex: none; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: #4f46e5; color: #ffffff; }

/* Details */
.detail-name { margin: 0; font-weight: 600; color: var(--ink-soft); }
.fields { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; max-height: 16rem; padding-right: 0.25rem; }
.fields:empty { display: none; }
.field { flex: none; padding: 0.45rem 0.65rem; border-radius: 0.7rem; background: var(--panel-2); border: 1px solid var(--line); }
.field dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field dd { margin: 0.1rem 0 0; font-size: 0.9rem; color: var(--ink); }
.guide-link { align-self: flex-start; font-weight: 600; font-size: 0.9rem; }
.guide-link[hidden] { display: none; }
.next { flex: none; padding: 0.7rem 0.8rem; border-radius: 0.8rem; background: var(--panel-2); border: 1px solid var(--line); }
.next h3 { font-size: 0.95rem; color: var(--accent-text); margin-bottom: 0.2rem; }
.next p { margin: 0; font-size: 0.9rem; color: var(--ink); }

/* Footer */
.footer { padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer p { margin: 0.2rem 0; }
.page-notes { max-width: 52rem; margin: 0 auto 0.6rem !important; }
.footer strong { color: var(--ink-soft); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.5rem; }

@media (max-width: 699px) {
  .nav-row { gap: 0.4rem 0.6rem; padding: 0.45rem 0.75rem; }
  .nav-links a { padding: 0.3rem 0.55rem; font-size: 0.85rem; }
}

/* ---------- Tablet: 3 columns, chat across the top ---------- */
@media (min-width: 700px) {
  .board { width: min(100% - 3rem, 83.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chat-card { grid-column: 1 / -1; grid-row: 1; }
  .match-card { grid-column: 1; grid-row: 2; }
  .short-card { grid-column: 2; grid-row: 2; }
  .detail-card { grid-column: 3; grid-row: 2; }
  .nav-row { justify-content: center; }
  .br-wide { display: inline; }
}

/* ---------- Desktop: 4 columns ---------- */
@media (min-width: 1100px) {
  .board {
    width: min(100% - 3rem, clamp(56.25rem, 66vw, 83.75rem));
    grid-template-columns: 1.36fr 1.06fr 0.98fr 0.98fr;
  }
  .chat-card { grid-column: 1; grid-row: 1; height: clamp(22rem, 100svh - 21rem, 38rem); }
  .chat-card.is-full { height: auto; }
  .chat-card .log { max-height: none; min-height: 0; }
  .match-card { grid-column: 2; grid-row: 1; }
  .short-card { grid-column: 3; grid-row: 1; }
  .detail-card { grid-column: 4; grid-row: 1; }
}

/* Short desktop windows: tighter hero so the whole board fits */
@media (min-width: 1100px) and (max-height: 820px) {
  .hero { gap: 0.4rem; padding: 0.6rem 1rem 0.7rem; }
  .hero h1 { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.3rem); }
  .subline { font-size: 0.92rem; }
  .chip-link { min-height: 2rem; padding: 0.2rem 0.8rem; }
  .card { padding-top: 0.9rem; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dots span { animation: none; opacity: 1; transform: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}
