/* Console AI — spacious product site. Created by Rohan Kells. */
@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 {
  color-scheme: dark;
  --bg: #0A0A0B;
  --section: #111113;
  --raised: #18181B;
  --fg: #A1A1AA;
  --white: #FAFAFA;
  --border: #ffffff14;
  --accent: #A21CAF;
  --accent-2: #c026d3;
  --max: 1100px;
  --radius: 16px;
  --pad: 120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 88px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--raised); color: var(--white); padding: 8px 12px; z-index: 80; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 32px; height: 32px; display: block; }
.brand small { display: block; color: var(--fg); font-weight: 400; font-size: 11px; letter-spacing: 0; }
nav { display: flex; justify-content: center; gap: 4px 22px; flex-wrap: wrap; }
nav a { color: var(--fg); font-size: 14px; font-weight: 500; padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--white); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a.login { color: var(--white); font-size: 14px; font-weight: 500; }
.menu-toggle {
  display: none;
  background: transparent; color: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; cursor: pointer; font-family: inherit;
}
main { padding: 0 0 40px; }
.section, .hero-wrap { padding: var(--pad) 0; }
.section.alt { background: var(--section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h1, h2, h3 { color: var(--white); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
h1 {
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 600;
}
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.lead, .subhead { font-size: 1.15rem; color: var(--fg); max-width: 36rem; }
.subhead { margin: 0 auto 32px; }
.eyebrow, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  margin: 0 0 20px;
}
.hero-wrap { text-align: center; padding-top: 80px; }
.hero-wrap .lead, .hero-wrap .subhead { margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 64px; }
.hero-wrap .cta-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; letter-spacing: -0.01em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-solid { background: #fff; color: #0A0A0B; }
.btn-solid:hover { background: #f4f4f5; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--border); }
.btn-ghost:hover { border-color: #ffffff33; text-decoration: none; }
.btn:disabled, .btn-soon {
  background: var(--raised); color: #71717a; border-color: var(--border); cursor: not-allowed;
}
.price-tag { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--white); }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card, .plan, .feature {
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .icon { width: 32px; height: 32px; margin-bottom: 16px; color: var(--accent); }
.plan { display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.plan .badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan .rate { font-size: 1.7rem; color: var(--white); font-weight: 600; letter-spacing: -0.03em; }
.plan .rate span { font-size: 0.9rem; color: var(--fg); font-weight: 400; letter-spacing: 0; }
.plan .who { font-size: 14px; min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 16px; flex: 1; }
.plan li { position: relative; padding-left: 22px; margin: 8px 0; font-size: 14px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.packs { list-style: none; padding: 0; margin: 0 0 8px; }
.packs li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.explainer { text-align: center; max-width: 40rem; margin: 28px auto 0; }
.table-wrap { overflow-x: auto; margin-top: 48px; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--fg); font-weight: 500; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.mock {
  position: relative;
  background: #111113;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  max-width: 780px;
  margin: 0 auto;
}
.mock::before {
  content: "";
  position: absolute; inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.mock-bar { position: relative; z-index: 1; padding: 12px 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); background: #0A0A0B; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.mock-title { margin-left: 6px; font-size: 12px; color: var(--fg); display: flex; align-items: center; gap: 8px; }
.mock-title img, .mock-title svg { width: 18px; height: 18px; }
.mock-body { position: relative; z-index: 1; padding: 18px; }
.banner {
  background: color-mix(in srgb, var(--accent) 16%, #0A0A0B);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  color: var(--white);
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.screen { margin-top: 14px; height: 160px; border-radius: 8px; background:
  repeating-linear-gradient(90deg, #18181b 0 40px, #111113 40px 80px);
  border: 1px solid var(--border); position: relative; }
.sas { position: absolute; bottom: 10px; right: 10px; font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--white); background: #0A0A0B; padding: 4px 8px; border-radius: 6px; font-size: 12px; border: 1px solid var(--border); }
.code-card {
  background: #0A0A0B;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  overflow-x: auto;
  text-align: left;
}
.code-card pre, .code-card code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; line-height: 1.65; color: #e4e4e7; margin: 0;
}
.code-card .k { color: var(--accent-2); }
.code-card .s { color: #e9d5ff; }
.code-card .c { color: #71717a; }
.faq details { background: var(--section); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 0 0 10px; }
.faq summary { cursor: pointer; color: var(--white); font-weight: 600; }
.legal p, .legal li { max-width: 48rem; }
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 64px 0 120px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--white); padding: 4px 0; font-weight: 400; }
.footer-grid a:hover { color: var(--accent); }
.credit { margin-top: 40px; color: var(--fg); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.auth { max-width: 420px; margin: 64px auto; }
.auth form { display: flex; flex-direction: column; gap: 12px; }
.auth label { font-size: 13px; color: var(--white); font-weight: 500; }
.auth input, .auth textarea {
  width: 100%; background: var(--raised); border: 1px solid var(--border); color: var(--white);
  border-radius: 10px; padding: 10px 12px; font: inherit;
}
.auth input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.notice { background: var(--section); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.splash {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; transition: opacity .35s ease;
}
.splash img, .splash svg { width: 88px; height: 88px; }
.splash.hide { opacity: 0; pointer-events: none; }
.prompt-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 50; width: min(640px, calc(100% - 32px));
  display: flex; gap: 8px; align-items: center;
  background: #18181B; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 6px 6px 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.prompt-bar input {
  flex: 1; background: transparent; border: 0; color: var(--white);
  font: inherit; outline: none; min-width: 0;
}
.prompt-bar button { border-radius: 999px; }
.mascot {
  position: fixed; z-index: 45; left: 16px; bottom: 88px;
  width: 72px; height: 72px; cursor: grab; touch-action: none;
  user-select: none;
}
.mascot:focus { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 16px; }
.mascot .hide-x {
  position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--raised); color: var(--white); border: 1px solid var(--border);
  font-size: 12px; line-height: 18px; text-align: center; cursor: pointer;
  padding: 0;
}
@media (max-width: 960px) {
  :root { --pad: 72px; }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { grid-template-columns: auto auto auto; }
  .menu-toggle { display: inline-flex; grid-column: 2; justify-self: end; }
  nav, .header-actions { display: none; }
  nav.open, .header-actions.open { display: flex; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; padding-bottom: 12px; }
  .header-actions.open { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { display: none; }
}
