@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("/assets/fonts/hedvig-letters-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --muted: #636363;
  --accent: #1f514c;
  --hero: #484c4d;
  --contact: #4d5354;
  --line: #ececec;
  --serif: "Hedvig Letters Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.04em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; }

/* Pill buttons with arrow circle */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 3px 3px 3px 18px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.03em;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center;
}
.btn .arrow svg { width: 14px; height: 14px; }
.btn-dark { background: #000; color: #fff; }
.btn-dark .arrow { background: #fff; color: #000; }
.btn-light { background: #fff; color: #000; }
.btn-light .arrow { background: #000; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.07); color: #fff; padding-left: 16px; }
.btn-ghost .arrow { background: rgba(255,255,255,.85); color: #000; }

/* Hero */
.hero {
  background: var(--hero);
  color: #fff;
  border-radius: 24px;
  padding: 80px 22px;
  min-height: 408px;
  display: flex; align-items: center;
  margin-top: 6px;
}
.hero-inner { max-width: 540px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero p {
  margin: 20px 0 0;
  max-width: 380px;
  font-size: 17px; line-height: 1.43; font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.text-link { font-size: 15px; color: #fff; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Section label with dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Compare */
.compare { padding-top: 140px; padding-bottom: 60px; text-align: center; }
.compare h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  max-width: 460px;
  margin: 14px auto 44px;
}
.grid2 {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 22px;
  border: 1px solid #f0f5ec;
  background: linear-gradient(244deg, #edffe3 0%, #fff 73%, #fdfffc 100%);
  text-align: left;
}
.col { padding: 30px 30px 32px; }
.col-us {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 3px #e7f6dd, 0 10px 30px rgba(31, 81, 76, .06);
}
.col h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 30px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.list li { display: grid; grid-template-columns: 17px 1fr; column-gap: 12px; }
.check {
  width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: #fafafa; color: var(--ink);
}
.col-us .check { background: var(--accent); color: #fff; }
.check svg { width: 9px; height: 9px; }
.list strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.list .desc { display: block; grid-column: 2; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); letter-spacing: -0.02em; }

/* Contact */
.contact { background: var(--contact); color: #fff; margin-top: 60px; }
.contact .wrap { padding-top: 36px; padding-bottom: 28px; }
.contact .eyebrow { color: rgba(255, 255, 255, .85); }
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 36px);
  line-height: 1.24; letter-spacing: -0.04em;
  max-width: 280px;
  margin: 18px 0 36px;
  color: rgba(255, 255, 255, .82);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 12px;
  color: #fff;
  font: inherit; font-size: 14px; letter-spacing: -0.02em;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.field::placeholder { color: rgba(255, 255, 255, .72); }
.field:focus { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
textarea.field { min-height: 92px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: rgba(255, 255, 255, .7); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer .wrap { padding-top: 44px; padding-bottom: 24px; }
.footer-top { display: grid; grid-template-columns: 1fr repeat(3, 129px); gap: 0; }
.footer-tag { margin-top: 18px; font-size: 15px; color: var(--muted); }
.footer-col h4 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a, .footer-col li { font-size: 14px; color: #8a8a8a; line-height: 1.35; }
.footer-col a:hover { color: var(--ink); }
.copyright { margin-top: 70px; font-size: 12px; color: var(--ink); }

/* Legal page */
.legal-hero { text-align: center; padding-top: 120px; padding-bottom: 110px; }
.legal-hero h1 { font-family: var(--sans); font-weight: 600; font-size: 40px; letter-spacing: -0.05em; color: var(--hero); }
.prose { max-width: 720px; padding-bottom: 60px; }
.prose h2 { font-family: var(--sans); font-weight: 600; font-size: 25px; letter-spacing: -0.04em; margin-bottom: 18px; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: -0.03em; margin: 34px 0 10px; }
.prose h4 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 15px; line-height: 1.6; letter-spacing: -0.02em; }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { color: var(--muted); font-size: 13px; }

/* 404 */
.notfound { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.notfound h1 { font-family: var(--serif); font-size: 44px; letter-spacing: -0.04em; margin-bottom: 14px; }
.notfound p { color: var(--muted); margin: 0 0 26px; }

@media (max-width: 809px) {
  .site-header .wrap { height: 58px; }
  .hero { padding: 56px 20px; border-radius: 20px; }
  .compare { padding-top: 90px; }
  .grid2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .copyright { margin-top: 44px; }
  .legal-hero { padding-top: 80px; padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
