@font-face {
  font-family: Geist;
  src: url('/static/vendor/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg:#111114;
  --surface:#19191e;
  --raised:#222228;
  --edge:#35353e;
  --ink:#f4f2f7;
  --muted:#aba8b5;
  --accent:#b7a0ff;
  --accent-ink:#191325;
  --accent-soft:#262039;
  --overlay:#08080bb8;
  --radius:19px;
  font: 16px/1.55 Geist, system-ui, sans-serif;
}
[data-theme="light"] {
  color-scheme: light;
  --bg:#f7f6f9;
  --surface:#fff;
  --raised:#eeebf2;
  --edge:#d5d0dd;
  --ink:#201b29;
  --muted:#5f586b;
  --accent:#6540b8;
  --accent-ink:#fff;
  --accent-soft:#eee6fc;
  --overlay:#1b152b80;
}
*, *::before, *::after { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:var(--bg); min-height:100vh; }
body, button, input, textarea, select { font-family:Geist, system-ui, sans-serif; }
a { color:inherit; text-decoration:none; }
button, input, textarea, select { font-size:1rem; }
button { color:inherit; cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
p { color:var(--muted); margin:0; }
h1, h2, h3 { margin:0; letter-spacing:-.035em; line-height:1.12; }
ul, ol { padding-inline-start:1.4rem; }
svg { width:1.15em; height:1.15em; display:block; flex-shrink:0; }
img, video, audio { max-width:100%; display:block; }
.shell { width:min(1200px, calc(100% - 72px)); margin-inline:auto; }
.skip { position:fixed; z-index:10; top:8px; left:8px; transform:translateY(-150%); padding:10px 16px; background:var(--accent); color:var(--accent-ink); }
.skip:focus { transform:translateY(0); }
.site-header { position:sticky; top:0; z-index:5; background:color-mix(in srgb,var(--bg) 94%,transparent); border-bottom:1px solid var(--edge); }
.header-inner { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:75px; gap:12px; }
.brand { display:inline-flex; width:max-content; align-items:center; gap:10px; font-size:1.65rem; font-weight:750; letter-spacing:-.065em; }
.accent { color:var(--accent); }
.main-nav, .segmented { display:flex; gap:4px; align-items:center; }
.main-nav { padding:4px; border:1px solid var(--edge); background:var(--surface); border-radius:12px; }
.main-nav a, .segmented a, .segmented button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:7px; padding:6px 15px; border:1px solid transparent; border-radius:8px; font-size:.875rem; font-weight:550; color:var(--muted); background:transparent; white-space:nowrap; }
.main-nav a:hover, .segmented a:hover, .segmented button:hover { color:var(--ink); }
.main-nav a[aria-current], .segmented [aria-current], .segmented [aria-pressed="true"] { background:var(--raised); border-color:var(--edge); color:var(--ink); }
.header-actions { justify-self:end; display:flex; align-items:center; gap:9px; }
.square { width:44px; min-width:44px; height:44px; border-radius:11px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--edge); color:var(--ink); padding:0; }
.square:hover { background:var(--raised); }
.profile-button { background:var(--accent-soft); color:var(--accent); font-weight:700; }
.account-anchor { position:relative; }
.surface, .tile { background:var(--surface); border:1px solid var(--edge); border-radius:var(--radius); }
.profile-menu { position:absolute; width:min(272px,calc(100vw - 26px)); right:0; top:calc(100% + 10px); padding:8px; box-shadow:0 16px 52px var(--overlay); transform-origin:top right; animation:menu-in var(--duration-fast) var(--ease-smooth-out); }
.profile-menu p { padding:9px 11px; overflow-wrap:anywhere; }
.profile-menu button, .profile-menu a { display:flex; align-items:center; width:100%; gap:10px; min-height:44px; text-align:left; padding:8px 11px; background:transparent; border:0; border-radius:8px; font-size:.9rem; }
.profile-menu button:hover, .profile-menu a:hover { background:var(--raised); }
@keyframes menu-in { from { opacity:0; transform:scale(var(--scale-medium)); } to { opacity:1; transform:scale(1); } }
@keyframes enter { from { opacity:0; transform:translateY(var(--distance-base)); } to { opacity:1; transform:translateY(0); } }
.hero { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; min-height:570px; gap:10px; padding-block:32px; }
.hero-content { padding:32px 0; position:relative; z-index:1; }
.eyebrow { display:inline-flex; gap:9px; align-items:center; color:var(--accent); font:650 .735rem/1.3 ui-monospace, Consolas, monospace; letter-spacing:.105em; }
.eyebrow-dot { width:7px; height:7px; background:var(--accent); border-radius:50%; box-shadow:0 0 16px var(--accent); }
.hero h1 { font-size:clamp(3.25rem, 7.2vw, 6.7rem); letter-spacing:-.087em; line-height:.97; font-weight:640; margin:22px 0 24px; }
.hero h1 span { color:var(--accent); }
.hero p { font-size:clamp(1rem,1.7vw,1.2rem); max-width:490px; }
.button-row { display:flex; flex-wrap:wrap; gap:11px; margin-top:29px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 17px; border-radius:10px; border:1px solid var(--edge); font-weight:650; font-size:.9rem; line-height:1.3; background:var(--surface); color:var(--ink); transition:background-color var(--duration-quick),transform var(--duration-quick) var(--ease-smooth-out); }
.button:active { transform:scale(var(--scale-small)); }
.primary { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.primary:hover { background:color-mix(in srgb,var(--accent) 87%,var(--ink)); }
.secondary:hover { background:var(--raised); }
.hero-visual { overflow:hidden; isolation:isolate; position:relative; aspect-ratio:1.08; border:1px solid var(--edge); border-radius:25px; background:radial-gradient(ellipse at 52% 45%,#292137,#111114 67%); }
.hero-art { position:absolute; inset:0; background:center / cover no-repeat url('/static/hero-optics.webp'); }
.art-corner { position:absolute; width:20px; height:20px; border:1px solid #b7a0ff80; }
.art-corner.top { top:16px; left:16px; border-right:0; border-bottom:0; }
.art-corner.bottom { bottom:16px; right:16px; border-top:0; border-left:0; }
.proof-strip { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--edge); border-radius:14px; margin:0; overflow:hidden; background:var(--surface); }
.proof-strip > div { display:flex; gap:13px; padding:17px 20px; align-items:center; }
.proof-strip > div + div { border-inline-start:1px solid var(--edge); }
.proof-strip dt { color:var(--accent); margin:0; }
.proof-strip dd { margin:0; display:grid; gap:2px; }
.proof-strip strong { font-size:.9rem; }
.proof-strip span { color:var(--muted); font-size:.83rem; }
.home-section { margin-block:92px; scroll-margin-top:145px; }
.section-heading { display:flex; gap:16px; align-items:end; justify-content:space-between; margin-bottom:22px; }
.section-heading h2 { font-size:clamp(1.75rem,4vw,3.15rem); margin-top:8px; }
.text-link { color:var(--accent); display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:.875rem; }
.text-link:hover { text-decoration:underline; }
.bento { display:grid; grid-template-columns:1.18fr 1fr 1fr; gap:12px; }
.tile { position:relative; display:flex; min-height:176px; flex-direction:column; justify-content:space-between; gap:22px; padding:22px; transition:border-color var(--duration-quick), background-color var(--duration-quick); }
.tile:hover { border-color:var(--accent); background:var(--raised); }
.tile-news { grid-row:span 2; background:radial-gradient(ellipse at 100% 0,var(--accent-soft), transparent 85%),var(--surface); }
.tile-icon { display:grid; place-items:center; border:1px solid var(--edge); border-radius:10px; background:var(--accent-soft); color:var(--accent); width:43px; height:43px; flex-shrink:0; }
.tile-news .tile-icon { width:55px; height:55px; }
.tile h3, .workflow h3 { font-size:1.22rem; margin-bottom:8px; }
.tile-news h3 { font-size:2.15rem; max-width:9ch; }
.tile p, .workflow p { font-size:.94rem; }
.tile-arrow { position:absolute; top:23px; right:22px; color:var(--muted); }
.workflow { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; margin:38px 0 28px; padding:0; gap:21px; }
.workflow li { padding:18px 5px 6px; border-top:1px solid var(--edge); }
.workflow span { color:var(--accent); display:block; margin-bottom:16px; }
.site-footer { border-top:1px solid var(--edge); }
.footer-inner { display:flex; min-height:100px; align-items:center; gap:22px; justify-content:space-between; }
.footer-brand { font-size:1.25rem; }
.footer-inner nav { display:flex; flex-wrap:wrap; gap:6px 22px; color:var(--muted); }
.footer-inner nav a { padding-block:10px; font-size:.9rem; }
.footer-inner a:hover { color:var(--accent); }
.workspace { padding-block:56px 80px; min-height:70vh; animation:enter var(--duration-fast) var(--ease-smooth-out); }
.page-heading { margin-bottom:24px; }
.page-heading h1 { margin:9px 0 10px; font-size:clamp(2.1rem,5vw,4.25rem); font-weight:640; }
.page-heading p { max-width:65ch; }
#detector-tabs { margin-bottom:22px; flex-wrap:wrap; }
.work-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:17px; align-items:start; }
.composer, .report, .empty, .resource-panel { padding:22px; min-width:0; }
.card-heading { display:flex; align-items:start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.card-heading h2 { font-size:1.4rem; margin-bottom:6px; }
.card-heading p { font-size:.89rem; }
.input-tabs { flex-wrap:wrap; margin-bottom:14px; }
.form-stack, #input-fields { display:grid; gap:12px; }
.field { display:grid; gap:6px; font-size:.92rem; font-weight:600; }
.field small { color:var(--muted); font-weight:400; }
input:not([type="checkbox"]), textarea, select { color:var(--ink); background:var(--bg); border:1px solid var(--edge); border-radius:8px; padding:10px 12px; width:100%; min-width:0; min-height:45px; }
textarea { min-height:145px; resize:vertical; }
label, input, textarea { scroll-margin-top:126px; }
::placeholder { color:var(--muted); }
.check-row { display:flex; gap:10px; align-items:start; margin:17px 0; font-size:.9rem; }
.check-row input { width:18px; height:18px; accent-color:var(--accent); margin-top:4px; }
.check-row small { display:block; color:var(--muted); font-size:.81rem; }
.run-button { width:100%; justify-content:start; margin-top:13px; }
.run-button > :last-child { margin-left:auto; }
.drop-zone { display:grid; gap:7px; justify-items:center; padding:24px 12px; border:1px dashed var(--edge); border-radius:12px; text-align:center; background:var(--bg); cursor:pointer; }
.drop-zone:hover, .drop-zone.drag { border-color:var(--accent); }
.drop-zone:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.drop-zone input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; min-height:0; }
.drop-zone span:first-child { color:var(--accent); }
.status { margin-top:10px; padding:9px 10px; border-inline-start:2px solid var(--accent); background:var(--accent-soft); color:var(--ink); overflow-wrap:anywhere; }
.empty { min-height:325px; display:grid; place-content:center; justify-items:center; text-align:center; gap:12px; }
.empty h2 { font-size:1.45rem; }
.empty p { max-width:40ch; }
.spinner { border:2px solid var(--edge); border-top-color:var(--accent); width:28px; height:28px; border-radius:50%; animation:spin 900ms var(--ease-linear) infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.report { overflow-wrap:anywhere; }
.report > .card-heading { flex-wrap:wrap; }
.report h2 { font-size:clamp(1.4rem,3vw,2.05rem); }
.report h3 { font-size:1.13rem; }
.report-meta { margin-top:8px; font-size:.82rem; }
.report-tools { display:flex; gap:7px; flex-wrap:wrap; }
.report-tools .button { min-height:44px; }
.report-section { display:grid; gap:11px; margin-top:20px; padding-top:17px; border-top:1px solid var(--edge); }
.metric-list { display:grid; gap:10px; }
.metric { padding:12px; border:1px solid var(--edge); border-radius:10px; background:var(--bg); }
.metric-head { display:flex; justify-content:space-between; gap:8px; align-items:baseline; }
.metric-head span { color:var(--accent); font-variant-numeric:tabular-nums; }
.metric p { font-size:.87rem; }
meter { width:100%; height:12px; accent-color:var(--accent); }
meter::-webkit-meter-bar { background:var(--raised); border:none; }
meter::-webkit-meter-optimum-value { background:var(--accent); }
.evidence-card { border-inline-start:2px solid var(--accent); background:var(--bg); border-radius:0 9px 9px 0; padding:10px 12px; }
.evidence-card a { color:var(--accent); }
.evidence-card a:hover { text-decoration:underline; }
.evidence-card p { margin-top:4px; font-size:.89rem; }
mark { background:var(--accent-soft); color:var(--ink); box-decoration-break:clone; border-bottom:1px solid var(--accent); }
.media-result { display:grid; gap:11px; }
.media-result img, .media-result video { width:100%; max-height:330px; object-fit:contain; border-radius:10px; background:var(--bg); }
.media-result figure { margin:0; }
.media-result figcaption { font-size:.84rem; color:var(--muted); }
.timeline { display:flex; flex-wrap:wrap; gap:7px; }
.timeline button { min-height:44px; border:1px solid var(--edge); border-radius:8px; background:var(--accent-soft); color:var(--accent); padding:7px 10px; font-size:.82rem; font-variant-numeric:tabular-nums; }
.chat-log { display:grid; gap:8px; max-height:360px; overflow:auto; }
.chat-line { white-space:pre-wrap; padding:9px 12px; border-radius:9px; background:var(--bg); color:var(--ink); }
.chat-line.mine { background:var(--accent-soft); }
.chat-form { display:flex; gap:7px; }
.chat-form label { flex:1; min-width:0; }
details summary { min-height:44px; display:list-item; padding-block:9px; cursor:pointer; font-weight:600; }
.resource-list { display:grid; gap:12px; }
.resource-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:17px; }
.resource-row p { margin-top:5px; }
dialog { width:min(530px,calc(100vw - 26px)); max-height:calc(100dvh - 36px); color:var(--ink); background:var(--surface); border:1px solid var(--edge); border-radius:var(--radius); padding:20px; box-shadow:0 18px 64px var(--overlay); }
dialog[open] { animation:dialog-in var(--duration-fast) var(--ease-smooth-out); }
dialog.closing { opacity:0; transform:scale(var(--scale-large)); transition:opacity var(--duration-quick),transform var(--duration-quick) var(--ease-smooth-out); }
dialog::backdrop { background:var(--overlay); }
@keyframes dialog-in { from { opacity:0; transform:scale(var(--scale-large)); } to { opacity:1; transform:scale(1); } }
.dialog-header { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px; }
.dialog-header h2 { font-size:1.55rem; }
#account-body { display:grid; gap:12px; }
#toast { position:fixed; right:16px; bottom:16px; z-index:7; max-width:min(350px,calc(100vw - 32px)); background:var(--raised); border:1px solid var(--accent); border-radius:12px; padding:11px 16px; box-shadow:0 16px 35px var(--overlay); }
@media(max-width:850px) {
  .shell { width:calc(100% - 36px); }
  .hero { min-height:445px; }
  .hero h1 { font-size:clamp(3.25rem,9.25vw,5rem); }
  .work-grid { grid-template-columns:1fr; }
  .workspace { padding-top:35px; }
}
@media(max-width:620px) {
  .shell { width:calc(100% - 28px); }
  .header-inner { min-height:63px; grid-template-columns:1fr auto; padding-block:7px; gap:5px 12px; }
  .main-nav { grid-row:2; grid-column:1/-1; justify-content:stretch; margin-bottom:2px; }
  .main-nav a { flex:1; padding-inline:7px; }
  .hero { grid-template-columns:1fr; gap:2px; padding-top:16px; }
  .hero-content { padding-block:24px; }
  .hero h1 { margin-block:16px; font-size:clamp(3.15rem,13.5vw,5rem); }
  .hero-visual { aspect-ratio:1.36; }
  .proof-strip { grid-template-columns:1fr; }
  .proof-strip > div + div { border-inline-start:0; border-top:1px solid var(--edge); }
  .section-heading { align-items:start; flex-direction:column; gap:4px; }
  .bento { grid-template-columns:1fr 1fr; }
  .tile-news { grid-column:1/-1; grid-row:auto; }
  .tile { padding:14px; min-height:156px; gap:15px; }
  .tile-arrow { right:13px; top:17px; }
  .tile-news h3 { max-width:none; font-size:1.55rem; }
  .home-section { margin-block:54px; }
  .workflow { grid-template-columns:1fr; margin-top:14px; gap:10px; }
  .footer-inner { flex-direction:column; align-items:start; padding-block:15px; gap:4px; }
  .composer, .report, .empty, .resource-panel { padding:15px; }
  .segmented a, .segmented button { padding-inline:8px; }
  .resource-row { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.wave { display:flex; height:72px; gap:2px; align-items:center; background:var(--bg); border-radius:8px; padding:9px 8px; }
.wave i { flex:1; height:var(--peak); background:var(--accent); opacity:.78; border-radius:2px; }
.timestamp { border:1px solid var(--edge); border-radius:6px; padding:4px 7px; font-variant-numeric:tabular-nums; color:var(--muted); font-size:.85rem; }
.result, #result { scroll-margin-top:136px; }
.small { color:var(--muted); font-size:.83rem; }
.drop-zone small { color:var(--muted); }
.drop-zone strong { overflow-wrap:anywhere; max-width:100%; }
.benchmark-score strong { color:var(--accent); font-size:1.5rem; font-variant-numeric:tabular-nums; }
.resource-row h2 { font-size:1.25rem; overflow-wrap:anywhere; }
.batch-report { margin-bottom:12px; }
