/* Layout: single readable column, full-bleed bands; a "weekly board" strip shows the reserved-slot model. */
:root {
  --bg: #f5f6f4;          /* chalked concrete */
  --surface: #ffffff;
  --ink: #15191f;         /* iron */
  --muted: #59606b;
  --line: #d9dcd8;
  --accent: #1d4ed8;      /* competition-plate blue */
  --accent-ink: #ffffff;
  --accent-soft: #e4eafb;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --surface: #181c22; --ink: #eef0f2; --muted: #a3aab4;
    --line: #2b3038; --accent: #7aa2ff; --accent-ink: #0b1020; --accent-soft: #1b2540;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101317; --surface: #181c22; --ink: #eef0f2; --muted: #a3aab4;
  --line: #2b3038; --accent: #7aa2ff; --accent-ink: #0b1020; --accent-soft: #1b2540;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding-inline: 1.25rem; }
.prose { max-width: 42rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1rem; }
.brand { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.15; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .8rem; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* Type */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.08; margin: 0; }
h1 { font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: clamp(2.1rem, 7vw, 4.25rem); letter-spacing: -.005em; }
h2 { font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 38rem; margin: 0; }
p { margin: 0; }

section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); background: transparent; }

/* Hero */
.hero .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; } }
.modes { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.modes li { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; font-weight: 600; background: var(--surface); }

/* Weekly board: the subject-specific detail */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .8rem; }
.board-head strong { font-family: var(--font-display); text-transform: uppercase; font-stretch: 110%; letter-spacing: .02em; }
.board-head span { font-size: .78rem; color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.day { display: flex; flex-direction: column; gap: .3rem; text-align: center; }
.day b { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.slot { border-radius: 6px; min-height: 3.6rem; background: var(--bg); border: 1px dashed var(--line); font-size: .7rem; display: flex; align-items: center; justify-content: center; line-height: 1.15; padding: .2rem; font-variant-numeric: tabular-nums; }
.slot.yours { background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 700; }
.slot.remote { background: var(--accent-soft); border: 0; color: var(--ink); }
.board-key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: .35rem; }
.key i { width: .8rem; height: .8rem; border-radius: 3px; display: inline-block; }
.key .k-yours { background: var(--accent); }
.key .k-remote { background: var(--accent-soft); border: 1px solid var(--line); }

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

/* How it works */
.steps { display: grid; gap: 1.5rem; padding: 0; margin: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; }
.steps p { color: var(--muted); }

/* Pricing */
.plans { display: grid; gap: 1rem; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.plan.featured { border: 2px solid var(--accent); }
.plan-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--ink); padding: .2rem .55rem; border-radius: 4px; }
.price { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price strong { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.price span { color: var(--muted); font-size: .95rem; }
.plan ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.fine { font-size: .9rem; color: var(--muted); }

/* Included grid */
.included { display: grid; gap: 1.25rem 2rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 700px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.included li { border-top: 2px solid var(--ink); padding-top: .75rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.included p { color: var(--muted); }

/* Policy summary */
.policy-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.policy { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: var(--bg); display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.policy p { color: var(--muted); font-size: .98rem; }

/* Contact */
.contact { display: grid; gap: 1rem; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; overflow-wrap: anywhere; }
.contact .label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact .value { font-size: 1.15rem; font-weight: 600; }

/* Payments strip */
.pay { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .92rem; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: .4rem; }
.cards span { border: 1px solid var(--line); border-radius: 5px; padding: .15rem .5rem; font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--surface); }

/* Legal pages */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; margin-bottom: .6rem; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 1rem 1.15rem; margin-top: 1.5rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.foot-links a { color: var(--ink); }
