:root {
  --accent: #1f4e4a;
  --accent-ink: #163633;
  --surface: #f7f5f1;
  --card: #fffcf8;
  --text: #1c1b19;
  --muted: #5e5a55;
  --line: #e4e0d8;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); }

.hero { padding: 72px 0 36px; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.kicker img {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  vertical-align: -4px;
  object-fit: contain;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.lede { font-size: 20px; max-width: 38rem; color: var(--muted); margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.button, button.button {
  display: inline-block;
  background: var(--accent);
  color: #f7f5f1;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--sans);
}
.button.ghost {
  background: transparent;
  color: var(--accent-ink);
}
.button:hover { background: var(--accent-ink); color: #fff; }
.button.ghost:hover { background: var(--accent); color: #fff; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 12px 0 56px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 24px;
}
.step .num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.step h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  margin: 10px 0 8px;
}
.step p { margin: 0; color: var(--muted); }

.panel { padding: 10px 0 64px; }
.panel h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  margin: 0 0 8px;
}
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.quiet { color: var(--muted); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 48px; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
.plan.pro { border-color: var(--accent); }
.plan h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0; }
.price { font-family: var(--serif); font-size: 42px; margin: 8px 0 4px; }
.price span { font-family: var(--sans); font-size: 16px; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 16px 0 0; }
.plan li { margin: 8px 0; }

table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.note {
  background: #efeae2;
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
}
.callout {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin: 18px 0;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 18px 0 28px;
  color: #6f6a64;
  font-size: 12px;
  line-height: 1.45;
}
footer p { margin: 0; }
footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin-top: 4px;
}
footer a {
  color: #6f6a64;
  font-size: 12px;
  text-decoration: none;
}
footer a:hover { color: var(--muted); text-decoration: underline; }
footer a[aria-current="page"] { text-decoration: underline; }

.prose { max-width: 42rem; padding-bottom: 48px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); max-width: none; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 28px 0 8px; }
dl { margin: 0; }
dt { font-weight: 650; margin-top: 18px; }
dd { margin: 4px 0 0; color: var(--muted); }

code, .file {
  font-family: var(--mono);
  font-size: 0.92em;
  background: #efeae2;
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 760px) {
  .steps, .plans, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .nav { align-items: flex-start; flex-direction: column; }
}
