/* Courted — Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #1A1A1A;
  --sunset: #E85D3C;
  --forest: #2D5A3D;
  --rust: #B85450;
  --bone: #FAF7F2;
  --sand: #E8DCC8;
  --sand-2: #EFE6D6;
  --slate: #5C5C5C;
  --slate-2: #8A8A8A;
  --line: rgba(26, 26, 26, 0.12);
  --line-strong: rgba(26, 26, 26, 0.22);

  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04), 0 2px 8px rgba(26,26,26,0.04);
  --shadow: 0 4px 16px rgba(26,26,26,0.06), 0 20px 48px -12px rgba(26,26,26,0.10);
  --shadow-lg: 0 12px 32px rgba(26,26,26,0.08), 0 40px 80px -20px rgba(26,26,26,0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

/* Subtle noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.site-wrap { position: relative; z-index: 2; }

button, input, select { font: inherit; color: inherit; }
input, select { background: transparent; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--sunset); color: #fff; }

/* Typography utility */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
  font-weight: 500;
}

/* Common bits */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-sm {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 720px) {
  .container, .container-sm { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 48px; padding-bottom: 80px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(44px, 11vw, 72px); }
  .waitlist { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.half { grid-column: span 2; }
  .how { margin: 20px 12px !important; padding: 64px 0 !important; border-radius: 20px !important; }
  .final { margin: 20px 12px !important; border-radius: 20px !important; padding: 80px 0 !important; }
  .biz { padding: 48px 20px !important; border-radius: 20px !important; }
}
.hero-sub-below {
  margin: 28px 0 0 !important;
  max-width: 48ch;
  font-size: 17px !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--slate);
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sunset);
}

/* ——— NAV ——— */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 20px 0;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.01em;
}
.logo .bullet {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sunset);
  display: inline-block;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--bone);
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }

/* ——— HERO ——— */
.hero {
  padding-top: 80px;
  padding-bottom: 110px;
  position: relative;
}
.hero-eyebrow { margin-bottom: 32px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--sunset);
}
.hero-sub {
  font-size: 22px;
  line-height: 1.35;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 0 44px;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

/* Waitlist form */
.waitlist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 620px;
  box-shadow: var(--shadow);
}
.waitlist-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.waitlist-title { font-size: 15px; font-weight: 500; }
.waitlist-counter {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  display: flex; align-items: center; gap: 8px;
}
.waitlist-counter .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(45, 90, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 90, 61, 0); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  grid-column: span 1;
}
.field.half { grid-column: span 1; }
.field.full { grid-column: span 2; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--bone);
  transition: border 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%231A1A1A' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.submit-btn {
  grid-column: span 2;
  margin-top: 6px;
  background: var(--sunset);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px -8px rgba(232, 93, 60, 0.55);
}
.submit-btn:hover { background: #d44e2f; transform: translateY(-1px); }
.submit-btn .arrow { transition: transform 0.2s; }
.submit-btn:hover .arrow { transform: translateX(3px); }

.scroll-cue {
  position: absolute;
  bottom: 48px; right: 40px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
}
.scroll-cue .line { width: 40px; height: 1px; background: var(--line-strong); }

@media (max-width: 960px) {
  .scroll-cue { display: none; }
}

/* ——— SECTION HEADINGS ——— */
.section { padding-top: 120px; padding-bottom: 120px; position: relative; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.section-head h2 em { font-style: italic; color: var(--sunset); }
.section-head p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
  max-width: 52ch;
}

/* Badges (only shown on mobile) */
.badge, .mobile-label { display: none; }

/* ——— COMPARISON TABLE ——— */
.compare {
  background: var(--sand);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 992px;
  margin-left: auto;
  margin-right: auto;
}
.compare-headers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.compare-col {
  padding: 36px 40px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.compare-col.them { background: var(--sand-2); }
.compare-col.us { background: #fff; }
.compare-col .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
}
.compare-col.them .tag { color: var(--rust); }
.compare-col.us .tag { color: var(--forest); }
.compare-col h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0;
}
.compare-col.them h3 { color: var(--rust); }
.compare-col.us h3 { color: var(--forest); }

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s;
}
.compare-row:hover { background: var(--line-strong); }
.compare-cell {
  padding: 26px 40px;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 18px;
  line-height: 1.35;
  min-height: 92px;
  transition: background 0.2s;
}
.compare-cell.them {
  background: var(--sand-2);
  color: var(--rust);
  position: relative;
}
.expand-icon-them {
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  color: var(--rust);
  font-size: 16px;
  transition: transform 0.3s, color 0.3s;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(184,84,80,0.08);
  line-height: 1;
}
.compare-row.open .expand-icon-them { transform: translateY(-50%) rotate(180deg); background: rgba(184,84,80,0.18); }
.compare-cell.them .text { text-decoration: line-through; text-decoration-color: rgba(184,84,80,0.4); text-decoration-thickness: 1px; }
.compare-cell.us { background: #fff; color: var(--ink); }
.compare-row:hover .compare-cell.them { background: #ECDFC9; }
.compare-row:hover .compare-cell.us { background: #FDFDFB; }

.compare-cell .glyph {
  font-family: var(--mono);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 6px;
  width: 18px;
  text-align: center;
  opacity: 0.7;
}
.compare-cell.them .glyph { color: var(--rust); }
.compare-cell.us .glyph { color: var(--forest); }

.compare-row .expand-icon {
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  color: var(--forest);
  font-size: 16px;
  transition: transform 0.3s, color 0.3s;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #DCEBDA;
  line-height: 1;
}
.compare-row.open .expand-icon { transform: translateY(-50%) rotate(180deg); color: var(--forest); background: #DCEBDA; }

.compare-detail {
  grid-column: span 2;
  background: #DCEBDA;
  color: var(--ink);
  padding: 0 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  border-top: 1px solid rgba(45,90,61,0.18);
}
.compare-detail.open {
  max-height: 360px;
  padding: 32px 40px;
}
.compare-detail-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
}
.compare-detail .tag-mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
}
.compare-detail p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 70ch;
}
.compare-detail strong { color: var(--forest); font-weight: 600; }

.compare-row-wrap { position: relative; border-bottom: 1px solid var(--line); }
.compare-row-wrap:last-child { border-bottom: none; }

@media (max-width: 820px) {
  .compare-col { padding: 24px 24px 18px; }
  .compare-col h3 { font-size: 28px; }
  .compare-cell { padding: 20px 24px; font-size: 16px; min-height: 0; }
  .compare-detail.open { padding: 24px; }
  .compare-detail-inner { grid-template-columns: 1fr; gap: 12px; }
}

/* ——— HOW IT WORKS ——— */
.how {
  background: var(--ink);
  color: var(--bone);
  padding: 120px 0;
  border-radius: 32px;
  margin: 40px 40px;
}
.how .section-head h2 { color: var(--bone); }
.how .section-head p { color: rgba(250, 247, 242, 0.65); }
.how .eyebrow { color: rgba(250,247,242,0.55); }
.how .eyebrow .dot { background: var(--sunset); }

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.flow-step {
  background: #252525;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(250, 247, 242, 0.08);
  display: flex; flex-direction: column;
  min-height: 420px;
}
.flow-step .step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-2);
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.flow-step .step-title {
  font-family: var(--display);
  font-size: 26px;
  margin-bottom: 4px;
  color: var(--bone);
}
.flow-step .step-desc {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.6);
  white-space: pre-line;
  margin-bottom: 16px;
  line-height: 1.4;
}
.flow-viz {
  margin-top: auto;
  background: var(--bone);
  color: var(--ink);
  border-radius: 12px;
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1080px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .flow { grid-template-columns: 1fr; }
  .how { margin: 20px; padding: 80px 0; }
}

/* —— Step 00 wide card —— */
.flow-step-wide {
  grid-column: 1 / -1;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 200px;
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 8px;
  align-items: start;
  padding: 24px 28px !important;
}
.flow-step-wide .wide-title-col {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}
.flow-step-wide .wide-title-col .step-title {
  margin: 4px 0 0 !important;
  font-size: 24px;
  line-height: 1.15;
}
.flow-step-wide .wide-desc-col {
  grid-column: 1;
  grid-row: 2;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.78);
  margin: 0 !important;
}
.flow-step-wide .wide-viz-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 200px;
  height: 130px;
}
@media (max-width: 900px) {
  .flow-step-wide {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto;
    gap: 18px;
    padding: 24px !important;
  }
  .flow-step-wide .wide-title-col { grid-column: 1; grid-row: 1; flex: 0 0 auto; }
  .flow-step-wide .wide-desc-col { grid-column: 1; grid-row: 2; }
  .flow-step-wide .wide-viz-col {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: auto;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .flow-step-wide .wide-viz-col > * {
    width: 100%;
    max-width: 360px;
  }
  .flow-step-wide .wide-viz-col .mock-voice {
    height: auto;
    padding: 18px 16px;
  }
}

/* ——— POST-MATCH FEATURES ——— */
.post-match {
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid rgba(250,247,242,0.08);
}
.post-match-head {
  margin-bottom: 48px;
  max-width: 680px;
}
.post-match-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: stretch;
}
.post-match-lead {
  min-height: auto;
}
@media (max-width: 1080px) {
  .post-match-body { grid-template-columns: 1fr; }
}
.post-match-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin: 12px 0 0;
}
.post-match-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250,247,242,0.08);
  border: 1px solid rgba(250,247,242,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-match-grid li {
  background: rgb(37,37,37);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  transition: background 0.2s;
}
.post-match-grid li:hover { background: rgb(42,42,42); }
.pm-title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--bone);
  line-height: 1.15;
}
.pm-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(250,247,242,0.6);
}
@media (max-width: 1080px) {
  .post-match-grid { grid-template-columns: 1fr 1fr; }
  .post-match-head h3 { font-size: 36px; }
}
@media (max-width: 600px) {
  .post-match-grid { grid-template-columns: 1fr; }
  .post-match { margin-top: 56px; padding-top: 48px; }
  .post-match-head h3 { font-size: 28px; }
}

/* ——— BUSINESS MODEL ——— */
.biz {
  background: var(--sand);
  border-radius: 32px;
  padding: 56px 60px;
  border: 1px solid var(--line);
}
.biz .section-head { margin-bottom: 0; }
.biz-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.biz-flow-row {
  margin-top: 0;
}
.biz-node-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: auto;
  padding: 24px 32px;
}
.biz-node-wide .label-big {
  font-size: 28px;
  white-space: nowrap;
}
.biz-node-wide .num {
  text-align: center;
}
.biz-node-wide .label-sub {
  max-width: 56ch;
  line-height: 1.5;
}
.biz-node {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: center;
}
.biz-node .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 8px;
}
.biz-node .label-big {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.biz-node .label-sub {
  font-size: 13px;
  color: var(--slate);
}
.biz-node.revenue {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.biz-node.revenue .label-sub { color: rgba(250,247,242,0.65); }
.biz-arrow {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--slate-2);
}
.biz-callout {
  background: var(--bone);
  border-left: 3px solid var(--sunset);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.biz-callout em { font-style: italic; color: var(--sunset); }

.biz-streams {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.stream {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.stream .stream-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 6px;
}
.stream .stream-name { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.stream .stream-price { font-family: var(--mono); font-size: 12px; color: var(--forest); }

@media (max-width: 980px) {
  .biz-flow { grid-template-columns: 1fr; }
  .biz-arrow { transform: rotate(90deg); }
  .biz-streams { grid-template-columns: 1fr 1fr; }
  .biz { padding: 60px 28px; }
}

/* ——— JOIN CTA STRIP (between sections) ——— */
.join-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 0 40px;
  margin: 40px 0 40px;
  position: relative;
  z-index: 5;
}
.join-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: var(--bone);
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.02);
}
.join-cta:hover {
  background: var(--sunset);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(216, 107, 79, 0.4);
}
.join-cta .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.join-cta:hover .arrow {
  transform: translateX(4px);
}

/* ——— FAQ ——— */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--sunset); }
.faq-q .q-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-2);
  letter-spacing: 0.14em;
  flex-shrink: 0;
  margin-top: 14px;
  width: 36px;
}
.faq-q .q-text { flex: 1; }
.faq-q .q-toggle {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--slate);
  margin-top: 8px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .q-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0 0 52px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 52px 32px 52px;
}

/* ——— FINAL CTA ——— */
.final {
  background: var(--sunset);
  color: #fff;
  padding: 140px 0 120px;
  border-radius: 32px;
  margin: 40px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n2'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n2)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.final-inner { position: relative; z-index: 2; text-align: left; max-width: 920px; }
.final .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.final .eyebrow .dot { background: #fff; }
.final h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.final h2 em { font-style: italic; }
.final-sub {
  font-size: 20px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
}
.final .waitlist {
  background: #fff;
  border: none;
  color: var(--ink);
}
.final .submit-btn {
  background: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(26,26,26,0.5);
}
.final .submit-btn:hover { background: #000; }

.referral {
  margin-top: 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.referral .code {
  font-family: var(--mono);
  background: rgba(0,0,0,0.18);
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) { .final { margin: 20px; padding: 80px 0; } }
@media (min-width: 721px) and (max-width: 1000px) { .final { margin: 24px 20px; padding: 96px 0; } .final-inner { padding: 0 40px !important; } }

/* ——— FOOTER ——— */
.foot {
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.foot-links { display: flex; gap: 24px; }

/* ——— TWEAKS PANEL ——— */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 100;
  font-family: var(--sans);
}
.tweaks-panel h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex; justify-content: space-between; align-items: center;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-row > label {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 6px;
}
.tweak-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tweak-opt {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.tweak-opt:hover { border-color: var(--ink); }
.tweak-opt.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s;
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.active { border-color: var(--ink); }

/* Force form stacking on narrower screens (tablet + phone) */
@media (max-width: 1100px) {
  .form-grid { grid-template-columns: 1fr !important; }
  .field, .field.half { grid-column: auto !important; min-width: 0; }
  .field input, .field select, .field textarea { min-width: 0; width: 100%; box-sizing: border-box; }
  .submit-btn { width: 100%; box-sizing: border-box; }
}

/* ——— MOBILE OVERRIDES (placed last for specificity) ——— */
@media (max-width: 720px) {
  .container, .container-sm { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 20px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(48px, 14vw, 76px); line-height: 1.03; letter-spacing: -0.03em; margin: 28px 0 32px; }
  .hero-sub-below { font-size: 16px !important; margin-top: 20px !important; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(32px, 8vw, 44px); }
  .section-head p { font-size: 16px; }
  .display { font-size: clamp(34px, 8.5vw, 48px); line-height: 1.05; }

  /* Nav */
  .nav { padding: 14px 0; }
  .nav-cta { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
  .nav-links { display: none; }

  /* Waitlist form compact on mobile */
  .waitlist { padding: 14px; }
  .waitlist-head {
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 14px !important;
  }
  .waitlist-title { font-size: 15px !important; white-space: nowrap; }
  .waitlist-counter { font-size: 11px !important; }
  .field label { font-size: 9px; letter-spacing: 0.12em; }
  .field input, .field select { padding: 8px 10px; font-size: 13px; border-radius: 8px; }
  .submit-btn { font-size: 14px; padding: 11px 16px; }

  /* Compare table: stack cells into single column (card look) */
  .compare-headers { display: none; }
  .compare { border: none; border-radius: 0; background: transparent; overflow: visible; display: flex; flex-direction: column; gap: 16px; }
  .compare-row { grid-template-columns: 1fr; position: relative; padding: 0; display: block; background: transparent !important; gap: 0; }
  .compare-row-wrap { border: 1px solid var(--line-strong); border-radius: 16px; background: transparent; overflow: hidden; }
  .compare-row-wrap + .compare-row-wrap { box-shadow: none; }
  .compare-row-wrap:last-child { border-bottom: 1px solid var(--line-strong); }
  .compare-cell.them { border-bottom: 1px dashed var(--line-strong) !important; }
  .compare-cell {
    padding: 16px 46px 16px 20px;
    font-size: 17px; line-height: 1.35; min-height: 0;
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    transition: none !important;
  }
  .compare-cell.them { background: var(--sand-2) !important; border-bottom: 1px solid var(--line); margin: 0; }
  .compare-cell.us { background: #fff !important; }
  /* Kill hover/open state bg changes */
  .compare-row:hover .compare-cell.them,
  .compare-row.open .compare-cell.them { background: var(--sand-2) !important; }
  .compare-row:hover .compare-cell.us,
  .compare-row.open .compare-cell.us { background: #fff !important; }
  /* Hide desktop-only bits */
  .compare-cell .glyph { display: none; }
  .compare-cell.them::before, .compare-cell.us::before { content: none; }
  .compare-row .expand-icon-them { display: none; }
  /* Badges — filled circles with X / check */
  .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    color: #fff;
    grid-row: span 2;
    align-self: start;
    margin-top: 2px;
  }
  .badge-them { background: var(--rust); }
  .badge-us { background: var(--forest); }
  .mobile-label {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    padding-top: 2px;
  }
  .mobile-label-us {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--forest);
    line-height: 1;
    padding-top: 0;
  }
  .mobile-label-them { color: var(--rust); }
  .mobile-label-us { color: var(--forest); }
  .compare-cell .text {
    grid-column: 2;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
  }
  .compare-cell.them .text { text-decoration: line-through; text-decoration-color: rgba(184,84,80,0.4); text-decoration-thickness: 1px; color: var(--rust); }
  .compare-cell.us .text { color: var(--ink); font-weight: 400; }
  .compare-row .expand-icon {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px;
  }
  .compare-detail.open { padding: 18px 20px; max-height: 600px; }
  .compare-detail-inner { grid-template-columns: 1fr; gap: 10px; }

  /* How / Flow cards */
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .how { margin: 16px 12px; padding: 56px 0; border-radius: 20px; }

  /* Post-match grid */
  .post-match-grid { grid-template-columns: 1fr; }
  .post-match-head h3 { font-size: 32px; }
  .post-match { margin-top: 48px; padding-top: 40px; }
  .post-match-grid li { padding: 24px 22px; }

  /* Biz section */
  .biz { padding: 48px 20px; border-radius: 20px; margin: 0 12px; }
  .biz-flow { grid-template-columns: 1fr; gap: 12px; }
  .biz-arrow { transform: rotate(90deg); justify-self: center; }
  .biz-streams { grid-template-columns: 1fr 1fr; gap: 8px; }
  .biz h3 { font-size: 28px; }
  .biz-quote { padding: 16px 18px; font-size: 18px; }

  /* FAQ */
  .faq-q { font-size: 17px; }
  .faq-a { font-size: 15px; }

  /* Final CTA */
  .final { margin: 16px 12px; padding: 48px 0 64px; border-radius: 20px; }
  .final-inner { padding: 0 28px !important; }
  .final-inner { padding: 0; }
  .final h2 { font-size: clamp(32px, 8vw, 48px); }

  /* Tweaks panel — keep usable, don't let it eat the viewport */
  .tweak-panel { width: calc(100vw - 32px); right: 16px; left: 16px; bottom: 16px; }

  /* Prevent any residual horizontal scroll */
  html, body { overflow-x: hidden; }

  /* Footer should respect container padding */
  footer, .footer { padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
  footer .container, .footer .container { padding-left: 0; padding-right: 0; }

  /* Join CTA strip on mobile */
  .join-cta-wrap { padding: 0 20px; margin: 32px 0 40px; }
  .join-cta { font-size: 11px; padding: 14px 22px; }

  /* Footer stack on mobile */
  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .foot-links {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

@media (max-width: 480px) {
  .mock-phones { grid-template-columns: 1fr !important; gap: 20px !important; }
  .mock-phone { max-width: 320px; margin: 0 auto; }
}
