/* ------------------------------------------------------------------
   Eblan — AI code review
   Design system
------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f6;
  --bg-tint: #edf6f1;
  --ink: #0c1210;
  --ink-2: #3f4a46;
  --muted: #68716d;
  --line: #e5e8e6;
  --line-strong: #d4d9d6;

  --accent: #0e8a5f;
  --accent-strong: #0b6e4c;
  --accent-soft: #e7f5ee;
  --accent-line: #cbe7da;
  --accent-ink: #0a5c40;

  --code-bg: #f5f7f6;
  --diff-add-bg: #e6ffec;
  --diff-add-ink: #1a7f37;
  --diff-del-bg: #ffebe9;
  --diff-del-ink: #cf222e;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(12, 18, 16, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(12, 18, 16, 0.16);
  --shadow-lg: 0 32px 80px -32px rgba(12, 18, 16, 0.28);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1120px;
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 640;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img, svg {
  display: block;
  max-width: 100%;
}

code, pre, kbd {
  font-family: var(--mono);
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 560;
  font-size: 15.5px;
  line-height: 1.2;
  letter-spacing: -0.006em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #1d2622;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: #b9c1bd;
  background: var(--bg-soft);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14.5px;
  border-radius: 9px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16.5px;
}

.btn .arrow {
  transition: transform 0.15s ease;
}
.btn:hover .arrow {
  transform: translateX(2px);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(12, 18, 16, 0.02);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 640;
  font-size: 18.5px;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}
.brand .mark {
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 520;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 24px 20px;
}
.nav-mobile.open {
  display: block;
}
.nav-mobile a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 540;
  font-size: 16.5px;
  border-bottom: 1px solid var(--bg-soft);
  text-decoration: none !important;
}
.nav-mobile .btn {
  margin-top: 16px;
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(14, 138, 95, 0.09), transparent 70%),
    radial-gradient(900px 500px at 85% 10%, rgba(14, 138, 95, 0.05), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: 0.005em;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pill:hover {
  border-color: var(--accent);
  background: #dcefe5;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 138, 95, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(14, 138, 95, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(14, 138, 95, 0.08); }
}

.hero h1 {
  margin: 26px auto 0;
  font-size: clamp(2.7rem, 6.2vw, 4.15rem);
  font-weight: 660;
  letter-spacing: -0.033em;
  line-height: 1.04;
}

.hero .sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero .sub strong {
  color: var(--ink);
  font-weight: 560;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- mockup (fake PR review) ---------- */

.mockup-wrap {
  position: relative;
  margin: 64px auto 0;
  max-width: 780px;
}
.mockup-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -6% -12%;
  background: radial-gradient(520px 300px at 50% 60%, rgba(14, 138, 95, 0.12), transparent 70%);
  pointer-events: none;
}

.mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: left;
  overflow: hidden;
  font-size: 13.5px;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mockup-bar .traffic {
  display: flex;
  gap: 6px;
}
.mockup-bar .traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe3e1;
}
.mockup-bar .url {
  flex: 1;
  margin: 0 8px;
  padding: 5px 12px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.pr-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.pr-title .num {
  color: var(--muted);
  font-weight: 480;
}
.pr-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12.5px;
}
.pr-meta .branch {
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink-2);
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a7f37;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2.5px 10px;
}
.badge-open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.diff-file {
  border-bottom: 1px solid var(--line);
}
.diff-file-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}
.diff-file-head .dots {
  margin-left: auto;
  color: var(--muted);
  letter-spacing: 2px;
}
.diff-body {
  font-family: var(--mono);
  font-size: 12.25px;
  line-height: 1.75;
  overflow-x: auto;
}
.diff-line {
  display: flex;
  padding: 0 16px;
  white-space: pre;
}
.diff-line .ln {
  width: 34px;
  flex: none;
  text-align: right;
  padding-right: 14px;
  color: #9aa39e;
  user-select: none;
}
.diff-line.del {
  background: var(--diff-del-bg);
  color: var(--diff-del-ink);
}
.diff-line.add {
  background: var(--diff-add-bg);
  color: var(--diff-add-ink);
}
.diff-line.hunk {
  color: #8b949e;
  background: #f7f9f8;
  font-size: 11.5px;
}

.review {
  padding: 16px 20px 18px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex: none;
}
.review-author {
  font-weight: 600;
  font-size: 13.5px;
}
.review-author .bot {
  color: var(--muted);
  font-weight: 480;
}
.review-time {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
}

.review-body {
  margin-top: 10px;
  padding-left: 36px;
  color: var(--ink-2);
  line-height: 1.65;
}
.review-body .flag {
  color: #9a6700;
  font-weight: 600;
}
.review-body code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 11.75px;
  color: var(--ink);
}

.suggestion {
  margin-top: 12px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  overflow: hidden;
}
.suggestion-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 600;
}
.suggestion pre {
  margin: 0;
  padding: 10px 14px;
  background: #fbfdfc;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
}
.suggestion .add {
  color: var(--diff-add-ink);
  background: var(--diff-add-bg);
  display: block;
  padding: 0 6px;
  margin: 0 -6px;
  border-radius: 4px;
}

.review-foot {
  margin-top: 14px;
  padding-left: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.review-foot .ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-weight: 600;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}
.section.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 17.5px;
}

/* ---------- stats ---------- */

.stats {
  padding: 40px 0 8px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 34px;
  font-weight: 660;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.stat .num em {
  font-style: normal;
  color: var(--accent-strong);
}
.stat .label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  font-weight: 660;
  font-size: 15px;
}
.step h3 {
  margin-top: 18px;
  font-size: 18px;
}
.step p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.feature:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
}
.feature .icon svg {
  width: 20px;
  height: 20px;
}
.feature h3 {
  margin-top: 18px;
  font-size: 17.5px;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- claude section ---------- */

.claude {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.claude .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.claude h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
}
.claude .lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 17.5px;
}
.claude-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.claude-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.claude-point .check {
  flex: none;
  margin-top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.claude-point .check svg {
  width: 12px;
  height: 12px;
}
.claude-point p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.claude-point p strong {
  color: var(--ink);
  font-weight: 600;
}

.claude-card {
  background: var(--ink);
  color: #e8ece9;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.8;
  overflow-x: auto;
}
.claude-card .win {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.claude-card .win i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c3630;
}
.claude-card .cmt { color: #7d8a82; }
.claude-card .key { color: #8fd6b4; }
.claude-card .str { color: #e3c78a; }
.claude-card .fn  { color: #9ecbff; }

/* ---------- quote ---------- */

.quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}
.quote blockquote .hl {
  color: var(--accent-strong);
}
.quote figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}
.quote figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 72px 32px;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 260px at 50% 120%, rgba(14, 138, 95, 0.35), transparent 70%),
    radial-gradient(300px 200px at 80% -20%, rgba(14, 138, 95, 0.18), transparent 70%);
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: #fff;
}
.cta-band p {
  margin: 16px auto 0;
  max-width: 520px;
  color: #b9c4be;
  font-size: 17px;
}

.waitlist {
  margin: 32px auto 0;
  max-width: 460px;
  display: flex;
  gap: 10px;
}
.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #3a4640;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font);
  font-size: 15.5px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.waitlist input::placeholder {
  color: #8b968f;
}
.waitlist input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
}
.waitlist .btn {
  background: #fff;
  color: var(--ink);
}
.waitlist .btn:hover {
  background: #eef1ef;
}

.waitlist-success {
  margin: 32px auto 0;
  max-width: 460px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(14, 138, 95, 0.18);
  border: 1px solid rgba(14, 138, 95, 0.45);
  color: #c9ecd9;
  font-weight: 540;
}
.waitlist-success.show {
  display: flex;
}
.waitlist-success svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.cta-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: #8b968f;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 280px;
}
.footer-brand .mail {
  display: inline-block;
  margin-top: 10px;
  font-size: 14.5px;
}
.footer h4 {
  font-size: 13.5px;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer ul a {
  color: var(--ink-2);
  font-size: 14.5px;
  text-decoration: none !important;
}
.footer ul a:hover {
  color: var(--ink);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-bottom .claude-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-bottom .claude-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(14, 138, 95, 0.07), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.1rem);
  letter-spacing: -0.03em;
}
.page-hero .lede {
  margin-top: 18px;
  max-width: 620px;
  color: var(--ink-2);
  font-size: 18px;
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.plan .flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 640;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.plan h3 {
  font-size: 18px;
}
.plan .desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}
.plan .price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.plan .price .amount {
  font-size: 42px;
  font-weight: 660;
  letter-spacing: -0.03em;
}
.plan .price .per {
  color: var(--muted);
  font-size: 14.5px;
}
.plan .btn {
  margin-top: 24px;
  width: 100%;
}
.plan ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 14.75px;
}
.plan li svg {
  flex: none;
  margin-top: 3.5px;
  width: 15px;
  height: 15px;
  color: var(--accent-strong);
}

.beta-note {
  margin-top: 36px;
  text-align: center;
  color: var(--ink-2);
  font-size: 15.5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  padding: 14px 20px;
}
.beta-note strong {
  color: var(--accent-ink);
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
}
.faq-item p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- docs ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}
.docs-nav {
  position: sticky;
  top: 88px;
}
.docs-nav .group {
  font-size: 12.5px;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 10px;
}
.docs-nav .group:first-child {
  margin-top: 0;
}
.docs-nav a {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  text-decoration: none !important;
  border-left: 2px solid transparent;
}
.docs-nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.docs-nav a.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 560;
}

.docs-content {
  max-width: 680px;
  min-width: 0;
}
.docs-content h1 {
  font-size: 2.1rem;
  letter-spacing: -0.028em;
}
.docs-content .lede {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
}

/* ---------- prose (docs, blog, legal) ---------- */

.prose {
  margin-top: 36px;
}
.prose h2 {
  margin-top: 44px;
  padding-top: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.prose h3 {
  margin-top: 32px;
  font-size: 1.15rem;
}
.prose p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}
.prose p strong, .prose li strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  font-weight: 520;
}
.prose ul, .prose ol {
  margin: 16px 0 0;
  padding-left: 24px;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
  font-size: 16px;
  line-height: 1.65;
}
.prose code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5px 6px;
  font-size: 0.86em;
  color: var(--ink);
}
.prose pre {
  margin: 20px 0 0;
  background: #0f1713;
  color: #dce5df;
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.75;
}
.prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.prose pre .cmt { color: #7d8a82; }
.prose pre .key { color: #8fd6b4; }
.prose pre .str { color: #e3c78a; }
.prose pre .fn  { color: #9ecbff; }
.prose blockquote {
  margin: 20px 0 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  color: var(--accent-ink);
  font-size: 15.5px;
}
.prose hr {
  margin: 40px 0 0;
  border: none;
  border-top: 1px solid var(--line);
}
.prose table {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prose td code {
  font-size: 12.5px;
}

/* ---------- blog ---------- */

.post-list {
  display: grid;
  gap: 20px;
  max-width: 720px;
}
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  text-decoration: none !important;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.post-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.post-card .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13.5px;
}
.post-card .tag {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.post-card h2 {
  margin-top: 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.post-card p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.post-card .read {
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 560;
  font-size: 14.5px;
}

.post-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.post-hero .back {
  font-size: 14px;
  font-weight: 540;
}
.post-hero h1 {
  margin-top: 22px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.028em;
  max-width: 760px;
}
.post-hero .meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14.5px;
}
.post-hero .meta .avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.post-hero + .section {
  padding-top: 56px;
}

/* ---------- changelog ---------- */

.changelog-list {
  max-width: 720px;
  display: grid;
  gap: 0;
}
.entry {
  position: relative;
  padding: 0 0 44px 36px;
  border-left: 1px solid var(--line);
}
.entry:last-child {
  border-left-color: transparent;
}
.entry::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.entry .date {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 540;
}
.entry h2 {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.entry p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.entry ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 15px;
  display: grid;
  gap: 6px;
}

/* ---------- 404 ---------- */

.notfound {
  padding: 120px 0 140px;
  text-align: center;
}
.notfound .code {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}
.notfound h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.notfound p {
  margin: 18px auto 0;
  max-width: 440px;
  color: var(--ink-2);
}
.notfound .btn {
  margin-top: 30px;
}

/* ---------- reveal animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .pill .dot {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .features, .steps, .plans {
    grid-template-columns: 1fr 1fr;
  }
  .claude {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .docs-nav .group {
    display: none;
  }
  .docs-nav a {
    display: inline-block;
    border-left: none;
    border: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding-top: 56px;
  }
  .section {
    padding: 68px 0;
  }
  .stats-grid, .features, .steps, .plans {
    grid-template-columns: 1fr;
  }
  .stat .num {
    font-size: 28px;
  }
  .waitlist {
    flex-direction: column;
  }
  .waitlist .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mockup {
    font-size: 12.5px;
  }
  .review-body {
    padding-left: 0;
  }
  .review-foot {
    padding-left: 0;
  }
  .cta-band {
    padding: 56px 22px;
  }
}
