@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f7f9;
  --ink: #0c1222;
  --muted: #3f4652;
  --line: #e6e8ec;
  --line-strong: #d5d8de;
  --accent: #0f766e;
  --accent-hover: #0c5f59;
  --accent-soft: #e7f4f2;
  --surface: #ffffff;
  --shadow-sm: 0 1px 2px rgba(12, 18, 34, 0.04);
  --shadow: 0 8px 24px rgba(12, 18, 34, 0.06);
  --shadow-lg: 0 24px 48px rgba(12, 18, 34, 0.12);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --pad: 24px;
  --radius: 14px;
  --header: 64px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
p { margin: 0 0 16px; }
code, pre { font-family: var(--mono); }
code {
  font-size: 0.92em;
  background: var(--bg-subtle);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand img { width: 28px; height: 28px; }
.brand img.lockup { width: 91px; height: 28px; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--bg-subtle); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn {
  margin-left: 8px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: #fff;
}
.nav .btn:hover { color: #fff; background: var(--accent-hover); }
.nav-toggle, .nav-burger { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-subtle); color: var(--ink); border-color: #c4c8d0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--space-6) 0; }
.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head h2, .section h2 { font-size: 32px; margin: 0 0 12px; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 40rem; }
.fine { color: var(--muted); font-size: 16px; }
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero { padding: 72px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.clients { margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 500; }
.clients strong { color: var(--ink); font-weight: 500; }

.window {
  background: #10141c;
  color: #f4f6f8;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16, 20, 28, 0.6);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: #c9d0d8;
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4250;
  display: block;
}
.window-meta { margin-left: auto; color: #8b95a3; }
.window-body { padding: 20px 20px 8px; display: grid; gap: 16px; }
.msg span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9aa3af;
  margin-bottom: 6px;
}
.msg p { margin: 0; font-size: 15px; line-height: 1.5; color: #f4f6f8; }
.msg.user p { color: #d5dbe3; }
.recall {
  margin-top: 12px;
  background: rgba(15, 118, 110, 0.16);
  border: 1px solid rgba(94, 196, 184, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
}
.recall-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #99f6e4;
  margin-bottom: 6px;
}
.recall code {
  display: block;
  background: transparent;
  color: #ecfeff;
  padding: 0;
  font-size: 15px;
}
.recall p { margin: 6px 0 0; color: #d1fae5; font-size: 14px; }
.window-foot {
  padding: 12px 20px 16px;
  color: #9aa3af;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.features, .three, .two, .prices, .doc-grid {
  display: grid;
  gap: 16px;
}
.features, .three, .prices { grid-template-columns: repeat(3, 1fr); }
.two, .doc-grid { grid-template-columns: 1fr 1fr; }
.feature, .card, .doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature h3, .card h2, .card h3, .doc-card h2 { margin: 0 0 8px; font-size: 18px; }
.feature p, .card p, .doc-card p { margin: 0; color: var(--muted); }
a.card, a.doc-card { text-decoration: none; color: inherit; display: block; }
a.card:hover, a.doc-card:hover, .feature:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon-box svg { width: 20px; height: 20px; }

.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 100%;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
}
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 920px;
  font-size: 15px;
}
table.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
table.compare thead th {
  background: var(--bg-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
table.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  position: sticky;
  left: 0;
  background: #fff;
  min-width: 11.5rem;
  z-index: 1;
}
table.compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  background: var(--bg-subtle);
}
table.compare .us { background: #f3faf8; }
table.compare thead .us { background: #e7f4f2; color: var(--ink); }
table.compare tr:last-child th,
table.compare tr:last-child td { border-bottom: 0; }
.yn { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.yn svg { width: 18px; height: 18px; }
.yn.yes { color: var(--accent); }
.yn.no { color: var(--muted); }
.dash, .soon { color: var(--muted); }
.compare-foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); }
.compare-foot p:last-child { margin-bottom: 0; }
details.notes { margin-top: 8px; }
details.notes summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.sources { color: var(--muted); }
.sources p, .sources li { margin: 0 0 12px; }
.sources ol { padding-left: 1.2rem; }

.prices { align-items: stretch; }
.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.ribbon {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.price h3 { margin: 0; font-size: 18px; }
.price .amount {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 12px 0 0;
  line-height: 1;
}
.price .amount span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { padding-left: 18px; margin: 20px 0 24px; flex: 1; color: var(--muted); }
.price li { margin: 8px 0; }
.price .btn { width: 100%; }

ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
ol.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
ol.steps li span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}
ol.steps p { margin: 0; color: var(--muted); }

details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; }
details.faq p { color: var(--muted); margin: 0 0 16px; }
.faq-list { max-width: 720px; border-top: 1px solid var(--line); }

.prose { max-width: 720px; }
.prose h1, .page-hero h1 { font-size: clamp(36px, 4vw, 44px); letter-spacing: -0.035em; margin: 0 0 12px; }
.prose h2 { margin: 40px 0 12px; font-size: 24px; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 6px 0; }
.page-hero { padding: 56px 0 8px; }
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}
.link-list { padding-left: 1.2rem; }
.link-list li { margin: 8px 0; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  padding: 48px 0 32px;
}
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h2 { font-size: 13px; margin: 0 0 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.01em; }
.footer-grid a { color: var(--ink); text-decoration: none; display: block; padding: 4px 0; font-size: 15px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); margin: 12px 0 0; max-width: 28ch; }
.legal {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 16px var(--pad) 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.article { max-width: 760px; margin: 0 auto; padding: 8px var(--pad) 80px; }
.article h2 { margin-top: 40px; font-size: 24px; }
.article h3 { margin-top: 28px; font-size: 18px; }
.article pre {
  background: #10141c;
  color: #f4f6f8;
  padding: 16px;
  overflow-x: auto;
  border-radius: 12px;
}
.article pre code { background: transparent; color: inherit; padding: 0; }
.article .table-wrap { overflow-x: auto; }
.article table { border-collapse: collapse; width: 100%; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-subtle); }
.post-list { display: grid; gap: 12px; padding: 8px 0 80px; }
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-card h2 { margin: 8px 0; font-size: 20px; }
.post-card p { color: var(--muted); margin: 0; }

@media (max-width: 1080px) {
  .nav-burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--pad) 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav a { padding: 12px 8px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav .btn { margin: 8px 0 0; width: 100%; }
  .hero { padding: 40px 0 48px; }
  .hero-grid, .features, .three, .two, .prices, .doc-grid, .split, ol.steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 56px 0; }
  .section-head h2, .section h2 { font-size: 28px; }
}
@media (min-width: 700px) and (max-width: 960px) {
  .features, .prices, .doc-grid, ol.steps { grid-template-columns: 1fr 1fr; }
}
