@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13211f;
  --muted: #4a5a57;
  --line: #d6dedc;
  --surface: #f1f4f4;
  --accent: #0d4f47;
  --accent-deep: #08362f;
  --white: #ffffff;
  --wrap: 1080px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--white); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 28px; padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 16px; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.site-nav .lang { margin-left: 6px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--accent); font-weight: 600; }

/* type */
h1, h2, h3 { font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: 22ch; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 54ch; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 3px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--surface); color: var(--accent-deep); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--accent-deep); }
.btn.light:hover { background: var(--surface); border-color: var(--surface); color: var(--accent-deep); }

/* sections */
.section { padding-block: 64px; }
.section.tint { background: var(--surface); }
.section > .wrap > h2 { max-width: 24ch; }
.intro { color: var(--muted); max-width: 60ch; margin-bottom: 36px; }

/* hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero figure { margin: 0; }
.hero figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.board { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.board .grid { stroke: var(--line); stroke-width: 1; }
.board .lane { fill: var(--muted); font-size: 15px; font-family: inherit; font-weight: 500; }
.board .fill { fill: var(--accent); }
.board .line { fill: var(--white); stroke: var(--accent); stroke-width: 1.5; }

.page-head { padding-block: 56px 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head .lede { margin-bottom: 0; }

/* ruled columns (no cards, no icons) */
.cols { display: grid; gap: 36px 32px; list-style: none; padding: 0; margin: 0; }
.cols.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols > li { border-top: 2px solid var(--accent); padding-top: 16px; }
.cols p { color: var(--muted); font-size: 16px; margin-bottom: 0.7em; }
.more { font-weight: 600; font-size: 16px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.steps li { position: relative; padding-top: 34px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--line); top: 8px; }
.steps li::after { content: ""; position: absolute; top: 1px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }
.section.tint .steps li::after { background: var(--surface); }

/* two-column text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

/* cta */
.cta { background: var(--accent-deep); color: var(--white); padding-block: 56px; }
.cta h2 { color: var(--white); margin-bottom: 0.4em; max-width: 26ch; }
.cta p { color: #d3e3e0; max-width: 56ch; }
.cta .mail { color: var(--white); font-weight: 600; }
.cta a.mail:hover { color: var(--white); }

/* services */
.service { padding-block: 44px; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.service h2 { margin-bottom: 0.35em; }
.service > p { max-width: 62ch; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.checks.one { grid-template-columns: 1fr; }
.checks li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 9px; height: 9px; background: var(--accent); }

/* definition lists */
.facts { margin: 0; display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; font-size: 15px; padding-right: 16px; }
.facts dd { overflow-wrap: anywhere; }

.mailbig { font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 650; letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* legal prose */
.prose { max-width: 70ch; padding-block: 48px 72px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; letter-spacing: -0.01em; }
.prose h2:first-of-type { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 15px; }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 0.7em; color: var(--ink); }
.site-footer p, .site-footer address { margin: 0 0 0.6em; font-style: normal; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); }
.copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }

/* responsive */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cols.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .section { padding-block: 48px; }
  .hero { padding-block: 40px 48px; }
  .page-head { padding-block: 40px 28px; }
  .cols.c3, .cols.c4, .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 2px; }
  .site-nav { gap: 2px 18px; }
  .site-nav .lang { margin-left: 0; padding-left: 0; border-left: 0; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}
