:root {
  --paper: #f8f8f5;
  --white: #fff;
  --ink: #101925;
  --deep: #071426;
  --muted: #56616e;
  --line: #cfd4d8;
  --accent: #ef4b35;
  --focus: #2363d1;
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: .7rem 1rem; background: var(--white); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: inline-flex; gap: .7rem; align-items: center;
  color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-decoration: none;
}
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  color: var(--white); background: var(--ink); letter-spacing: 0;
}
nav { display: flex; align-items: center; gap: 1.6rem; font-size: .88rem; font-weight: 650; }
nav a { padding-block: .75rem; text-decoration: none; }
.nav-cta { padding: .65rem .85rem; border-bottom: 2px solid var(--accent); }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0; }
.eyebrow {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 2rem;
  color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow span { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 930px; margin-bottom: 2rem; font-size: clamp(3.1rem, 7.2vw, 7rem); font-weight: 650; }
h2 { max-width: 840px; margin-bottom: 1.7rem; font-size: clamp(2.3rem, 4.6vw, 4.7rem); font-weight: 650; }
h3 { font-size: 1.35rem; }
.lead { max-width: 780px; color: #35414d; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.hero { min-height: calc(100vh - 84px); display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(230px, 1fr); gap: 6vw; align-items: end; }
.hero-actions { display: flex; gap: 1.4rem; align-items: center; margin-top: 2.7rem; }
.hero-actions p { max-width: 330px; margin: 0; color: var(--muted); font-size: .9rem; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 0; padding: .85rem 1.2rem;
  font-weight: 750; text-decoration: none;
}
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.button-secondary { color: var(--ink); background: transparent; }
.button-secondary:hover { background: #e8e9e6; }
.button:disabled { opacity: .55; cursor: wait; }
.hero-note { padding: 1.4rem 0 0; border-top: 1px solid var(--ink); }
.hero-note .index { color: var(--accent); font-size: .75rem; }
.hero-note > p { margin: 1.3rem 0; font-size: 1.4rem; font-weight: 680; line-height: 1.25; }
.hero-note small { color: var(--muted); }
.rule { width: 50px; height: 2px; margin-bottom: 1.3rem; background: var(--accent); }

.section-heading > p { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.signal-list { border-top: 1px solid var(--ink); }
.signal-list article {
  display: grid; grid-template-columns: 70px minmax(200px, 1fr) 1.7fr; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
}
.signal-list article > span, .territory-code { color: var(--accent); font: 750 .72rem/1.2 Inter, sans-serif; letter-spacing: .1em; }
.signal-list h3, .signal-list p { margin: 0; }
.signal-list p { color: var(--muted); }

.territories, .trust { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--deep); }
.territories .section-heading > p, .trust .section-heading > p { color: #b8c2cb; }
.territory-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; border-top: 1px solid #566270; border-left: 1px solid #566270; }
.territory-grid article { padding: 2.4rem; border-right: 1px solid #566270; border-bottom: 1px solid #566270; }
.territory-grid h3 { margin: 1.4rem 0; font-size: 2rem; }
.territory-grid p, .territory-grid li { color: #c7ced5; }
.territory-grid ul { padding-left: 1.2rem; }
.other-sector { max-width: 760px; margin: 2rem 0 0; color: #c7ced5; }

.process-steps { list-style: none; padding: 0; margin: 4rem 0; border-top: 1px solid var(--ink); }
.process-steps li { display: grid; grid-template-columns: 100px 1fr; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--accent); font-size: .75rem; font-weight: 750; }
.process-steps h3 { margin: 0 0 .5rem; }
.process-steps p { max-width: 700px; margin: 0; color: var(--muted); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 3rem 0; }
.scope-label { font-weight: 780; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; }
.check-list, .cross-list { list-style: none; padding: 0; }
.check-list li, .cross-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; color: var(--accent); }
.check-list li::before { content: "✓"; }
.cross-list li::before { content: "—"; }
.human-note { max-width: 760px; padding: 1.3rem; border-left: 3px solid var(--accent); background: #ededeb; }

.method-diagram { margin-top: 4rem; border: 1px solid #53606e; }
.method-inputs { display: grid; grid-template-columns: repeat(5, 1fr); }
.method-inputs span { padding: 1rem; border-right: 1px solid #53606e; color: #b8c2cb; text-align: center; font-size: .78rem; }
.method-inputs span:last-child { border: 0; }
.method-diagram ol { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid #53606e; }
.method-diagram li { min-height: 210px; padding: 1.5rem; border-right: 1px solid #53606e; display: flex; flex-direction: column; }
.method-diagram li:last-child { border: 0; }
.method-diagram li span { color: var(--accent); font-size: .75rem; }
.method-diagram strong { margin: auto 0 .8rem; font-size: 1.1rem; }
.method-diagram small { color: #b8c2cb; }

.gabo { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 8vw; align-items: center; }
.gabo-portrait { margin: 0; }
.gabo-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover;
  border: 1px solid var(--ink); filter: saturate(.82) contrast(1.03);
}
.gabo-portrait figcaption {
  padding: .7rem 0; color: var(--muted); font-size: .72rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.gabo h2 { font-size: clamp(2.5rem, 4.5vw, 4.8rem); }
.gabo-copy { max-width: 690px; font-size: 1.1rem; }
.gabo-copy p:first-child { font-size: 1.3rem; }
.text-link { display: inline-block; margin-top: 1rem; padding: .5rem 0; border-bottom: 2px solid var(--accent); font-weight: 700; text-decoration: none; }

.brief-section { width: 100%; max-width: none; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); background: #ececea; align-items: start; }
.brief-intro { position: sticky; top: 30px; }
.brief-intro > p { max-width: 520px; font-size: 1.15rem; }
.privacy-warning { margin-top: 3rem; padding: 1.4rem; border-top: 2px solid var(--accent); background: var(--paper); }
.privacy-warning p { margin: .5rem 0 0; color: var(--muted); font-size: .86rem; }
.brief-panel { min-width: 0; padding: clamp(1.4rem, 4vw, 3.5rem); background: var(--white); box-shadow: 0 18px 50px rgba(7,20,38,.08); }
.form-progress { margin-bottom: 2.7rem; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.progress-track { height: 3px; margin-top: .7rem; background: #dfe1e2; }
#progress-bar { display: block; width: 25%; height: 100%; background: var(--accent); transition: width .25s ease; }
.form-step { display: none; margin: 0; padding: 0; border: 0; }
.form-step.is-active { display: block; }
.form-step > legend { width: 100%; margin-bottom: .6rem; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.step-help { margin-bottom: 2rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label, .checkbox-group legend { display: block; margin-bottom: 1.3rem; font-size: .88rem; font-weight: 720; }
label > span, .checkbox-group legend span { color: var(--muted); font-weight: 450; }
input, select, textarea {
  width: 100%; margin-top: .45rem; border: 1px solid #aab1b6; border-radius: 0;
  padding: .78rem .85rem; color: var(--ink); background: var(--white);
}
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid rgba(35,99,209,.18); }
[aria-invalid="true"] { border-color: #b42318; }
.field-error { display: block; min-height: 1rem; margin-top: .25rem; color: #b42318; font-size: .75rem; }
.char-count { float: right; margin-top: .25rem; font-size: .72rem; }
.checkbox-group { margin: 1.6rem 0; padding: 0; border: 0; }
.checkbox-group label { display: flex; gap: .65rem; margin: 0; padding: .65rem 0; border-bottom: 1px solid #e3e4e4; font-weight: 500; }
.checkbox-group input, .consent input { width: 19px; height: 19px; margin: .18rem 0 0; flex: 0 0 auto; }
.consent { display: flex; gap: .8rem; font-weight: 500; }
.consent a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.delivery-note, .copy-note { color: var(--muted); font-size: .82rem; }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-actions .button:last-child { margin-left: auto; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.status-message:not(:empty) { margin-bottom: 1.5rem; padding: 1rem; border-left: 3px solid var(--accent); background: #fff3f0; }
.success-panel h3 { font-size: 2rem; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--white); background: #146c43; font-size: 1.5rem; }
.legal-page { max-width: 900px; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.legal-page h2 { margin-top: 3.4rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.legal-page > p:not(.lead) { max-width: 760px; }
.legal-version {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 3rem 0; padding: 1.3rem; border: 1px solid var(--line); background: var(--white);
}
.legal-version p { margin: 0; font-size: .86rem; }
.legal-page li { max-width: 800px; margin-bottom: .5rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--white); }
.legal-table th, .legal-table td { padding: 1rem; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-table td:first-child { width: 31%; font-weight: 700; }
.legal-note { margin-top: 4rem; padding: 1.3rem; border-left: 3px solid var(--accent); background: #ededeb; }

footer {
  width: min(calc(100% - 40px), var(--max)); min-height: 210px; margin: 0 auto; padding: 3rem 0;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid var(--ink); align-items: start;
}
footer > div:nth-child(2) { display: flex; flex-direction: column; gap: .15rem; }
footer > div:nth-child(2) a { padding: .45rem 0; }
.footer-link {
  padding: .45rem 0; border: 0; color: inherit; background: transparent;
  text-align: left; text-decoration: underline; cursor: pointer;
}
footer > p { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: .78rem; }

.analytics-consent {
  position: fixed; z-index: 200; right: 20px; bottom: 20px;
  width: min(520px, calc(100% - 40px)); padding: 1.4rem;
  border: 1px solid var(--ink); background: var(--white);
  box-shadow: 0 20px 60px rgba(7,20,38,.22);
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 .7rem; font-size: 1.25rem; }
.analytics-consent p { margin-bottom: 1rem; color: var(--muted); font-size: .88rem; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.analytics-consent-actions .button { font-size: .82rem; }
.analytics-consent a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-cta) { display: none; }
  .section { padding: 80px 0; }
  .hero-grid, .gabo, .brief-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-note { max-width: 430px; margin-top: 2rem; }
  .brief-section { padding-inline: 20px; }
  .brief-intro { position: static; }
  .gabo-portrait { max-width: 520px; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .site-header, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 72px; }
  .brand { font-size: .72rem; }
  .nav-cta { max-width: 150px; text-align: center; line-height: 1.2; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .signal-list article { grid-template-columns: 42px 1fr; gap: 1rem; }
  .signal-list article p { grid-column: 2; }
  .territories, .trust { width: 100%; padding-inline: 14px; }
  .territory-grid, .scope-grid, .method-inputs, .method-diagram ol, .field-grid { grid-template-columns: 1fr; }
  .territory-grid { border-left: 0; }
  .territory-grid article { padding: 1.5rem 0; border-right: 0; }
  .scope-grid { gap: 2rem; }
  .method-inputs span { border-right: 0; border-bottom: 1px solid #53606e; }
  .method-diagram li { min-height: 150px; border-right: 0; border-bottom: 1px solid #53606e; }
  .method-diagram li:last-child { border-bottom: 0; }
  .brief-section { width: 100%; padding-inline: 14px; }
  .brief-panel { padding: 1.2rem; }
  .legal-version { grid-template-columns: 1fr; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
  .legal-table tr { border: 1px solid var(--line); border-bottom: 0; }
  .legal-table tr:last-child { border-bottom: 1px solid var(--line); }
  .legal-table td { border: 0; padding: .35rem 1rem 1rem; }
  .legal-table td:first-child {
    width: 100%; padding: 1rem 1rem .35rem; color: var(--muted);
    font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
  }
  .analytics-consent { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .analytics-consent-actions .button { width: 100%; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; }
  footer > p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
