/* The website wears the dashboard's look: warm off-white, white cards, one orange. */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url('fonts/jbmono.woff2') format('woff2'); }

:root {
  --bg: #faf8f6;
  --panel: #ffffff;
  --raised: #f3efeb;
  --line: #ebe6e1;
  --line-strong: #ddd6cf;
  --text: #1b1a19;
  --muted: #6f6a65;
  --accent: #f26a1b;
  --accent-hover: #dd5a0e;
  --accent-soft: #fff0e5;
  --accent-text: #d4520a;
  --code-bg: #1e1b19;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font: 16px/1.6 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); }
h1, h2, h3, p, ul, figure, pre { margin: 0; }
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--raised); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 10; background: rgb(250 248 246 / 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a:not(.button) { text-decoration: none; color: var(--muted); }
.top nav a:not(.button):hover { color: var(--text); }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--panel); text-decoration: none; font-weight: 600; font-size: 15px; transition: background 0.12s, box-shadow 0.12s; }
.button:hover { background: var(--raised); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgb(242 106 27 / 0.3); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.top .button { padding: 7px 14px; font-size: 14px; }

section { padding-block: 72px; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 10px; }

.hero { padding-block: 88px 40px; text-align: center; }
.eyebrow { display: inline-block; color: var(--accent-text); background: var(--accent-soft); border-radius: 99px; padding: 5px 14px; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.04; margin-top: 22px; }
.lede { max-width: 700px; margin: 24px auto 0; font-size: 19px; color: var(--muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.shot { padding-block: 24px 40px; }
.frame { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgb(80 50 20 / 0.22), 0 2px 6px rgb(40 30 20 / 0.06); }
.frame img { display: block; width: 100%; height: auto; }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.chrome span { margin: 0 auto; font-size: 12px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 2px 40px; transform: translateX(-20px); }

.features { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.grid article, .grid li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 1px 2px rgb(40 30 20 / 0.04); }
.grid p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.grid.three { margin-top: 28px; }
.grid.two { grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; }
.grid li { color: var(--muted); font-size: 15px; }
.grid li b { color: var(--text); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26a1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; transform: translateY(3px); }
.frame.small { border-radius: 14px; }

pre { background: var(--code-bg); color: #f3ede7; border-radius: 12px; padding: 20px 22px; overflow-x: auto; font-size: 14px; line-height: 1.7; margin-top: 18px; }
pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
pre .c { color: #9b928a; }
.start { max-width: 760px; }
.start > p:last-child { color: var(--muted); margin-top: 16px; }
.connect .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.connect .cols > div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; min-width: 0; }
.connect .cols p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.connect pre { font-size: 13px; }
.note { color: var(--muted); margin-top: 20px; }

.diagram { display: flex; align-items: center; gap: 0; margin-top: 36px; }
.diagram .col { display: grid; gap: 12px; flex: 1; }
.node { flex: 1; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px 18px; font-weight: 700; display: grid; gap: 4px; }
.node small { font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.45; }
.node.accent { border: 2px solid var(--accent); background: var(--accent-soft); }
.node.accent small { color: #8a4a1e; }
.arrow { flex: 0 0 48px; height: 2px; background: var(--line-strong); position: relative; }
.arrow::after { content: ''; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left-color: var(--line-strong); border-right: 0; }

.closing { text-align: center; padding-block: 96px; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

@media (max-width: 900px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  .split, .connect .cols { grid-template-columns: 1fr; gap: 32px; }
  .diagram { flex-direction: column; align-items: stretch; }
  .arrow { flex: 0 0 32px; width: 2px; height: 32px; align-self: center; }
  .arrow::after { right: auto; left: -5px; top: auto; bottom: -1px; border: 6px solid transparent; border-top-color: var(--line-strong); border-bottom: 0; }
  .top nav a:not(.button) { display: none; }
  section { padding-block: 52px; }
  .hero { padding-block: 56px 28px; }
  .lede { font-size: 17px; }
  .chrome span { display: none; }
}
