@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-700.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #14152c;
  --ink: #ccceef;
  --muted: #a7aad4;
  --primary: #5b4bff;
  --secondary: #dd00ac;
  --card: #1b1c36;
  --line: rgba(204, 206, 239, 0.16);
  --good: #9be7c4;
  --warn: #ffd38a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: calc(100% - 8vw); margin: 0 auto; }
.site-header, .site-footer { width: 100%; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4vw;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); max-width: 20ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lede { font-size: 1.2rem; max-width: 64ch; color: var(--ink); }
.lede-sub { font-size: 1rem; max-width: 60ch; margin-top: 10px; }
.muted { color: var(--muted); }
.measure { max-width: 68ch; }

.hero { padding: 32px 0 22px; }
.section { padding: 22px 0 64px; }
.section.tight { padding: 4px 0 28px; }

.strip-label { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.usecases { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.usecases .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--card);
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h2 { margin-top: 8px; }
.card p { margin: 0; color: var(--muted); }
.card.live { box-shadow: inset 0 0 0 1px rgba(91, 75, 255, 0.35); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--primary); }
.card.soon { opacity: 0.72; }

.mascot { display: grid; justify-items: center; gap: 6px; padding-top: 8px; }
.mascot svg { width: min(120px, 100%); height: auto; }
.mascot-note { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(91, 75, 255, 0.18);
  color: var(--ink);
}
.pill.soon { background: rgba(221, 0, 172, 0.16); }
.pill.good { background: rgba(155, 231, 196, 0.15); color: var(--good); }
.pill.warn { background: rgba(255, 211, 138, 0.12); color: var(--warn); }

.steps, .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step, .fact, .box, .panel, .bubble, .agent-head {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.step, .fact { padding: 18px; }
.step strong, .fact strong { display: block; margin-bottom: 6px; }

.box, .panel { padding: 22px; margin: 18px 0; }
.box h2, .panel h2 { font-size: 1.45rem; }
.callout {
  background: linear-gradient(180deg, rgba(91, 75, 255, 0.16), rgba(20, 21, 44, 0));
  border: 1px solid rgba(91, 75, 255, 0.45);
}

label { display: block; font-weight: 600; margin: 14px 0 6px; }
input, select, textarea, button {
  font: inherit;
  color: var(--ink);
  background: #12132a;
  border: 1px solid var(--line);
  border-radius: 12px;
}
input, select, textarea { width: 100%; padding: 12px 14px; }
textarea { min-height: 120px; resize: vertical; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
button.secondary, .button.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
button.danger { background: var(--secondary); }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { max-width: none; }

.agent-head { display: flex; gap: 18px; align-items: center; padding: 22px; margin-top: 28px; }
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--primary);
  font-size: 2rem;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.thread { display: flex; flex-direction: column; gap: 12px; min-height: 220px; margin: 12px 0; }
.bubble { padding: 14px 16px; max-width: min(70ch, 100%); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--primary); color: white; border-color: transparent; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.status { min-height: 1.5em; color: var(--warn); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 48px; margin-top: 20px; }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.foot a { display: inline-block; margin-right: 14px; }
.agent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.agent-link {
  display: block;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--card);
}

.snippet, .task-list { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.starters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.starters button { background: transparent; border: 1px solid var(--line); color: var(--ink); }
body.embed .site-header,
body.embed .site-footer,
body.embed #panel { display: none; }
body.embed .section { padding-top: 8px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 32px); }
  .cards, .steps, .facts, .grid-2, .foot { grid-template-columns: 1fr; }
  .site-header { padding: 18px 16px; align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 36px; }
  .card { min-height: 0; }
  .composer { grid-template-columns: 1fr; }
}
