@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f1f3ef;
  --ink: #14223a;
  --muted: #5a6474;
  --line: #cfd5da;
  --accent: #4338ca;
  --accent-soft: #e4e2fb;
  --measure: 62ch;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.brand svg { width: 34px; height: 18px; }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Type */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
h1 {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  font-weight: 760;
  font-variation-settings: "opsz" 96;
  max-width: 14ch;
}
.page-title { font-size: clamp(2.3rem, 5.5vw, 4.2rem); max-width: 18ch; }
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  max-width: 22ch;
}
h3, .offer-title { font-size: 1.35rem; font-weight: 680; letter-spacing: -0.01em; line-height: 1.2; font-variation-settings: "opsz" 24; }
p { margin: 0; max-width: var(--measure); }
.lead { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }

/* Sections */
main { display: block; flex: 1; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: 1.25rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 0; }
.hero .lead { margin-top: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.btn {
  display: inline-block; max-width: 100%; text-align: center; overflow-wrap: anywhere; padding: 0.85rem 1.4rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 2px solid var(--accent);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #3730a3; border-color: #3730a3; }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }

.wave { display: block; width: 100%; height: clamp(90px, 14vw, 170px); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.wave path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave .baseline { stroke: var(--line); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
  .wave .signal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: speak 2.4s cubic-bezier(.45,.05,.2,1) .3s forwards; }
}
@keyframes speak { to { stroke-dashoffset: 0; } }

/* What we build: a definition list, not cards */
.offer { display: grid; margin: 2.5rem 0 0; }
.stack > .offer { margin-top: 2.5rem; }
.offer > div { display: grid; gap: 0.75rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.offer > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) {
  .offer > div { grid-template-columns: 17rem minmax(0, 1fr); gap: 2rem; align-items: baseline; }
}
.offer dt, .offer h3, .offer-title { margin: 0; }
.offer dd { margin: 0; color: var(--muted); max-width: var(--measure); }

/* Process: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: step; display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.5rem; min-width: 0; }
.steps li::before {
  content: counter(step);
  display: block; font-size: 2.8rem; font-weight: 300; line-height: 1;
  color: var(--accent); margin-bottom: 0.6rem; font-variation-settings: "opsz" 96;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--muted); }

/* Closing band */
.band { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); }
.band h2 { color: #fff; }
.band p { color: #c9d0dc; margin-top: 1rem; }
.band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.band :focus-visible { outline-color: #fff; }

/* Contact */
.contact-layout { display: grid; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-layout > div { min-width: 0; }
.eyebrow { font-size: 0.875rem; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.email-big {
  display: inline-block; margin: 0.75rem 0 1.25rem; max-width: 100%;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72; overflow-wrap: anywhere; line-height: 1.3;
}
.address { font-style: normal; margin-top: 1rem; color: var(--muted); }
.address strong { color: var(--ink); font-weight: 600; }
.contact-company { border-top: 1px solid var(--line); padding-top: 2rem; }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; }
  .contact-company { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 2rem; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 4vw, 3rem); }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.75rem 3rem; justify-content: space-between; font-size: 0.95rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer address { font-style: normal; }
.footer-name { color: var(--ink); font-weight: 700; margin-bottom: 0.5rem; }
.footer-details { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.footer-details a { display: inline-flex; align-items: center; min-height: 32px; overflow-wrap: anywhere; }
.footer-details small { font-size: inherit; margin-top: 0.5rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; max-width: none; }
.legal p, .legal ul { margin-top: 0.75rem; max-width: var(--measure); }
.legal li { margin-top: 0.35rem; }

.policy-date { margin-top: 1rem; }
@media (max-width: 540px) {
  .site-header .wrap { gap: 0.5rem; padding-top: 1rem; padding-bottom: 0.75rem; }
  .brand { min-height: 44px; }
  .nav { width: 100%; gap: 1.75rem; }
  .band { padding: 1.5rem; border-radius: 20px; }
}
