@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/hanken-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #16202E;
  --text: #3A4456;
  --muted: #4E5868;
  --paper: #F7F5F0;
  --stone: #ECE7DD;
  --line: #D9D4C9;
  --blue: #2F5D7C;
  --sky: #B7C6DC;
  --gold: #C9A85C;
}

*, *::before, *::after { 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: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--blue); }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; color: var(--paper); }

/* Header */
.site-header { background: var(--ink); color: var(--paper); }
.site-header a:focus-visible { outline-color: var(--paper); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 24px; padding-bottom: 24px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }
.brand:hover { color: var(--sky); }
.wordmark { display: block; height: 28px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--paper); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--sky); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
@media (max-width: 720px) {
  .site-header .wrap { padding-top: 18px; padding-bottom: 10px; }
  .nav { width: 100%; gap: 0 18px; }
  .nav a { font-size: 15px; }
}

main { flex: 1; }

/* Type */
h1 {
  margin: 0; max-width: 900px;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.04;
}
.page-title h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0; color: var(--text); }
.lede { max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text); }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.label::before { content: ""; width: 28px; height: 3px; background: var(--gold); }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--blue); color: var(--paper);
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--ink); color: var(--paper); }
.text-link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Sections */
.section { padding: 72px 0; }
.section.tight { padding: 56px 0; }
.band { background: var(--stone); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.hero .wrap { padding-top: 72px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.page-title .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }

.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.service { display: flex; flex-direction: column; gap: 12px; }
.icon { width: 36px; height: 36px; border-radius: 8px; background: var(--sky); display: flex; align-items: center; justify-content: center; flex: none; }

/* Panels and price cards */
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.band .panel { background: var(--paper); }
.price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.meta { font-size: 14px; font-weight: 600; color: var(--muted); }

ul.list { margin: 0; padding-left: 20px; color: var(--text); }
ul.list li { margin: 6px 0; }
ul.list li::marker { color: var(--muted); }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ol.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; }
ol.steps li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 8px; background: var(--sky);
  display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink);
}

/* Principles list */
.principles { display: grid; gap: 24px 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.principles div { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }

/* FAQ */
.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-group + .faq-group { margin-top: 40px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--blue); flex: none; }
details[open] summary::after { content: "–"; }
details .answer { padding: 0 0 20px; display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

/* Blog */
.post-list { display: flex; flex-direction: column; }
.post-item { display: flex; flex-direction: column; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.post-item:last-child { border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { color: var(--blue); text-decoration: underline; }

.prose { max-width: 680px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; }
.prose p, .prose li { color: var(--text); line-height: 1.7; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 16px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.post-head .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 18px; }
.post-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 820px; }
.post-end { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

/* Contact */
.contact-email { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; word-break: break-word; }

/* CTA band */
.cta .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.site-footer .wordmark { height: 24px; color: var(--paper); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--sky); }
.social { display: flex; gap: 4px; margin: 0 -12px; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; }
.social a:hover { background: rgba(247, 245, 240, 0.08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; padding-top: 20px; border-top: 1px solid rgba(247, 245, 240, 0.16); }
.site-footer p { color: var(--paper); }

/* Cookie consent */
button.button { border: 0; cursor: pointer; font-family: inherit; }
.button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 32px rgba(22, 32, 46, 0.12);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 16px;
}
.consent[hidden] { display: none; }
.consent p { font-size: 15px; }
.consent .button { min-height: 48px; padding: 0 22px; font-size: 15px; }
