/* ==========================================================================
   SeverOS marketing site
   Edit the tokens below to restyle the whole site.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  /* Brand */
  --royal: #2454D3;
  --navy: #111D36;
  --bright: #4775F5;
  --ice: #F5F7FC;
  --white: #FFFFFF;

  /* Derived */
  --ink: var(--navy);
  --muted: #53607A;
  --line: #DCE2EF;
  --navy-line: rgba(255, 255, 255, 0.12);
  --navy-muted: #AAB6D2;
  --royal-dark: #1C45B4;
  --tint: #E9EEFD;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgba(17, 29, 54, 0.05), 0 12px 32px -12px rgba(17, 29, 54, 0.14);
  --shadow-lift: 0 2px 4px rgba(17, 29, 54, 0.05), 0 32px 64px -24px rgba(36, 84, 211, 0.28);
  --wrap: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.6vw, 3.625rem); }
.h1-line { display: block; color: var(--royal); }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal-dark); }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 4px; }
svg { display: block; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Logo ---------- */
.logo { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.04em; color: var(--navy); text-decoration: none; line-height: 1; }
.logo span { color: var(--royal); }
.logo:hover { color: var(--navy); }
.logo-on-navy, .logo-on-navy:hover { color: var(--white); }
.logo-on-navy span { color: var(--bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--font-body); letter-spacing: -0.005em;
  padding: 0.95rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal); color: var(--white); box-shadow: 0 1px 2px rgba(17, 29, 54, 0.2), 0 8px 20px -8px rgba(36, 84, 211, 0.6); }
.btn-primary:hover { background: var(--royal-dark); color: var(--white); }
.btn-ghost { color: var(--navy); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-small { padding: 0.7rem 1.1rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 252, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1.5rem; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 0.5rem 0; }
.site-nav ul a:hover { color: var(--royal); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding-bottom: 1.25rem; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.0625rem; border-top: 1px solid var(--line); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-tight { padding-top: 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); max-width: 38rem; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .section-head p { color: var(--navy-muted); }
.section-navy a { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(60rem 32rem at 85% -10%, rgba(71, 117, 245, 0.16), transparent 60%),
    var(--ice);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem 0.4rem 0.75rem; margin-bottom: 1.75rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bright); box-shadow: 0 0 0 4px rgba(71, 117, 245, 0.2); }
.lede { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }

/* Hero record preview */
.record-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-lift); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.record figcaption { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.rail { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin-bottom: 1.5rem; }
.rail::before { content: ""; position: absolute; top: 6px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.rail li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); transition: color 0.4s ease; }
.rail-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); position: relative; z-index: 1; transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.rail li.is-done { color: var(--navy); }
.rail li.is-done .rail-dot { background: var(--royal); border-color: var(--royal); }
.rail li.is-current { color: var(--royal); font-weight: 600; }
.rail li.is-current .rail-dot { box-shadow: 0 0 0 5px rgba(36, 84, 211, 0.16); }

.record-body { background: var(--ice); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; }
.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.record-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.record-job { font-size: 0.9375rem; color: var(--muted); }
.record-tag { flex: none; font-size: 0.75rem; font-weight: 600; color: var(--royal); background: var(--tint); border-radius: 999px; padding: 0.3rem 0.65rem; }
.record-fields { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0.75rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.record-fields dt { font-size: 0.75rem; color: var(--muted); }
.record-fields dd { white-space: nowrap; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }

.log { margin-top: 1.1rem; display: grid; gap: 0.1rem; }
.log li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9375rem; padding: 0.4rem 0.2rem; color: var(--muted); opacity: 0.38; transition: opacity 0.4s ease, color 0.4s ease; }
.log li.is-done { opacity: 1; color: var(--ink); }
.log-check { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background-color 0.4s ease, border-color 0.4s ease; }
.log li.is-done .log-check { background: var(--royal); border-color: var(--royal); }
.log li.is-done .log-check::after { content: ""; position: absolute; left: 5.5px; top: 2.5px; width: 4px; height: 8px; border: solid var(--white); border-width: 0 1.75px 1.75px 0; transform: rotate(45deg); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .record { max-width: 32rem; }
}
@media (max-width: 480px) {
  .record-fields { grid-template-columns: auto auto; }
  .rail li { font-size: 0.6875rem; }
}

/* Hero entrance: one orchestrated load sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .record { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .record { animation-delay: 0.2s; animation-duration: 0.9s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.feature { padding: clamp(1.5rem, 2.4vw, 2.1rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.2s ease; }
.feature:hover { background: #FAFBFE; }
.feature:nth-child(4n) { border-right: 0; }
.feature:nth-last-child(-n+4) { border-bottom: 0; }
.feature h3 { margin-top: 1.25rem; }
.feature p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.icon { width: 42px; height: 42px; padding: 9px; border-radius: 11px; background: var(--tint); fill: none; stroke: var(--royal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(4n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(4n) { border-right: 0; }
  .feature:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .feature { display: grid; grid-template-columns: 42px 1fr; column-gap: 1rem; }
  .feature .icon { grid-row: span 2; }
  .feature h3 { margin-top: 0; }
}

/* ---------- How it works ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
/* Line runs from the centre of the first numbered circle to the centre of the last */
.flow::before, .flow::after { content: ""; position: absolute; top: 21px; left: 22px; right: calc((100% - 6rem) / 5 - 22px); height: 2px; }
.flow::before { background: var(--navy-line); }
.flow::after { background: var(--bright); transform-origin: left; }
.flow li { position: relative; z-index: 1; }
.flow-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--bright); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
}
.flow h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.02em; }
.flow p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--navy-muted); }

@media (prefers-reduced-motion: no-preference) {
  .js .flow::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(0.3, 0.6, 0.2, 1) 0.15s; }
  .js .flow.is-inview::after { transform: scaleX(1); }
}

.payments-note { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3rem, 6vw, 4.5rem); border: 1px solid var(--navy-line); border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.03); }
.payments-note > div { padding: clamp(1.4rem, 2.6vw, 2rem); }
.payments-note > div + div { border-left: 1px solid var(--navy-line); }
.payments-note h3 { color: var(--bright); font-size: 0.9375rem; }
.payments-note > div:first-child h3 { color: #8FE3B7; }
.payments-note p { margin-top: 0.5rem; color: #D5DCEC; font-size: 1rem; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before, .flow::after { display: none; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 1.25rem; padding-bottom: 2rem; }
  .flow li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--bright); opacity: 0.6; }
  .flow li:last-child { padding-bottom: 0; }
  .flow-num { grid-row: span 2; }
  .flow h3 { margin-top: 0.45rem; }
  .payments-note { grid-template-columns: 1fr; }
  .payments-note > div + div { border-left: 0; border-top: 1px solid var(--navy-line); }
}

/* ---------- Pricing ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-card); overflow: hidden; }
.plan-price { padding: clamp(1.75rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.plan-includes { padding: clamp(1.75rem, 4vw, 3rem); background: #FAFBFE; }
.plan-name { font-weight: 600; color: var(--royal); }
.price { display: flex; align-items: flex-end; gap: 0.9rem; margin-top: 0.75rem; }
.price-amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 8vw, 5.5rem); letter-spacing: -0.045em; line-height: 0.9; }
.price-unit { font-size: 0.9375rem; line-height: 1.35; color: var(--muted); padding-bottom: 0.35rem; }
.plan-trial { margin-top: 1.5rem; font-weight: 500; }
.plan-price .btn { margin-top: 1.75rem; }
.plan-status { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.checklist { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-size: 1rem; line-height: 1.4; }
.checklist li::before { content: ""; position: absolute; left: 3px; top: 0.2em; width: 6px; height: 11px; border: solid var(--royal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-links { margin-top: 2rem; font-size: 0.9375rem; color: var(--muted); }

@media (max-width: 820px) {
  .plan { grid-template-columns: 1fr; }
  .plan-price { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 108px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; letter-spacing: -0.012em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border: solid var(--royal); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--royal); }
.faq details p { padding: 0 2.5rem 1.5rem 0; color: var(--muted); max-width: 40rem; }

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}

/* ---------- Final CTA / form ---------- */
.cta { background: radial-gradient(50rem 28rem at 0% 0%, rgba(71, 117, 245, 0.28), transparent 60%), var(--navy); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.cta-copy p { margin-top: 1.5rem; font-size: 1.1875rem; color: var(--navy-muted); max-width: 30rem; }
.cta-copy .cta-alt { font-size: 1rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); border-radius: var(--radius-l); padding: clamp(1.4rem, 3vw, 2.25rem); }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--white); }
.optional { color: var(--navy-muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white); border: 1px solid transparent; border-radius: 10px; padding: 0.8rem 0.9rem;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder { color: #8891A5; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.4rem; }
.form-foot p { flex: 1 1 14rem; font-size: 0.875rem; color: var(--navy-muted); }
.hp { display: none; }

@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-muted); border-top: 1px solid var(--navy-line); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--white); margin-bottom: 0.9rem; line-height: 1.4; }
.site-footer p + p, .site-footer li + li { margin-top: 0.5rem; }
.site-footer a { color: #D5DCEC; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { margin-top: 0.9rem; }
.site-footer address { font-style: normal; margin-top: 0.5rem; line-height: 1.5; }
.footer-base { border-top: 1px solid var(--navy-line); padding-block: 1.5rem 2rem; font-size: 0.875rem; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Legal and utility pages ---------- */
.page { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem); }
.page-inner { max-width: 46rem; }
.page h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.page-meta { margin-top: 1rem; color: var(--muted); }
.draft-banner { margin-top: 2rem; padding: 1.1rem 1.25rem; border: 1px solid #E7C873; background: #FFF8E1; border-radius: var(--radius-m); color: #5B4300; font-size: 0.9375rem; }
.draft-banner strong { display: block; color: #3F2E00; }
.prose { margin-top: 2.5rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.75rem; }
.prose p, .prose ul { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose address { font-style: normal; margin-top: 1rem; }
mark.confirm { background: #FFF1B8; color: inherit; padding: 0.05em 0.3em; border-radius: 4px; }
.back-link { display: inline-block; margin-bottom: 2rem; font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.message { text-align: center; padding-block: clamp(5rem, 14vw, 10rem); }
.message .page-inner { margin-inline: auto; }
.message p { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); }
.message .btn { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
