/* Change these values to rebrand the whole site. Keep text/background contrast high. */
:root {
  --ink: #101828;
  --muted: #475467;
  --paper: #ffffff;
  --wash: #f1f5f9;
  --line: #d0d9e3;
  --brand: #0f4c81;
  --brand-dark: #0a3560;
  --focus: #b8501b;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.measure { max-width: 42rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 2rem; height: 2rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--brand); }

.hero { background: var(--wash); padding-block: clamp(3rem, 9vw, 6rem); }
.hero h1 { max-width: 20ch; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.button { display: inline-block; min-height: 2.75rem; padding: 0.7rem 1.4rem; border-radius: 0.4rem; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; border: 2px solid var(--brand); background: var(--brand); color: #fff; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--brand); }
.button.secondary:hover { background: var(--paper); color: var(--brand-dark); }
.button[disabled] { opacity: 0.65; cursor: progress; }

section { padding-block: clamp(2.5rem, 6vw, 4rem); }
section + section { border-top: 1px solid var(--line); }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.columns > div { border-top: 3px solid var(--brand); padding-top: 0.9rem; }
ul.plain { padding-left: 1.2rem; }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 1rem 0 0; }
dl.details dt { font-weight: 650; }
dl.details dd { margin: 0; }
.note { background: var(--wash); border-left: 4px solid var(--brand); padding: 0.9rem 1.1rem; margin: 1.25rem 0; }
.template-note { background: #fff4e5; border: 2px solid var(--focus); padding: 1rem 1.25rem; margin-bottom: 2rem; }

form { max-width: 36rem; margin-top: 1.5rem; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 650; margin-bottom: 0.3rem; }
.hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #7b8794; border-radius: 0.35rem; padding: 0.6rem 0.75rem; }
textarea { min-height: 9rem; resize: vertical; }
.consent { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; }
.consent label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 1.6rem; margin-top: 1rem; font-weight: 650; }
#form-status.ok { color: #1b5e20; }
#form-status.error { color: #b3261e; }

.video { position: relative; aspect-ratio: 16 / 9; max-width: 40rem; margin-top: 1rem; background: var(--wash); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer { background: var(--brand-dark); color: #e6eeee; padding-block: 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: 0.4rem; }

/* Site-specific additions */
.route { counter-reset: phase; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2rem; }
.route li { counter-increment: phase; border-top: 3px solid var(--brand); padding-top: 0.8rem; }
.route li::before { content: "Phase " counter(phase); display: block; font-weight: 700; color: var(--brand); margin-bottom: 0.2rem; }
.route strong { display: block; margin-bottom: 0.2rem; }
.chapters { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: 46rem; }
.chapters li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.25rem 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.chapters .num { font-weight: 700; color: var(--brand); }
.chapters .soon { color: var(--muted); font-size: 0.95rem; }
.price { font-size: 2.25rem; font-weight: 700; margin: 0.25rem 0; }
.faq h3 { margin-top: 1.5rem; }
.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.placeholder { border: 2px dashed var(--muted); padding: 1rem 1.25rem; background: var(--wash); max-width: 36rem; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brand); font-weight: 650; }
