/* Going Once Cars website. One 1200px column on cool Adriatic mist; full-bleed sea bands set the rhythm,
   white r20 cards carry the product, sunset coral appears only as the sun, "yours." and real live markers. */
:root {
  color-scheme: light;
  --bg: #F5F7F8;
  --surface: #FFFFFF;
  --surface-alt: #EDF1F3;
  --border: #DCE3E7;
  --border-strong: #C3CDD3;
  --text: #0A1D24;
  --muted: #4F6168;
  --faint: #65767F; /* placeholder text and the "or" divider: AA 4.5:1 on white */
  --primary: #0077A0;
  --primary-pressed: #005E80;
  --on-primary: #FFFFFF;
  --primary-soft: #DFF1F8;
  --on-primary-soft: #005775;
  --accent: #FF5A36;
  --on-accent: #0A1D24;
  --accent-text: #C2361A;
  --accent-soft: #FFE6DF;
  --on-accent-soft: #A32B12;
  --winning: #0A8143;
  --winning-soft: #DDF5E7;
  --on-winning-soft: #066B36;
  --outbid: #DC1838;
  --on-outbid: #FFFFFF;
  --outbid-soft: #FDE4E8;
  --on-outbid-soft: #B30D2C;
  --urgency: #FFB000;
  --on-urgency: #0A1D24;
  --urgency-text: #9A5600;
  --urgency-soft: #FFF2D1;
  --on-urgency-soft: #7E4600;
  --info: #1D69E0;
  --info-soft: #E6EFFD;
  --on-info-soft: #1554C0;
  --lagoon: #3DBDEB;
  --band: #0077A0;
  --band-deep: #00668A;
  --on-band: #FFFFFF;
  --on-band-muted: #E6F5FB;
  --band-line: rgba(255, 255, 255, 0.34);
  --band-tile: rgba(255, 255, 255, 0.1);
  --soft-band: #E3F2F8;
  --ink-band: #0A1D24;
  --on-ink: #EEF4F6;
  --on-ink-muted: #A9BCC3;
  --ink-line: #23404A;
  --header-bg: rgba(245, 247, 248, 0.88);
  --header-solid: #F5F7F8;
  --hero-wash: #DFF1F8;
  --device: #0A1D24;
  --device-edge: #2B4651;
  --on-photo-bg: #FFFFFF;
  --on-photo-fg: #0A1D24;
  --photo-dark: rgba(10, 29, 36, 0.72);
  --ink-tile: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;
  --logo-g: #0077A0;
  --logo-sun: #FF5A36;
  --logo-ink: #0A1D24;
  --logo-cars: #0077A0;
  --focus: #0077A0;
  --shadow-1: 0 1px 2px rgba(10, 29, 36, 0.05), 0 2px 8px rgba(10, 29, 36, 0.04);
  --shadow-2: 0 2px 4px rgba(10, 29, 36, 0.06), 0 14px 32px -10px rgba(10, 29, 36, 0.22);
  --shadow-3: 0 40px 70px -30px rgba(10, 29, 36, 0.42), 0 10px 24px -10px rgba(10, 29, 36, 0.2);
  --glow: 0 1px 2px rgba(0, 94, 128, 0.18), 0 10px 24px -8px rgba(0, 119, 160, 0.45);

  --font-display: "Unbounded", "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(33px, 2.9vw + 22px, 66px);
  --fs-h2: clamp(28px, 1.6vw + 21px, 46px);
  --fs-lead: clamp(17px, 0.35vw + 15.6px, 20px);
  --fs-body: 17px;
  --fs-label: 13px;

  --r-btn: 14px;
  --r-card: 20px;
  --r-xl: 28px;
  --section-y: clamp(72px, 6vw + 40px, 128px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #06161B; --surface: #0E2229; --surface-alt: #15303A; --border: #21404A; --border-strong: #2E5562;
    --text: #EEF4F6; --muted: #9DB2BA; --faint: #7F95A0;
    --primary: #3DBDEB; --primary-pressed: #22A6D6; --on-primary: #04202B; --primary-soft: #0E3A4A; --on-primary-soft: #8ED8F4;
    --accent: #FF7254; --on-accent: #1F0904; --accent-text: #FF8F75; --accent-soft: #3A1D17; --on-accent-soft: #FFB09E;
    --winning: #3DD68C; --winning-soft: #0E3020; --on-winning-soft: #7EE6B0;
    --outbid: #FF5A6E; --on-outbid: #2A0309; --outbid-soft: #3A1419; --on-outbid-soft: #FF9AA6;
    --urgency: #FFB82E; --on-urgency: #231500; --urgency-text: #FFC24D; --urgency-soft: #33260C; --on-urgency-soft: #FFCF70;
    --info: #6FA2FF; --info-soft: #15264A; --on-info-soft: #A9C4FA;
    --band: #0A3646; --band-deep: #082C3A; --on-band: #EEF4F6; --on-band-muted: #B9D6E0; --band-line: rgba(142, 216, 244, 0.28); --band-tile: rgba(142, 216, 244, 0.07);
    --soft-band: #0A222A; --ink-band: #030E12; --on-ink: #EEF4F6; --on-ink-muted: #9DB2BA; --ink-line: #1A333C;
    --header-bg: rgba(6, 22, 27, 0.86); --header-solid: #06161B; --hero-wash: #0B2B37;
    --device: #000000; --device-edge: #2E5562; --photo-dark: rgba(0, 0, 0, 0.7);
    --logo-g: #FFFFFF; --logo-sun: #FF5A36; --logo-ink: #FFFFFF; --logo-cars: #3DBDEB; --focus: #3DBDEB;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-3: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
    --glow: 0 10px 24px -10px rgba(61, 189, 235, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #06161B; --surface: #0E2229; --surface-alt: #15303A; --border: #21404A; --border-strong: #2E5562;
  --text: #EEF4F6; --muted: #9DB2BA; --faint: #7F95A0;
  --primary: #3DBDEB; --primary-pressed: #22A6D6; --on-primary: #04202B; --primary-soft: #0E3A4A; --on-primary-soft: #8ED8F4;
  --accent: #FF7254; --on-accent: #1F0904; --accent-text: #FF8F75; --accent-soft: #3A1D17; --on-accent-soft: #FFB09E;
  --winning: #3DD68C; --winning-soft: #0E3020; --on-winning-soft: #7EE6B0;
  --outbid: #FF5A6E; --on-outbid: #2A0309; --outbid-soft: #3A1419; --on-outbid-soft: #FF9AA6;
  --urgency: #FFB82E; --on-urgency: #231500; --urgency-text: #FFC24D; --urgency-soft: #33260C; --on-urgency-soft: #FFCF70;
  --info: #6FA2FF; --info-soft: #15264A; --on-info-soft: #A9C4FA;
  --band: #0A3646; --band-deep: #082C3A; --on-band: #EEF4F6; --on-band-muted: #B9D6E0; --band-line: rgba(142, 216, 244, 0.28); --band-tile: rgba(142, 216, 244, 0.07);
  --soft-band: #0A222A; --ink-band: #030E12; --on-ink: #EEF4F6; --on-ink-muted: #9DB2BA; --ink-line: #1A333C;
  --header-bg: rgba(6, 22, 27, 0.86); --header-solid: #06161B; --hero-wash: #0B2B37;
  --device: #000000; --device-edge: #2E5562; --photo-dark: rgba(0, 0, 0, 0.7);
  --logo-g: #FFFFFF; --logo-sun: #FF5A36; --logo-ink: #FFFFFF; --logo-cars: #3DBDEB; --focus: #3DBDEB;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  --glow: 0 10px 24px -10px rgba(61, 189, 235, 0.45);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--header-solid); pointer-events: none;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.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 { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--r-btn); box-shadow: var(--shadow-2); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.tnum { font-variant-numeric: tabular-nums; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.lg-g { fill: var(--logo-g); }
.lg-sun { fill: var(--logo-sun); }
.lg-ink { fill: var(--logo-ink); }
.lg-cars { fill: var(--logo-cars); }
.email { font-weight: 600; color: inherit; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }

.wrap {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.container { max-width: 1200px; margin-inline: auto; }
.section { padding-block: var(--section-y); }
[id] { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.pt0 { padding-top: 0; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.eyebrow { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary); }
.overline { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.15; white-space: nowrap; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 4vw, 64px); }
.section-head.flush { margin-bottom: 0; }
.section-head .lead { margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: progress; opacity: .7; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--primary-pressed); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--primary); }
.text-link:hover { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- Pills, countdowns ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.25; }
.pill .i { width: 16px; height: 16px; stroke-width: 2.2; }
.pill-win { background: var(--winning-soft); color: var(--on-winning-soft); }
.pill-info { background: var(--info-soft); color: var(--on-info-soft); }
.pill-sea { background: var(--primary-soft); color: var(--on-primary-soft); }
.pill-neutral { background: var(--surface-alt); color: var(--text); }
.cd {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 9px; border-radius: 999px;
  font-weight: 600; font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--border);
}
.cd .i { width: 16px; height: 16px; stroke-width: 2.1; }
.cd .ic-alert { display: none; }
.cd--urgent .ic-clock, .cd--final .ic-clock { display: none; }
.cd--urgent .ic-alert, .cd--final .ic-alert { display: block; }
.cd--urgent { background: var(--urgency); color: var(--on-urgency); box-shadow: none; }
.cd--final { background: var(--outbid); color: var(--on-outbid); box-shadow: none; }
.cd--ended { color: var(--muted); }
.beats { display: inline-flex; gap: 2px; align-items: center; margin-left: 1px; }
.beats i { width: 3px; height: 11px; border-radius: 2px; background: currentColor; opacity: .28; }
.cd[data-beats="1"] .beats i:nth-child(-n+1),
.cd[data-beats="2"] .beats i:nth-child(-n+2),
.cd[data-beats="3"] .beats i:nth-child(-n+3) { opacity: 1; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; position: relative; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
  .cd--final .ic-alert { animation: tick 1s steps(2, jump-none) infinite; }
}
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes tick { 50% { opacity: .55; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; min-height: 44px; }
.brand svg { height: 25px; width: auto; aspect-ratio: 1115.66 / 130.05; display: block; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--surface-alt); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface-alt); border: 1px solid var(--border); }
.lang button {
  border: 0; background: transparent; padding: 0 9px; min-width: 44px; height: 44px; border-radius: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); cursor: pointer;
}
.header-tools .lang { padding: 2px; }
.header-cta { min-height: 48px; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.header-cta { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.mobile-menu {
  border-top: 1px solid var(--border); background: var(--header-solid);
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu ul { display: grid; padding-block: 8px; }
.mobile-menu a.mm-link { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 4px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 18px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { width: 100%; margin-block: 16px 20px; }
.lang-menu { display: flex; margin-top: 16px; }
.lang-menu button { flex: 1; }
@media (max-width: 519px) { .header-tools .lang { display: none; } }
@media (min-width: 520px) { .lang-menu { display: none; } }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  :root { --header-h: 76px; }
  .nav { display: block; }
  .nav + .header-tools { margin-left: 0; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
  .header-row { gap: 16px; }
}
@media (max-width: 400px) {
  .header-row { gap: 12px; }
  .brand svg { height: 20px; }
}
@media (max-width: 360px) { .brand svg { height: 18px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, var(--hero-wash), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, var(--hero-wash), transparent 70%);
  opacity: .9;
}
.hero-grid { position: relative; display: grid; gap: 56px; padding-block: clamp(40px, 5vw, 88px) clamp(64px, 6vw, 104px); }
.hero-copy { display: grid; align-content: center; gap: 24px; min-width: 0; }
.eyebrow-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--muted); box-shadow: var(--shadow-1); line-height: 1.35;
}
.hero-title { font-size: var(--fs-h1); line-height: 1.04; }
.hero-title span { display: block; }
.hero-title .yours { color: var(--accent-text); transform-origin: 0 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .yours { animation: gavel .8s var(--ease) .5s; }
}
@keyframes gavel { 0% { transform: none; } 35% { transform: translateY(-0.12em) rotate(-3deg); } 62% { transform: translateY(0.03em) rotate(0); } 100% { transform: none; } }
.hero-copy .lead { font-size: clamp(17px, 0.5vw + 15px, 20px); max-width: 34em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .i { width: 18px; height: 18px; color: var(--winning); stroke-width: 2.2; }

.hero-visual { position: relative; padding: 9% 0 20%; min-width: 0; max-width: 640px; width: 100%; justify-self: center; }
.sun { position: absolute; width: 21%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); left: 52%; top: 1%; z-index: 0; }
.hero-photo {
  position: relative; z-index: 1; width: 74%; margin-left: 7%;
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.15; box-shadow: var(--shadow-3);
  background: var(--surface-alt);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.phone-wrap { container-type: inline-size; }
.phone { background: var(--device); padding: 3.4cqi; border-radius: 15cqi; box-shadow: 0 0 0 1px var(--device-edge), var(--shadow-3); }
.phone img { width: 100%; height: auto; border-radius: 11.6cqi; }
.hero-phone { position: absolute; z-index: 2; right: 0; top: 4%; width: 31%; }
.hero-card {
  position: absolute; z-index: 3; left: 0; bottom: 0; width: min(320px, 62%);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 16px 18px; box-shadow: var(--shadow-3); display: grid; gap: 12px;
}
.hc-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.hc-title .i { color: var(--primary); }
.hc-steps { display: grid; }
.hc-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 5px 0; font-size: 14.5px; line-height: 1.35; }
.hc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: -6px; width: 2px; border-radius: 2px; background: var(--border-strong); }
.hc-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--on-primary-soft); position: relative; z-index: 1; }
.hc-ic .i { width: 16px; height: 16px; stroke-width: 2.1; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 48px; align-items: center; }
  .hero-visual { justify-self: end; }
}
@media (max-width: 520px) {
  .hero-visual { padding: 8% 0 0; }
  .hero-photo { width: 80%; margin-left: 4%; border-radius: 22px; }
  .hero-phone { width: 30%; top: 3%; }
  .hero-card { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -48px 0 0 12px; padding: 14px 16px; }
  .sun { left: 46%; width: 24%; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-item { display: grid; gap: 10px; align-content: start; padding: 24px 16px 24px 0; min-width: 0; }
.trust-item h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.well { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--on-primary-soft); flex: none; }
.well .i { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item { padding: 32px 28px; border-left: 1px solid var(--border); grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; }
  .trust-item:first-child { border-left: 0; padding-left: 0; }
  .trust-item:last-child { padding-right: 0; }
  .trust-item .well { grid-row: span 2; }
}
@media (max-width: 1099px) {
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); padding-right: 0; }
}

/* ---------- How it works: auction phases ---------- */
.phases { display: grid; gap: 0; }
.phase { position: relative; display: grid; gap: 12px; align-content: start; padding: 0 0 36px 32px; min-width: 0; }
.phase::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 3px; border-radius: 3px; background: var(--seg); }
.phase:last-child::before { bottom: 8px; }
.phase::after { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); border: 3px solid var(--seg); }
.phase--once { --seg: var(--border-strong); }
.phase--twice { --seg: var(--urgency); }
.phase--final { --seg: var(--outbid); }
.phase--yours { --seg: var(--accent); }
.phase--yours::after { background: var(--accent); }
.phase-name { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.phase--yours .phase-name { color: var(--accent-text); }
.phase p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 34ch; }
.phase .cd, .phase .pill { justify-self: start; }
.phase .pill { padding: 6px 12px 6px 9px; font-size: 14px; line-height: 1.2; }
@media (min-width: 860px) {
  .phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phase { padding: 40px 28px 0 0; }
  .phase::before { left: 0; right: 4px; top: 7px; bottom: auto; width: auto; height: 3px; }
  .phase:last-child::before { right: 40%; bottom: auto; }
  .phase::after { left: 0; top: 0; }
}
.rules { display: grid; gap: 16px; margin-top: clamp(40px, 4vw, 56px); }
.rule { display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.rule .well { grid-row: span 3; }
.rule h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.rule p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.rule .pill { justify-self: start; margin-bottom: 6px; }
@media (min-width: 860px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Live auctions (real data from Supabase; hidden until loaded) ---------- */
.live { background: var(--surface); border-top: 1px solid var(--border); }
.live-badge { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--on-accent-soft); font-size: 13px; font-weight: 600; }
.lots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.lot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); min-width: 0; color: inherit; text-decoration: none; }
a.lot { transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { a.lot:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); } }
.lot-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.lot-media img { width: 100%; height: 100%; object-fit: cover; }
.lot-media .cd { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px rgba(10, 29, 36, .18); }
.lot-media .cd:not(.cd--urgent):not(.cd--final) { background: var(--on-photo-bg); color: var(--on-photo-fg); }
.insp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--on-primary-soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.insp .i { width: 16px; height: 16px; stroke-width: 2.1; }
.lot-media .insp { position: absolute; left: 12px; bottom: 12px; }
.lot-body { padding: 18px 18px 20px; display: grid; gap: 4px; flex: 1; align-content: start; }
.lot-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.lot-trim, .lot-specs { font-size: 14.5px; color: var(--muted); }
.lot-specs { font-variant-numeric: tabular-nums; }
.lot-loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 2px; }
.lot-loc .i { width: 16px; height: 16px; }
.lot-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; }
.lot-foot .price { font-size: 23px; margin-top: 2px; }
.lot-bids { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; padding-bottom: 3px; }
.lot-min { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 10px; }
.lot-min .i { width: 16px; height: 16px; }
.lot-min.met { color: var(--on-winning-soft); }
.lot-min.not { color: var(--muted); }

/* ---------- What a listing shows you ---------- */
.listing { background: var(--surface); border-block: 1px solid var(--border); }
.lx-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .lx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.lx-figure { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.lx-card { position: relative; width: 100%; max-width: 480px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 12px 12px 16px; box-shadow: var(--shadow-3); display: grid; gap: 12px; }
.lx-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface-alt); }
.lx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.lx-photo .cd { position: absolute; top: 12px; left: 12px; background: var(--on-photo-bg); color: var(--on-photo-fg); box-shadow: 0 2px 8px rgba(10, 29, 36, .18); }
.lx-photo .insp { position: absolute; left: 12px; bottom: 12px; background: var(--on-photo-bg); color: var(--on-photo-fg); box-shadow: 0 2px 8px rgba(10, 29, 36, .18); }
.lx-photo .insp .i { color: var(--primary); }
:root[data-theme="dark"] .lx-photo .insp .i { color: #0077A0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lx-photo .insp .i { color: #0077A0; } }
.lx-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--photo-dark); color: #FFFFFF; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lx-count .i { width: 15px; height: 15px; }
.lx-thumbs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lx-thumbs img, .lx-more { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.lx-thumbs img.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.lx-more { display: grid; place-items: center; background: var(--surface-alt); color: var(--muted); font-weight: 600; font-size: 14px; border: 1px solid var(--border); }
.lx-body { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.lx-seller { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.lx-seller span { display: inline-flex; align-items: center; gap: 5px; }
.lx-seller .ok { color: var(--text); font-weight: 600; }
.lx-seller .ok .i { color: var(--winning); }
.lx-seller .i { width: 16px; height: 16px; }
.lx-title { font-weight: 600; font-size: 19px; line-height: 1.25; margin-top: -4px; }
.lx-specs { font-size: 14px; color: var(--muted); margin-top: -8px; font-variant-numeric: tabular-nums; }
.lx-bid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: end; border-top: 1px solid var(--border); padding-top: 12px; }
.lx-bid .price { font-size: 28px; }
.lx-ends { text-align: right; }
.lx-ends b { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-ends b .i { width: 18px; height: 18px; }
.lx-ends small, .lx-bid small { display: block; font-size: 13px; color: var(--muted); }
.lx-beats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.lx-beats i { height: 4px; border-radius: 4px; background: var(--surface-alt); }
.lx-beats i:first-child { background: var(--primary); }
.lx-min { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; align-items: start; background: var(--winning-soft); color: var(--on-winning-soft); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; }
.lx-min .ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--winning); }
.lx-min .ic .i { width: 18px; height: 18px; stroke-width: 2.4; }
.lx-min b { font-weight: 600; font-size: 14.5px; }
.lx-total { position: relative; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.lx-total p { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.lx-total p b { color: var(--text); font-weight: 600; white-space: nowrap; }
.lx-total .sum { border-top: 1px dashed var(--border-strong); padding-top: 8px; color: var(--text); font-weight: 600; align-items: baseline; }
.lx-total .sum .price { font-size: 17px; }
.lx-place { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 15.5px; box-shadow: var(--glow); }
.lx-m {
  position: absolute; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px var(--surface), 0 4px 10px rgba(10, 29, 36, .25);
}
.lx-card .lx-m { display: grid; }
.insp .lx-m { top: calc(50% - 13px); right: -34px; }
.lx-thumbs .lx-m { top: calc(50% - 13px); right: -13px; }
.lx-seller .lx-m, .lx-bid .lx-m, .lx-min .lx-m, .lx-total .lx-m { top: calc(50% - 13px); right: -30px; }
.lx-cap { display: flex; align-items: flex-start; justify-content: center; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 480px; }
.lx-cap .i { width: 18px; height: 18px; color: var(--primary); margin-top: 1px; }
.lx-list { display: grid; gap: 22px; counter-reset: lx; }
.lx-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.lx-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.lx-list h3 { font-size: 17px; font-weight: 600; line-height: 1.35; padding-top: 5px; }
.lx-list p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 420px) {
  .lx-card { padding: 10px 10px 14px; border-radius: 24px; }
  .lx-bid .price { font-size: 24px; }
  .lx-ends b { font-size: 16px; }
}

/* ---------- Buyers: steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px 14px 24px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-1); min-width: 0; }
.step-n { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .02em; margin: 8px 8px 0; }
.step > h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-inline: 8px; }
.step > p:not(.step-n) { font-size: 15.5px; color: var(--muted); line-height: 1.55; margin-inline: 8px; }
.mini { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 16px; min-height: 200px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 10px; font-size: 13px; line-height: 1.3; }
.mini-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 9px 12px; font-size: 14px; font-weight: 500; }
.mini-search .i { width: 16px; height: 16px; color: var(--muted); }
.mini-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-weight: 500; font-size: 12px; white-space: nowrap; }
.mini-chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.mini-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.mini-row img { width: 52px; height: 39px; object-fit: cover; border-radius: 8px; flex: none; }
.mini-row .mr { min-width: 0; flex: 1; }
.mini-row .mr p { overflow-wrap: anywhere; }
.mini-row .t { font-weight: 600; font-size: 13px; }
.mini-row .s { color: var(--muted); font-size: 12px; }
.mini-row .price { margin-left: auto; font-size: 14px; flex: none; }
.mini-stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-round { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--muted); flex: none; }
.mini-round.plus { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.mini-round .i { width: 16px; height: 16px; stroke-width: 2.2; }
.mini-stepper .price { font-size: 24px; }
.mini-bid { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 14px; box-shadow: var(--glow); padding: 0 12px; text-align: center; }
.mini-center { text-align: center; }
.mini-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-line b { color: var(--text); font-weight: 600; white-space: nowrap; }
.mini-line.total { border-top: 1px dashed var(--border-strong); padding-top: 10px; color: var(--text); font-weight: 600; align-items: baseline; }
.mini-line.total .price { font-size: 17px; }
.mini-note { display: flex; align-items: center; gap: 6px; color: var(--on-primary-soft); background: var(--primary-soft); border-radius: 10px; padding: 7px 10px; font-weight: 500; font-size: 12px; }
.mini-note .i { width: 15px; height: 15px; }
.code { display: flex; align-items: center; justify-content: center; gap: 4px; }
.code span { width: 30px; height: 40px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.code .dash { width: 10px; border: 0; background: none; color: var(--muted); font-family: var(--font-ui); }
.mini-slot { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.mini-slot .i { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Sellers ---------- */
.sellers { background: var(--surface); border-block: 1px solid var(--border); }
.split { display: grid; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.points { display: grid; gap: 22px; margin-top: 32px; }
.point { display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; }
.point .well { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
.point .well .i { width: 20px; height: 20px; }
.point h3 { font-size: 17px; font-weight: 600; line-height: 1.35; padding-top: 1px; }
.point p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.split .cta-row { margin-top: 36px; }
.stage-wrap { display: grid; gap: 14px; }
.seller-stage { position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 40px); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); }
.seller-stage .btn { cursor: default; }
.stage-cap { display: flex; align-items: flex-start; justify-content: center; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.stage-cap .i { width: 18px; height: 18px; color: var(--primary); margin-top: 1px; }
.s-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px; box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.s-head { display: flex; gap: 14px; align-items: center; }
.s-head img { width: 88px; height: 66px; border-radius: 12px; object-fit: cover; flex: none; }
.s-head .t { font-weight: 600; font-size: 16px; line-height: 1.3; }
.s-head .s { color: var(--muted); font-size: 13px; }
.s-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.s-price .price { font-size: 24px; }
.banner-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--urgency-soft); color: var(--on-urgency-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; font-weight: 500; }
.banner-warn .i { width: 18px; height: 18px; margin-top: 1px; }
.banner-warn .tnum { font-weight: 700; }
.s-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.s-actions .btn { min-height: 46px; font-size: 15px; padding: 0 16px; }
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; position: relative; padding-bottom: 14px; font-size: 14px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--winning); opacity: .45; }
.tl:last-child::before { display: none; }
.tl-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--winning); color: var(--surface); }
.tl-dot .i { width: 14px; height: 14px; stroke-width: 2.8; }
.tl.now .tl-dot { background: var(--surface); border: 2px solid var(--primary); }
.tl.now .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.tl .t { font-weight: 600; line-height: 1.35; }
.tl .s { color: var(--muted); font-size: 13px; }
.tl .price { font-size: 16px; }
@media (min-width: 560px) {
  .seller-stage .s-card:last-child { margin-left: 12%; }
  .seller-stage .s-card:first-child { margin-right: 8%; }
}

/* ---------- Safety band ---------- */
.band { background: linear-gradient(180deg, var(--band) 0%, var(--band-deep) 100%); color: var(--on-band); }
.band .eyebrow { color: var(--on-band-muted); }
.band .lead { color: var(--on-band-muted); }
.flow { display: grid; gap: 0; align-items: stretch; }
.node { background: var(--surface); color: var(--text); border-radius: var(--r-card); padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); min-width: 0; }
.band .node:not(.node-goc) { box-shadow: inset 0 0 0 1px var(--band-line), 0 20px 40px -20px rgba(0, 0, 0, .35); }
.node h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.node p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.node-goc { border: 2px solid var(--accent); }
.node-goc .mark { width: 48px; height: 48px; }
.node-goc .pill { justify-self: start; }
.node .well { margin-bottom: 4px; }
.arrow { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 14px 8px; text-align: center; min-width: 0; }
.arrow .price { font-size: 20px; color: var(--on-band); }
.arrow small { font-size: 13px; color: var(--on-band-muted); line-height: 1.35; max-width: 22ch; }
.arrow svg { width: 28px; height: 40px; color: var(--on-band); }
.arrow .ar-h { display: none; }
@media (min-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr) minmax(150px, .62fr) minmax(0, 1.12fr) minmax(150px, .62fr) minmax(0, 1fr); align-items: center; }
  .arrow .ar-v { display: none; }
  .arrow .ar-h { display: block; width: 100%; max-width: 150px; height: 20px; }
  .arrow small { min-height: 2.7em; }
  .node-goc { padding: 26px; }
}
.flow-caption { margin-top: 20px; font-size: 14px; color: var(--on-band-muted); }
.notes { display: grid; gap: 28px; margin-top: clamp(48px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--band-line); }
.note { display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; }
.note .well { grid-row: span 2; background: var(--band-tile); color: var(--on-band); box-shadow: inset 0 0 0 1px var(--band-line); }
.note h3 { font-size: 17px; font-weight: 600; }
.note p { font-size: 15.5px; color: var(--on-band-muted); line-height: 1.55; }
@media (min-width: 860px) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Fees ---------- */
.fees-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .fees-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; } }
.fee-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.fee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 22px 24px; border-top: 1px solid var(--border); align-items: center; }
.fee:first-child { border-top: 0; }
.fee h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.fee p { font-size: 14.5px; color: var(--muted); line-height: 1.5; grid-column: 1; }
.fee .price { grid-row: span 2; grid-column: 2; font-size: clamp(20px, 1.2vw + 14px, 26px); text-align: right; }
.fee .price.free { color: var(--winning); }
.fee .price small { display: block; font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; text-align: right; }
.fee-key { background: linear-gradient(90deg, var(--primary-soft), transparent 85%); }
@media (max-width: 519px) {
  .fee { padding: 18px 18px; }
  .fee h3 { grid-column: 1; }
  .fee .price { grid-row: 1; grid-column: 2; align-self: center; }
  .fee p { grid-column: 1 / -1; }
}
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 18px; position: relative; }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 28px; }
.calc label { font-weight: 600; font-size: 15px; }
.calc-price { font-size: clamp(30px, 2vw + 20px, 42px); }
.range { width: 100%; accent-color: var(--primary); height: 44px; margin: 0; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -12px; }
.receipt { display: grid; border-top: 1px dashed var(--border-strong); }
.r-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border-strong); font-size: 15.5px; }
.r-line span:first-child { color: var(--muted); }
.r-line b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-line.strong span:first-child { color: var(--text); font-weight: 600; }
.r-line.strong .price { font-size: 20px; }
.r-line.seller b { color: var(--on-winning-soft); }
.r-line.seller { border-bottom: 0; }
.calc-note { font-size: 14px; color: var(--muted); }

/* ---------- Markets ---------- */
.markets-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .markets-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); } }
.first-market { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: var(--ink-band); color: var(--on-ink); display: grid; gap: 14px; align-content: end; min-height: 340px; isolation: isolate; }
.first-market::before { content: ""; position: absolute; right: 44px; top: 36px; width: 136px; height: 136px; border-radius: 50%; background: var(--accent); z-index: -2; }
.first-market::after { content: ""; position: absolute; left: 0; right: 0; top: 104px; bottom: 0; background: linear-gradient(180deg, var(--band) 0%, var(--ink-band) 100%); z-index: -1; }
.first-market .name { color: var(--on-ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 2.6vw + 22px, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.first-market .name span { display: block; }
.first-market p { color: var(--on-ink-muted); font-size: 16px; }
.fm-tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--ink-tile); color: var(--on-ink); padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.fm-tag .dot { background: var(--lagoon); }
.next-markets { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.country-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.country { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); font-weight: 500; font-size: 15.5px; line-height: 1.3; min-width: 0; }
.country .i { width: 18px; height: 18px; color: var(--primary); }
.next-markets .lead { font-size: 16px; }

/* ---------- App ---------- */
.app-band { background: var(--soft-band); border-block: 1px solid var(--border); overflow: clip; }
.app-band .eyebrow { color: var(--on-primary-soft); }
.app-phones { display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px); align-items: flex-start; }
.app-phones .phone-wrap { width: min(46%, 300px); }
.app-phones .phone-wrap:last-child { margin-top: clamp(32px, 6vw, 72px); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: var(--r-btn); border: 1px dashed var(--border-strong); background: var(--surface); flex: 1 1 165px; max-width: 240px; min-width: 0; min-height: 56px; color: var(--text); text-decoration: none; }
a.store { border-style: solid; }
a.store:hover { border-color: var(--text); }
.store .i { width: 26px; height: 26px; color: var(--text); }
.store span { display: grid; gap: 1px; }
.store small { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.store b { font-size: 17px; font-weight: 600; line-height: 1.2; }
.app-list { display: grid; gap: 12px; margin-top: 28px; }
.app-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.app-list .i { color: var(--primary); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 72px; } .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-aside .h2 { margin-top: 16px; }
.faq-aside .lead { margin-top: 16px; }
.faq-aside .email { color: var(--text); }
.qa-list { border-top: 1px solid var(--border); }
.qa { border-bottom: 1px solid var(--border); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 600; font-size: 18px; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--primary); }
.plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); transition: transform .2s var(--ease), background-color .2s; }
.plus .i { width: 16px; height: 16px; stroke-width: 2.2; }
details[open] > summary .plus { transform: rotate(45deg); background: var(--primary-soft); border-color: transparent; color: var(--on-primary-soft); }
.qa .ans { padding: 0 52px 24px 4px; color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 68ch; }

/* ---------- Create account band (home) + shared form controls ---------- */
#join { position: relative; }
.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.join-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.join-copy .h2 { margin-top: 16px; }
.join-copy .lead { margin-top: 16px; }
.join-points { display: grid; gap: 10px; margin-top: 28px; }
.join-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-band); font-weight: 500; }
.join-points .i { color: var(--on-band); margin-top: 3px; }
.join-card { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.join-actions { display: grid; gap: 12px; }
@media (min-width: 520px) { .join-actions { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.join-actions .btn { white-space: normal; text-align: center; }
.join-fine { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.join-fine .i { color: var(--primary); margin-top: 2px; }
.field { display: grid; gap: 8px; }
.field > label, .field legend { font-size: 14px; font-weight: 600; }
.input, .select {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 16px;
}
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 0 5px var(--primary-soft); }
.input[aria-invalid="true"] { border-color: var(--outbid); }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; background: var(--surface-alt); border-radius: var(--r-btn); gap: 4px; }
.seg.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; min-height: 44px; border-radius: 11px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; text-align: center; padding: 4px 6px; line-height: 1.2; }
.seg input:checked + label { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-1); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 1px; }
.msg { font-size: 15px; line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; }
.msg:empty { display: none; }
.msg .i { margin-top: 1px; }
.msg.ok { background: var(--winning-soft); color: var(--on-winning-soft); }
.msg.info { background: var(--primary-soft); color: var(--on-primary-soft); }
.msg.err { background: var(--outbid-soft); color: var(--on-outbid-soft); }
.calc fieldset.field legend { font-size: 15px; }

/* ---------- Legal (inline on the single page, and on the legal pages) ---------- */
.legal-list { display: grid; gap: 12px; max-width: 920px; }
.doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.doc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 14px 20px 14px 22px; font-weight: 600; font-size: 18px; line-height: 1.3; }
.doc > summary::-webkit-details-marker { display: none; }
.doc > summary .ttl { display: inline-flex; align-items: center; gap: 12px; }
.doc > summary .ttl .i { color: var(--primary); }
.doc > summary:hover { color: var(--primary); }
.doc-body { padding: 4px 22px 28px; border-top: 1px solid var(--border); }
.legal-lead .email { color: var(--text); }
.draft-note { display: flex; gap: 10px; align-items: flex-start; background: var(--urgency-soft); color: var(--on-urgency-soft); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; font-weight: 500; margin-top: 20px; }
.draft-note .i { width: 18px; height: 18px; margin-top: 2px; }
.draft-note b { font-weight: 700; }
.doc-text { max-width: 72ch; }
.doc-text .doc-meta { font-size: 14px; color: var(--muted); margin-top: 16px; }
.doc-text .doc-intro { font-size: 17px; color: var(--text); line-height: 1.6; margin-top: 12px; }
.doc-text h2, .doc-text h4 { font-family: var(--font-ui); font-size: 17.5px; font-weight: 600; line-height: 1.35; margin: 28px 0 8px; letter-spacing: 0; }
.doc-text p, .doc-text li { font-size: 16px; color: var(--muted); line-height: 1.65; }
.doc-text p + p { margin-top: 10px; }
.doc-text ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; margin-top: 8px; }
.doc-text .email { color: var(--text); }
.doc-text .doc-contact { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text); }
.legal-page { padding-block: clamp(32px, 4vw, 64px) clamp(64px, 6vw, 112px); }
.legal-page .doc-wrap { max-width: 860px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.doc-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.doc-tabs a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.doc-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 2vw + 20px, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.nf { padding-block: clamp(56px, 8vw, 120px); }
.nf .code404 { font-family: var(--font-display); font-weight: 600; font-size: clamp(64px, 8vw + 20px, 140px); line-height: 1; letter-spacing: -0.03em; color: var(--primary); }
.nf .h2 { margin-top: 16px; }
.nf .lead { margin-top: 16px; }
.nf .cta-row { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-band); color: var(--on-ink); --logo-g: var(--white); --logo-ink: var(--white); --logo-cars: var(--lagoon); --logo-sun: var(--accent); --focus: var(--lagoon); }
.footer-top { display: grid; gap: 40px; padding-block: 64px 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, .75fr); gap: 48px; } }
.footer .brand svg { height: 28px; }
.footer-tag { margin-top: 18px; color: var(--on-ink-muted); max-width: 40ch; }
.taglines { display: grid; gap: 10px; margin-top: 28px; }
.taglines li { display: flex; gap: 14px; align-items: baseline; font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.taglines .lc { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--on-ink-muted); width: 22px; flex: none; }
.taglines em { font-style: normal; color: var(--accent); }
.footer-col h2 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; align-content: start; }
.footer-col.legal-col .footer-links { grid-template-columns: minmax(0, 1fr); }
.footer-links a { color: var(--on-ink); text-decoration: none; font-size: 15px; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { margin-top: 16px; display: grid; gap: 4px; font-size: 15px; color: var(--on-ink-muted); }
.footer-contact .email { color: var(--on-ink); }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-block: 24px 40px; display: grid; gap: 16px; font-size: 14px; color: var(--on-ink-muted); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.credits summary { cursor: pointer; color: var(--on-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits[open] summary .i { transform: rotate(90deg); }
.credits .i { transition: transform .2s var(--ease); width: 16px; height: 16px; }
.credits-body { margin-top: 6px; display: grid; gap: 10px; max-width: 900px; }
.credits-body ul { display: grid; gap: 8px; }
.credits-body li { line-height: 1.5; overflow-wrap: anywhere; }
.credits-body a { color: var(--lagoon); }
.credits-body b { color: var(--on-ink); font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.footer-contact { margin-top: 24px; }
.footer-contact h2 { margin-bottom: 4px; }
.footer-contact p { min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; column-gap: .35em; padding-block: 4px; }
.footer-contact .email { overflow-wrap: normal; white-space: nowrap; }
.legal { border-top: 1px solid var(--border); }

/* ---------- Account page (/account) ---------- */
.acct-page { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 6vw, 112px); }
.acct-page .btn { white-space: normal; text-align: center; }
.acct-h1 { font-size: clamp(30px, 1.6vw + 22px, 46px); }
.acct-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 46vh; color: var(--muted); text-align: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.acct-banner { margin-bottom: 24px; max-width: 760px; }

/* Signed out: intro + steps on the left, the form card on the right */
.acct-out { display: grid; gap: 28px; grid-template-areas: "intro" "auth" "side"; }
@media (min-width: 980px) {
  .acct-out { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "intro auth" "side auth"; column-gap: clamp(48px, 6vw, 96px); row-gap: 36px; align-items: start; }
}
.acct-intro { grid-area: intro; display: grid; gap: 16px; align-content: start; }
.acct-side { grid-area: side; display: grid; gap: 24px; align-content: start; }
.auth-card { grid-area: auth; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: clamp(18px, 2.6vw, 32px); display: grid; gap: 18px; min-width: 0; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface-alt); border-radius: var(--r-btn); }
.auth-tabs button { min-height: 46px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 600; font-size: 15.5px; line-height: 1.2; padding: 4px 8px; cursor: pointer; }
.auth-tabs button:hover { color: var(--text); }
.auth-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-1); }
.auth-panel { display: grid; min-width: 0; }
.auth-social { display: grid; gap: 12px; }
.or { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-form { display: grid; gap: 18px; min-width: 0; }
.auth-form > .btn { width: 100%; }
.auth-sub { display: grid; gap: 8px; }
.auth-sub h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.auth-sub p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.auth-links { display: flex; justify-content: center; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 8px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.i.flip { transform: scaleX(-1); }
.pw { position: relative; }
.pw .input { padding-right: 92px; }
.pw-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; min-width: 76px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; }
.pw-toggle:hover { background: var(--surface-alt); }
.hint { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hint.center { text-align: center; }
.field-err { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--on-outbid-soft); }
.field-err:empty { display: none; }
.field > label.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 400; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--primary); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--outbid); outline-offset: 2px; }
.check a { color: var(--primary); font-weight: 600; }
.auth-sent { display: grid; gap: 12px; justify-items: center; text-align: center; padding-block: 8px; }
.auth-sent h2 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.auth-sent h2:focus { outline: none; }
.auth-sent p { color: var(--muted); max-width: 40ch; }
.auth-sent .msg { text-align: left; width: 100%; }

/* "Continue with Google": Google sign-in branding (white / dark theme, Roboto Medium, standard "G") */
.gsi-btn {
  --gsi-bg: #FFFFFF; --gsi-line: #747775; --gsi-ink: #1F1F1F; --gsi-state: rgba(31, 31, 31, .08);
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--gsi-line); border-radius: 999px; background: var(--gsi-bg); color: var(--gsi-ink);
  font-family: "Roboto", Arial, sans-serif; font-weight: 500; font-size: 14px; letter-spacing: .25px; line-height: 20px; cursor: pointer;
  transition: background-color .218s, box-shadow .218s;
}
.gsi-btn:hover { background-image: linear-gradient(var(--gsi-state), var(--gsi-state)); box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.gsi-logo { width: 20px; height: 20px; flex: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gsi-btn { --gsi-bg: #131314; --gsi-line: #8E918F; --gsi-ink: #E3E3E3; --gsi-state: rgba(227, 227, 227, .08); }
}
:root[data-theme="dark"] .gsi-btn { --gsi-bg: #131314; --gsi-line: #8E918F; --gsi-ink: #E3E3E3; --gsi-state: rgba(227, 227, 227, .08); }

/* Busy buttons keep their size and show a spinner */
.btn.is-busy, .gsi-btn.is-busy { position: relative; color: transparent !important; cursor: progress; }
.btn.is-busy > *, .gsi-btn.is-busy > * { visibility: hidden; }
.btn.is-busy::after, .gsi-btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid var(--border-strong); border-top-color: var(--primary); animation: spin .8s linear infinite; }
.btn-primary.is-busy::after { border-color: rgba(255, 255, 255, .35); border-top-color: var(--on-primary); }
.btn.is-busy:disabled { opacity: 1; }

/* Steps (account page and the home "Create account" card) */
.acct-steps { display: grid; gap: 20px; }
.acct-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; align-content: start; }
.acct-steps .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--on-primary-soft); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.acct-steps h2, .acct-steps h3 { font-family: var(--font-ui); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: 0; padding-top: 1px; }
.acct-steps p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.acct-note { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px 18px; font-size: 15.5px; line-height: 1.5; }
.acct-note .i { color: var(--primary); margin-top: 2px; }
.acct-narrow { max-width: 540px; margin-inline: auto; }

/* Signed in */
.acct-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.hello-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hello-id > div { display: grid; gap: 8px; min-width: 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--border); }
.acct-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 15px; }
.acct-who .email { font-weight: 500; color: var(--text); }
.acct-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .sell-card { grid-column: 1 / -1; } }
.acct-in.is-seller .sell-card { order: -1; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.card h2 { font-family: var(--font-ui); font-size: 18px; font-weight: 600; line-height: 1.3; }
.card > p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.status-card { box-shadow: var(--shadow-2); }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card > .status-plan { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 1.4vw + 20px, 38px); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.status-plan:empty, .status-text:empty { display: none; }
.pill-warn { background: var(--urgency-soft); color: var(--on-urgency-soft); }
.checklist { display: grid; border-top: 1px dashed var(--border-strong); }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border-strong); font-size: 15.5px; }
.ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--border-strong); color: transparent; }
.ck .i { width: 14px; height: 14px; stroke-width: 2.8; }
.checklist li.on .ck { background: var(--winning); border-color: var(--winning); color: var(--surface); }
.ck-val { margin-left: auto; color: var(--muted); font-size: 14.5px; text-align: right; font-variant-numeric: tabular-nums; }
.card > .ready { font-weight: 600; color: var(--muted); }
.card > .ready.on { color: var(--on-winning-soft); }
.card > .ready.warn { color: var(--on-urgency-soft); }
.card > .status-note { font-size: 14.5px; background: var(--surface-alt); border-radius: 12px; padding: 10px 14px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status-actions .btn { flex: 1 1 220px; }
.app-card .store-row { margin-top: 4px; }
.tick-list { display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.tick-list .i { color: var(--primary); margin-top: 2px; }
@media (min-width: 900px) { .sell-card .tick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }

/* Plans */
.plans { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--border); }
.plans .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.plan-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 760px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-1); min-width: 0; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.plan-trader { border: 2px solid var(--primary); box-shadow: var(--shadow-2); }
.plan.is-current { border-color: var(--winning); }
.plan.is-intent { border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft), var(--shadow-2); }
.plan-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 32px; }
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin-right: auto; }
.plan-tag { color: var(--muted); font-size: 15.5px; margin-top: -8px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price .price { font-size: clamp(38px, 2vw + 26px, 52px); }
.plan-price small { color: var(--muted); font-size: 16px; font-weight: 500; }
.plan-fee { display: grid; gap: 2px; background: var(--primary-soft); color: var(--on-primary-soft); border-radius: 14px; padding: 12px 16px; }
.plan-fee b { font-size: 16px; font-weight: 600; }
.plan-fee span { font-size: 14px; }
.plan .tick-list { flex: 1; align-content: start; }
.plan-ex { font-size: 14px; color: var(--muted); }
.plan-btn { width: 100%; }
.plan-btn:disabled:not(.is-busy) { cursor: default; opacity: 1; background: var(--surface-alt); border-color: var(--border); color: var(--muted); box-shadow: none; }
#plans-msg { margin-top: 20px; max-width: 760px; }
.plans-fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 72ch; }
.plans-fine .i { margin-top: 2px; color: var(--primary); }
