:root {
  --bg: #0b1420;
  --panel: #121e2e;
  --panel-2: #182739;
  --border: #24374e;
  --text: #e8f0f8;
  --text-dim: #8fa5bb;
  --accent: #2dd4bf;
  --accent-strong: #14b8a6;
  --blue: #38bdf8;
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --ok: #4ade80;
  --ok-bg: rgba(74, 222, 128, 0.10);
  --peak: #fbbf24;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ---------- Sidebar ---------- */

.sidebar {
  width: 400px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d1826 0%, #0b1420 100%);
  border-right: 1px solid var(--border);
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(45, 212, 191, 0.25));
}

.brand h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* ---------- Inputs ---------- */

.field { position: relative; }
.field + .field { margin-top: 10px; }

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-start { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.dot-end { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

.input-wrap { position: relative; display: flex; gap: 6px; }

.input-wrap input,
.threshold-row input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.input-wrap input:focus,
.threshold-row input:focus { border-color: var(--accent); }

.icon-btn {
  flex: 0 0 auto;
  width: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--border); }

.swap-btn {
  display: block;
  margin: 8px auto 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, color 0.15s;
}
.swap-btn:hover { color: var(--accent); transform: rotate(180deg); }

.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: none;
  z-index: 2000;
  box-shadow: var(--shadow);
}
.suggestions.open { display: block; }

.suggestion {
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.suggestion:last-child { border-bottom: none; }
.suggestion:hover, .suggestion.active { background: rgba(45, 212, 191, 0.12); }

.hint {
  margin: 10px 0;
  font-size: 12px;
  color: var(--text-dim);
}

.threshold-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.threshold-row input { width: 90px; }
.threshold-row .unit { color: var(--text-dim); font-size: 13px; }

.threshold-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--peak) 70%, var(--danger) 100%);
  outline: none;
  cursor: pointer;
}
.threshold-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-strong);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.threshold-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-strong);
}

.chips { display: flex; gap: 6px; }
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.chip:hover, .chip.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
}

.primary-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-strong), #0ea5e9);
  color: #04121a;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}
.primary-btn:hover { filter: brightness(1.1); }
.primary-btn:active { transform: scale(0.99); }
.primary-btn:disabled { filter: grayscale(0.6) brightness(0.7); cursor: wait; }

.secondary-btn {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.secondary-btn:hover { border-color: var(--accent); color: var(--accent); }

.status {
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.status.error { color: var(--danger); }

/* ---------- Results ---------- */

.hidden { display: none !important; }

/* ---------- Route selector (carousel) ---------- */

.route-select {
  margin-bottom: 12px;
}
.route-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.route-carousel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.route-carousel-nav {
  display: flex;
  gap: 6px;
}
.route-carousel-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.route-carousel-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.route-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.route-carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.route-carousel-track::-webkit-scrollbar { display: none; }
.route-opt {
  flex: 0 0 min(100%, 260px);
  scroll-snap-align: start;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.route-opt:hover { border-color: var(--accent); }
.route-opt.active {
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.route-opt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 4px;
}
.route-opt-name { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.route-opt-badges { display: flex; gap: 3px; flex-wrap: wrap; justify-content: flex-end; }
.badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-low { background: rgba(74, 222, 128, 0.18); color: var(--ok); }
.badge-fast { background: rgba(56, 189, 248, 0.18); color: var(--blue); }
.badge-caution { background: rgba(251, 191, 36, 0.18); color: var(--peak); }
.route-opt-peak { font-size: 17px; font-weight: 800; color: var(--peak); }
.route-opt-meta { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.route-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}
.route-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.45);
  cursor: pointer;
}
.route-dot.active { background: var(--accent); }
.route-dot:hover { background: var(--accent); opacity: 0.85; }

.max-banner {
  text-align: center;
  padding: 14px 12px 16px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.max-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--peak);
  font-weight: 700;
}

.max-value {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
}
.max-value small { font-size: 16px; font-weight: 600; color: var(--text-dim); }

.max-sub { font-size: 13px; color: var(--text-dim); }

.verdict {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}
.verdict.ok {
  background: var(--ok-bg);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--ok);
}
.verdict.warn {
  background: var(--danger-bg);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--danger);
}

.actions {
  margin-top: 12px;
}
.actions .nav-btn { margin-top: 0; }
.actions .nav-btn::first-letter { color: #04121a; }
.actions-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}

.stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 15px; font-weight: 600; }

/* ---------- Emergency care ---------- */

.emergency {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.emergency-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.emergency-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.emergency-item + .emergency-item { margin-top: 8px; }
.em-icon { font-size: 18px; line-height: 1.2; flex: 0 0 auto; }
.em-body { min-width: 0; }
.em-name { font-size: 13px; font-weight: 600; color: var(--text); }
.em-sub { font-size: 12px; color: var(--text-dim); margin-top: 1px; }

.profile-wrap { margin-top: 14px; }
.profile-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.profile-hint { font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }

#profile svg { display: block; width: 100%; height: auto; cursor: crosshair; }

.credits { margin-top: auto; font-size: 12px; color: var(--text-dim); }
.credits summary { cursor: pointer; font-weight: 600; color: var(--text); }
.credits details { margin-top: 8px; }
.credits details p { margin: 8px 0 0; line-height: 1.5; }
.credits .tiny { font-size: 11px; margin-top: 10px; }
.credits a { color: var(--blue); text-decoration: none; }
.credits a:hover { text-decoration: underline; }

.privacy-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.privacy-note summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dim);
}
.privacy-note summary:hover { color: var(--text); }
.privacy-note p {
  margin: 6px 0 0;
}

/* Hidden honeypot — not display:none so some bots still fill it */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.plan-form { position: relative; }

/* ---------- Map ---------- */

#map { flex: 1; background: #0a1018; }

.leaflet-container { font: inherit; }

.peak-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4px);
  pointer-events: none;
  white-space: nowrap;
}
.peak-marker .peak-flag { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }
.peak-marker .peak-tag {
  background: #1c2b3f;
  color: var(--peak);
  border: 1px solid var(--peak);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hover-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 10px var(--blue);
}

/* ---------- Shared helpers (desktop defaults) ---------- */

.input-dot { display: none; }
.field-label-short { display: none; }
.swap-inline { display: none; }
.sheet-handle { display: none; }
.sheet-summary { display: none; }
.planner-card { display: contents; }

/* ---------- Mobile: match native DiveRoute shell ---------- */

@media (max-width: 780px) {
  html, body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .app {
    position: relative;
    display: block;
    height: 100dvh;
    overflow: hidden;
  }

  #map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 0;
  }

  .sidebar {
    position: absolute;
    inset: 0;
    z-index: 1000;
    width: 100%;
    min-width: 0;
    max-height: none;
    padding: 0;
    gap: 0;
    overflow: visible;
    background: transparent;
    border: none;
    pointer-events: none;
  }

  .planner-card {
    display: block;
    position: absolute;
    top: max(12px, env(safe-area-inset-top, 12px));
    left: 12px;
    right: 12px;
    pointer-events: auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    max-height: min(58dvh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .brand {
    gap: 8px;
    margin-bottom: 10px;
  }
  .brand-icon {
    width: 26px;
    height: 26px;
  }
  .brand h1 {
    font-size: 17px;
    background: none;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
  }
  .brand p {
    font-size: 10.5px;
    margin-top: 1px;
  }

  .inputs-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }

  .field + .field { margin-top: 8px; }
  .field label {
    display: none;
  }
  .field-threshold label {
    display: none;
  }

  .input-dot {
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 2px;
  }

  .input-wrap {
    align-items: center;
  }
  .input-wrap input {
    padding: 9px 10px;
    font-size: 13.5px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .swap-btn { display: none; }
  .swap-inline {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hint {
    margin: 8px 0 6px;
    font-size: 11.5px;
  }

  .field-threshold {
    margin-top: 4px;
  }
  .threshold-row {
    gap: 6px;
  }
  .threshold-row::before {
    content: "Limit";
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
  }
  .threshold-row input {
    width: 60px;
    padding: 6px 8px;
    font-size: 13px;
    text-align: center;
  }
  .chips {
    flex: 1;
    flex-wrap: wrap;
  }
  .chip {
    padding: 5px 10px;
    font-size: 11px;
  }
  .threshold-slider {
    margin-top: 6px;
    margin-bottom: 2px;
  }

  .primary-btn {
    margin-top: 8px;
    padding: 11px;
    font-size: 14.5px;
    background: var(--accent-strong);
  }

  .status { font-size: 12px; }

  .credits {
    display: none;
  }
  /* Keep the short privacy line visible on mobile even when the footer is hidden */
  .privacy-note {
    display: block;
  }

  .results-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: auto;
    max-height: min(52dvh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px 18px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
    background: var(--panel);
  }

  .sheet-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 0 8px;
    position: sticky;
    top: 0;
    background: var(--panel);
    z-index: 2;
    border: none;
    cursor: grab;
    touch-action: none;
    color: inherit;
  }
  .sheet-handle span {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
  }
  .sheet-summary {
    display: none;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    padding: 0 8px 12px;
  }

  body.results-collapsed .results-panel {
    max-height: none;
    overflow: hidden;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  body.results-collapsed .results-panel > :not(.sheet-handle):not(.sheet-summary) {
    display: none !important;
  }
  body.results-collapsed .sheet-summary {
    display: block;
  }
  body.results-collapsed .planner-card {
    max-height: min(58dvh, 520px);
  }

  .route-opt {
    flex-basis: min(88%, 280px);
  }

  .max-value { font-size: 32px; }

  .leaflet-control-zoom {
    margin-bottom: 18px !important;
    margin-right: 12px !important;
  }

  /* When results are open, keep the top card a bit shorter so map stays visible */
  body.has-results .planner-card {
    max-height: min(36dvh, 320px);
  }
}

/* ---------- Splash & onboarding ---------- */

.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(45, 212, 191, 0.14), transparent 70%),
    var(--bg);
  color: var(--text);
}

.welcome-gate.hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.welcome-glow {
  position: absolute;
  top: -80px;
  left: 15%;
  right: 15%;
  height: 280px;
  border-radius: 200px;
  background: rgba(45, 212, 191, 0.1);
  pointer-events: none;
}

.welcome-panel {
  position: relative;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
}

.welcome-panel.hidden {
  display: none;
}

.splash-panel {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.splash-inner {
  animation: splash-in 0.75s ease both;
}

.splash-panel.is-leaving .splash-inner {
  animation: splash-out 0.42s ease both;
}

@keyframes splash-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes splash-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.98); }
}

.splash-icon {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 2px 10px rgba(45, 212, 191, 0.25));
}

.splash-brand {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-tagline {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-dim);
  font-weight: 500;
}

.onboarding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-top: 12px;
}

.onboarding-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.onboarding-skip {
  background: none;
  border: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
}

.onboarding-skip:hover {
  color: var(--text);
}

.onboarding-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 24px;
  transition: opacity 0.2s ease;
}

.onboarding-body.is-fading {
  opacity: 0;
}

.onboarding-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.onboarding-icon {
  font-size: 34px;
  line-height: 1;
}
.onboarding-logo {
  width: 40px;
  height: 40px;
  display: block;
}
.onboarding-logo[hidden] { display: none; }

.onboarding-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: pre-line;
}

.onboarding-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
}

.onboarding-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onboarding-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  transition: width 0.2s ease, background 0.2s ease;
}

.onboarding-dot.active {
  width: 22px;
  background: var(--accent);
}

.onboarding-cta {
  width: 100%;
}

.onboarding-disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  text-align: center;
  opacity: 0.85;
}
