:root {
  color-scheme: light;
  --ink: #131b18;
  --muted: #5e6d66;
  --bg: #eef2f0;
  --surface: #fff;
  --surface-2: #f6f9f7;
  --line: #d4ddd8;
  --line-strong: #b7c6bf;
  --accent: #0b7d69;
  --accent-dark: #075d50;
  --accent-soft: #e1f2ed;
  --amber: #8c5b0b;
  --amber-soft: #fff5db;
  --red: #a53333;
  --red-soft: #fbecec;
  --blue: #385e72;
  --blue-soft: #eaf1f4;
  --shadow: 0 18px 46px rgba(30, 49, 41, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(11, 125, 105, .28); outline-offset: 3px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(212, 221, 216, .94);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 950;
  letter-spacing: -.04em;
}
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { margin-top: 1px; color: var(--muted); font-size: 11px; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 7px 9px; border-radius: 8px; color: #46554e; font-size: 12px; font-weight: 800; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); }
.nav .launch { margin-left: 5px; padding-inline: 12px; background: var(--accent); color: #fff; }
.nav .launch:hover { background: var(--accent-dark); color: #fff; }

.page { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: clamp(32px, 7vw, 84px) 0 72px; }
.hero { position: relative; max-width: 930px; padding-bottom: clamp(28px, 5vw, 48px); }
.eyebrow { margin: 0 0 10px; color: var(--accent-dark); font-size: 12px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 7vw, 76px); letter-spacing: -.06em; }
.lede { max-width: 780px; margin: 18px 0 0; color: #46554e; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.meta-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 850; }
.chip::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }
.updated { color: var(--muted); font-size: 12px; }

.section { margin-top: 48px; }
.section-heading { max-width: 760px; margin-bottom: 18px; }
.section h2 { margin: 0; font-size: clamp(26px, 4vw, 40px); }
.section-heading p { margin: 8px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.card { grid-column: span 4; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 5px 18px rgba(30, 49, 41, .04); }
.card.wide { grid-column: span 6; }
.card.full { grid-column: 1 / -1; }
.card h2, .card h3 { margin: 0; font-size: 19px; }
.card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.card ul { margin: 13px 0 0; padding-left: 19px; color: #46554e; font-size: 14px; }
.card li + li { margin-top: 7px; }
.card.accent { border-color: #9fcbbd; background: linear-gradient(145deg, #fff, var(--accent-soft)); }
.card.caution { border-color: #e5cb91; background: var(--amber-soft); }
.card.boundary { border-color: #bfd0d8; background: var(--blue-soft); }
.card.risk { border-color: #ecc1c1; background: var(--red-soft); }
.index { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 14px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 950; }

.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid #dfc17d; border-radius: 13px; background: var(--amber-soft); }
.callout strong { display: block; }
.callout p { margin: 3px 0 0; color: #614a1c; font-size: 14px; }
.callout-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f1d18c; color: #6f4a00; font-weight: 950; }

.data-table { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
th { background: var(--surface-2); color: #45534d; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 850; }

.steps { display: grid; gap: 10px; counter-reset: step; }
.step { position: relative; padding: 17px 18px 17px 60px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.step::before { position: absolute; left: 17px; top: 17px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 950; counter-increment: step; content: counter(step); }
.step strong { display: block; }
.step span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; min-height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-label { color: var(--accent-dark); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.price-card h2 { margin: 5px 0 0; font-size: 24px; }
.price { margin: 18px 0 0; font-size: 32px; font-weight: 950; letter-spacing: -.05em; }
.price small { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.price-card > p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.price-card ul { flex: 1; margin: 18px 0 0; padding-left: 18px; color: #45534d; font-size: 13px; }
.price-card li + li { margin-top: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 20px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; }
.button:hover { border-color: #8fa49a; color: var(--ink); }
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); color: #fff; }

.record-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr); gap: 16px; align-items: start; }
.record { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #17221e; box-shadow: var(--shadow); }
.record-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.09); color: #c9d9d2; font-size: 11px; }
pre { margin: 0; padding: 20px; overflow: auto; color: #dcebe5; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.key { color: #8bd9c7; }
.string { color: #f0cf84; }
.note-list { display: grid; gap: 10px; }
.note { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.note strong { display: block; font-size: 13px; }
.note span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 54px; padding: clamp(24px, 5vw, 42px); border-radius: 18px; background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.cta h2 { margin: 0; font-size: clamp(25px, 4vw, 38px); }
.cta p { max-width: 680px; margin: 8px 0 0; color: #cfe5df; }
.cta .button { flex: none; border-color: #fff; }

.footer { padding: 28px clamp(18px, 4vw, 54px); border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; width: min(1160px, 100%); margin: 0 auto; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 13px; flex-wrap: wrap; }
.footer a { color: #52615a; text-decoration: none; }
.footer a:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; }
  .nav { max-width: 470px; }
  .card { grid-column: span 6; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-shell { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .topbar { position: static; display: block; }
  .nav { justify-content: flex-start; margin-top: 12px; }
  .nav a { padding-inline: 7px; }
  .nav .launch { margin-left: 0; }
  h1 { font-size: 43px; }
  .page { width: min(100% - 24px, 1160px); padding-top: 38px; }
  .grid { display: block; }
  .card + .card { margin-top: 12px; }
  .price-grid { grid-template-columns: 1fr; }
  .data-table { overflow-x: auto; }
  table { min-width: 620px; }
  .cta { display: block; }
  .cta .button { width: 100%; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
