:root {
  --void: #0A0710; --obsidian: #15101F; --violet-deep: #3E2566; --violet: #7A4BB5;
  --gold: #C9A24A; --halo: #F1DA8C; --gaze: #5CE6EC; --bone: #EDE6F5; --muted: #B9ACCB; --ink: #06202a;
  --display: Marcellus, Georgia, serif; --body: Newsreader, Georgia, serif; --mono: "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--bone); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--halo); }
a:hover { color: var(--gaze); }
:focus-visible { outline: 2px solid var(--gaze); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--halo); color: var(--void); padding: 8px 12px; z-index: 50; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--halo); margin-bottom: 10px; }
.eyebrow.cyan { color: var(--gaze); }

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--halo); font-family: var(--display); font-size: 20px; letter-spacing: .14em; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 16px; }
.nav nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:hover { color: var(--gaze); }

.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; text-decoration: none; }
.pill.gold, .nav nav a.pill.gold { background: var(--halo); color: var(--void); }
.pill.cyan { background: var(--gaze); color: var(--ink); box-shadow: 0 0 28px rgba(92, 230, 236, .45); }
.pill.big { min-height: 56px; padding: 0 28px; font-size: 18px; }
.pill.outline { background: transparent; color: var(--gaze); border: 1px solid var(--gaze); align-self: flex-start; margin-top: 8px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 40px 88px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero-art { flex: 1 1 360px; min-width: 0; position: relative; max-width: 460px; margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art img { position: relative; width: 86%; border-radius: 50%; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--gold); opacity: .55; animation: spin 60s linear infinite; }
.halo { position: absolute; inset: 5%; border-radius: 50%; box-shadow: 0 0 90px 10px rgba(122, 75, 181, .55), inset 0 0 0 3px var(--halo); }
.plate { position: absolute; bottom: 2%; background: #2b2217; border: 1px solid #7E6530; color: var(--halo); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.block { padding-block: 0 88px; }
.sub { color: var(--muted); max-width: 40em; margin-top: 10px; }
.grid { display: grid; gap: 20px; margin-top: 32px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--obsidian); border: 1px solid var(--violet-deep); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); font-size: 17px; }
.card img, .noface { width: 96px; height: 96px; border-radius: 50%; }
.noface { border: 2px dashed var(--violet); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.card p.role, .card p.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gaze); }
.tag { color: var(--halo); }
.tag.cyan { color: var(--gaze); }
.card.ghost { background: transparent; border-style: dashed; justify-content: center; }
.card.ghost h3 { color: var(--muted); }
.more { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; align-self: flex-start; }
.code { font-family: var(--mono); font-size: 15px; background: var(--void); border: 1px solid var(--violet-deep); border-radius: 10px; padding: 12px 14px; color: var(--gaze); text-decoration: none; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--violet-deep); padding: 28px 16px 110px; text-align: center; color: var(--muted); font-size: 15px; }

.chat { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-fab { position: relative; width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--gaze); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--void), 0 0 30px rgba(92, 230, 236, .6); }
.chat-fab img { position: absolute; top: -8px; left: -8px; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--halo); }
.chat-panel { width: min(400px, calc(100vw - 40px)); max-height: min(560px, calc(100vh - 130px)); background: var(--obsidian); border: 1px solid var(--violet); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .7); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 20px; color: var(--halo); }
.chat-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--void); color: var(--bone); font-size: 22px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; font-size: 16px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.msg.you { justify-content: flex-end; }
.msg.you span { background: var(--violet-deep); border-radius: 14px 14px 2px 14px; padding: 8px 12px; }
.chat-qs { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-qs button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--violet); background: transparent; color: var(--bone); font-size: 15px; }
.chat-qs button:hover { border-color: var(--gaze); color: var(--gaze); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ring { animation: none; } }
