/* Hopebid public site: advertising page, long-form pages (terms, privacy,
   support) and the not-found page. Tokens come from the design canvas. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --mint: #2FFFBB;
  --green: #1AD38D;
  --on-mint: #0D2130;
  --on-coral: #0D2130;
  --on-band: #FFFFFF;
  --on-band2: #B4C9D1;
  --on-band-muted: #8DA6B0;
  --grad: linear-gradient(135deg, #1AD38D 0%, #2FFFBB 100%);

  --bg: #EEF8F4;
  --surface: #FFFFFF;
  --surface2: #E2F4EC;
  --line: #CBE3D9;
  --line-strong: #6E9586;
  --ink: #0D2130;
  --ink2: #34505E;
  --ink3: #4F6A76;
  --brand-text: #0A7A50;
  --band: #0D2130;
  --band-raised: #17354B;
  --band-line: #25455C;
  --mint-soft: #CFF7E6;
  --mint-line: #8EE9C4;
  --coral: #FF7F61;
  --coral-text: #B13A24;
  --coral-soft: #FFE5DD;
  --btn2-bg: #0D2130;
  --btn2-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(13, 33, 48, 0.06), 0 6px 20px rgba(13, 33, 48, 0.06);

  /* "How it works" band */
  --alt-bg: #2FFFBB;
  --alt-ink: #0D2130;
  --alt-ink2: #1D3B45;
  --alt-num-bg: #0D2130;
  --alt-num-ink: #2FFFBB;

  --focus: #0A7A50;
  --focus-on-band: #2FFFBB;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(48px, 6vw, 80px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B1C29;
    --surface: #12293A;
    --surface2: #1A3548;
    --line: #244559;
    --line-strong: #56798E;
    --ink: #EAF5F1;
    --ink2: #B7CAD1;
    --ink3: #90A9B3;
    --brand-text: #2FFFBB;
    --band: #071520;
    --band-raised: #12293A;
    --band-line: #1E3A4E;
    --mint-soft: #0E3D37;
    --mint-line: #1F6B57;
    --coral: #FF8A6E;
    --coral-text: #FF9F86;
    --coral-soft: #3D2624;
    --btn2-bg: #1A3548;
    --btn2-ink: #EAF5F1;
    --shadow: none;
    --alt-bg: #0E3D37;
    --alt-ink: #EAF5F1;
    --alt-ink2: #B7CAD1;
    --alt-num-bg: #2FFFBB;
    --alt-num-ink: #0D2130;
    --focus: #2FFFBB;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B1C29;
  --surface: #12293A;
  --surface2: #1A3548;
  --line: #244559;
  --line-strong: #56798E;
  --ink: #EAF5F1;
  --ink2: #B7CAD1;
  --ink3: #90A9B3;
  --brand-text: #2FFFBB;
  --band: #071520;
  --band-raised: #12293A;
  --band-line: #1E3A4E;
  --mint-soft: #0E3D37;
  --mint-line: #1F6B57;
  --coral: #FF8A6E;
  --coral-text: #FF9F86;
  --coral-soft: #3D2624;
  --btn2-bg: #1A3548;
  --btn2-ink: #EAF5F1;
  --shadow: none;
  --alt-bg: #0E3D37;
  --alt-ink: #EAF5F1;
  --alt-ink2: #B7CAD1;
  --alt-num-bg: #2FFFBB;
  --alt-num-ink: #0D2130;
  --focus: #2FFFBB;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
  display: block;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.band :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-on-band);
}

.band .code-box :focus-visible {
  outline-color: var(--focus);
}

.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: 16px;
  top: -100px;
  z-index: 100;
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--on-mint);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.display {
  font-family: var(--font-display);
}

.accent {
  color: var(--mint);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--band);
  color: var(--on-band);
}

.hdr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--on-band);
  text-decoration: none;
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-tile {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hdr-nav {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0 8px;
  margin: 0 -6px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 15px;
}

.hdr-nav::-webkit-scrollbar {
  display: none;
}

.hdr-nav.is-clipped {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 40px), transparent 100%);
}

.hdr-nav a {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--on-band2);
  text-decoration: none;
}

.hdr-nav a:hover {
  color: var(--on-band);
}

.hdr-nav a:focus-visible {
  outline-offset: -3px;
}

.hdr-actions {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 22px;
  background: transparent;
  color: var(--on-band);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.js .theme-toggle {
  display: flex;
}

.theme-toggle:hover {
  background: var(--band-raised);
}

.theme-toggle .i-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .i-moon {
    display: none;
  }
}

.hbtn {
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--on-band);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.hbtn--raised {
  background: var(--band-raised);
  border: 1.5px solid var(--band-raised);
}

.hbtn--outline {
  border: 1.5px solid var(--band-line);
}

.hbtn--raised:hover {
  border-color: var(--on-band-muted);
}

.hbtn--outline:hover {
  border-color: var(--on-band-muted);
}

/* Tablet: logo and buttons on the first row, section links on the second. */
@media (max-width: 1119px) {
  .hdr {
    row-gap: 2px;
  }

  .hdr-actions {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .hdr-nav {
    order: 3;
    flex: 1 1 100%;
  }
}

/* Phone: logo and theme switch on the first row, then the section links,
   then the two front doors sharing the row evenly. */
@media (max-width: 599px) {
  .hdr {
    column-gap: 8px;
    row-gap: 6px;
    padding-bottom: 14px;
  }

  .hdr-actions {
    display: contents;
  }

  .theme-toggle {
    order: 1;
    margin-left: auto;
  }

  .hdr-nav {
    order: 2;
    justify-content: space-between;
    gap: 0;
    margin: 0 -5px;
    font-size: 14px;
  }

  .hdr-nav a {
    padding: 0 5px;
  }

  /* Half the row each, so they always share their own row evenly. */
  .hbtn {
    order: 3;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 0 8px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--grad);
  color: var(--on-mint);
  border: none;
}

.btn--primary:hover {
  filter: brightness(1.06) saturate(1.05);
}

.btn--ghost {
  padding: 0 22px;
  border: 1.5px solid var(--on-band2);
  color: var(--on-band);
  font-weight: 600;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--on-band);
}

.btn--dark {
  background: var(--btn2-bg);
  color: var(--btn2-ink);
  border: none;
}

.btn--dark:hover {
  filter: brightness(1.15);
}

/* ---------- Brand graphics ---------- */

.band {
  background: var(--band);
  color: var(--on-band);
}

.ripple {
  position: absolute;
  pointer-events: none;
}

.ripple--hero-tr {
  right: -180px;
  top: -220px;
}

.ripple--hero-bl {
  left: -210px;
  bottom: -230px;
}

.ripple--cta {
  right: -200px;
  bottom: -280px;
}

.ripple--doc {
  right: -200px;
  top: -260px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--band-line);
}

.hero-inner {
  position: relative;
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(40px, 7vw, 88px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pill {
  align-self: flex-start;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--on-mint);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-band);
}

.hero-lede {
  max-width: 600px;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.55;
  color: var(--on-band2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-fine {
  font-size: 14px;
  color: var(--on-band-muted);
}

/* "Have a code?" box */
.code-box {
  margin-top: 6px;
  max-width: 560px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: end;
}

.code-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.code-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.code-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-input::placeholder {
  color: var(--ink3);
  opacity: 1;
  letter-spacing: 0.06em;
  text-transform: none;
}

.code-input:focus-visible {
  outline-offset: 1px;
}

.code-input[aria-invalid="true"] {
  border: 2px solid var(--coral-text);
  padding: 0 13px;
}

.code-go {
  min-height: 48px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
}

.code-error {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--coral-text);
}

.code-error:not(:empty) {
  margin-top: 10px;
}

.code-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.code-near {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-text);
  border-radius: 8px;
}

.code-near:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 447px) {
  .code-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .code-go {
    margin-top: 10px;
  }
}

/* Phones: main buttons share the full width instead of ragged rows. */
@media (max-width: 479px) {
  .hero-ctas .btn,
  .nf-actions .btn,
  .includes .btn,
  .cta-row .btn {
    flex: 1 1 100%;
  }

  .includes .btn {
    flex-shrink: 1;
  }
}

/* Dashboard screenshot */
.hero-shot {
  flex: 1 1 440px;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-shot figcaption {
  font-size: 14px;
  color: var(--on-band2);
}

@media (min-width: 900px) and (max-width: 1099px) {
  .hero-copy {
    flex-basis: 420px;
  }

  .hero-shot {
    flex-basis: 360px;
  }
}

.shot {
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--band-line);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(3, 10, 16, 0.35);
  user-select: none;
  -webkit-user-select: none;
}

.shot-bar {
  height: 42px;
  padding: 0 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.shot-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.shot-dots span {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--line-strong);
}

.shot-url {
  flex: 1;
  min-width: 0;
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.shot-url svg {
  flex-shrink: 0;
}

.shot-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.shot-title {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.shot-live {
  flex-shrink: 0;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--on-mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shot-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--on-mint);
}

.shot-kpi {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 14px;
  background: var(--band);
  color: var(--on-band);
  border: 1px solid var(--band-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shot-kpi > svg {
  position: absolute;
  right: -20px;
  top: -20px;
}

.shot-kpi-label {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-band2);
}

.shot-kpi-num {
  position: relative;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
}

.shot-meter {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--band-line);
  overflow: hidden;
}

.shot-meter span {
  display: block;
  width: 54%;
  height: 100%;
  border-radius: 5px;
  background: var(--grad);
}

.shot-goal {
  position: relative;
  font-size: 13px;
  color: var(--on-band2);
}

.shot-goal strong {
  color: var(--on-band);
}

.shot-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shot-stat {
  flex: 1 1 90px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
}

.shot-stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.shot-stat-value small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
}

/* ---------- Sections ---------- */

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
}

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink2);
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-text);
}

.stack-32 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* How it works */
.how {
  background: var(--alt-bg);
  color: var(--alt-ink);
}

.how .section-head {
  max-width: 680px;
}

.how .h2 {
  color: var(--alt-ink);
}

.how .lede {
  color: var(--alt-ink2);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.step {
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--alt-num-bg);
  color: var(--alt-num-ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.25;
}

.step p,
.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2);
}

/* Features */
.features .h2 {
  max-width: 720px;
}

.feature-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature {
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature h3 {
  font-size: 19px;
  line-height: 1.25;
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--brand-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-chip--coral {
  background: var(--coral-soft);
  color: var(--coral-text);
}

/* Check-mark lists */
.checks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: var(--mint-soft);
  color: var(--brand-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Event night */
.event {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.event-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event .h2 {
  font-size: clamp(28px, 4vw, 42px);
}

/* Printed poster and table cards (a picture, always on white paper) */
.print-preview {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.poster {
  flex: 0 0 210px;
  height: 272px;
  background: #FFFFFF;
  color: #0D2130;
  border: 1px solid #CBE3D9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(13, 33, 48, 0.16);
  line-height: normal;
}

.poster-top {
  background: #0D2130;
  color: #FFFFFF;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.poster-brand {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #2FFFBB;
}

.poster-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.poster-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.poster-scan {
  padding: 4px 12px;
  border-radius: 999px;
  background: #2FFFBB;
  color: #0D2130;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.qr-spot {
  border-radius: 10px;
  border: 2px dashed #6E9586;
  color: #34505E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.qr-spot--lg {
  width: 92px;
  height: 92px;
}

.qr-spot--sm {
  width: 56px;
  height: 56px;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.poster-foot {
  background: linear-gradient(135deg, #1AD38D 0%, #2FFFBB 100%);
  color: #0D2130;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.table-cards {
  flex: 0 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tcard {
  background: #FFFFFF;
  color: #0D2130;
  border: 1px solid #CBE3D9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(13, 33, 48, 0.12);
  line-height: normal;
}

.tcard-top {
  background: #0D2130;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}

.tcard-top span:first-child {
  color: #2FFFBB;
}

.tcard-top span:last-child {
  color: #FFFFFF;
}

.tcard-body {
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.tcard-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tcard-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.tcard-sub {
  font-size: 11px;
  color: #34505E;
}

/* Overtime band */
.ot .section-head {
  max-width: 720px;
}

.ot .h2 {
  color: var(--on-band);
}

.ot .lede {
  color: var(--on-band2);
}

.ot-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.ot-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}

.ot-step {
  padding: 20px;
  border-radius: 16px;
  background: var(--band-raised);
  border: 1px solid var(--band-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ot-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--on-band-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ot-time {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.ot-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-band2);
}

.ot-step--hot {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--on-coral);
}

.ot-step--hot .ot-label,
.ot-step--hot .ot-text {
  color: var(--on-coral);
}

.ot-step--sold .ot-label {
  color: var(--mint);
}

/* Story + bidders */
.story-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.story-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-copy .h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
}

.story-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink2);
}

.bidders {
  flex: 1 1 420px;
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bidders h2 {
  font-size: 22px;
  line-height: 1.25;
}

/* Pricing */
.pricing {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing .section-head {
  max-width: 760px;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.plan {
  flex: 1 1 420px;
  min-width: 0;
  padding: 28px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan--band {
  background: var(--band);
  color: var(--on-band);
  border: 1px solid var(--band-line);
}

.plan--mint {
  background: var(--mint-soft);
  color: var(--ink);
  border: 2px solid var(--mint-line);
}

.plan-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-tag {
  align-self: flex-start;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.plan--band .plan-tag {
  background: var(--mint);
  color: var(--on-mint);
}

.plan--mint .plan-tag {
  background: var(--band);
  color: var(--mint);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
}

.plan-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.figure-tile {
  flex: 1 1 170px;
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan--band .figure-tile {
  background: var(--band-raised);
}

.plan--mint .figure-tile {
  background: var(--surface);
}

.figure-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.figure-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
}

.figure-note {
  font-size: 14px;
}

.plan--band .figure-label,
.plan--band .figure-note,
.plan--band .plan-note {
  color: var(--on-band2);
}

.plan--mint .figure-label,
.plan--mint .figure-note {
  color: var(--ink2);
}

.num-mint {
  color: var(--mint);
}

.num-brand {
  color: var(--brand-text);
}

.plan-note {
  font-size: 15px;
  line-height: 1.55;
}

.perks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}

.perk-check {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--band);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.includes {
  padding: 20px 24px;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.includes-copy {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.includes-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.includes-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.includes-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  color: var(--ink2);
}

.includes-list .check {
  width: 22px;
  height: 22px;
  border-radius: 11px;
}

.includes .btn {
  flex-shrink: 0;
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

/* FAQ */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 60px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq summary svg {
  flex-shrink: 0;
  color: var(--ink3);
  transition: transform 0.15s ease;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq summary:hover svg {
  color: var(--brand-text);
}

.faq details p {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink2);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary svg {
    transition: none;
  }
}

/* Closing call to action */
.cta {
  padding: clamp(32px, 5vw, 56px) var(--gutter);
  background: var(--bg);
}

.cta-card {
  position: relative;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 48px);
  border-radius: 24px;
  border: 1px solid var(--band-line);
}

.cta-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cta-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta .h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--on-band);
}

.cta-copy p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-band2);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--band);
  color: var(--on-band2);
}

.ftr {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  font-size: 14px;
}

.ftr-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--mint);
}

.ftr-copy {
  flex: 1 1 200px;
}

.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

.ftr-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--on-band2);
  text-underline-offset: 0.18em;
  border-radius: 6px;
}

.ftr-links a:hover {
  color: var(--on-band);
}

.ftr-links a[aria-current="page"] {
  color: var(--on-band);
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2px;
}

@media (max-width: 599px) {
  .ftr {
    row-gap: 4px;
  }

  .ftr-links {
    column-gap: 22px;
  }
}

/* ---------- Long-form pages (terms, privacy, support) ---------- */

.doc-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--band-line);
}

.doc-col {
  position: relative;
  width: 100%;
  max-width: 856px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.doc-band .doc-col {
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(72px, 9vw, 104px);
}

.doc-band h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on-band);
  overflow-wrap: anywhere;
}

.doc-body {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.doc-card {
  margin-top: clamp(-64px, -6vw, -40px);
  position: relative;
  padding: clamp(22px, 5vw, 52px);
  border-radius: 22px;
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  overflow-wrap: break-word;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

/* The page heading already shows the title; hide a repeated leading H1. */
.prose > h1:first-child {
  display: none;
}

.prose > h1:first-child + * {
  margin-top: 0;
}

.prose h1,
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose h1 {
  font-size: clamp(28px, 3.4vw, 36px);
  margin: 1.6em 0 0.5em;
}

.prose h2 {
  font-size: clamp(23px, 2.6vw, 28px);
  margin: 1.9em 0 0.55em;
  padding-top: 0.2em;
}

.prose h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  margin: 1.7em 0 0.4em;
}

.prose h4,
.prose h5,
.prose h6 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  margin: 1.5em 0 0.35em;
}

.prose h2 + h3 {
  margin-top: 0.8em;
}

.prose :is(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: 16px;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose table,
.prose .table-scroll,
.prose dl {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
}

.prose li {
  margin: 0.4em 0;
  padding-left: 0.2em;
}

.prose li > ul,
.prose li > ol {
  margin: 0.4em 0 0;
}

.prose li > p {
  margin: 0 0 0.5em;
}

.prose li::marker {
  color: var(--brand-text);
  font-weight: 700;
}

.prose strong,
.prose b {
  font-weight: 700;
}

.prose a {
  color: var(--brand-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  border-radius: 3px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose blockquote {
  padding: 14px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: var(--surface2);
  color: var(--ink2);
}

.prose blockquote > :last-child {
  margin-bottom: 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.2em 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--surface2);
}

.prose pre {
  padding: 16px;
  border-radius: 12px;
  background: var(--surface2);
  overflow-x: auto;
  line-height: 1.5;
}

.prose pre code {
  padding: 0;
  background: none;
}

.prose img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.prose .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.prose .table-scroll table {
  margin: 0;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface2);
  font-weight: 700;
  color: var(--ink);
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Not-found page ---------- */

.nf {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--band-line);
  display: flex;
  align-items: center;
}

.nf-inner {
  position: relative;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(56px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 820px;
}

.nf-code {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.nf h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nf p {
  max-width: 560px;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.55;
  color: var(--on-band2);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.nf .nf-help {
  font-size: 14px;
  color: var(--on-band-muted);
}

.nf-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-band2);
}

.nf-help a:hover {
  color: var(--on-band);
}

/* ---------- Print ---------- */

@media print {
  .site-header .hdr-nav,
  .hdr-actions,
  .skip-link,
  .ripple {
    display: none !important;
  }

  .doc-card {
    margin-top: 0;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
}

.nf + .site-footer {
  border-top: 1px solid var(--band-line);
}
