@font-face {
  font-family: 'Space Grotesk';
  src: url('/support-assets/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/support-assets/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/support-assets/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #0b0d10;
  color: #e8edf4;
  --blue: #4c8dff;
  --line: #292f38;
  --muted: #a9b4c5;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 20%, #4c8dff20, transparent 52%); }
a { color: #a7c8ff; text-underline-offset: .2em; }
a:hover { color: #e8edf4; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.shell { width: min(100% - 2.5rem, 69rem); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: #0b0d10a8; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.topbar { min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: inherit; font-weight: 600; text-decoration: none; }
.back { color: var(--muted); font-size: .875rem; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.hero { padding-block: clamp(4rem, 11vw, 8.5rem) clamp(2rem, 5vw, 4rem); }
.label { color: #83aeff; font: 500 .7rem/1.4 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
h1 { margin-block: .7rem 1.2rem; font-size: clamp(2.65rem, 8vw, 6rem); font-weight: 600; letter-spacing: -.065em; line-height: .98; }
.intro { max-width: 36rem; color: var(--muted); font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.55; }
.cards { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.card { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 28px; background: #0b0d10; }
.card h2 { margin-top: .75rem; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.035em; }
.card h2 + p { margin-block: .55rem 1.4rem; color: var(--muted); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
button, .secondary { display: inline-block; border: 1px solid transparent; border-radius: 100px; padding: .7rem 1.2rem; font: inherit; font-weight: 600; text-decoration: none; }
button { background: var(--blue); color: #08111d; cursor: pointer; }
button:hover { background: #6fa3ff; }
button:disabled { cursor: wait; opacity: .75; }
button[hidden], #chat-status:empty { display: none; }
.secondary { border-color: #36547e; color: #e8edf4; }
.secondary:hover { border-color: var(--blue); }
#chat-status { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.footer { margin-top: clamp(2.5rem, 7vw, 5rem); padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (max-width: 40rem) {
  .cards { grid-template-columns: 1fr; }
}
