:root {
  --ink: #0f1b2d;
  --ink-soft: #3a4658;
  --muted: #6b7584;
  --line: #e3e1da;
  --bg: #faf9f6;
  --surface: #ffffff;
  --accent: #1f6f5c;
  --accent-dark: #17574a;
  --accent-tint: #e6f1ed;
  --warn-tint: #fdf3e2;
  --radius: 10px;
  --max: 1120px;
  --read: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-read { max-width: var(--read); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 16px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: 19px; letter-spacing: 0.02em;
}
.brand svg { width: 30px; height: 30px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-tint); color: var(--ink); }
.nav .btn { color: #fff; padding: 9px 16px; }

/* Hero */
.hero { padding: 96px 0 88px; background: var(--surface); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 22px; max-width: 16ch;
}
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 58ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
.section .intro { color: var(--ink-soft); max-width: 62ch; margin: 0 0 44px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.section-alt .card { background: var(--bg); }
.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent-tint);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps h3 { font-size: 19px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.callout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.callout p { color: var(--ink-soft); margin: 0; }

.cta-band { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 14px; letter-spacing: -0.015em; line-height: 1.15; }
.cta-band p { color: #c9d0db; max-width: 60ch; margin: 0 0 30px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14px; color: var(--muted); }
.site-footer .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0 0 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.footer-links a { color: var(--ink-soft); }
.gpc-note {
  display: none; margin-top: 18px; padding: 10px 14px; border-radius: 8px;
  background: var(--accent-tint); color: var(--accent-dark); font-size: 13px;
}
.gpc-on .gpc-note { display: block; }

/* Legal pages */
.legal-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 64px 0 40px; }
.legal-head h1 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.legal-head .updated { color: var(--muted); margin: 0; font-size: 15px; }

.legal { padding: 48px 0 96px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }

.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 36px; font-size: 15px;
}
.toc p { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

.notice {
  background: var(--warn-tint); border: 1px solid #efd9b0; border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 32px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.55;
}

.table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg); color: var(--ink); font-weight: 600; }
td { color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }

address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

/* Form */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; margin: 8px 0 24px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfccc3; border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: var(--accent-tint); color: var(--accent-dark); }
.form-status.err { display: block; background: #fbeaea; color: #8a2424; }
.gpc-banner {
  display: none; background: var(--accent-tint); border: 1px solid #bfdcd2; color: var(--accent-dark);
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 24px; font-size: 15px;
}
.gpc-on .gpc-banner { display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; gap: 24px; }
  .nav a:not(.btn) { display: none; }
  .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 64px 0; }
  .brand small { display: none; }
  .form-card { padding: 22px; }
}

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  body { background: #fff; }
}
