/* Layout: a two-column hero (pitch + live spot board), then single-column bands
   separated by full-bleed tint changes. Times and prices set in mono like a ticket. */
:root {
  --paper: #f2f5f3;
  --surface: #ffffff;
  --ink: #12211d;
  --ink-soft: #4a5a55;
  --line: #d6dfdb;
  --cobalt: #2a46e8;
  --cobalt-ink: #ffffff;
  --marker: #ffd84d;
  --marker-ink: #12211d;
  --highlight: #ffd84d;
  --band: #e4ebe7;
  --good: #1f8a5b;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.5rem, 5.5vw, 4.25rem);

  --radius: 14px;
  --wrap: 72rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1513;
    --surface: #17211e;
    --ink: #e5ece9;
    --ink-soft: #9fb0aa;
    --line: #2a3733;
    --cobalt: #7f95ff;
    --cobalt-ink: #0b1220;
    --marker: #e8c547;
    --marker-ink: #12211d;
    --highlight: #5a4a12;
    --band: #131c19;
    --good: #5fd39c;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0e1513;
  --surface: #17211e;
  --ink: #e5ece9;
  --ink-soft: #9fb0aa;
  --line: #2a3733;
  --cobalt: #7f95ff;
  --cobalt-ink: #0b1220;
  --marker: #e8c547;
  --marker-ink: #12211d;
  --highlight: #5a4a12;
  --band: #131c19;
  --good: #5fd39c;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mark {
  background: linear-gradient(transparent 58%, var(--highlight) 58%, var(--highlight) 92%, transparent 92%);
  color: inherit;
  padding-inline: 0.08em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-pin {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--cobalt);
  display: grid;
  place-items: center;
}

.logo-pin::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--marker);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
}

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:not(.btn):hover { color: var(--ink); }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: 600 var(--step-0) / 1 var(--font-body);
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--cobalt); color: var(--cobalt-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--cobalt) 86%, var(--ink)); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

.btn-sm { padding: 0.55rem 0.9rem; font-size: var(--step--1); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
  min-width: 0;
}

.hero h1 {
  font-size: var(--step-4);
  font-weight: 800;
}

.hero-lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 34rem;
  line-height: 1.5;
}

.alert-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 32rem;
}

.alert-form .field {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.alert-form label {
  font-size: var(--step--1);
  font-weight: 600;
}

.input {
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}

.input:focus { outline: none; border-color: var(--cobalt); }

.alert-form .btn { align-self: flex-end; }

.form-note {
  font-size: var(--step--1);
  color: var(--ink-soft);
  min-height: 1.4em;
}

.form-note.ok { color: var(--good); font-weight: 600; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.hero-proof strong {
  font-family: var(--font-mono);
  color: var(--ink);
}

/* ---------- Spot board ---------- */
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px color-mix(in srgb, var(--ink) 40%, transparent);
  overflow: hidden;
  min-width: 0;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem 0.75rem;
  flex-wrap: wrap;
}

.board-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.board-sample {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.chips {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.15rem 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip {
  font: 500 var(--step--1) / 1 var(--font-body);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.spots {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spot {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 0.25rem 0.9rem;
  align-items: center;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.spot:last-child { border-bottom: 0; }

.spot-time {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.spot-in {
  display: block;
  white-space: nowrap;
  margin-top: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.spot-main { min-width: 0; }

.spot-service {
  font-weight: 600;
  line-height: 1.3;
}

.spot-meta {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.4;
}

.spot-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price s { color: var(--ink-soft); margin-right: 0.3rem; }
.price b {
  background: var(--marker);
  color: var(--marker-ink);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.spot.held {
  background: color-mix(in srgb, var(--good) 10%, var(--surface));
}

.held-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--good);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.spot-empty {
  padding: 2rem 1.15rem;
  color: var(--ink-soft);
  text-align: center;
}

.board-foot {
  padding: 0.75rem 1.15rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  background: var(--band);
  border-top: 1px solid var(--line);
}

@media (max-width: 480px) {
  .spot { grid-template-columns: 4.75rem minmax(0, 1fr); }
  .spot-side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .spot-time { font-size: var(--step-0); }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 5rem; }

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 { font-size: var(--step-3); font-weight: 700; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 2rem;
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat-num {
  font-family: var(--font-mono);
  font-size: var(--step-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-label { font-size: var(--step--1); color: var(--ink-soft); }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}

.steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: "Step " counter(step);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--cobalt);
  font-weight: 700;
}

.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--ink-soft); }

/* Categories */
.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 760px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

.cat {
  background: var(--surface);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cat h3 { font-size: var(--step-1); font-weight: 700; }
.cat p { color: var(--ink-soft); font-size: var(--step--1); }

.cat-fill {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
}

/* Business calculator */
.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.biz-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.biz-copy h2 { font-size: var(--step-3); }
.biz-copy > p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ticks li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.6rem;
}

.ticks li::before {
  content: "";
  width: 0.75rem;
  height: 0.4rem;
  margin-top: 0.45rem;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}

.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.calc h3 { font-size: var(--step-1); }

.range-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.range-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: var(--step--1);
}

.range-label output {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cobalt);
}

.calc-result {
  border-top: 1px dashed var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-big {
  font-family: var(--font-mono);
  font-size: var(--step-3);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.calc-fine {
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 52rem;
}

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

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
}

.plan.featured {
  border: 2px solid var(--cobalt);
}

.plan-name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; }

.plan-price {
  font-family: var(--font-mono);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1;
}

.plan-price small {
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--ink-soft);
}

.plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq {
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--step-1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--cobalt);
  transition: transform 0.2s ease;
}

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

.faq details p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* Closing CTA */
.cta {
  background: var(--cobalt);
  color: var(--cobalt-ink);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta h2 { font-size: var(--step-3); max-width: 28rem; }

.cta .btn {
  background: var(--marker);
  color: var(--marker-ink);
}

/* Footer */
.site-footer {
  padding-block: 2.5rem 3rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
