:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08090c;
  color: #f7f7f8;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 75% 12%, rgba(106, 76, 255, .18), transparent 35%), linear-gradient(180deg, #0b0c11 0%, #08090c 100%);
}
body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.shell { position: relative; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 72px; }
.shell.compact { width: min(760px, calc(100% - 40px)); }
nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 72px; }
.brand { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .18em; text-decoration: none; }
.phase, .label { color: #8d909c; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero { max-width: 820px; padding: 44px 0 64px; }
.eyebrow { color: #9b87ff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 18px 0 24px; font-size: clamp(52px, 9vw, 104px); line-height: .94; letter-spacing: -.065em; }
h1 span { color: #9b87ff; }
.key-panel h1 { font-size: clamp(42px, 8vw, 68px); }
.lede { max-width: 660px; margin: 0 0 34px; color: #a9abb5; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 260px;
  padding: 16px 18px;
  border: 0;
  border-radius: 10px;
  background: #6c4cff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 50px rgba(88, 56, 255, .24);
}
.primary:hover { background: #7a5cff; transform: translateY(-1px); }
.primary:disabled { cursor: wait; opacity: .6; }
.secondary { min-width: auto; background: #252630; box-shadow: none; }
.endpoint-card, .key-panel, .quickstart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid #242630;
  border-radius: 14px;
  background: rgba(17, 18, 24, .76);
  backdrop-filter: blur(18px);
}
.endpoint-card .label { display: block; margin-bottom: 10px; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.endpoint-card code { color: #ded8ff; font-size: clamp(14px, 2vw, 17px); }
.pilot { color: #9b87ff; font-size: 13px; font-weight: 700; }
.tools { padding-top: 52px; }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 18px; border-top: 1px solid #242630; border-left: 1px solid #242630; }
.tool-grid span { padding: 18px; color: #c8c9d0; border-right: 1px solid #242630; border-bottom: 1px solid #242630; }
.key-panel { display: block; padding: clamp(26px, 6vw, 52px); }
.key-output { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.key-output pre { max-width: 100%; margin: 0; padding: 16px; overflow: auto; border-radius: 8px; background: #08090c; color: #cfc7ff; }
#status { min-height: 24px; color: #9fa1ab; }
.quickstart { display: block; margin-top: 18px; }
.quickstart > p { color: #9fa1ab; }
.quickstart details { padding: 14px 0; border-top: 1px solid #242630; }
.quickstart summary { color: #ded8ff; font-weight: 700; cursor: pointer; }
.quickstart pre { margin: 14px 0 0; overflow: auto; color: #cfc7ff; line-height: 1.7; }
@media (max-width: 720px) {
  nav { padding-bottom: 28px; }
  .hero { padding-top: 28px; }
  .endpoint-card { align-items: flex-start; flex-direction: column; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .key-output { align-items: stretch; flex-direction: column; }
}