/* Legacy Parity site styles. Brand: see BRAND.md */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #172033;
  --green: #2F6F5E;
  --green-dark: #24584A;
  --mint: #8FD1BC;
  --paper: #F6F5F1;
  --stone: #E9E7E1;
  --slate: #5B6474;
  --line: #D9D6CE;
  --max: 1120px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--slate); max-width: 46rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 8px; min-height: 44px; border: 0;
  font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn.small { padding: 8px 16px; min-height: 40px; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 96px 0 80px; }
.hero h1 { max-width: 16em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.band { background: var(--stone); }
.dark { background: var(--ink); color: var(--paper); }
.dark .lead, .dark p { color: #D3D7DE; }
.dark .btn { background: var(--mint); color: var(--ink); }
.dark .btn:hover { background: #B4E2D3; }
.dark a:not(.btn) { color: var(--mint); }

.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.dark .eyebrow { color: var(--mint); }

/* Grids */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.band .card { background: var(--paper); }
.card h3 { margin-top: 4px; }
.mark { display: flex; gap: 4px; margin-bottom: 18px; }
.mark span { height: 8px; border-radius: 2px; background: var(--ink); width: 18px; }
.mark span.solid { background: var(--green); width: 62px; }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 600; color: var(--green); font-size: 0.9rem; margin-bottom: 6px; }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--slate); font-size: 0.98rem; margin: 0; }

/* Service blocks */
.service { display: grid; gap: 12px 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); padding: 40px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service .meta { color: var(--slate); font-size: 0.98rem; }
.service ul { margin: 0 0 1em; padding-left: 1.2em; }
.service li { margin-bottom: 6px; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

/* Pricing table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: var(--paper); font-size: 1.05rem; }
tbody th { width: 120px; color: var(--slate); font-weight: 600; font-size: 0.95rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.price { font-size: 1.35rem; font-weight: 600; color: var(--ink); }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.note { background: var(--stone); border-radius: var(--radius); padding: 16px 20px; font-size: 0.98rem; }

/* About */
.about { display: grid; gap: 48px; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
.photo { aspect-ratio: 4 / 5; background: var(--stone); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--slate); font-size: 0.95rem; text-align: center; padding: 16px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .photo { max-width: 220px; } }

/* Form */
.form { display: grid; gap: 18px; max-width: 40rem; }
.form .row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--slate); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #A9AEB8; border-radius: 8px; padding: 11px 12px; min-height: 46px;
}
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; font-weight: 600; }
.status.ok { color: var(--green); }
.status.err { color: #A3341F; }

/* Footer */
.site-footer { background: var(--ink); color: #C5CAD3; padding: 48px 0 40px; font-size: 0.93rem; }
.site-footer .wrap { display: grid; gap: 24px; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav a.btn, .nav a.btn:hover { color: #fff; text-decoration: none; }
.plans .plan h2 { font-size: 1.3rem; margin-bottom: 14px; }
.plans .price { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.plans .meta { color: var(--slate); font-size: 0.95rem; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.dark + .site-footer, .site-footer { border-top: 1px solid #2A3550; }
