/* ==========================================================================
   Tiger Tools — Design System v2
   Ink navy + tiger orange. Hairline borders, quiet shadows, editorial type.
   Light + dark via custom properties. No build step.
   ========================================================================== */

:root {
  /* brand */
  --navy: #0e1a2e;
  --navy-2: #16263f;
  --tiger: #dd4d18;
  --tiger-ink: #b23c12;
  --gold: #d9a94a;

  /* surfaces & text (light) */
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f3f1ed;
  --surface-3: #eae7e1;
  --text: #14181f;
  --text-2: #454e5c;
  --muted: #737d8c;
  --border: #e6e3dd;
  --border-2: #d5d1c9;

  /* actions */
  --primary: #0e1a2e;
  --primary-hover: #24344f;
  --primary-contrast: #ffffff;
  --accent: var(--tiger-ink);
  --accent-bg: #fbeee8;
  --link: #1a4fa0;
  --success: #17795a;
  --success-bg: #e6f3ee;
  --danger: #b3261e;
  --danger-bg: #fbeceb;

  /* effects */
  --ring: 0 0 0 3px rgba(221, 77, 24, .28);
  --shadow-sm: 0 1px 2px rgba(20, 24, 31, .05);
  --shadow-md: 0 2px 6px -2px rgba(20, 24, 31, .09), 0 8px 20px -14px rgba(20, 24, 31, .14);
  --shadow-lg: 0 16px 40px -20px rgba(20, 24, 31, .26);

  /* geometry */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --container: 1180px;
  --nav-h: 62px;

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --step--1: clamp(.8rem, .77rem + .16vw, .8725rem);
  --step-0: clamp(.94rem, .91rem + .18vw, 1rem);
  --step-1: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  --step-2: clamp(1.3rem, 1.18rem + .55vw, 1.55rem);
  --step-3: clamp(1.65rem, 1.4rem + 1.1vw, 2.2rem);
  --step-4: clamp(2.3rem, 1.7rem + 2.9vw, 3.9rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a0f17;
  --surface: #111926;
  --surface-2: #17202f;
  --surface-3: #1e293b;
  --text: #eef1f5;
  --text-2: #c2ccd9;
  --muted: #8794a5;
  --border: #222e40;
  --border-2: #31405a;

  --primary: #f3f1ed;
  --primary-hover: #ffffff;
  --primary-contrast: #0e1a2e;
  --accent: #ef7a4a;
  --accent-bg: #2a1710;
  --link: #7fb0ff;
  --success: #3fbe93;
  --success-bg: #0e2a21;
  --danger: #f08a80;
  --danger-bg: #2c1614;

  --ring: 0 0 0 3px rgba(239, 122, 74, .32);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 4px 14px -6px rgba(0, 0, 0, .6);
  --shadow-lg: 0 20px 44px -22px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.14; font-weight: 700; letter-spacing: -.021em; color: var(--text); text-wrap: pretty; }
h1 { font-size: var(--step-4); font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { color: var(--text-2); text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
::selection { background: var(--tiger); color: #fff; }
strong { color: var(--text); font-weight: 650; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 3.5vw, 2.25rem); }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.eyebrow {
  font-size: .69rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: .6rem;
}
.eyebrow::after { content: ""; height: 1px; flex: 1; max-width: 90px; background: var(--border-2); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { display: none; }
.lede { font-size: var(--step-1); color: var(--text-2); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.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: absolute; left: 12px; top: -60px; z-index: 200; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow-md); transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
hr.rule { border: 0; border-top: 1px solid var(--border); margin-block: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--text); --_bd: var(--border-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: var(--step-0);
  padding: .62rem 1.1rem; border-radius: var(--radius);
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  cursor: pointer; text-decoration: none; white-space: nowrap; min-height: 44px;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { --_bg: var(--primary); --_fg: var(--primary-contrast); --_bd: var(--primary); }
.btn-primary:hover { --_bg: var(--primary-hover); --_bd: var(--primary-hover); color: var(--primary-contrast); }
.btn-gold, .btn-accent { --_bg: var(--tiger); --_fg: #fff; --_bd: var(--tiger); }
.btn-gold:hover, .btn-accent:hover { --_bg: var(--tiger-ink); --_bd: var(--tiger-ink); color: #fff; }
.btn-ghost { --_bg: transparent; --_bd: var(--border-2); }
.btn-ghost:hover { --_bg: var(--surface-2); color: var(--text); }
.btn-lg { padding: .8rem 1.4rem; font-size: var(--step-0); min-height: 50px; }
.btn-sm { padding: .4rem .75rem; font-size: var(--step--1); min-height: 36px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-pad { padding: clamp(1.15rem, 2.4vw, 1.6rem); }
.tool-card {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.15rem 1.2rem; position: relative;
  text-decoration: none; color: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tool-card:hover {
  transform: translateY(-2px); border-color: var(--border-2);
  box-shadow: var(--shadow-md); text-decoration: none;
}
.tool-card .ico {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--accent); flex: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tool-card:hover .ico { background: var(--accent-bg); }
.tool-card h3 { font-size: var(--step-0); font-weight: 650; letter-spacing: -.012em; }
.tool-card p { font-size: var(--step--1); color: var(--muted); flex: 1; line-height: 1.5; }
.tool-card .go { font-weight: 600; color: var(--accent); font-size: var(--step--1); display: inline-flex; align-items: center; gap: .3rem; }
.tool-card .go svg { transition: transform .2s var(--ease); }
.tool-card:hover .go svg { transform: translateX(3px); }

.grid { display: grid; gap: .85rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: .22rem .6rem; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.badge-live { background: var(--success-bg); color: var(--success); border-color: transparent; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: var(--step--1); font-weight: 550; text-decoration: none; transition: background-color .18s, border-color .18s, color .18s; }
.chip:hover { text-decoration: none; background: var(--surface-2); border-color: var(--border-2); color: var(--text); }

/* ---------- Forms ---------- */
label { font-weight: 600; font-size: var(--step--1); color: var(--text-2); display: inline-block; margin-bottom: .3rem; }
.input, .select, textarea.input {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: .62rem .8rem;
  font-variant-numeric: tabular-nums;
  transition: border-color .18s, box-shadow .18s;
}
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--tiger); box-shadow: var(--ring); }
.input::placeholder { color: var(--muted); }
.field { margin-bottom: .9rem; }
.result-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: .95rem 1.1rem; }
.figure { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }
.pulse { animation: pulse 1.8s var(--ease) infinite; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; color: var(--text); text-decoration: none; letter-spacing: -.025em; font-size: 1.06rem; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { height: 30px; width: 30px; object-fit: contain; }
.brand-word { display: inline-flex; align-items: baseline; gap: .28em; }
.brand-word b { font-weight: 650; }
.brand-word span { color: var(--accent); font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: .1rem; margin-left: 1.1rem; }
.nav-links a { color: var(--text-2); font-weight: 550; font-size: .92rem; padding: .45rem .7rem; border-radius: var(--radius-sm); text-decoration: none; transition: color .18s, background-color .18s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.nav-search { position: relative; display: flex; align-items: center; }
.nav-search input { width: 216px; padding-left: 2.1rem; padding-right: 3rem; cursor: pointer; background: var(--surface-2); border-color: var(--border); }
.nav-search svg { position: absolute; left: .6rem; color: var(--muted); pointer-events: none; }
.hamburger { display: none; }
.nav-search-mobile { display: none; }

.search-pop { position: absolute; top: calc(100% + 8px); right: 0; width: min(360px, 92vw); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .35rem; max-height: 60vh; overflow: auto; display: none; }
.search-pop.open { display: block; }
.search-pop a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 550; font-size: var(--step-0); }
.search-pop a:hover, .search-pop a.active { background: var(--surface-2); }
.search-pop .hint { padding: .6rem; color: var(--muted); font-size: var(--step--1); }

.drawer { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90; background: var(--bg); transform: translateX(100%); transition: transform .26s var(--ease); overflow-y: auto; display: flex; flex-direction: column; padding: 1rem 1.1rem 3rem; gap: .1rem; }
.drawer.open { transform: translateX(0); }
.drawer a { color: var(--text); font-weight: 550; font-size: 1.02rem; padding: .8rem .6rem; border-radius: var(--radius); text-decoration: none; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.drawer a:hover { background: var(--surface-2); text-decoration: none; }
.drawer .drawer-h { font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-weight: 600; padding: 1.2rem .6rem .4rem; }

@media (max-width: 940px) {
  .nav-links, .nav-search { display: none; }
  .hamburger, .nav-search-mobile { display: grid; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3.25rem); border-bottom: 1px solid var(--border); }
.hero h1 { max-width: 20ch; }
.hero h1 .hl { color: var(--accent); font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.6rem; color: var(--muted); font-size: var(--step--1); font-weight: 550; }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row svg { color: var(--success); }

/* ---------- Feature ---------- */
.feature { display: flex; gap: .8rem; align-items: flex-start; }
.feature .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); flex: none; }
.feature h3 { font-size: var(--step-0); font-weight: 650; }
.feature p { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin-top: .15rem; }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--border); background: transparent; }
details.faq > summary { cursor: pointer; list-style: none; padding: 1rem .2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--text); font-size: var(--step-0); }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary:hover { color: var(--accent); }
details.faq > summary .chev { transition: transform .2s var(--ease); color: var(--muted); flex: none; }
details.faq[open] > summary .chev { transform: rotate(180deg); }
details.faq > div { padding: 0 2rem 1.1rem .2rem; color: var(--text-2); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--step--1); color: var(--muted); padding-block: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .45; }

/* ---------- Tool page layout ---------- */
.tool-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.tool-head .ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); flex: none; border: 1px solid var(--border); }
.tool-head h1 { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; }
.tool-head p { font-size: var(--step--1); margin-top: .1rem; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 2.4rem; align-items: start; }
.tool-aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.tool-aside h3 { font-size: .69rem !important; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
@media (max-width: 980px) { .tool-grid { grid-template-columns: 1fr; gap: 1.6rem; } .tool-aside { position: static; } }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: .95rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.25rem; color: var(--text-2); }
.prose li { margin-top: .35rem; }
.prose li::marker { color: var(--accent); }
.prose code { background: var(--surface-2); border: 1px solid var(--border); padding: .08rem .35rem; border-radius: 5px; font-size: .88em; font-family: var(--font-mono); color: var(--text); }
.prose > p:first-child { font-size: var(--step-1); color: var(--text-2); }

/* callouts + worked examples */
.callout { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.15rem; }
.callout h3 { font-size: var(--step-0) !important; margin: 0 0 .3rem !important; font-weight: 650; }
.callout p, .callout ul { font-size: var(--step--1); color: var(--text-2); }
.formula { font-family: var(--font-mono); font-size: .92rem; white-space: pre-wrap; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem 1rem; color: var(--text); overflow-x: auto; }
.example { border-left: 2px solid var(--tiger); padding-left: 1rem; }
.example .step { font-size: var(--step--1); color: var(--text-2); font-family: var(--font-mono); }

/* data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: .6rem .85rem; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--surface-2); color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 550; color: var(--text); }

/* ---------- Ad slot (only rendered where an approved unit exists) ---------- */
.ad { margin-block: 1.25rem; }
.ad .label { text-align: center; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.footer h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .8rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer a { color: var(--text-2); font-size: var(--step--1); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-brand p { font-size: var(--step--1); color: var(--muted); margin-top: .7rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: .65rem 1.05rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 550; font-size: var(--step--1); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Favorite (star) ---------- */
.fav-btn { position: absolute; top: .7rem; right: .7rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--border-2); cursor: pointer; z-index: 2; transition: color .18s, background-color .18s, border-color .18s; }
.fav-btn:hover { color: var(--tiger); background: var(--surface-2); }
.fav-btn[aria-pressed="true"] { color: var(--tiger); }
.fav-btn svg { pointer-events: none; }

/* ---------- Command palette ---------- */
.kbd { display: inline-flex; align-items: center; gap: .1rem; padding: .1rem .35rem; border-radius: 5px; border: 1px solid var(--border-2); background: var(--surface); font-size: .7rem; font-weight: 600; color: var(--muted); font-family: inherit; }
.cmdk-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(10, 15, 23, .5); backdrop-filter: blur(3px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 1rem 1rem; }
.cmdk-overlay.open { display: flex; }
.cmdk { width: min(600px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: cmdk-in .16s var(--ease); }
@keyframes cmdk-in { from { opacity: 0; transform: translateY(-6px) scale(.99); } to { opacity: 1; transform: none; } }
.cmdk-input-row { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
.cmdk-input-row svg { color: var(--muted); flex: none; }
.cmdk-input-row input { flex: 1; border: 0; background: transparent; font: inherit; font-size: var(--step-1); color: var(--text); outline: none; }
.cmdk-list { max-height: 52vh; overflow: auto; padding: .35rem; }
.cmdk-group { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; padding: .6rem .7rem .3rem; }
.cmdk-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 550; cursor: pointer; }
.cmdk-item .ci { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); flex: none; }
.cmdk-item small { color: var(--muted); font-weight: 400; }
.cmdk-item.active, .cmdk-item:hover { background: var(--surface-2); text-decoration: none; }
.cmdk-empty { padding: 1.4rem; text-align: center; color: var(--muted); }
@media (max-width: 940px) { .cmdk-hint { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .cmdk { animation: none; }
}

/* home: how-we-work split */
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr !important; } }
