@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #080d16;
  --ink-2: #0c1420;
  --panel: #111b2a;
  --line: rgba(167, 187, 214, .14);
  --line-strong: rgba(167, 187, 214, .26);
  --paper: #f3f0e8;
  --muted: #9aa9bd;
  --amber: #f3b64a;
  --amber-soft: rgba(243, 182, 74, .12);
  --teal: #66d9cd;
  --red: #e8897c;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 76% -12%, rgba(243, 182, 74, .12), transparent 62%),
    radial-gradient(900px 600px at 6% 10%, rgba(102, 217, 205, .07), transparent 60%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: .85em; color: var(--teal); }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--amber); color: #1a1204; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 28px; gap: 24px;
}
.brand img { height: 30px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: .01em;
}
.nav nav a:hover, .nav nav a:focus-visible { color: var(--paper); }
.nav-cta {
  color: var(--paper) !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
}
.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 46px; align-items: center; padding-block: 72px 84px;
}
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 18px; color: var(--amber); text-transform: uppercase;
  letter-spacing: .16em; font-family: var(--mono); font-size: 11px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(102,217,205,.12); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.035em; font-weight: 650; }
h1 { font-size: clamp(46px, 6.8vw, 88px); max-width: 11ch; }
h1 em { color: var(--amber); font-style: normal; }
.lede { color: #c3cede; font-size: clamp(17px, 1.5vw, 20px); max-width: 54ch; margin: 26px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 10px; padding: 12px 20px; font-size: 14px; font-weight: 650;
  text-decoration: none; border: 1px solid transparent; transition: .16s ease;
}
.button.primary { background: var(--amber); color: #211604; }
.button.primary:hover { background: #ffd07a; transform: translateY(-1px); }
.button.ghost { border-color: var(--line-strong); color: var(--paper); background: rgba(255,255,255,.02); }
.button.ghost:hover { border-color: var(--amber); color: var(--amber); }
.fine { color: #7e8da2; font-size: 12.5px; margin: 20px 0 0; }
.hero-art { position: relative; min-height: 460px; }
.glow {
  position: absolute; inset: 8% -6% 0 10%;
  background: radial-gradient(circle at 62% 36%, rgba(243,182,74,.28), transparent 62%);
  filter: blur(24px); pointer-events: none;
}
.window {
  position: relative; border: 1px solid var(--line-strong); border-radius: 16px;
  background: linear-gradient(160deg, #131f30, #0c1420 70%);
  box-shadow: 0 36px 90px rgba(0,0,0,.48);
  overflow: hidden; transform: translateY(6px);
}
.window-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025);
}
.traffic { width: 7px; height: 7px; border-radius: 50%; background: #344157; }
.traffic:nth-child(1) { background: #d77469; }
.traffic:nth-child(2) { background: #d8ad58; }
.traffic:nth-child(3) { background: #68b486; }
.window-title { margin-left: 8px; color: #b9c7d8; font-size: 11px; font-family: var(--mono); }
.private-pill {
  margin-left: auto; font-size: 9.5px; color: var(--teal);
  border: 1px solid rgba(102,217,205,.25); border-radius: 999px; padding: 3px 8px;
  background: rgba(102,217,205,.05);
}
.calendar { padding: 20px 20px 16px; }
.cal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.cal-head b { display: block; font-size: 18px; letter-spacing: -.02em; }
.cal-head span { color: var(--muted); font-size: 11px; font-family: var(--mono); }
.cal-head .add {
  color: var(--amber); border: 1px solid rgba(243,182,74,.3);
  border-radius: 7px; padding: 5px 10px; background: var(--amber-soft); font-family: var(--sans);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cal-grid > span {
  background: #0f1826; min-height: 50px; padding: 7px; font-size: 11px; color: #b8c5d7;
}
.cal-grid .dow { min-height: auto; padding-block: 8px; color: #6f8095; text-align: center; font-size: 9px; font-family: var(--mono); background: #0c1420; }
.cal-grid .muted { color: #435268; }
.cal-grid .today { background: rgba(243,182,74,.08); color: var(--amber); outline: 1px solid rgba(243,182,74,.35); outline-offset: -1px; }
.cal-grid .today b {
  display: block; margin-top: 5px; font-size: 8.5px; font-weight: 500; color: #f0dfbb;
  background: rgba(243,182,74,.14); border-left: 2px solid var(--amber); padding: 3px 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-foot {
  display: flex; align-items: center; gap: 12px; padding-top: 14px;
  font-size: 10px; color: #708096; font-family: var(--mono);
}
.cal-foot b { color: #c7d3e2; font-weight: 500; }
.cal-foot .ics { margin-left: auto; color: var(--teal); }
.float-card {
  position: absolute; right: -8px; bottom: -30px; width: 210px;
  padding: 15px 16px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: #152132; box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.float-label { display: block; font: 9px var(--mono); letter-spacing: .16em; color: #6f8095; margin-bottom: 5px; }
.float-card b { display: block; font-size: 13px; }
.float-card span:last-child { color: var(--muted); font-size: 11px; }
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-block: 1px solid var(--line); background: var(--line);
}
.strip div { background: var(--ink); padding: 24px 22px; }
.strip b { display: block; color: var(--amber); font-size: 25px; letter-spacing: -.03em; }
.strip span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 3px; }
.section { padding-block: 100px; }
.section-head { max-width: 700px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head > p:last-child { color: var(--muted); margin: 20px 0 0; max-width: 62ch; }
.section-head.split { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; max-width: none; align-items: end; }
.section-head.split > p { margin: 0 0 5px; }
.cards { display: grid; gap: 14px; margin-top: 38px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
.card h3 { font-size: 19px; margin-top: 15px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.icon { font: 11px var(--mono); color: var(--amber); }
.tag {
  display: inline-block; font: 10px var(--mono); letter-spacing: .12em; color: var(--teal);
  text-transform: uppercase; border: 1px solid rgba(102,217,205,.2); border-radius: 999px;
  padding: 3px 8px; background: rgba(102,217,205,.04);
}
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.bento .card { min-height: 205px; }
.bento .wide { grid-column: span 2; grid-row: span 2; min-height: 424px; overflow: hidden; position: relative; }
.bento .wide h3 { font-size: clamp(26px, 3vw, 38px); margin-top: 22px; }
.bento .wide p { max-width: 44ch; font-size: 15px; }
.mini-cal {
  position: absolute; right: 24px; bottom: 24px; display: grid;
  grid-template-columns: repeat(5, 38px); gap: 4px; font: 10px var(--mono); color: #7f90a6;
}
.mini-cal span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; background: #0d1724; }
.mini-cal .hot { color: #211604; background: var(--amber); }
.callout {
  display: flex; gap: 30px; align-items: flex-end; justify-content: space-between;
  border: 1px solid rgba(243,182,74,.3); border-radius: 18px; padding: 36px;
  background: linear-gradient(115deg, rgba(243,182,74,.1), rgba(243,182,74,.02) 55%, transparent);
}
.callout h2 { font-size: clamp(28px, 3.6vw, 42px); }
.callout p { color: #c1ccda; max-width: 64ch; margin: 16px 0 0; font-size: 14.5px; }
.callout-actions { display: flex; gap: 10px; flex-shrink: 0; }
.foot {
  border-top: 1px solid var(--line); padding-block: 34px 46px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start;
}
.foot p { margin: 10px 0 0; }
.foot nav { display: flex; gap: 22px; justify-content: flex-end; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
.foot nav a:hover { color: var(--amber); }
.foot .fine { grid-column: 1 / -1; margin: 12px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }

/* Docs */
.doc-hero { padding-block: 64px 40px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(38px, 5.6vw, 64px); max-width: 16ch; }
.doc-hero p { color: var(--muted); max-width: 64ch; margin: 20px 0 0; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; padding-block: 54px 96px; }
.doc-layout > * { min-width: 0; }
.toc { position: sticky; top: 24px; align-self: start; }
.toc p { font: 10px var(--mono); letter-spacing: .14em; color: #718298; text-transform: uppercase; margin: 0 0 12px; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 13px; padding: 5px 0; }
.toc a:hover { color: var(--amber); }
.doc-body { max-width: 760px; min-width: 0; }
.doc-body pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.doc-body section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.doc-body section:last-child { border-bottom: 0; }
.doc-body h2 { font-size: 30px; margin-bottom: 14px; }
.doc-body h3 { font-size: 17px; margin: 28px 0 8px; letter-spacing: -.01em; }
.doc-body p { color: #b7c4d5; font-size: 15px; }
.doc-body ul, .doc-body ol { color: #b7c4d5; font-size: 15px; padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body a { color: var(--amber); text-underline-offset: 3px; }
.doc-body pre {
  background: #0b1522; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; overflow: auto; color: #d6e2ef; font: 12.5px/1.65 var(--mono);
}
.note {
  border-left: 2px solid var(--teal); background: rgba(102,217,205,.05);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0;
}
.note p { margin: 0; font-size: 13.5px; color: #c3d4e4; }
.warn { border-left-color: var(--amber); background: rgba(243,182,74,.06); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { color: #8495aa; font-weight: 500; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.table td { color: #c2cedd; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 14px; }
details p { margin: 10px 0 0; font-size: 13.5px; }
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound h1 { max-width: none; font-size: clamp(60px, 12vw, 150px); color: var(--amber); }
.notfound p { color: var(--muted); max-width: 44ch; margin: 20px auto 30px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { margin-top: 18px; min-height: 430px; }
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .wide { grid-column: span 2; }
  .callout { flex-direction: column; align-items: flex-start; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .toc p { width: 100%; }
}
@media (max-width: 660px) {
  body { font-size: 16px; }
  .shell { width: min(var(--max), calc(100% - 32px)); }
  .nav { padding-block: 18px; }
  .nav nav { gap: 14px; }
  .nav nav a:not(.nav-cta) { display: none; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .strip { grid-template-columns: 1fr 1fr; }
  .cards.three, .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: auto; grid-row: auto; min-height: 360px; }
  .mini-cal { grid-template-columns: repeat(5, 30px); }
  .section { padding-block: 70px; }
  .float-card { right: 8px; bottom: -18px; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; flex-wrap: wrap; }
  .callout { padding: 24px; }
  .callout-actions { flex-wrap: wrap; }
  .table { display: block; overflow-x: auto; }
  .doc-body { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button.primary:hover { transform: none; }
}
