/* Bothy marketing site: shared stylesheet. Tokens follow the Muster design system. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f4f6f6;
  --surface: #fff;
  --sunken: #edf1f1;
  --border: #dfe5e5;
  --border-control: #7f8d8c;
  --ink: #132120;
  --muted: #4d5b5a;
  --subtle: #5f6e6d;
  --brand: #0d7068;
  --brand-hover: #0a5c55;
  --brand-text: #0b6760;
  --soft: #e3f2f0;
  --glow: #3fcfbd;
  --night-raised: #1b2625;
  --night-border: #263331;
  --on-night-muted: #a9b6b4;
  --success: #17773a;
  --success-soft: #e6f4ea;
  --warning: #8a5300;
  --warning-soft: #fdf1dc;
  --danger: #b8261c;
  --info: #1e5bb8;
  --info-soft: #e8eefb;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-lg: 0 12px 32px rgba(19, 33, 32, 0.14);
  --focus: var(--brand);
  --gutter: 20px;

  /* The widget mock-ups take their accent from here; the swatch picker changes it. */
  --w: #0d7068;
}
@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 26px;
}
body:has(dialog[open]) { overflow: hidden; }

img, svg { max-width: 100%; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { color: var(--brand-hover); }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
strong { font-weight: 600; }

/* Focus ring: brand on light surfaces, glow on dark ones (>= 3:1 contrast) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.section-night, .consent { --focus: var(--glow); }
.cta-band { --focus: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 8px; }

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

.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.eyebrow-muted { font-size: 12px; color: var(--muted); }
.eyebrow-light { font-size: 12px; color: var(--on-night-muted); }

.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.h2-narrow { max-width: 640px; }
.h2-light { color: #fff; }
.h2-lg { font-size: clamp(34px, 5vw, 52px); }
.lede { color: var(--muted); max-width: 560px; }
.lede-light { color: var(--on-night-muted); max-width: 480px; }

.section { padding: 64px 0; }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section-mist { background: var(--soft); }
.section-stone { background: var(--canvas); }
.section-night { background: var(--ink); color: #e6eeed; }

.stack-sm { display: flex; flex-direction: column; gap: 16px; }
.stack-md { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 720px) { .stack-lg { gap: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 8px; border: 0; box-shadow: none;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 20px; text-align: center; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-control); }
.btn-outline:hover { background: var(--canvas); color: var(--ink); }
.btn-white { background: #fff; color: var(--brand); font-weight: 600; }
.btn-white:hover { background: var(--soft); color: var(--brand-hover); }
.btn-lg { min-height: 52px; padding: 0 24px; }
.btn-xl { min-height: 56px; padding: 0 28px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-btn {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Header ---------- */
/* Phones and tablets: the header stays at the top, hides on scroll down and returns on scroll up. */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border);
  transition: transform .25s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { flex: none; }
.brand-text { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border-control); border-radius: 8px; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-bars { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* Mobile: panel under the header. Without JS the links simply stay visible. */
.site-nav {
  display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 20px;
  position: absolute; left: 0; right: 0; top: 100%; background: var(--surface);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 17px; font-weight: 500;
}
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; }
.site-nav a { display: flex; align-items: center; min-height: 48px; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { justify-content: center; margin-top: 8px; padding: 0 18px; border-radius: 8px; background: var(--brand); color: #fff; }
.site-nav .nav-cta:hover { background: var(--brand-hover); color: #fff; }

@media (min-width: 900px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; }
  .header-row { min-height: 72px; }
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 28px; position: static;
    padding: 0; background: none; border: 0; box-shadow: none; font-size: 15px;
  }
  .site-nav a { min-height: 44px; }
  .site-nav .nav-cta { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--canvas); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(42px, 8.5vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; }
.hero-lede { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { width: 100%; }
.hero-note { font-size: 14px; line-height: 20px; color: var(--muted); }
@media (min-width: 560px) { .hero-actions .btn { width: auto; } .hero-lede { font-size: 19px; line-height: 30px; } }
@media (min-width: 720px) { .hero-inner { padding-top: 72px; padding-bottom: 88px; } }
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }

.browser { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--sunken); border-bottom: 1px solid var(--border); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 9999px; background: #c5cfce; }
.browser-url { flex: 1 1 auto; min-width: 0; margin-left: 8px; height: 26px; border-radius: 6px; background: var(--surface); font-size: 12px; line-height: 26px; padding: 0 10px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .browser-body { padding: 24px; } }
.course-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.course-title { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.course-meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.browser-body .eyebrow { margin-top: 4px; }

.date-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.date-block { flex: none; width: 48px; padding: 6px 0; background: var(--sunken); border-radius: 4px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.date-block-lg { width: 52px; border-radius: 6px; }
.date-mon { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.date-day { margin-top: 4px; font-size: 20px; font-weight: 600; }
.date-block-lg .date-day { font-size: 22px; }
.date-info { flex: 1 1 130px; display: flex; flex-direction: column; line-height: 20px; }
.date-when { font-size: 15px; font-weight: 600; }
.date-status { font-size: 13px; font-weight: 500; }
.date-price { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tone-ok { color: var(--success); }
.tone-warn { color: var(--warning); }
.tone-bad { color: var(--danger); }
.tone-info { color: var(--info) !important; }

.mock-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-control);
}
.mock-btn.is-primary { background: var(--brand); color: #fff; box-shadow: none; }
.powered { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--subtle); }

/* ---------- Place tiles: the recurring brand device ---------- */
.tiles { display: inline-flex; gap: 4px; }
.tile { width: 14px; height: 14px; border-radius: 3px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--border-control); }
.tile.is-on { background: var(--brand); box-shadow: none; }
.tiles-lg { gap: 3px; }
.tiles-lg .tile { width: 12px; height: 12px; }
.tiles-xl { display: grid; grid-template-columns: repeat(3, 20px); gap: 4px; }
.tiles-xl .tile { width: auto; height: 20px; border-radius: 4px; }
.step-card .tile { width: 18px; height: 18px; border-radius: 4px; }

/* ---------- How it works ---------- */
.step-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; }
@media (min-width: 720px) { .step-card { padding: 28px; } }
.step-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.step-card p { color: var(--muted); }

/* ---------- Booking widget mock-ups ---------- */
.widget-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.widget-intro { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.widget-intro .h2 { max-width: 620px; }
.swatch-picker { display: flex; align-items: center; gap: 12px; }
.swatch-picker[hidden] { display: none; }
.js .swatch-picker { display: flex; }
.swatch-label { font-size: 13px; line-height: 16px; font-weight: 500; color: var(--muted); }
.swatches { display: flex; gap: 4px; }
/* 44px tap target around a 24px swatch */
.swatch { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.swatch::before {
  content: ""; position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; border-radius: 9999px; background: var(--sw);
}
.swatch[aria-checked="true"]::before { box-shadow: 0 0 0 2px var(--soft), 0 0 0 4px var(--sw); }

.phone-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px; align-items: start; }
/* One column: keep each phone phone-sized and centred instead of stretching across the page. */
.phone-fig { width: 100%; max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) { .phone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .phone-fig { max-width: none; margin: 0; } }
.phone-fig { display: flex; flex-direction: column; gap: 14px; }
.phone-fig figcaption { display: flex; flex-direction: column; gap: 2px; }
.phone-fig figcaption span { font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .phone-fig figcaption { min-height: 50px; } }
.phone { border: 1px solid var(--border); border-radius: 28px; padding: 10px; background: var(--canvas); }
.phone-screen { background: var(--surface); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 520px; font-size: 15px; line-height: 22px; }
.phone-screen .small { font-size: 12px; color: var(--subtle); }

.w-biz { font-size: 13px; font-weight: 600; color: var(--subtle); }
.w-h { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.w-sub { margin-top: -8px; font-size: 13px; line-height: 18px; color: var(--muted); }
.w-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.w-chip { padding: 4px 10px; border-radius: 9999px; font-size: 13px; line-height: 18px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--border-control); }
.w-chip.is-on { background: var(--w); color: #fff; box-shadow: none; }
.w-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.w-card-main { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.w-kicker { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.w-card-title { font-size: 16px; font-weight: 600; }
.w-card-meta { font-size: 13px; line-height: 18px; color: var(--muted); }
.w-card-foot { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 14px; }
.w-link { font-weight: 600; color: var(--w); }
.w-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.w-step { height: 4px; border-radius: 9999px; background: var(--border); }
.w-step.is-on { background: var(--w); }
.w-stepname { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.w-field { display: flex; flex-direction: column; gap: 6px; }
.w-label { font-size: 13px; line-height: 16px; font-weight: 500; }
.w-input { min-height: 40px; display: flex; align-items: center; border: 1px solid var(--border-control); border-radius: 8px; padding: 0 12px; font-size: 15px; }
.w-textarea { min-height: 72px; align-items: flex-start; padding: 8px 12px; }
.w-card-input { justify-content: space-between; color: var(--subtle); }
.w-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.w-box { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 4px; display: grid; place-items: center; background: var(--w); color: #fff; }
.w-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 8px; font-weight: 500; background: var(--w); color: #fff; }
.w-lines { display: flex; flex-direction: column; gap: 8px; }
.w-line { display: flex; justify-content: space-between; gap: 12px; }
.w-total { padding-top: 10px; border-top: 1px solid var(--border); font-weight: 600; }
.w-deposit { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 8px; background: var(--canvas); font-size: 14px; }
.w-line.strong { font-weight: 600; }
.w-line.small { font-size: 13px; color: var(--muted); }
.w-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--subtle); }

/* ---------- Features (dark) ---------- */
.split-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) { .split-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px 28px; }
.feature-grid li { display: flex; flex-direction: column; gap: 4px; }
.feature-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.feature-body { font-size: 15px; line-height: 22px; color: var(--on-night-muted); }
.sq { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--glow); }
.sq-brand { width: 14px; height: 14px; background: var(--brand); }

.extras { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--night-border); }
.extra-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border: 0; border-radius: 9999px;
  font: inherit; font-size: 14px; line-height: 20px; cursor: pointer;
  background: var(--night-raised); color: #e6eeed; box-shadow: inset 0 0 0 1px #33433f;
}
.pill svg { opacity: .7; }
.pill:hover, .pill[aria-pressed="true"] { background: #e6eeed; color: var(--ink); }
.extra-body { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--on-night-muted); max-width: 52ch; }
/* With JavaScript the descriptions collapse into one panel under the pills, which works on touch screens. */
.js .extra-body { display: none; }
.extra-detail { padding: 12px 14px; border-radius: 8px; background: var(--night-raised); font-size: 15px; line-height: 22px; color: #e6eeed; box-shadow: inset 0 0 0 1px #33433f; }
.extra-detail[hidden] { display: none; }

.season { background: var(--surface); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); min-width: 0; }
@media (min-width: 720px) { .season { padding: 24px; } }
.season-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.season-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.season-grid { min-width: 560px; display: flex; flex-direction: column; }
.lane { display: grid; grid-template-columns: 76px repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.lane-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.lane-block { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 6px; min-height: 52px; background: var(--sunken); min-width: 0; }
.lane-empty { min-height: 52px; }
.lane-top { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; }
.lane-date { color: var(--ink); }
.lane-status { color: var(--muted); }
.lane-status.low { color: var(--warning); }
.lane-status.full { color: var(--ink); }
.lane-course { font-size: 11px; line-height: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seats { display: flex; flex-wrap: wrap; gap: 2px; }
.seat { width: 6px; height: 6px; border-radius: 1.5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-control); }
.seat.is-on { background: var(--brand); box-shadow: none; }

/* ---------- Sessions ---------- */
.split-sessions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.sessions-copy { order: -1; }
@media (min-width: 960px) { .split-sessions { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } .sessions-copy { order: 0; } }
.session-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sessions-copy .lede { max-width: 480px; }
.session-head { display: flex; gap: 14px; align-items: center; padding: 16px 16px; border-bottom: 1px solid var(--border); }
@media (min-width: 560px) { .session-head { padding: 20px 24px; } }
.session-title { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.session-name { font-size: 17px; line-height: 24px; font-weight: 600; }
.session-meta { font-size: 13px; line-height: 20px; color: var(--muted); }
.session-count { flex: none; font-size: 13px; line-height: 16px; color: var(--muted); text-align: right; }
.session-count strong { color: var(--ink); font-size: 18px; }
.places { padding: 16px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; border-bottom: 1px solid var(--border); }
@media (min-width: 560px) { .places { padding: 16px 24px; } }
.place { height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.place.is-paid { background: var(--brand); color: #fff; }
.place.is-part { background: var(--soft); color: var(--brand-text); box-shadow: inset 0 0 0 1.5px var(--brand); }
.place.is-open { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-control); }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
@media (min-width: 560px) { .person { padding: 12px 24px; } }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 9999px; background: var(--soft); color: var(--brand-text); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.person-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 20px; }
.person-name { font-size: 15px; font-weight: 600; }
.person-note { font-size: 13px; color: var(--muted); }
.status { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 16px; font-weight: 600; }
.status-dot { width: 6px; height: 6px; border-radius: 9999px; background: currentColor; }
.status-paid { background: var(--success-soft); color: var(--success); }
.status-deposit { background: var(--warning-soft); color: var(--warning); }
.status-invoice { background: var(--info-soft); color: var(--info); }
.session-foot { display: flex; justify-content: flex-end; padding: 14px 16px; background: var(--canvas); }
@media (min-width: 560px) { .session-foot { padding: 14px 24px; } }
.session-foot .mock-btn { height: 36px; }
@media (max-width: 479px) { .status { font-size: 11px; padding: 2px 6px; } }

.sq-list { display: flex; flex-direction: column; gap: 12px; }
.sq-list li { display: flex; gap: 12px; align-items: center; }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 720px) { .plan { padding: 32px; } }
.plan.is-popular { border: 1.5px solid var(--brand); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-name { font-size: 22px; line-height: 28px; font-weight: 600; }
.badge { padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--brand-text); font-size: 12px; line-height: 16px; font-weight: 600; }
.plan-who { color: var(--muted); }
@media (min-width: 900px) { .plan-who { min-height: 52px; } }
.plan-price { font-size: 36px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.plan-per { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-lead { padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.plan-list { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; font-size: 15px; line-height: 22px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon-check { flex: none; margin-top: 2px; color: var(--brand); }

/* ---------- Closing band ---------- */
.cta-band { background: var(--brand); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; max-width: 620px; }
@media (max-width: 559px) { .cta-row .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; line-height: 20px; color: var(--muted); }
.footer-credit { flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 20px; }
.footer-credit a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: underline; text-underline-offset: 3px; }
.footer-about { display: flex; align-items: center; gap: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-nav a, .footer-nav .link-btn { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover, .footer-nav .link-btn:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Register interest: dialog and page ---------- */
.ri-dialog {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden;
}
.ri-dialog[open] { display: flex; }
.ri-dialog::backdrop { background: rgba(19, 33, 32, 0.55); }
.ri-panel { width: 100%; overflow-y: auto; overscroll-behavior: contain; }
.ri-panel-inline { max-width: 560px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); background: var(--surface); }
.ri-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 0; }
.ri-head-text { display: flex; flex-direction: column; gap: 6px; }
.ri-title { margin-top: 4px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.ri-lede { color: var(--muted); }
.ri-close { flex: none; width: 44px; height: 44px; margin: -4px -8px 0 0; border: 0; border-radius: 8px; background: none; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.ri-close:hover { background: var(--canvas); color: var(--ink); }
.ri-body { padding: 24px 20px 20px; }
.ri-head[hidden], .ri-body[hidden] { display: none; }
@media (min-width: 560px) { .ri-head { padding: 24px 28px 0; } .ri-body { padding: 24px 28px; } }

.ri-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { padding: 0; font-size: 13px; line-height: 16px; font-weight: 500; }
.field legend { margin-bottom: 8px; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: 0 12px; font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--ink); background: var(--surface); border: 1px solid var(--border-control); border-radius: 8px;
}
.field textarea { padding: 10px 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.choice-body { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border: 1px solid var(--border-control); border-radius: 8px; background: var(--surface); }
.choice-label { font-size: 14px; line-height: 20px; font-weight: 600; }
.choice-hint { font-size: 12px; line-height: 16px; color: var(--muted); }
.choice input:checked + .choice-body { background: var(--soft); border: 1.5px solid var(--brand); padding: 9.5px 11.5px; }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--focus); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 20px; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 0; font-size: 14px; line-height: 20px; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 10px 12px; border-radius: 8px; background: #fceceb; color: var(--danger); font-weight: 600; text-align: left; }
.form-note { font-size: 12px; line-height: 16px; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }

.ri-done { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 24px 40px; text-align: center; }
.ri-done[hidden] { display: none; }
.ri-done-title { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.ri-done p { max-width: 380px; color: var(--muted); }
.ri-done-title:focus { outline: none; }

.ri-page { background: var(--canvas); padding: 40px 0 72px; min-height: 60vh; }
@media (min-width: 720px) { .ri-page { padding: 72px 0 96px; } }
.nf { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Legal pages ---------- */
.page-head { padding: 48px 0 8px; background: var(--canvas); border-bottom: 1px solid var(--border); }
.page-head .wrap { display: flex; flex-direction: column; gap: 12px; padding-bottom: 32px; }
.prose-section { padding-top: 48px; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.prose h3 { margin-top: 8px; font-size: 18px; line-height: 26px; font-weight: 600; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--sunken); font-size: .9em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap th { background: var(--sunken); font-size: 13px; font-weight: 500; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- Cookie banner (only rendered when analytics is configured) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); color: #e6eeed; border-top: 1px solid var(--night-border); }
.consent[hidden] { display: none; }
.consent-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 14px; line-height: 20px; }
.consent-title { font-weight: 600; color: #fff; }
.consent a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 12px; }
.consent .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #8aa09d; }
.consent .btn-outline:hover { background: var(--night-raised); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
