/* ============================================================
   DriveQ · app.css · v1.0
   Source of truth: design/driveq/project/website.html
   Spec: Plan/THEME.md + Plan/handover.md
   Light theme only. No toggleable dark mode.
   ============================================================ */

:root {
  /* Text · cool neutral ramp */
  --ink:        oklch(0.165 0.008 250);
  --ink-mute:   oklch(0.40 0.008 250);
  --ink-dim:    oklch(0.55 0.008 250);
  --ink-faint:  oklch(0.72 0.008 250);

  /* Lines */
  --line:       oklch(0.86 0.005 85);
  --line-soft:  oklch(0.91 0.005 85);

  /* Surfaces · warm neutral ramp */
  --paper:      oklch(0.975 0.004 85);
  --paper-2:    oklch(0.95 0.005 85);
  --paper-3:    oklch(0.88 0.005 85);

  /* Primary accent · CHAMPAGNE GOLD */
  --gold:       oklch(0.78 0.10 84);
  --gold-deep:  oklch(0.50 0.08 84);
  --gold-100:   oklch(0.94 0.05 84);

  /* Functional */
  --green:      oklch(0.55 0.14 150);
  --green-100:  oklch(0.95 0.06 150);
  --amber:      oklch(0.65 0.16 65);
  --amber-100:  oklch(0.96 0.06 65);
  --red:        oklch(0.58 0.20 25);
  --red-100:    oklch(0.96 0.05 25);
  --blue:       oklch(0.55 0.14 248);
  --blue-100:   oklch(0.95 0.05 248);
  --purple:     oklch(0.55 0.14 295);
  --purple-100: oklch(0.95 0.05 295);

  /* Type families */
  --f-display:  "Instrument Serif", "Times New Roman", serif;
  --f-ui:       "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:     "Geist Mono", ui-monospace, Menlo, monospace;
  --f-logo:     "Saira", sans-serif;

  /* Radius */
  --r-2: 6px;  --r-3: 8px;  --r-4: 10px; --r-5: 14px; --r-6: 18px;

  /* Spacing */
  --s-1: 6px;  --s-2: 12px; --s-3: 18px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 72px; --s-8: 96px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: oklch(0.93 0.005 85);
  font-family: var(--f-ui); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* Skip-to-content (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 0 0 var(--r-3) 0;
  font-size: 13px; z-index: 1000;
}
.skip-link:focus { left: 0; outline: 2px solid var(--gold); }

/* ============ PAGE WRAPPER ============ */
.page {
  max-width: 1440px; width: 100%;
  margin: 0 auto;
  background: white;
  box-shadow: 0 8px 32px -8px oklch(0 0 0 / 0.08);
  overflow: hidden;
}

/* ============ TYPOGRAPHY ============ */
.display-xl { font-family: var(--f-display); font-size: 128px; line-height: 0.96; letter-spacing: -0.02em; font-weight: 400; margin: 0; text-wrap: pretty; }
.display    { font-family: var(--f-display); font-size: 72px; line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; margin: 0; text-wrap: pretty; }
.h1         { font-family: var(--f-display); font-size: 48px; line-height: 1.08; letter-spacing: -0.015em; font-weight: 400; margin: 0; text-wrap: pretty; }
.h2         { font-family: var(--f-display); font-size: 36px; line-height: 1.12; letter-spacing: -0.012em; font-weight: 400; margin: 0; text-wrap: pretty; }
.h3         { font-family: var(--f-display); font-size: 24px; line-height: 1.18; letter-spacing: -0.01em; font-weight: 400; margin: 0; }
.eyebrow    { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.body       { font-family: var(--f-ui); font-size: 15px; line-height: 1.6; color: var(--ink-mute); margin: 0; text-wrap: pretty; }
.body-l     { font-family: var(--f-ui); font-size: 18px; line-height: 1.55; color: var(--ink-mute); margin: 0; text-wrap: pretty; }
.caption    { font-family: var(--f-ui); font-size: 13px; color: var(--ink-mute); margin: 0; }
.mono       { font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim); letter-spacing: 0.04em; }
.em-gold    { font-style: italic; color: var(--gold-deep); }
.tabular    { font-variant-numeric: tabular-nums; }

/* ============ LOGO ============ */
.dq-wm { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-logo); font-weight: 800; font-style: italic; letter-spacing: -0.03em; line-height: 1; color: var(--ink); cursor: pointer; }
.dq-wm svg { display: block; overflow: visible; }
.dq-wm.is-light { color: white; }
.dq-wm.is-light svg { fill: var(--gold); }

/* Animated wordmark (default site logo) */
.anim-wm { display: inline-flex; align-items: center; gap: 0.04em; font-family: var(--f-logo); font-weight: 800; font-style: italic; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.anim-wm.is-light { color: white; }
.anim-wm .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) scale(0.92);
  filter: blur(8px);
  animation: dqLetterIn 0.5s cubic-bezier(.2,.8,.2,1) forwards;
}
.anim-wm .letter:nth-child(1) { animation-delay: 0s; }
.anim-wm .letter:nth-child(2) { animation-delay: 0.18s; }
.anim-wm .letter:nth-child(3) { animation-delay: 0.36s; }
.anim-wm .letter:nth-child(4) { animation-delay: 0.54s; }
.anim-wm .letter:nth-child(5) { animation-delay: 0.72s; }
@keyframes dqLetterIn { to { opacity: 1; transform: none; filter: none; } }
.anim-wm .caret {
  display: inline-block; width: 0.06em; height: 0.85em;
  background: var(--gold-deep); margin-left: 0.04em; align-self: center;
  animation: dqCaretBlink 0.6s steps(1) infinite, dqCaretHide 0.4s 1.4s forwards;
}
@keyframes dqCaretBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes dqCaretHide  { to { opacity: 0; transform: scaleX(0); } }
.anim-wm .q-svg { width: 1.08em; height: 1em; opacity: 0; animation: dqQContainer 0.4s 1.3s forwards; overflow: visible; }
.q-outline { fill: none; stroke: var(--gold-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 800; stroke-dashoffset: 800; animation: dqQDraw 1.2s 1.4s cubic-bezier(.65,0,.35,1) forwards, dqQOutlineFade 0.3s 2.6s forwards; }
.q-fill    { fill: var(--gold-deep); opacity: 0; animation: dqQFillIn 0.35s 2.6s forwards; }
.anim-wm.is-light .q-fill,
.anim-wm.is-light .q-bar,
.anim-wm.is-light .q-tail { fill: var(--gold); }
.q-bar { fill: var(--gold-deep); opacity: 0; transform: translateX(-30px); transform-box: fill-box; transform-origin: left center; animation: dqBarSlide 0.4s cubic-bezier(.2,.8,.2,1) forwards; }
.q-bar.bar-1 { animation-delay: 3.05s; }
.q-bar.bar-2 { animation-delay: 3.25s; }
.q-tail { fill: var(--gold-deep); opacity: 0; transform: translate(-12px,-12px) scale(0.5); transform-origin: top left; transform-box: fill-box; animation: dqTailExtend 0.5s 3.55s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes dqQContainer   { to { opacity: 1; } }
@keyframes dqQDraw        { to { stroke-dashoffset: 0; } }
@keyframes dqQOutlineFade { to { opacity: 0; } }
@keyframes dqQFillIn      { to { opacity: 1; } }
@keyframes dqBarSlide     { to { opacity: 1; transform: translateX(0); } }
@keyframes dqTailExtend   { to { opacity: 1; transform: translate(0,0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .anim-wm .letter, .anim-wm .q-svg, .q-fill, .q-bar, .q-tail {
    opacity: 1; transform: none; filter: none; animation: none;
  }
  .anim-wm .caret, .q-outline { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ NAV (PUBLIC SITE) ============ */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; border-bottom: 1px solid var(--line-soft); background: white; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-mute); }
.nav-links a { transition: color 120ms cubic-bezier(.2,0,0,1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ============ CURRENCY TOGGLE + FLAG ============ */
.cur {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 8px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; color: var(--ink); font-weight: 500;
  cursor: pointer; user-select: none;
}
.cur-flag {
  width: 18px; height: 18px; border-radius: 999px; overflow: hidden;
  display: inline-flex; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.cur-flag.ng { background: linear-gradient(to right, #008751 33%, white 33%, white 66%, #008751 66%); }
.cur-toggle { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 2px; }
.cur-opt { padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--ink-mute); transition: all 180ms cubic-bezier(.2,.7,.3,1); cursor: pointer; }
.cur-opt.on { background: var(--ink); color: white; }
.cur-rate { color: var(--ink-mute); font-size: 11px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; height: 40px;
  border-radius: var(--r-3); font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  transition: background 120ms cubic-bezier(.2,0,0,1), box-shadow 120ms, transform 120ms;
  white-space: nowrap; font-family: var(--f-ui);
}
.btn:hover  { box-shadow: 0 4px 12px -4px oklch(0 0 0 / 0.18); }
.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-xl { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary   { background: var(--gold); color: white; border-color: var(--gold); }
.btn-primary:hover { background: oklch(0.72 0.10 84); }
.btn-invert    { background: var(--ink); color: white; }
.btn-invert:hover { background: oklch(0.22 0.008 250); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-ghost     { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); }
.btn-danger    { background: transparent; color: var(--red); border-color: oklch(0.65 0.16 25 / 0.5); }
.btn-danger:hover { background: var(--red-100); }

.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px oklch(0.85 0.08 84 / 0.55); }

/* ============ PILLS ============ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; line-height: 1; white-space: nowrap;
}
.pill-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; position: relative; flex-shrink: 0; }
.pill-dot::after {
  content: ''; position: absolute; inset: -2px; border-radius: 999px;
  border: 1.5px solid currentColor; opacity: 0.5;
  animation: dqPulse 1.4s ease-in-out infinite;
}
@keyframes dqPulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.4); opacity: 0; }
}
.pill-live    { background: var(--green-100); color: oklch(0.42 0.14 150); border-color: oklch(0.85 0.10 150); }
.pill-gold    { background: var(--gold-100);  color: var(--gold-deep);     border-color: oklch(0.85 0.08 84); }
.pill-warn    { background: var(--amber-100); color: oklch(0.50 0.14 65);  border-color: oklch(0.85 0.10 65); }
.pill-red     { background: var(--red-100);   color: var(--red);            border-color: oklch(0.85 0.10 25); }
.pill-blue    { background: var(--blue-100);  color: var(--blue);           border-color: oklch(0.85 0.08 248); }
.pill-purple  { background: var(--purple-100);color: var(--purple);         border-color: oklch(0.85 0.08 295); }
.pill-neutral { background: var(--paper-2);   color: var(--ink-mute);       border-color: var(--paper-3); }

/* ============ CARDS ============ */
.card { background: white; border: 1px solid var(--line-soft); border-radius: var(--r-5); padding: var(--s-5); }
.card-pad-sm { padding: var(--s-3); }
.card-pad-lg { padding: var(--s-6); }
.card-paper  { background: var(--paper); }
.card-dark   { background: var(--ink); color: white; border-color: var(--ink); }
.card-dark .eyebrow { color: var(--gold); }
.card-dark .body { color: rgba(255,255,255,0.7); }

/* ============ FORMS ============ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--ink); font-weight: 500; }
.field-hint  { font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim); }
.input {
  padding: 12px 14px; background: white;
  border: 1.5px solid var(--line-soft); border-radius: var(--r-3);
  font-size: 14px; color: var(--ink); font-family: var(--f-ui);
  transition: border 120ms, box-shadow 120ms;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px oklch(0.85 0.08 84 / 0.4); }
.input::placeholder { color: var(--ink-faint); }
.input.is-error,
.field-error .input { border-color: var(--red); }
.field-error-msg { font-size: 12px; color: var(--red); }

/* ============ FOOTER ============ */
.footer { padding: 48px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 28px; background: white; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-dim); text-transform: uppercase; margin: 0 0 6px; }
.footer-col a  { font-size: 13.5px; color: var(--ink-mute); transition: color 120ms; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }

/* ============ APP SHELL (dealer) ============ */
.app-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; border-bottom: 1px solid var(--line-soft); background: white; }
.app-nav-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-mute); }
.app-nav-links a.active { color: var(--ink); font-weight: 500; }

/* ============ FAQ ACCORDION ============ */
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.faq-item-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; }
.faq-item-q h4 { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.faq-item-q .ico { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-mute); flex-shrink: 0; }
.faq-item-a { margin-top: 14px; max-width: 760px; }
.faq-item.collapsed .faq-item-a { display: none; }

/* ============ COUNTDOWN ============ */
.countdown { display: inline-flex; align-items: flex-start; gap: 12px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.countdown-box { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown-num { font-size: 22px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.countdown-lbl { font-family: var(--f-ui); font-size: 10px; color: var(--ink-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.countdown-sep { font-size: 22px; color: var(--ink-dim); margin-top: 2px; }
.countdown.t-warn   .countdown-num { color: var(--amber); }
.countdown.t-urgent .countdown-num { color: var(--red); }
.countdown.t-urgent { animation: dqPulse 1.4s ease-in-out infinite; }
.countdown.t-freeze .countdown-num { color: var(--red); font-weight: 600; }

/* Compact inline countdown (carousel cards) */
.countdown-inline { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 16px; }
.countdown-inline.t-warn   { color: var(--amber); }
.countdown-inline.t-urgent { color: var(--red); }

/* ============ BID POOL ============ */
.bid-row {
  display: grid; grid-template-columns: 40px 1fr auto auto;
  align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  animation: dqRowReveal 240ms cubic-bezier(.16,1,.3,1);
}
@keyframes dqRowReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bid-row.is-yours { background: oklch(0.94 0.05 84 / 0.4); border-left: 3px solid var(--gold); padding-left: 13px; }
.bid-row.is-leading .bid-amount { color: var(--gold-deep); font-weight: 600; }
.bid-ordinal { font-family: var(--f-mono); color: var(--ink-dim); font-size: 12px; }
.bid-pseudonym { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.bid-amount    { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.bid-time      { font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim); }

/* Live indicator */
.live-ind { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--green); letter-spacing: 0.04em; text-transform: uppercase; }
.live-ind .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--green); position: relative; }
.live-ind .dot::after { content:''; position:absolute; inset:-3px; border-radius:999px; border: 1.5px solid var(--green); opacity: 0.5; animation: dqPulse 1.4s ease-in-out infinite; }

/* ============ DIVIDERS ============ */
.divider { height: 1px; background: var(--line-soft); width: 100%; }
.divider-dashed { border-top: 1px dashed var(--line-soft); height: 0; }

/* ============ AUCTION CARD (grid) ============ */
.auction-card { background: white; border: 1px solid var(--paper-3); border-radius: var(--r-4); padding: 14px; transition: transform 120ms cubic-bezier(.2,0,0,1), box-shadow 120ms; }
.auction-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px oklch(0 0 0 / 0.12); }
.auction-card .img { aspect-ratio: 16/10; border-radius: var(--r-3); background-size: cover; background-position: center; background-color: #1d2128; }

/* ============ TOAST ============ */
.toast {
  --tc: var(--gold); --tc-bg: var(--gold-100);
  --ti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  position: fixed; top: 24px; right: 24px;
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--tc-bg);
  border: 1px solid color-mix(in oklch, var(--tc) 55%, transparent);
  border-radius: var(--r-6);
  padding: 13px 16px; box-shadow: 0 14px 34px -14px oklch(0 0 0 / 0.30);
  color: var(--ink); font-size: 14px; line-height: 1.45; font-weight: 450;
  max-width: 380px; z-index: 1000;
  animation: dqToastIn 240ms cubic-bezier(.16,1,.3,1);
}
.toast::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  background-color: var(--tc);
  -webkit-mask: var(--ti) center / contain no-repeat;
          mask: var(--ti) center / contain no-repeat;
}
.toast.t-success {
  --tc: var(--green); --tc-bg: var(--green-100);
  --ti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.5 2.5 5-5'/%3E%3C/svg%3E");
}
.toast.t-warn {
  --tc: var(--amber); --tc-bg: var(--amber-100);
  --ti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4 2.4 18a2 2 0 0 0 1.7 3h15.8a2 2 0 0 0 1.7-3L13.7 4a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}
.toast.t-danger {
  --tc: var(--red); --tc-bg: var(--red-100);
  --ti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E");
}
.toast.t-info {
  --tc: var(--gold); --tc-bg: var(--gold-100);
}
@keyframes dqToastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ============ INK SURFACE (login hero, admin) ============ */
.ink-surface {
  background: var(--ink); color: white;
}
.ink-surface .eyebrow { color: var(--gold); }
.ink-surface .body    { color: rgba(255,255,255,0.7); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .footer { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .display-xl { font-size: 64px; }
  .display    { font-size: 48px; }
  .h1         { font-size: 36px; }
  .h2         { font-size: 28px; }
  .nav-right .cur, .nav-right .btn-ghost { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
