/* ─── Google Font ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ─── Custom Properties ────────────────────────────────────────────────────── */
:root {
  --black:    #000000;
  --white:    #ffffff;
  --g100:     #f7f7f7;
  --g200:     #ebebeb;
  --g300:     #d4d4d4;
  --g400:     #a3a3a3;
  --g500:     #737373;
  --g600:     #404040;
  --font:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:     cubic-bezier(.4,0,.2,1);
  --dur:      140ms;
  --radius:   2px;
}

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

/* ─── Typography ───────────────────────────────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { color: var(--g500); line-height: 1.65; }
small { font-size: 0.8rem; color: var(--g400); }

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.wrap   { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.wrap--sm { max-width: 640px; }
.wrap--md { max-width: 760px; }

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--g200);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--black);
}
.nav__logo span { opacity: .35; }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--g200);
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 20px;
}
.hero__title { margin-bottom: 20px; }
.hero__sub {
  font-size: 1.05rem;
  color: var(--g500);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Features ─────────────────────────────────────────────────────────────── */
.features { padding: 80px 0; border-bottom: 1px solid var(--g200); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--g200);
}
.feature-item {
  padding: 32px 28px;
  border-right: 1px solid var(--g200);
}
.feature-item:last-child { border-right: none; }
.feature-item__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--g300);
  margin-bottom: 16px;
}
.feature-item h3 { margin-bottom: 8px; }

/* ─── Mode Cards ───────────────────────────────────────────────────────────── */
.modes { padding: 80px 0; }
.modes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.mode-card {
  border: 1px solid var(--g200);
  padding: 28px 24px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
  user-select: none;
}
.mode-card:hover { border-color: var(--g400); }
.mode-card.is-selected {
  border-color: var(--black);
  background: var(--g100);
}
.mode-card.is-selected::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: var(--black);
}
.mode-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
}
.mode-card h3 { margin-bottom: 8px; }
.mode-card p  { font-size: 0.875rem; }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--primary:hover { background: var(--g600); border-color: var(--g600); }
.btn--secondary { background: var(--white); color: var(--black); border-color: var(--g300); }
.btn--secondary:hover { border-color: var(--black); }
.btn--ghost { background: transparent; color: var(--g500); border-color: transparent; }
.btn--ghost:hover { color: var(--black); }
.btn--lg { padding: 14px 28px; font-size: 0.95rem; }
.btn--sm { padding: 7px 14px; font-size: 0.8rem; }
.btn--icon { padding: 8px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
  color: var(--black);
}
.form-label span { color: var(--g400); font-weight: 400; }
.form-hint { display: block; font-size: 0.75rem; color: var(--g400); margin-top: 5px; }

.input, .textarea, .select {
  display: block;
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--g300);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--black); }
.input::placeholder, .textarea::placeholder { color: var(--g300); }
.textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--g400);
  pointer-events: none;
}

/* Duration picker */
.duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.dur-btn {
  padding: 8px 14px;
  border: 1px solid var(--g300);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--black);
  transition: all var(--dur) var(--ease);
  font-family: var(--font);
}
.dur-btn:hover, .dur-btn.is-active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ─── Wizard ───────────────────────────────────────────────────────────────── */
.wizard { padding: 48px 0 80px; }
.wizard__progress {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
}
.wizard__step {
  flex: 1;
  height: 2px;
  background: var(--g200);
  border-radius: 2px;
  transition: background var(--dur) var(--ease);
}
.wizard__step.is-done { background: var(--black); }
.wizard__step.is-active { background: var(--g400); }

.wizard__panel { display: none; }
.wizard__panel.is-active { display: block; }

.wizard__header { margin-bottom: 36px; }
.wizard__header h2 { margin-bottom: 8px; }

.wizard__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--g200);
}

/* ─── Day Picker ───────────────────────────────────────────────────────────── */
.daypicker { user-select: none; }
.daypicker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.daypicker__title { font-size: 0.9rem; font-weight: 600; }
.daypicker__nav {
  display: flex;
  gap: 4px;
}
.daypicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.daypicker__weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--g400);
  padding: 6px 0;
}
.daypicker__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.daypicker__day:hover:not(.is-empty):not(.is-past) { border-color: var(--g300); }
.daypicker__day.is-empty { pointer-events: none; }
.daypicker__day.is-past { color: var(--g300); pointer-events: none; }
.daypicker__day.is-today { font-weight: 700; }
.daypicker__day.is-selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.selected-days-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  min-height: 32px;
}

/* ─── Slot Manager (Mode 2 & 3) ────────────────────────────────────────────── */
.slot-manager { }
.slot-form {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 16px;
}
.slot-form--3col { grid-template-columns: 1fr 1fr 1fr auto; }
.slot-list { display: flex; flex-direction: column; gap: 6px; }
.slot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--g200);
  font-size: 0.875rem;
  background: var(--g100);
}
.slot-item__label { flex: 1; }
.slot-item__remove {
  cursor: pointer;
  color: var(--g400);
  font-size: 1.1rem;
  line-height: 1;
  transition: color var(--dur) var(--ease);
  background: none;
  border: none;
  padding: 2px;
}
.slot-item__remove:hover { color: var(--black); }

/* ─── Calendar Drag ────────────────────────────────────────────────────────── */
.cal-outer {
  border: 1px solid var(--g200);
  overflow: hidden;
}
.cal-scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 520px;
  -webkit-overflow-scrolling: touch;
}
.cal-table {
  border-collapse: collapse;
  min-width: 100%;
  table-layout: fixed;
}

/* sticky headers */
.cal-table thead th { position: sticky; top: 0; background: var(--white); z-index: 3; }
.cal-time-th { position: sticky; left: 0; background: var(--white); z-index: 4 !important; }
.cal-day-th {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 4px;
  border-bottom: 2px solid var(--black);
  border-left: 1px solid var(--g200);
  min-width: 80px;
  white-space: nowrap;
}
.cal-time-td {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 2;
  font-size: 0.68rem;
  color: var(--g400);
  text-align: right;
  padding: 0 6px 0 0;
  width: 44px;
  min-width: 44px;
  vertical-align: top;
  white-space: nowrap;
  border-right: 1px solid var(--g200);
}
.cal-slot {
  height: 20px;
  border-left: 1px solid var(--g200);
  border-bottom: 1px solid transparent;
  cursor: pointer;
  touch-action: none;
  transition: background var(--dur) var(--ease);
}
.cal-slot:not(.cal-slot--blocked):hover { background: var(--g200); }
.cal-slot--selected { background: var(--black) !important; }
.cal-slot--blocked { background: var(--g100); cursor: not-allowed; }
.cal-slot--hour-border { border-top: 1px solid var(--g300); }
.cal-slot--half-border { border-top: 1px dashed var(--g200); }

/* Heatmap cells */
.cal-slot--heat {
  cursor: default;
  touch-action: auto;
  position: relative;
}
.cal-slot--heat:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  padding: 5px 9px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 50;
  font-family: var(--font);
}

/* ─── Results ──────────────────────────────────────────────────────────────── */
.results-page { padding: 48px 0 80px; }
.results__meta { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--g200); }
.results__meta h1 { margin-bottom: 8px; }
.results__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--g500);
  margin-bottom: 4px;
}

.top-slots { margin-bottom: 40px; }
.top-slots__title { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); margin-bottom: 14px; }
.top-slot-list { display: flex; flex-direction: column; gap: 8px; }
.top-slot-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--g200);
}
.top-slot-item--1 { border-color: var(--black); border-width: 2px; }
.top-slot-item__rank { font-size: 0.75rem; font-weight: 700; color: var(--g400); width: 20px; }
.top-slot-item--1 .top-slot-item__rank { color: var(--black); }
.top-slot-item__date { font-weight: 600; font-size: 0.925rem; }
.top-slot-item__count { margin-left: auto; font-size: 0.8rem; color: var(--g500); }
.top-slot-item__names { font-size: 0.78rem; color: var(--g400); }

/* Mode 3 Results */
.vote-list { display: flex; flex-direction: column; gap: 12px; }
.vote-item { border: 1px solid var(--g200); padding: 18px 20px; }
.vote-item__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.vote-item__title { font-weight: 600; }
.vote-item__count { margin-left: auto; font-size: 0.8rem; }
.vote-bar { height: 4px; background: var(--g200); margin-bottom: 8px; }
.vote-bar__fill { height: 100%; background: var(--black); transition: width .4s var(--ease); }
.vote-item__names { font-size: 0.78rem; color: var(--g400); }
.vote-item__names span { color: var(--g500); }

/* ─── Share Box ────────────────────────────────────────────────────────────── */
.share-box {
  padding: 28px;
  border: 1px solid var(--g200);
  background: var(--g100);
  margin-bottom: 24px;
}
.share-box__title { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); margin-bottom: 12px; }
.copy-row { display: flex; gap: 0; }
.copy-input {
  flex: 1;
  padding: 10px 13px;
  border: 1px solid var(--g300);
  border-right: none;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--g500);
  background: var(--white);
  outline: none;
  min-width: 0;
}
.copy-btn {
  padding: 10px 18px;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font);
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.copy-btn:hover { background: var(--g600); }

/* ─── Vote Page ────────────────────────────────────────────────────────────── */
.vote-page { padding: 48px 0 80px; }
.vote-page__header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--g200); }
.vote-page__header h1 { margin-bottom: 8px; }
.vote-page__desc { margin-bottom: 0; }

/* Mode 3 voting */
.option-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.option-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--g200);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  user-select: none;
}
.option-item:hover { border-color: var(--g300); }
.option-item__label { flex: 1; font-size: 0.9rem; }
.option-item__toggle {
  display: flex;
  gap: 6px;
}
.toggle-btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--g300);
  background: var(--white);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  font-family: var(--font);
  border-radius: var(--radius);
}
.toggle-btn:hover { border-color: var(--g500); }
.toggle-btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── Notification section ─────────────────────────────────────────────────── */
.notify-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--g200); }
.notify-section__label { font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.notify-section__sub { font-size: 0.78rem; color: var(--g400); margin-bottom: 14px; }
.notify-row { display: flex; gap: 8px; }
.notify-row .input { max-width: 320px; }

/* ─── Confirmation ──────────────────────────────────────────────────────────── */
.confirm-box {
  text-align: center;
  padding: 60px 24px;
}
.confirm-box__icon { font-size: 2.5rem; margin-bottom: 16px; }
.confirm-box h2 { margin-bottom: 8px; }
.confirm-box p { max-width: 380px; margin: 0 auto 28px; }

/* ─── Legend ───────────────────────────────────────────────────────────────── */
.cal-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--g500);
}
.cal-legend__swatch {
  width: 14px;
  height: 14px;
  border: 1px solid var(--g300);
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

/* ─── Chips ─────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid var(--g200);
  font-size: 0.78rem;
  background: var(--g100);
  border-radius: var(--radius);
}

/* ─── Dividers / Sections ───────────────────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 24px;
}

/* ─── Error / Empty States ─────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--g400);
}
.empty-state p { margin: 0; }
.alert {
  padding: 12px 16px;
  border: 1px solid;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.alert--error { border-color: #c00; color: #c00; background: #fff5f5; }
.alert--success { border-color: #060; color: #060; background: #f5fff5; }

/* ─── Landing: Stats bar ────────────────────────────────────────────────────── */
.stats-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--g200);
  background: var(--g100);
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--g500);
}
.stat-item__num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-item__dot {
  width: 4px;
  height: 4px;
  background: var(--g300);
  border-radius: 50%;
}

/* ─── Landing: Journey ──────────────────────────────────────────────────────── */
.journey-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--g200);
}
.journey-section__header { margin-bottom: 52px; }
.journey-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
}
.journey {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: start;
  gap: 0;
}
.journey__arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  color: var(--g300);
  font-size: 1.2rem;
  user-select: none;
}
.journey__step { padding: 0 4px; }
.journey__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.journey__step h3 { margin-bottom: 8px; font-size: 1rem; }
.journey__step p  { font-size: 0.875rem; }

/* ─── Landing: Mode Cards (enhanced) ───────────────────────────────────────── */
.modes-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--g200);
}
.modes-section__header { margin-bottom: 48px; }
.modes-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g200);
  border: 1px solid var(--g200);
}
.mode-card-v2 {
  background: var(--white);
  padding: 36px 28px 32px;
  transition: background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mode-card-v2:hover { background: var(--g100); }
.mode-card-v2__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--black);
  flex-shrink: 0;
}
.mode-card-v2__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 10px;
}
.mode-card-v2 h3 { margin-bottom: 10px; font-size: 1.1rem; }
.mode-card-v2 p  { font-size: 0.875rem; flex: 1; }
.mode-card-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  letter-spacing: 0.01em;
}
.mode-card-v2__cta::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
}
.mode-card-v2:hover .mode-card-v2__cta::after { transform: translateX(4px); }

/* ─── Landing: Final CTA ─────────────────────────────────────────────────────  */
.cta-section {
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { margin-bottom: 36px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ─── Legal pages ────────────────────────────────────────────────────────────── */
.legal-page { padding: 60px 0 100px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page__meta { color: var(--g400); font-size: .85rem; margin-bottom: 48px; }
.legal-body { max-width: 680px; }
.legal-body h2 { font-size: 1.1rem; margin: 36px 0 10px; padding-top: 36px; border-top: 1px solid var(--g200); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body p  { font-size: 0.925rem; margin-bottom: 12px; }
.legal-body ul { margin: 8px 0 12px 20px; }
.legal-body li { font-size: 0.925rem; color: var(--g500); margin-bottom: 6px; }
.legal-body a  { color: var(--black); }
.legal-placeholder {
  display: inline;
  background: #fffbc0;
  border: 1px dashed #c8a800;
  padding: 1px 6px;
  font-style: italic;
  border-radius: 2px;
  font-size: 0.85em;
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--g200);
  font-size: 0.8rem;
  color: var(--g400);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--g400); text-decoration: none; }
.footer__links a:hover { color: var(--black); }

/* ─── Participants counter ─────────────────────────────────────────────────── */
.participant-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* ─── Loading ───────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--g200);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--g200); }
  .feature-item:last-child { border-bottom: none; }
  .modes__grid { grid-template-columns: 1fr; }
  .modes-v2-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 24px; }
  .journey__arrow { display: none; }
  .stats-bar__inner { gap: 20px; flex-direction: column; text-align: center; }
  .stat-item__dot { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .slot-form { grid-template-columns: 1fr 1fr; }
  .slot-form > *:last-child { grid-column: span 2; }
  .slot-form--3col { grid-template-columns: 1fr 1fr; }
  .wizard__actions { flex-direction: column-reverse; gap: 10px; }
  .wizard__actions .btn { width: 100%; justify-content: center; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .copy-input { font-size: 0.75rem; }
}
