:root {
  --bg: #f7f7f5;
  --bg-elev: #ffffff;
  --ink: #161616;
  --muted: #5c5c56;
  --line: #e6e6e1;
  --teal: #1f7a84;
  --teal-ink: #16565d;
  --teal-soft: #e7f4f5;
  --shadow: 0 1px 2px rgba(22, 22, 22, 0.06), 0 12px 32px rgba(22, 22, 22, 0.06);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal-ink); }
img { max-width: 100%; height: auto; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--teal-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
pre {
  background: #111;
  color: #f3f3ee;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}
pre code { background: none; padding: 0; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap,
.narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}
.wrap { max-width: 1080px; }
.narrow { max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand img { width: 22px; height: 22px; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); }
.btn-ghost { background: var(--bg-elev); color: var(--ink); border-color: var(--line); }
.site-header .btn { white-space: nowrap; }
.btn-ghost:hover { border-color: #cfcfca; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero { padding: 4.2rem 0 2.5rem; }
.kicker {
  color: var(--teal-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  margin: 0 0 1rem;
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 42rem; margin: 0 0 1.6rem; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}
.trust li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.section { padding: 2.6rem 0; }
h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}
h3 { font-size: 1.08rem; margin: 1.5rem 0 0.45rem; }
.prose p, .prose li { color: #2b2b27; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card a { text-decoration: none; color: inherit; }
.card.linked:hover { border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }

.steps { counter-reset: step; display: grid; gap: 0.9rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.mock {
  margin-top: 2rem;
  background: #141414;
  color: #eee;
  border-radius: 18px;
  padding: 0.85rem 0.85rem 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 100%;
}
.mock-top { display: flex; gap: 6px; padding: 0 0.35rem 0.75rem; }
.mock-top span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.mock table { width: 100%; border-collapse: collapse; font-size: 0.82rem; table-layout: fixed; }
.mock th, .mock td { text-align: left; padding: 0.55rem 0.7rem; border-top: 1px solid #2a2a2a; }
.mock th { color: #9ad3d8; font-weight: 600; }
.mock td { color: #d7d7d2; font-variant-numeric: tabular-nums; }

.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.55rem 0;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 0.6rem 0 0; color: var(--muted); }

.cta-band {
  background: #122326;
  color: #f4f7f7;
  border-radius: 22px;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #c5d4d5; }
.cta-band .btn-primary { background: #2aa0ab; color: #062226; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #3d5558; }

.crumbs { font-size: 0.88rem; color: var(--muted); margin: 1.4rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.article { padding: 0.5rem 0 3rem; }
.article h1 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav .hide-sm { display: none; }
  .hero { padding-top: 2.4rem; }
  .header-inner { min-height: 56px; }
  h1 { font-size: 1.9rem; }
  .lede { font-size: 1.05rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}
