@charset "UTF-8";

:root {
    color-scheme: dark;
    --bg: #090b0e;
    --panel: #0c0f13;
    --line: #4b535d;
    --line-dim: #262d35;
    --text: #e3e6eb;
    --muted: #929ca9;
    --cyan: #b0dbe4;
    --blue: #4285ff;
    --magenta: #ed4edb;
    --red: #ff5b65;
    --green: #86c69d;
    --font: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.65 var(--font); }
::selection { background: var(--cyan); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, pre, dl { margin: 0; }
h1, h2, h3 { font-weight: 500; }
.muted { color: var(--muted); }
.cyan { color: var(--cyan); }
.magenta { color: var(--magenta); }
.desktop { max-width: 1440px; margin: 0 auto; padding: 0 44px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; padding: 10px 16px; background: var(--cyan); color: var(--bg); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.titlebar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.lab-link { color: var(--muted); font-size: 12px; }
.lab-link:hover { color: var(--text); }
.lab-link span { margin-left: 8px; }
.menubar { display: flex; justify-content: space-between; background: var(--cyan); color: #162b35; min-height: 36px; padding: 0 12px; font-weight: 600; }
.menu-links { display: flex; flex-wrap: wrap; gap: 6px; }
.menubar a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; }
.menubar a:hover, .menubar a:focus-visible { background: #172e3a; color: var(--cyan); }
.menubar a:focus-visible { outline-color: #172e3a; outline-offset: -3px; }
.menu-key { font-size: 11px; font-weight: 400; opacity: .7; }
.menu-source { white-space: nowrap; }
.overview { padding-top: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 16px; }
.terminal-panel { position: relative; border: 1px solid var(--line); min-width: 0; }
.panel-label { position: absolute; top: -12px; left: 13px; padding: 0 7px; color: #bac2cd; background: var(--bg); font-size: 12px; line-height: 22px; }
.intro-panel { padding: 28px 30px 24px; }
.intro-topline { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; letter-spacing: .03em; }
.tiny-label { color: var(--cyan); }
.ascii-logo { display: inline-block; margin: 31px 0 8px; font: 18px/1.15 var(--font); letter-spacing: -1px; white-space: pre; background: linear-gradient(to bottom, #4285ff 0 36%, #df22c6 36% 69%, #ff515f 69% 100%); background-clip: text; -webkit-background-clip: text; color: transparent; user-select: none; }
.wordmark { font-size: 13px; color: var(--muted); letter-spacing: .16em; }
.cursor { color: var(--cyan); animation: blink 1.3s steps(1, end) infinite; }
h1 { margin-top: 34px; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.13; letter-spacing: -.055em; }
.hero-description { max-width: 440px; margin-top: 22px; color: #a9b2bd; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 17px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.button-primary { background: var(--cyan); color: #152a34; box-shadow: 4px 4px 0 #263840; }
.button-primary:hover { background: #d4eff3; box-shadow: 2px 2px 0 #263840; }
.text-link { color: var(--cyan); font-size: 12px; text-underline-offset: 5px; }
.text-link span { display: inline-block; margin-left: 5px; }
.text-link:hover { text-decoration: underline; }
.hero-footnote { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; font-size: 10px; color: var(--muted); }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.separator { color: #535d69; }
.session-panel { display: flex; flex-direction: column; background: var(--panel); }
.session-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 23px 14px; font-size: 12px; }
.demo-label { color: var(--muted); font-size: 9px; letter-spacing: .09em; }
.example-switcher { display: flex; gap: 0; padding: 0 23px; border-bottom: 1px solid var(--line-dim); }
.example-button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 11px; margin-bottom: -1px; color: var(--muted); font-size: 11px; }
.example-button:hover { color: var(--text); background: #151c24; }
.example-button[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan); background: #151c24; }
.example-button:focus-visible { outline-offset: -3px; }
.session-content { padding: 29px 25px 32px; flex: 1; min-height: 365px; }
.message-label { margin-bottom: 8px; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.user-message { border-left: 2px solid var(--line); padding-left: 14px; margin-bottom: 29px; }
.user-message > p:last-child { font-size: 14px; }
.agent-message .message-label { color: var(--cyan); }
.agent-message .message-label span { font-size: 14px; margin-right: 5px; }
.agent-message > p:not(.message-label) { max-width: 390px; color: #b1bac6; font-size: 12px; }
.task-log { list-style: none; padding: 0; margin: 21px 0 26px; font-size: 11px; line-height: 2.2; color: #a2adba; }
.task-log span { color: var(--green); margin-right: 10px; }
.output-file { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-dim); padding: 12px 14px; background: #0a0d11; }
.file-icon { display: grid; place-items: center; width: 32px; height: 35px; border: 1px solid var(--blue); color: #8eb2ff; font-size: 9px; flex-shrink: 0; }
.output-file p { font-size: 11px; overflow-wrap: anywhere; }
.output-file .muted { margin-top: 3px; font-size: 9px; }
.file-check { color: var(--green); margin-left: auto; }
.session-prompt { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line-dim); padding: 15px 23px; color: var(--muted); font-size: 11px; }
.block-cursor { display: inline-block; width: 7px; height: 13px; background: var(--cyan); margin-left: auto; flex-shrink: 0; }
.session-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-dim); padding: 7px 12px; color: var(--muted); font-size: 9px; }
.session-status > span:first-child { display: flex; align-items: center; gap: 6px; }
.session-status .status-dot { width: 5px; height: 5px; }
.system-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); padding: 14px 0; border-bottom: 1px solid var(--line-dim); font-size: 10px; }
.system-line .cyan { margin-right: 8px; }
.system-hint { white-space: nowrap; }
.system-hint span { margin-left: 14px; }
.section-space { padding-top: 78px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 31px; }
.eyebrow { font-size: 10px; letter-spacing: .11em; color: var(--muted); margin-bottom: 17px; }
.eyebrow span { color: var(--cyan); margin-right: 9px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.055em; }
.section-heading > p { color: var(--muted); font-size: 12px; padding-bottom: 3px; }
.capability-table { border: 1px solid var(--line); }
.table-heading, .capability-row { display: grid; grid-template-columns: 185px 1fr 150px; gap: 24px; padding: 16px 23px; }
.table-heading { background: #13191f; color: var(--muted); font-size: 9px; letter-spacing: .07em; padding-top: 10px; padding-bottom: 10px; }
.table-heading span:last-child { text-align: right; }
.capability-row { align-items: center; border-top: 1px solid var(--line-dim); min-height: 90px; }
.capability-row:hover { background: #10151b; }
.command { color: var(--cyan); font-size: 13px; }
.capability-row h3 { font-size: 13px; margin-bottom: 3px; }
.capability-row p { font-size: 11px; color: var(--muted); }
.output-tag { justify-self: end; color: var(--muted); border: 1px solid var(--line-dim); padding: 3px 7px; font-size: 9px; white-space: nowrap; }
.setup-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.machine-panel { padding: 24px 28px 27px; }
.machine-panel > img { width: 128px; height: 128px; object-fit: contain; margin: -3px 0 10px -8px; }
.machine-title { font-size: 18px; line-height: 1.4; }
.system-specs { margin: 23px 0 18px; font-size: 11px; }
.system-specs > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-dim); }
.system-specs dt { color: var(--muted); }
.system-specs dd { margin: 0; color: var(--cyan); }
.privacy-note { color: var(--muted); font-size: 11px; max-width: 320px; }
.setup-steps { display: flex; flex-direction: column; }
.setup-step { display: flex; gap: 25px; flex: 1; border-top: 1px solid var(--line-dim); padding: 26px 0; }
.setup-step:first-child { border-top-color: var(--line); }
.setup-step:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--blue); font-size: 13px; }
.setup-step:nth-child(2) .step-number { color: var(--magenta); }
.setup-step:nth-child(3) .step-number { color: var(--red); }
.setup-step h3 { font-size: 17px; margin-bottom: 9px; }
.setup-step p { color: var(--muted); max-width: 490px; font-size: 12px; }
.setup-step .text-link { display: inline-block; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 27px 23px; }
.contact-panel:hover { border-color: var(--cyan); background: #10151b; }
.contact-prefix { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.contact-panel h3 { font-size: 16px; margin: 9px 0 7px; }
.contact-panel h3 > span { color: var(--cyan); }
.contact-panel p { color: var(--muted); font-size: 11px; }
.contact-url { display: inline-block; color: var(--cyan); font-size: 10px; margin-top: 13px; }
.contact-panel img { width: 82px; height: 82px; flex-shrink: 0; background: white; padding: 5px; }
.book-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding: 25px 0; font-size: 11px; border-bottom: 1px solid var(--line-dim); }
.book-line .magenta { margin-right: 7px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 30px 0; font-size: 10px; color: var(--muted); }
.footer-brand { color: var(--text); letter-spacing: .1em; font-size: 11px; }
.site-footer p a:hover { color: var(--cyan); }
.footer-signoff { font-size: 10px; }
.keybar { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; min-height: 33px; margin: 0 -4px 12px; padding: 7px 12px; background: var(--cyan); color: #203845; font-size: 10px; }
.keybar-indicator { color: #327152; margin-right: 5px; }
.keybar > span:first-child { margin-right: 6px; }
.keybar a:hover, .keybar button:hover { text-decoration: underline; }
.keybar button { border: 0; padding: 0; background: transparent; font-size: inherit; }
.key { color: #0d1f29; font-weight: 700; margin-right: 4px; }
.keybar-end { margin-left: auto; opacity: .7; }
.keybar a:focus-visible, .keybar button:focus-visible { outline-color: #172e3a; }
dialog { width: min(480px, calc(100% - 32px)); padding: 0; border: 1px solid var(--cyan); background: var(--bg); color: var(--text); font: 13px/1.7 var(--font); box-shadow: 8px 8px 0 #050607; }
dialog::backdrop { background: #000a; }
.help-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; background: var(--cyan); color: #152a34; }
.help-titlebar h2 { font-size: 14px; letter-spacing: 0; }
.help-titlebar button { border: 0; background: transparent; padding: 0 4px; }
.help-titlebar button:focus-visible { outline-color: #152a34; outline-offset: 2px; }
.help-content { padding: 22px; }
.shortcut-list { margin: 20px 0; }
.shortcut-list > div { display: grid; grid-template-columns: 100px 1fr; border-bottom: 1px solid var(--line-dim); padding: 6px 0; }
.shortcut-list dd { margin: 0; }
kbd { color: var(--cyan); font: inherit; }
.help-content > .muted { font-size: 11px; }
@keyframes blink { 0%, 65% { opacity: 1; } 66%, 100% { opacity: 0; } }

@media (min-width: 1320px) {
    .desktop { padding: 0 64px; }
    .intro-panel { padding: 30px 34px 26px; }
    .ascii-logo { font-size: 20px; }
    .hero-description { max-width: 455px; }
}

@media (max-width: 1100px) {
    .desktop { padding: 0 28px; }
    .intro-panel { padding-left: 22px; padding-right: 22px; }
    .intro-topline > .muted { display: none; }
    .ascii-logo { font-size: 15px; letter-spacing: -1px; }
    .hero-actions { gap: 18px; }
    .session-content { padding-left: 20px; padding-right: 20px; }
    .session-status > span:last-child { display: none; }
    .table-heading, .capability-row { grid-template-columns: 155px 1fr 130px; gap: 20px; }
    .contact-panel { padding: 24px 18px; gap: 12px; }
    .contact-panel h3 { font-size: 14px; }
    .contact-panel img { width: 70px; height: 70px; }
    .keybar { gap: 15px; }
    .keybar-end { display: none; }
}

@media (max-width: 760px) {
    .desktop { padding: 0 20px; }
    .titlebar { min-height: 56px; }
    .brand { font-size: 12px; gap: 7px; }
    .brand img { width: 30px; height: 30px; }
    .brand .muted, .lab-link { display: none; }
    .titlebar::after { content: "by Graphene Lab"; color: var(--muted); font-size: 10px; }
    .menubar { padding: 0 5px; font-size: 11px; min-height: 34px; }
    .menu-links { gap: 0; }
    .menubar a { padding: 6px 7px; gap: 4px; }
    .menu-key { font-size: 9px; }
    .menu-source { display: none !important; }
    .overview { padding-top: 28px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .intro-panel { padding: 27px 26px; }
    .intro-topline > .muted { display: inline; }
    .ascii-logo { font-size: clamp(13px, 3.3vw, 22px); letter-spacing: -1px; margin-top: 28px; }
    h1 { font-size: 42px; margin-top: 28px; }
    .hero-description { max-width: 490px; }
    .hero-actions { margin-top: 24px; }
    .hero-footnote { margin-top: 26px; }
    .session-content { min-height: 340px; }
    .session-status > span:last-child { display: inline; }
    .system-hint { display: none; }
    .system-line { font-size: 10px; line-height: 1.8; }
    .section-space { padding-top: 57px; }
    .section-heading { align-items: flex-start; gap: 20px; margin-bottom: 25px; }
    h2 { font-size: 32px; }
    .section-heading > p { font-size: 10px; max-width: 175px; padding-top: 32px; }
    .table-heading { display: none; }
    .capability-row { grid-template-columns: 125px 1fr; gap: 15px; padding: 20px 16px; min-height: 100px; }
    .command { font-size: 11px; }
    .capability-row h3 { font-size: 12px; }
    .capability-row p { font-size: 10px; }
    .output-tag { display: none; }
    .setup-grid { grid-template-columns: 1fr; gap: 28px; }
    .machine-panel { display: grid; grid-template-columns: 130px 1fr; gap: 10px 24px; align-items: center; }
    .machine-panel > img { grid-column: 1; grid-row: 1 / 3; margin: 0; }
    .machine-title, .system-specs { grid-column: 2; }
    .machine-title { font-size: 16px; }
    .system-specs { margin: 5px 0; }
    .system-specs > div { grid-template-columns: 65px 1fr; font-size: 10px; }
    .privacy-note { grid-column: 1 / -1; max-width: 100%; }
    .setup-step { gap: 20px; padding: 23px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 25px; }
    .contact-panel { padding: 25px; }
    .contact-panel h3 { font-size: 16px; }
    .contact-panel img { width: 82px; height: 82px; }
    .site-footer { padding: 25px 0; gap: 15px; }
    .footer-signoff { display: none; }
    .keybar { gap: 14px; font-size: 9px; padding: 7px 8px; }
    .keybar > span:first-child { display: none; }
}

@media (max-width: 420px) {
    .desktop { padding: 0 12px; }
    .menubar { font-size: 10px; }
    .menubar a { padding-left: 6px; padding-right: 6px; }
    .intro-panel { padding: 25px 18px; }
    .intro-topline { font-size: 8px; }
    .ascii-logo { font-size: 12px; letter-spacing: -.8px; }
    h1 { font-size: 36px; }
    .hero-description { font-size: 12px; }
    .hero-actions { gap: 19px; }
    .hero-actions .text-link { font-size: 10px; }
    .hero-footnote { font-size: 8px; gap: 6px; }
    .session-toolbar { padding-left: 16px; padding-right: 16px; }
    .example-switcher { padding-left: 15px; padding-right: 15px; }
    .example-button { padding-left: 9px; padding-right: 9px; font-size: 10px; }
    .session-content { padding-left: 18px; padding-right: 18px; }
    .session-status { font-size: 8px; }
    .session-status > span:last-child { display: none; }
    .section-heading > p { display: none; }
    h2 { font-size: 31px; }
    .capability-row { grid-template-columns: 1fr; gap: 6px; }
    .capability-row h3 { font-size: 13px; }
    .capability-row p { font-size: 11px; }
    .machine-panel { grid-template-columns: 80px 1fr; padding: 22px 18px; gap: 10px 18px; }
    .machine-panel > img { width: 80px; height: 80px; }
    .machine-title { font-size: 15px; }
    .contact-panel { padding: 22px 17px; }
    .contact-panel h3 { font-size: 13px; }
    .contact-panel p { font-size: 10px; }
    .contact-panel img { width: 66px; height: 66px; }
    .keybar { gap: 12px; font-size: 8px; }
}

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