@font-face {
  font-family: 'Funnel Display';
  src: url('/fonts/FunnelDisplay-Variable.ttf') format('truetype');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg: #131417;
  --panel: #191a1d;
  --raised: #22252a;
  --line: #2b2e33;
  --ink: #f4f5f7;
  --ink2: #b9bec8;
  --muted: #858b96;
  --brand: #f27c5a;
  --blue: #0d99ff;
  --purple: #c4a3ff;
  --green: #5fd38d;
  --display: 'Funnel Display', -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
code { font-family: var(--mono); font-size: 0.9em; }

.shell { width: min(1080px, 100% - 48px); margin: 0 auto; }

.header { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 18px; text-decoration: none; }
.brand img { width: 30px; height: 17px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.hero { padding: 96px 0 64px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink2); font-size: 13px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 3px; background: var(--green); }
.hero h1 { margin: 24px auto 0; max-width: 820px; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 24px auto 0; max-width: 600px; color: var(--ink2); font-size: 19px; }

.install { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-family: var(--mono); font-size: 15px; }
.install span { color: var(--muted); }
.copy { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--brand); color: #1a0f0b; font: 600 14px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.copy:hover { filter: brightness(1.08); }
.small { margin-top: 14px; color: var(--muted); font-size: 14px; }
.small a { color: var(--ink2); }

.terminal { margin: 64px auto 0; max-width: 820px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-align: left; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.bar { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bar i { width: 12px; height: 12px; border-radius: 6px; background: #3a3d44; }
.log { margin: 0; padding: 20px 24px 24px; font: 14px/1.75 var(--mono); color: var(--muted); white-space: pre-wrap; }
.log b { font-weight: 400; color: var(--ink); }
.log .ok { color: var(--green); }
.log .cmd { color: var(--ink2); }
.log .tag { color: var(--purple); }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section > h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.section > p.sub { margin: 12px 0 0; max-width: 560px; color: var(--ink2); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.feature h3 { font-size: 21px; }
.feature p { margin: 10px 0 0; color: var(--ink2); }
.feature code { color: var(--purple); }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.plan.work { border-color: rgba(242, 124, 90, 0.45); }
.plan h3 { font-size: 20px; }
.price { margin-top: 16px; font-family: var(--display); font-size: 48px; font-weight: 600; line-height: 1; }
.price small { font-size: 17px; font-weight: 400; color: var(--muted); }
.plan p { margin: 16px 0 0; color: var(--ink2); }
.plan ul { margin: 20px 0 28px; padding: 0; list-style: none; color: var(--ink2); }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.button { display: block; margin-top: auto; padding: 14px; border-radius: 10px; text-align: center; text-decoration: none; font-weight: 600; background: var(--raised); }
.button.primary { background: var(--brand); color: #1a0f0b; }
.button:hover { filter: brightness(1.1); }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }

.faq { margin-top: 40px; max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 20px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--muted); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 0 0 22px; color: var(--ink2); }

.doc { max-width: 720px; padding: 64px 0 96px; }
.doc h1 { font-size: 44px; }
.doc h2 { margin-top: 40px; font-size: 24px; }
.doc p, .doc li { color: var(--ink2); }
.doc .updated { color: var(--muted); }

.footer { display: flex; align-items: center; gap: 24px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .features, .plans { grid-template-columns: 1fr; }
  .install { font-size: 12px; }
  .nav a.hide-m { display: none; }
  .hero { padding-top: 56px; }
}
