:root {
  color-scheme: dark;
  --ink: #f0f1ed;
  --muted: #9b9f9c;
  --dim: #696e6b;
  --night: #080b0d;
  --panel: #0e1214;
  --panel-2: #121719;
  --line: rgba(226, 231, 222, .14);
  --line-bright: rgba(226, 231, 222, .3);
  --acid: #c4ed63;
  --acid-dark: #1a210f;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 76% 9%, rgba(142, 173, 105, .09), transparent 26%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
.noise { position: fixed; inset: 0; z-index: 10; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
a { color: inherit; }
button, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--acid); color: #0a0d09; padding: 10px 16px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { width: min(calc(100% - 48px), var(--max)); height: 96px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 43px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; }
.brand-mark svg { width: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.brand strong, .footer-brand strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand small, .footer-brand small { display: block; margin-top: 5px; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: var(--muted); text-decoration: none; font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.site-header nav a:hover { color: var(--ink); }
.site-header nav .nav-cta { color: var(--ink); border: 1px solid var(--line-bright); padding: 12px 16px; }

main, footer { width: min(calc(100% - 48px), var(--max)); margin: auto; }
.hero { min-height: 730px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); gap: clamp(50px, 8vw, 120px); align-items: center; padding: 80px 0 90px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font: 10px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 25px; height: 1px; margin: 0 10px 3px 0; background: var(--acid); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: .96; }
h1 { max-width: 780px; margin: 0; font-size: clamp(62px, 7.4vw, 114px); }
h1 em { color: var(--acid); font-weight: 500; }
.lede { max-width: 660px; margin: 34px 0 0; color: #b3b8b4; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 38px; border: 1px solid var(--line-bright); background: transparent; padding: 0 20px; text-decoration: none; cursor: pointer; font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.button-primary { border-color: var(--acid); background: var(--acid); color: #0a0d09; font-weight: 500; }
.button-primary:hover { background: #d4ff72; transform: translateY(-2px); }
.button-quiet:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }
.trust-row { display: flex; flex-wrap: wrap; gap: 30px; padding: 35px 0 0; margin: 46px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.trust-row span { margin-right: 7px; color: var(--acid); }

.signal-card { min-height: 560px; display: flex; flex-direction: column; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.005)); box-shadow: 0 50px 100px rgba(0,0,0,.3); }
.signal-top, .signal-bottom { display: flex; justify-content: space-between; padding: 20px 24px; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.signal-top { border-bottom: 1px solid var(--line); }
.signal-bottom { border-top: 1px solid var(--line); }
.signal-bottom strong { color: var(--ink); font-weight: 400; }
.live { color: var(--acid); }
.live i, .connection i { width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); animation: pulse 2.2s infinite; }
.orbital { position: relative; flex: 1; overflow: hidden; background: radial-gradient(circle, rgba(196,237,99,.08), transparent 47%); }
.orbital::before, .orbital::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid var(--line); border-radius: 50%; }
.orbital::before { width: 76%; aspect-ratio: 1; }
.orbital::after { width: 43%; aspect-ratio: 1; background: radial-gradient(circle, rgba(196,237,99,.13), rgba(196,237,99,.025) 50%, transparent 52%); }
.orbit { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border: 1px solid rgba(196,237,99,.28); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-a { width: 62%; animation: rotate 18s linear infinite; }
.orbit-b { width: 31%; animation: rotate 11s linear infinite reverse; }
.orbit-c { width: 8px; border: 0; background: var(--acid); box-shadow: 0 0 20px rgba(196,237,99,.7); z-index: 2; }
.orbit i { position: absolute; left: 12%; top: 12%; width: 7px; height: 7px; border: 1px solid var(--acid); background: var(--night); border-radius: 50%; }
.orbit-b i { left: 78%; top: 78%; }
.radar-lines { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%), linear-gradient(transparent 49.9%, var(--line) 50%, transparent 50.1%); }
.coordinate { position: absolute; color: #757c77; font: 8px/1 var(--mono); letter-spacing: .1em; }
.coord-a { left: 7%; top: 12%; }.coord-b { right: 7%; bottom: 12%; }.coord-c { right: 8%; top: 18%; color: var(--acid); }

.research-shell { scroll-margin-top: 20px; margin-bottom: 130px; border-top: 1px solid var(--line-bright); }
.desk-heading { display: flex; justify-content: space-between; align-items: flex-end; padding: 56px 0 34px; }
.desk-heading h2, .about-grid h2, .faq h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); }
.desk-heading .eyebrow { margin-bottom: 16px; }
.connection { color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.connection.error { color: #e8998f; }
.connection.error i { background: #e8998f; box-shadow: 0 0 12px rgba(232,153,143,.6); }
.workspace { display: grid; grid-template-columns: 330px minmax(0, 1fr); min-height: 690px; border: 1px solid var(--line-bright); background: var(--panel); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.prompt-panel { display: flex; flex-direction: column; padding: 29px 25px 24px; border-right: 1px solid var(--line); background: #0b0f11; }
.panel-number { color: var(--acid); font: 9px/1 var(--mono); }
.prompt-panel h3 { margin: 12px 0 5px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.prompt-panel > div > p { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.6; }
.prompt-list { display: grid; gap: 9px; margin-top: 28px; }
.prompt-card { width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.015); padding: 13px 12px; text-align: left; cursor: pointer; transition: .2s ease; }
.prompt-card:hover { border-color: rgba(196,237,99,.42); background: rgba(196,237,99,.035); transform: translateX(3px); }
.prompt-icon { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--acid); font-family: var(--mono); }
.prompt-card strong, .prompt-card small { display: block; }
.prompt-card strong { font-size: 11px; font-weight: 600; }
.prompt-card small { margin-top: 2px; color: var(--dim); font: 8px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.prompt-card b { color: var(--dim); font-weight: 400; }
.archive-note { margin: auto 0 0; padding-top: 20px; color: var(--dim); font: 8px/1.6 var(--mono); letter-spacing: .04em; border-top: 1px solid var(--line); }
.archive-note span { color: var(--acid); margin-right: 5px; }
.chat-panel { min-width: 0; display: flex; flex-direction: column; }
.chat-toolbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 27px; border-bottom: 1px solid var(--line); }
.chat-toolbar > div { display: flex; align-items: center; gap: 12px; }
.assistant-avatar { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(196,237,99,.4); border-radius: 50%; color: var(--acid); font: 9px/1 var(--mono); }
.chat-toolbar strong, .chat-toolbar small { display: block; }
.chat-toolbar strong { font-size: 11px; }.chat-toolbar small { color: var(--dim); font: 8px/1.5 var(--mono); letter-spacing: .04em; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.icon-button:hover { border-color: var(--line-bright); background: rgba(255,255,255,.03); }
.icon-button svg { width: 17px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.chat-body { flex: 1; min-height: 400px; max-height: 520px; overflow-y: auto; padding: 33px 32px; scroll-behavior: smooth; scrollbar-color: #363d39 transparent; scrollbar-width: thin; }
.message { max-width: min(85%, 780px); margin-bottom: 30px; }
.user-message { margin-left: auto; }
.message-label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--dim); font: 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.message-label span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--acid); font-size: 7px; }
.user-message .message-label { justify-content: flex-end; }.user-message .message-label span { color: var(--ink); }
.message-label time { margin-left: 4px; color: #4d534f; }
.message-content { border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 17px 20px; color: #cbd0cc; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.user-message .message-content { background: var(--acid-dark); border-color: rgba(196,237,99,.19); color: #e4e9df; }
.message-content p { margin: 0 0 12px; }.message-content p:last-child { margin-bottom: 0; }
.message-content ul, .message-content ol { padding-left: 20px; }
.message-content a { color: var(--acid); }
.message-content code { color: var(--acid); font-family: var(--mono); font-size: .9em; }
.message-content strong { color: var(--ink); }
.citation-ref { display: inline-block; color: var(--acid) !important; font-family: var(--mono); font-size: .82em; font-weight: 500; text-decoration: none; scroll-margin-top: 20px; }
.citation-ref:hover { text-decoration: underline; }
.thinking .message-content { display: inline-flex; gap: 5px; align-items: center; padding: 17px 22px; }
.thinking i { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); animation: bounce 1.2s infinite; }.thinking i:nth-child(2) { animation-delay: .14s; }.thinking i:nth-child(3) { animation-delay: .28s; }
.sources { margin-top: 9px; border: 1px solid var(--line); color: var(--muted); font: 9px/1.5 var(--mono); }
.sources summary { padding: 11px 13px; cursor: pointer; color: #aeb4af; text-transform: uppercase; letter-spacing: .08em; }
.sources ol { display: grid; gap: 8px; margin: 0; padding: 0 12px 12px; list-style: none; counter-reset: none; }
.sources li { scroll-margin-top: 18px; border-top: 1px solid var(--line); padding: 11px 3px 3px; overflow-wrap: anywhere; }
.sources li:target { border-top-color: var(--acid); background: rgba(196,237,99,.035); }
.sources li strong { display: block; color: #d4d8d4; font-family: var(--sans); font-size: 11px; font-weight: 600; }
.sources li strong span { margin-right: 5px; color: var(--acid); font: 9px/1 var(--mono); }
.sources li p { margin: 6px 0 0; color: #858b86; font-family: var(--sans); font-size: 10px; line-height: 1.6; }
.composer { margin: 0 27px 27px; border: 1px solid var(--line-bright); background: #090d0f; transition: border-color .2s; }
.composer:focus-within { border-color: rgba(196,237,99,.55); }
.composer textarea { width: 100%; min-height: 82px; display: block; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 18px 20px 6px; font-size: 14px; line-height: 1.5; }
.composer textarea::placeholder { color: #606662; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 10px 11px 11px 20px; }
.composer-bottom > span { color: #555b57; font: 8px/1 var(--mono); }
kbd { border: 0; background: transparent; font: inherit; color: #747b76; }
.composer button { height: 40px; display: flex; align-items: center; gap: 17px; border: 0; background: var(--acid); color: #0b0e09; padding: 0 14px 0 17px; cursor: pointer; font: 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.composer button:hover { background: #d3ff70; }.composer button:disabled { opacity: .55; cursor: wait; }
.composer button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; padding: 120px 0; border-top: 1px solid var(--line); }
.about-copy > p { max-width: 670px; margin: 0; color: #b5bab6; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.45; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 65px; }
.fact-grid article { padding-top: 17px; border-top: 1px solid var(--line-bright); }
.fact-grid span { color: var(--acid); font: 8px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.fact-grid strong { display: block; margin-top: 14px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.fact-grid p { margin: 7px 0 0; color: var(--dim); font-size: 11px; line-height: 1.65; }
.faq { max-width: 920px; padding: 90px 0 140px; }
.faq h2 { margin-bottom: 48px; }
.faq details { border-top: 1px solid var(--line); }.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }.faq summary span { color: var(--acid); font-family: var(--mono); transition: transform .2s; }.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 720px; margin: -5px 0 24px; color: var(--muted); font-size: 13px; }

footer { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 35px; padding: 47px 0; border-top: 1px solid var(--line-bright); color: var(--dim); font-size: 10px; }
.brand-mark.small { width: 35px; }.brand-mark.small svg { width: 22px; }.footer-brand strong { color: var(--ink); font-size: 16px; }
footer > p { text-align: center; } footer a { color: #a6aaa7; text-decoration: none; } footer a:hover { color: var(--acid); }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; font: 8px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.noscript { position: fixed; inset: auto 0 0; z-index: 30; padding: 14px; background: #491f1f; color: white; text-align: center; }

@keyframes rotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 2px var(--acid); } }
@keyframes bounce { 0%,70%,100% { transform: translateY(0); opacity: .35; } 35% { transform: translateY(-5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }.signal-card { min-height: 430px; }.orbital::before { width: 360px; }.workspace { grid-template-columns: 270px minmax(0,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }.fact-grid { margin-top: 45px; } footer { grid-template-columns: 1fr; text-align: center; }.footer-brand, .footer-links { justify-content: center; } footer > p { margin: 0; }
}
@media (max-width: 720px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }.site-header { height: 76px; }.site-header nav a:not(.nav-cta) { display: none; }.brand small { display: none; }
  .hero { min-height: auto; padding: 68px 0 75px; gap: 55px; }.hero h1 { font-size: clamp(53px, 15vw, 76px); }.lede { font-size: 15px; }.trust-row { gap: 16px 24px; }
  .signal-card { min-height: 370px; }.desk-heading { align-items: flex-start; gap: 25px; flex-direction: column; }.workspace { display: block; }.prompt-panel { border-right: 0; border-bottom: 1px solid var(--line); }.prompt-list { grid-template-columns: 1fr 1fr; }.archive-note { margin-top: 24px; }
  .chat-body { padding: 25px 17px; max-height: 500px; }.message { max-width: 94%; }.composer { margin: 0 14px 14px; }.composer-bottom > span { display: none; }.composer-bottom { justify-content: flex-end; }
  .about-grid { padding: 90px 0; }.fact-grid { grid-template-columns: 1fr; }.faq { padding-bottom: 100px; }
}
@media (max-width: 480px) {
  .brand strong { font-size: 17px; }.site-header nav .nav-cta { padding: 10px; }.hero-actions { align-items: stretch; flex-direction: column; }.button { width: 100%; }.signal-card { min-height: 320px; }.prompt-list { grid-template-columns: 1fr; }.chat-toolbar { padding: 0 17px; }.composer button span { display: none; }.composer button { gap: 0; }.desk-heading h2, .about-grid h2, .faq h2 { font-size: 42px; }
}
