/* ============================================================
   BidPeak — coming-soon / launch-list site
   Palette derived from the BidPeak emblem:
     navy ink  #1A395A   ·   teal glow  #35C6D8   ·   gavel amber #E9A23B
   ============================================================ */

:root {
  --navy-900: #0b1220;
  --navy-850: #0e1a2b;
  --navy-800: #12243c;
  --navy-700: #1a395a;
  --navy-600: #24507d;

  --teal-400: #35c6d8;
  --teal-300: #6fdcea;
  /* teal-600 is used for text on light surfaces — darkened to clear 4.5:1 */
  --teal-600: #15707e;

  --amber-500: #e9a23b;
  --amber-600: #cf8721;
  --amber-300: #f6c884;

  --ink: #0f1b2d;
  --ink-2: #33475f;
  --muted: #5b6f88;
  --line: #dde5ef;
  --line-2: #eaf0f7;

  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-sunken: #eef3f9;

  /* status colours all clear 4.5:1 on white and on the tinted table column */
  --green: #1f7a4f;
  --red: #b8412a;
  --amber-text: #8a5e0f;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 2px 8px rgba(15, 27, 45, 0.05);
  --shadow: 0 4px 12px rgba(15, 27, 45, 0.08), 0 12px 32px rgba(15, 27, 45, 0.07);
  --shadow-lg: 0 18px 50px rgba(11, 18, 32, 0.28);

  --container: 1160px;
  --pad: clamp(1rem, 4vw, 2rem);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

/* ---------- reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-600);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- a11y helpers ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--amber-500);
  color: var(--navy-900);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.section-dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible {
  outline-color: var(--amber-500);
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--navy-900);
  color: #e7eef7;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-bottom: 0.6rem;
}

.section-dark .eyebrow {
  color: var(--teal-400);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.section-title.light,
.section-sub.light {
  color: #fff;
}

.section-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
  margin-bottom: 0;
}

.section-sub.light {
  color: #b7c7da;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--amber-500);
  color: #24160a;
  box-shadow: 0 6px 18px rgba(233, 162, 59, 0.28);
}

.btn-accent:hover {
  background: var(--amber-300);
  color: #24160a;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.03rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 750;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-nav a {
  color: #c8d6e6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}

.primary-nav a:hover {
  color: #fff;
}

.primary-nav .nav-cta {
  color: #24160a;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad) 1.25rem;
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .primary-nav .nav-cta {
    margin-top: 0.9rem;
    border-bottom: 0;
    justify-content: center;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(168deg, var(--navy-900) 0%, var(--navy-800) 52%, #123047 100%);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(5.5rem, 11vw, 9rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30% 20% auto -10%;
  height: 520px;
  background: radial-gradient(circle at 30% 40%, rgba(53, 198, 216, 0.34), transparent 62%);
  filter: blur(28px);
  z-index: -2;
  pointer-events: none;
}

.hero-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: rgba(9, 15, 26, 0.85);
  line-height: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-ridge svg {
  width: 100%;
  height: clamp(70px, 12vw, 150px);
}

.hero-inner {
  max-width: 860px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(53, 198, 216, 0.13);
  border: 1px solid rgba(53, 198, 216, 0.42);
  color: var(--teal-300);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0 rgba(53, 198, 216, 0.7);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(53, 198, 216, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 198, 216, 0);
  }
}

.hero-title {
  font-size: clamp(2.1rem, 6.2vw, 4rem);
  margin-bottom: 1rem;
}

.hero-title em {
  font-style: normal;
  color: var(--teal-300);
}

.hero-lead {
  font-size: clamp(1.03rem, 2vw, 1.24rem);
  color: #c3d3e5;
  max-width: 62ch;
  margin-bottom: 2rem;
}

.hero-lead strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.92rem;
  color: #a9bdd4;
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-bar li::before {
  content: "✓";
  color: var(--teal-400);
  font-weight: 700;
}

@media (max-width: 560px) {
  .br-lg {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   INTERFACE PREVIEW (animated illustration)
   ============================================================ */
.illustration-note {
  background: rgba(233, 162, 59, 0.1);
  border: 1px solid rgba(233, 162, 59, 0.34);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: #e4d3b6;
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.illustration-note strong {
  color: var(--amber-300);
}

.demo-figure {
  margin: 0;
}

.demo-frame {
  border-radius: var(--radius-lg);
  padding: clamp(0.5rem, 1.6vw, 1rem);
  background: linear-gradient(150deg, rgba(53, 198, 216, 0.22), rgba(26, 57, 90, 0.15));
  box-shadow: var(--shadow-lg);
}

.app-window {
  background: #0f1826;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  container-type: inline-size;
}

/* title bar */
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background: #16223a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}

.app-dots {
  display: inline-flex;
  gap: 6px;
}

.app-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35455f;
}

.app-emblem {
  width: 22px;
  height: auto;
  opacity: 0.95;
}

.app-title {
  font-weight: 620;
  color: #dce8f5;
  font-size: 0.86rem;
  margin-right: auto;
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: rgba(46, 158, 107, 0.16);
  border: 1px solid rgba(46, 158, 107, 0.5);
  color: #7fe3b4;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 620;
  white-space: nowrap;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d98f;
}

/* body grid */
.app-body {
  display: grid;
  grid-template-columns: 190px 1fr 210px;
  min-height: 340px;
}

.app-lots,
.app-rail {
  padding: 0.85rem;
  background: #101c2e;
}

.app-lots {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.app-rail {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.app-colhead {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  font-weight: 750;
  color: #7f96b4;
  margin: 0 0 0.55rem;
}

.app-colhead + .app-colhead,
.rail-note + .app-colhead {
  margin-top: 1rem;
}

.lot-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lot-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
  font-size: 0.76rem;
  color: #93a8c2;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lot-no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8fa4bf;
}

.lot-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lot-amt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.lot-row.is-done {
  color: #94a8c1;
}

.lot-row.is-done .lot-amt {
  color: #6cc79b;
}

.lot-row.is-live {
  background: rgba(53, 198, 216, 0.15);
  color: #eaf6fa;
  box-shadow: inset 2px 0 0 var(--teal-400);
}

.lot-row.is-live .lot-no,
.lot-row.is-live .lot-amt {
  color: var(--teal-300);
}

/* stage */
.app-stage {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}

.stage-lot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--teal-400);
  margin: 0 0 0.15rem;
  font-weight: 700;
}

.stage-desc {
  font-size: 1.06rem;
  font-weight: 650;
  color: #fff;
  margin: 0 0 0.15rem;
}

.stage-consignor {
  font-size: 0.76rem;
  color: #7b91ac;
  margin: 0;
}

.stage-bid {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, rgba(53, 198, 216, 0.1), rgba(20, 34, 55, 0.6));
  border: 1px solid rgba(53, 198, 216, 0.24);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.1rem;
  text-align: center;
  overflow: hidden;
}

.bid-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  color: #7fa3bd;
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.bid-amount {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 7cqi, 3.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  transition: transform 0.12s ease, color 0.2s ease;
}

.bid-amount.bump {
  transform: scale(1.07);
  color: var(--teal-300);
}

.bid-holder {
  font-size: 0.78rem;
  color: #8fa6c0;
  margin: 0.3rem 0 0;
}

.paddle {
  display: inline-block;
  min-width: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 0.05rem 0.4rem;
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 700;
}

/* A compact stamp badge sized to its own text, centred over the bid — not a
   full-bleed box, which read as a diagonal slash once rotated. */
.sold-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0.1em 0.45em;
  font-size: clamp(1.5rem, 5.5cqi, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: #ffcb7d;
  border: 4px solid rgba(233, 162, 59, 0.95);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.86);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%) rotate(-9deg) scale(1.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.sold-stamp.show {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-9deg) scale(1);
}

/* fade the amount back so the stamp is the thing you read */
.stage-bid:has(.sold-stamp.show) .bid-amount,
.stage-bid:has(.sold-stamp.show) .bid-holder,
.stage-bid:has(.sold-stamp.show) .bid-label {
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.stage-keys {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.key {
  flex: 1 1 auto;
  display: block;
  text-align: center;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #c9d9ea;
  cursor: default;
  transition: background-color 0.14s ease, transform 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.key.press {
  background: rgba(53, 198, 216, 0.35);
  border-color: var(--teal-400);
  color: #fff;
  transform: translateY(2px);
}

.key-sold {
  background: rgba(233, 162, 59, 0.14);
  border-color: rgba(233, 162, 59, 0.45);
  color: var(--amber-300);
}

.key-sold.press {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: #24160a;
}

/* right rail */
.clerk-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.clerk {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  color: #93a8c2;
}

.clerk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d98f;
  flex: none;
}

.rail-note {
  font-size: 0.66rem;
  color: #8ea3be;
  margin: 0.5rem 0 0;
  font-style: italic;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 92px;
}

.feed li {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: #9fb4cd;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  padding: 0.24rem 0.45rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  animation: feedIn 0.28s ease;
}

.feed li.sold-line {
  color: var(--amber-300);
  background: rgba(233, 162, 59, 0.12);
}

@keyframes feedIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.printer {
  margin-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.7rem;
}

.printer-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6rem;
  font-weight: 750;
  color: #7f96b4;
  margin: 0 0 0.4rem;
}

.receipt {
  background: #f4f1e8;
  color: #2a2a28;
  border-radius: 3px;
  padding: 0.5rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform-origin: top center;
  transition: max-height 0.6s ease, opacity 0.3s ease, padding 0.4s ease;
}

.receipt.print {
  max-height: 120px;
  opacity: 1;
}

.receipt p {
  margin: 0 0 0.15rem;
}

.r-title {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  border-bottom: 1px dashed #b6b0a1;
  padding-bottom: 0.2rem;
  margin-bottom: 0.3rem !important;
}

.r-line {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.r-cut {
  text-align: center;
  color: #9a9484;
  margin-top: 0.25rem !important;
}

/* status bar */
.app-statusbar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.9rem;
  background: #16223a;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
  color: #8299b5;
}

.sb-item {
  white-space: nowrap;
}

#sbSave {
  transition: color 0.3s ease;
}

#sbSave.flash {
  color: #37d98f;
}

.sb-sep {
  flex: 1;
}

.sb-phone {
  color: #cfe0f0;
  font-weight: 620;
}

/* demo controls + caption */
.demo-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.demo-status {
  font-size: 0.82rem;
  color: #9fb4cd;
}

.demo-caption {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: #92a8c1;
  max-width: 70ch;
}

/* narrow-window layout for the fake app */
@media (max-width: 900px) {
  .app-body {
    grid-template-columns: 1fr;
  }

  .app-lots,
  .app-rail {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .app-lots {
    display: none;
  }

  .app-stage {
    order: -1;
  }
}

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.15rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-alt .feature-card {
  background: #fff;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c5d5e8;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  color: #fff;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.feature-card p {
  color: var(--ink-2);
  font-size: 0.97rem;
  margin: 0;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--surface-sunken);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.compare-table thead th.col-us {
  background: var(--navy-700);
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 700;
}

.compare-table tbody th {
  font-weight: 620;
  color: var(--ink);
  width: 30%;
}

.compare-table td.col-us {
  background: rgba(53, 198, 216, 0.07);
  border-left: 2px solid rgba(26, 57, 90, 0.18);
  border-right: 2px solid rgba(26, 57, 90, 0.18);
  font-weight: 560;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: 0;
}

.yes,
.no,
.warn {
  font-weight: 700;
}

.yes {
  color: var(--green);
}

.yes::before {
  content: "✓ ";
}

.no {
  color: var(--red);
}

.no::before {
  content: "✕ ";
}

.warn {
  color: var(--amber-text);
}

.warn::before {
  content: "~ ";
}

.table-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 72ch;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.step-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-400);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  color: #fff;
  font-size: 1.1rem;
}

.step p {
  color: #b0c3d8;
  font-size: 0.97rem;
  margin: 0;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 940px) {
  .waitlist-wrap {
    grid-template-columns: 1fr;
  }
}

.waitlist-intro .section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}

.promise-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.promise-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.promise-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 800;
}

.waitlist-contact {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

.waitlist-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2.1rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-weight: 620;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0;
}

.req {
  color: var(--red);
}

.opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font: inherit;
  font-size: 0.97rem;
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #bccddf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(53, 198, 216, 0.2);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  background: #fef7f5;
}

.field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(200, 85, 61, 0.18);
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.4rem 0.9rem;
  margin-top: 0.25rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 450 !important;
  font-size: 0.93rem !important;
  color: var(--ink-2) !important;
  cursor: pointer;
  line-height: 1.45;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy-700);
  flex: none;
  cursor: pointer;
}

.check-row {
  gap: 0.3rem;
}

.err {
  font-size: 0.83rem;
  color: var(--red);
  font-weight: 560;
  min-height: 0;
}

.err:empty {
  display: none;
}

.counter {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.counter.over {
  color: var(--red);
  font-weight: 700;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#submitBtn {
  margin-top: 1.4rem;
}

.form-foot {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
  text-align: center;
}

.form-foot.is-error {
  color: var(--red);
  font-weight: 600;
}

.form-foot.is-success {
  color: var(--green);
  font-weight: 600;
}

/* success panel swapped in after submit */
.form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.form-success .tick {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(46, 158, 107, 0.12);
  color: var(--green);
  font-size: 1.9rem;
  font-weight: 800;
}

.form-success h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--ink-2);
  margin: 0 auto 0.6rem;
  max-width: 46ch;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 640;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--teal-600);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  background: var(--surface-alt);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

.faq-more {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: #b7c7da;
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.footer-tag {
  margin-top: 0.8rem;
  max-width: 38ch;
  font-size: 0.94rem;
  color: #93a8c2;
}

.footer-head {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7f96b4;
  margin-bottom: 0.75rem;
  font-weight: 750;
}

.footer-col p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.footer-col a,
.footer-legal a {
  color: #cfe0f0;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--teal-300);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-legal p {
  margin: 0;
  font-size: 0.84rem;
  color: #7890ad;
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .demo-controls,
  .hero-glow,
  .hero-ridge,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section-dark,
  .hero,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
