/* ============================================================
   QuickFind official site — design system (R15, from scratch)
   品牌色取自桌面端：emerald #10b981 → cyan #22d3ee
   ============================================================ */
:root {
  --brand-1: #10b981;
  --brand-2: #22d3ee;
  --brand-grad: linear-gradient(135deg, #10b981 0%, #22d3ee 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(16,185,129,.12), rgba(34,211,238,.10));
  --ink-900: #0b1220;
  --ink-800: #0f172a;
  --ink-700: #1e293b;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-card: #ffffff;
  --border: #e5eaf1;
  --text: #0f172a;
  --text-muted: #5b6675;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 8px 24px -8px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -18px rgba(15,23,42,.28);
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --header-h: 64px;
}
html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-soft: #0d1526;
  --bg-card: #131d31;
  --border: #22304a;
  --text: #e6edf7;
  --text-muted: #9fb0c6;
  --ink-50: #16213a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,.55);
  --shadow-lg: 0 24px 60px -18px rgba(0,0,0,.7);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--brand-1); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-grad); display: grid; place-items: center; box-shadow: 0 4px 12px -3px rgba(16,185,129,.5); flex: none; }
.brand .logo-mark svg { width: 19px; height: 19px; fill: #fff; }
.brand small { font-weight: 600; font-size: 11px; color: var(--text-muted); display: block; line-height: 1.1; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 7px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-muted); transition: .15s; }
.main-nav a:hover { color: var(--text); background: var(--ink-50); }
.main-nav a.active { color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 12%, transparent); font-weight: 700; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-select, .theme-btn {
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  border-radius: 9px; padding: 7px 10px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
}
.lang-select:hover, .theme-btn:hover { border-color: var(--brand-1); }
.theme-btn { width: 36px; justify-content: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 9px; width: 38px; height: 36px; color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 11px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-grad); color: #06281f; box-shadow: 0 8px 22px -8px rgba(16,185,129,.55); }
.btn-primary:hover { box-shadow: 0 10px 28px -6px rgba(16,185,129,.65); }
.btn-ghost { background: var(--bg-card); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); }
.btn-dark { background: rgba(255,255,255,.10); color: #eaf4ff; border-color: rgba(255,255,255,.22); }
.btn-dark:hover { background: rgba(255,255,255,.18); }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 72% -8%, #12324a 0%, transparent 60%), radial-gradient(800px 480px at 8% 10%, rgba(16,185,129,.16) 0%, transparent 55%), linear-gradient(180deg, #0b1220, #0d1626 72%, var(--bg) 100%); color: #e8f1fb; padding: 84px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #9fe8d4; border: 1px solid rgba(16,185,129,.35); background: rgba(16,185,129,.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.14; margin: 0 0 18px; letter-spacing: -.02em; font-weight: 800; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17.5px; color: #b6c6da; max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; color: #8ea3bd; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; fill: var(--brand-1); }

/* product mock (pure HTML/CSS) */
.mock { background: #0f1a2e; border: 1px solid rgba(148,178,214,.18); border-radius: 16px; box-shadow: 0 30px 70px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(148,178,214,.14); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3d58; display: block; }
.mock-bar i:nth-child(1){ background: #ff5f57; } .mock-bar i:nth-child(2){ background: #febc2e; } .mock-bar i:nth-child(3){ background: #28c840; }
.mock-bar span { margin-left: 8px; font-size: 12px; color: #7186a3; }
.mock-search { margin: 16px 16px 10px; display: flex; align-items: center; gap: 10px; background: #0a1322; border: 1px solid rgba(34,211,238,.35); border-radius: 11px; padding: 11px 14px; box-shadow: 0 0 0 3px rgba(34,211,238,.10); }
.mock-search svg { width: 17px; height: 17px; fill: #22d3ee; flex: none; }
.mock-search b { font-weight: 600; color: #d7e6f7; font-size: 14.5px; }
.mock-search .caret { width: 2px; height: 17px; background: #22d3ee; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-list { padding: 4px 10px 14px; font-size: 13px; }
.mock-row { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; color: #aebfd6; }
.mock-row.active { background: rgba(34,211,238,.10); color: #e6f3ff; }
.mock-row .fi { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; flex: none; }
.fi.pdf { background: #ef5350; } .fi.doc { background: #2f72d8; } .fi.xls { background: #1e9e57; } .fi.folder { background: #f0a830; }
.mock-row .path { color: #6d809c; font-size: 11.5px; margin-left: auto; font-family: var(--mono); }
.mock-row mark { background: rgba(34,211,238,.25); color: #aef2fb; border-radius: 3px; padding: 0 2px; }
.mock-hint { margin: 0 16px 14px; font-size: 11.5px; color: #647793; border-top: 1px dashed rgba(148,178,214,.18); padding-top: 10px; display: flex; justify-content: space-between; }
.mock-hint kbd { font-family: var(--mono); border: 1px solid #2a3c59; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; color: #9fb4d0; }

/* ---------- generic sections ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-1); margin: 0 0 10px; }
.section-head h2 { font-size: clamp(25px, 3vw, 34px); margin: 0 0 12px; letter-spacing: -.018em; font-weight: 800; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 16px; }

/* feature cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.fcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand-1) 40%, var(--border)); }
.fcard .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-grad-soft); display: grid; place-items: center; margin-bottom: 15px; }
.fcard .ico svg { width: 23px; height: 23px; stroke: var(--brand-1); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { margin: 0 0 7px; font-size: 17px; font-weight: 700; }
.fcard p { margin: 0; color: var(--text-muted); font-size: 14.3px; }
.fcard ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 13.5px; }
.fcard ul li { margin: 3px 0; }

/* syntax / code blocks */
.syntax-demo { background: #0c1626; border-radius: var(--radius); padding: 26px 28px; color: #cfe0f4; font-family: var(--mono); font-size: 14px; line-height: 2.1; box-shadow: var(--shadow-md); overflow-x: auto; }
.syntax-demo .q { color: #f0a830; } .syntax-demo .arrow { color: #22d3ee; } .syntax-demo .c { color: #647793; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.2px; min-width: 640px; }
table.data th { background: var(--ink-50); text-align: left; padding: 13px 16px; font-weight: 700; font-size: 13.3px; color: var(--text); border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
table.data tr:last-child td { border-bottom: none; }
table.data td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
table.data .yes { color: var(--success); font-weight: 700; }
table.data .no { color: var(--ink-300); }
table.data .road { color: var(--warning); font-weight: 700; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.pill.on { background: rgba(16,185,129,.13); color: #0a8f6a; }
.pill.off { background: var(--ink-50); color: var(--ink-400); }
.pill.soon { background: rgba(245,158,11,.14); color: #b7791f; }
html[data-theme="dark"] .pill.on { color: #5ee7c1; }
html[data-theme="dark"] .pill.soon { color: #fbbf24; }

/* platform band */
.platform-band { display: flex; justify-content: center; gap: 42px; flex-wrap: wrap; }
.platform-band .pb { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--text-muted); font-size: 13.5px; font-weight: 600; }
.platform-band .pb svg { width: 34px; height: 34px; fill: var(--text); opacity: .85; }

/* final CTA */
.cta-panel { border-radius: 22px; padding: 56px 32px; text-align: center; background: radial-gradient(700px 260px at 50% -20%, rgba(34,211,238,.22), transparent 60%), linear-gradient(135deg, #0e2236, #0b1220); color: #e8f1fb; box-shadow: var(--shadow-lg); }
.cta-panel h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
.cta-panel p { color: #aebfd6; margin: 0 0 26px; }
.cta-panel .hero-cta { justify-content: center; }

/* ---------- forms ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group > label, .form-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.form-group .req { color: var(--danger); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); font-size: 14.5px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.form-input.invalid, .form-textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.field-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.field-error { font-size: 12.5px; color: var(--danger); margin-top: 6px; display: none; }
.field-error.show { display: block; }
.char-count { font-size: 12px; color: var(--ink-300); text-align: right; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-result { border-radius: 10px; padding: 13px 16px; font-size: 14px; margin-top: 16px; display: none; }
.form-result.ok { display: block; background: rgba(16,185,129,.12); color: #0a7f5f; border: 1px solid rgba(16,185,129,.35); }
.form-result.err { display: block; background: rgba(239,68,68,.10); color: #c03535; border: 1px solid rgba(239,68,68,.32); }
html[data-theme="dark"] .form-result.ok { color: #6ee7c0; }
html[data-theme="dark"] .form-result.err { color: #fca5a5; }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* page hero (inner pages) */
.page-hero { background: radial-gradient(900px 380px at 80% -30%, #12324a 0%, transparent 60%), linear-gradient(180deg,#0b1220,#0e1828); color: #e8f1fb; padding: 62px 0 58px; }
.page-hero h1 { font-size: clamp(28px,3.6vw,40px); margin: 0 0 12px; letter-spacing: -.02em; }
.page-hero p { color: #aebfd6; max-width: 720px; margin: 0; font-size: 16.5px; }
.breadcrumb { font-size: 13px; color: #7e93ad; margin-bottom: 16px; }
.breadcrumb a { color: #9fb4d0; } .breadcrumb a:hover { color: #22d3ee; }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.dl-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dl-card .os-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--brand-grad-soft); display: grid; place-items: center; margin-bottom: 16px; }
.dl-card .os-ico svg { width: 28px; height: 28px; fill: var(--brand-1); }
.dl-card h3 { margin: 0 0 4px; font-size: 19px; }
.dl-card .ver { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.dl-files { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.dl-files li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13.8px; }
.dl-files li:last-child { border-bottom: none; }
.dl-files a { color: var(--brand-1); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.dl-files a:hover { text-decoration: underline; }
.dl-files .sz { color: var(--ink-300); font-size: 12px; white-space: nowrap; }
.dl-note { font-size: 12.8px; color: var(--text-muted); }
.release-notes { columns: 2; column-gap: 40px; }
.release-notes li { break-inside: avoid; margin-bottom: 8px; }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.channel-list { display: flex; flex-direction: column; gap: 14px; }
.channel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 15px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.channel .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-grad-soft); display: grid; place-items: center; flex: none; }
.channel .ico svg { width: 21px; height: 21px; stroke: var(--brand-1); fill: none; stroke-width: 2; }
.channel h4 { margin: 0 0 4px; font-size: 15.5px; }
.channel p { margin: 0; font-size: 13.8px; color: var(--text-muted); word-break: break-all; }
.channel a.link { color: var(--brand-1); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item h4 { margin: 0 0 6px; font-size: 15.5px; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* legal pages */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 22px); max-height: calc(100vh - 110px); overflow: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.legal-toc strong { display: block; font-size: 13px; margin-bottom: 10px; }
.legal-toc a { display: block; font-size: 13.2px; color: var(--text-muted); padding: 5px 8px; border-radius: 7px; }
.legal-toc a:hover { background: var(--ink-50); color: var(--brand-1); }
.legal-body { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 46px; box-shadow: var(--shadow-sm); }
.legal-body h1 { font-size: 27px; margin: 0 0 6px; }
.legal-update { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }
.legal-body h2 { font-size: 19.5px; margin: 34px 0 12px; padding-top: 14px; }
.legal-body h3 { font-size: 16px; margin: 22px 0 8px; }
.legal-body p, .legal-body li { font-size: 14.6px; color: var(--text); }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin: 5px 0; }
.legal-body strong { color: var(--text); }
.legal-body .placeholder { background: rgba(245,158,11,.14); color: #b7791f; padding: 0 6px; border-radius: 5px; font-weight: 700; }
html[data-theme="dark"] .legal-body .placeholder { color: #fbbf24; }
.legal-body .contact-email { color: var(--brand-1); font-weight: 700; }

/* feedback page */
.feedback-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.feedback-side .fcard { margin-bottom: 16px; }
.feedback-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 4px; }
.feedback-types input { position: absolute; opacity: 0; pointer-events: none; }
.feedback-types label { border: 1px solid var(--border); border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 13.4px; font-weight: 600; cursor: pointer; transition: .15s; background: var(--bg); }
.feedback-types input:checked + label { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 11%, transparent); color: var(--brand-1); box-shadow: 0 0 0 3px rgba(16,185,129,.10); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 52px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 36px; }
.footer-brand p { color: var(--text-muted); font-size: 13.6px; margin: 12px 0 0; max-width: 300px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); margin: 4px 0 13px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 4.5px 0; }
.footer-col a:hover { color: var(--brand-1); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-400); }
.footer-bottom a:hover { color: var(--brand-1); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink-800); color: #fff; padding: 12px 20px; border-radius: 11px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.warn { background: #b45309; } .toast.err { background: #b91c1c; } .toast.ok { background: #047857; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock { transform: none; max-width: 560px; margin: 0 auto; }
  .card-grid, .card-grid.four, .dl-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid, .feedback-layout, .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .release-notes { columns: 1; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 20px 18px; gap: 2px; display: none; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 15px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .card-grid, .card-grid.two, .card-grid.four, .dl-grid { grid-template-columns: 1fr; }
  .form-card, .legal-body { padding: 24px 20px; }
  .section { padding: 58px 0; }
  .feedback-types { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
