:root {
  color-scheme: dark;
  --ink: #090d1b;
  --panel: rgba(20, 29, 50, .78);
  --line: rgba(176, 193, 225, .18);
  --text: #f4f6ff;
  --muted: #9aa8c3;
  --quiet: #687794;
  --blue: #7c8cff;
  --lilac: #c2b7ff;
  --coral: #ff927e;
  --lime: #cbf179;
  font-family: 'Avenir Next', 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--ink); background-image: radial-gradient(circle at 82% 0%, rgba(87, 99, 205, .26), transparent 31rem), radial-gradient(circle at 7% 72%, rgba(255, 146, 126, .10), transparent 24rem); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
button, input, a { font: inherit; }
a { color: inherit; }
.app-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 48px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-bottom: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; width: 23px; height: 23px; padding: 4px; border: 1px solid rgba(194, 183, 255, .65); border-radius: 8px; background: rgba(124, 140, 255, .18); }
.brand-mark i { display: block; width: 3px; border-radius: 4px; background: var(--lilac); }
.brand-mark i:nth-child(1) { height: 7px; opacity: .65; }.brand-mark i:nth-child(2) { height: 12px; }.brand-mark i:nth-child(3) { height: 16px; background: var(--coral); }
.topbar-status, .back, .workspace-meta { color: var(--quiet); font: 500 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(203, 241, 121, .12); vertical-align: 1px; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(25, 36, 62, .82), rgba(13, 19, 36, .78)); box-shadow: 0 26px 80px rgba(0, 0, 0, .18); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); min-height: 520px; overflow: hidden; position: relative; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 88px); position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 15px; margin: 0 0 25px; color: var(--blue); font: 500 10px/1.2 'DM Mono', monospace; letter-spacing: .14em; }
.eyebrow b { color: var(--quiet); font-weight: 400; }.eyebrow b::before { content: '/ '; color: #475575; }
h1 { max-width: 760px; margin: 0; font-size: clamp(56px, 8vw, 106px); line-height: .91; letter-spacing: -.075em; font-weight: 700; }
h1 em { color: var(--lilac); font-style: normal; }
.lede { max-width: 475px; margin: 29px 0 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; }
.hero-footer { display: flex; align-items: center; gap: 22px; margin-top: 38px; }.hero-caption { color: var(--quiet); font: 400 10px/1.65 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; border: 0; border-radius: 999px; padding: 13px 17px 13px 19px; color: var(--text); font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }.button:disabled { cursor: wait; opacity: .55; transform: none; }.button span { font-size: 16px; font-weight: 400; }.button-primary { background: var(--blue); box-shadow: 0 10px 25px rgba(124, 140, 255, .22); }.button-primary:hover { background: #93a0ff; }
.button-secondary { width: 100%; margin-top: 16px; background: rgba(124, 140, 255, .15); border: 1px solid rgba(124, 140, 255, .32); }.button-secondary:hover { background: rgba(124, 140, 255, .25); }
.button-coral { width: 100%; margin-top: 16px; background: var(--coral); color: #27131a; box-shadow: 0 10px 25px rgba(255, 146, 126, .15); }.button-coral:hover { background: #ffa795; }
.hero-art { min-height: 390px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(124, 140, 255, .22), transparent 55%), linear-gradient(145deg, rgba(194, 183, 255, .07), transparent 60%); }
.hero-art::before, .hero-art::after { content: ''; position: absolute; border: 1px solid rgba(194, 183, 255, .12); border-radius: 50%; }.hero-art::before { inset: 13% 8% 13% 8%; transform: rotate(-16deg); }.hero-art::after { inset: 22% 19% 22% 19%; transform: rotate(27deg); }
.art-orbit { position: absolute; left: 50%; top: 50%; width: 78%; height: 31%; border: 1px solid rgba(203, 241, 121, .45); border-radius: 50%; transform: translate(-50%, -50%) rotate(-27deg); }.orbit-two { width: 46%; height: 82%; border-color: rgba(255, 146, 126, .42); transform: translate(-50%, -50%) rotate(30deg); }
.art-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 96px; height: 96px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .42); border-radius: 30px 48px 34px 42px; background: linear-gradient(145deg, var(--lilac), var(--blue)); box-shadow: 0 0 80px rgba(124, 140, 255, .35); color: var(--ink); font-size: 45px; }.art-label { position: absolute; color: var(--quiet); font: 400 9px 'DM Mono', monospace; letter-spacing: .1em; }.label-top { top: 16%; right: 12%; }.label-bottom { bottom: 16%; left: 14%; color: var(--lime); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 18px 0 92px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }.stats-row > div { display: flex; align-items: center; gap: 15px; padding: 21px 22px; background: var(--ink); }.stats-row strong { color: var(--lilac); font-size: 26px; font-weight: 500; letter-spacing: -.06em; }.stats-row span { color: var(--quiet); font: 400 10px/1.45 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.tools-section { scroll-margin-top: 24px; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }.section-heading .eyebrow { margin-bottom: 15px; }.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.065em; }.section-note { max-width: 195px; margin: 0 0 5px; color: var(--quiet); font-size: 12px; line-height: 1.5; text-align: right; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.tool-card { min-height: 380px; padding: 25px; transition: border-color .2s ease, transform .2s ease; }.tool-card:hover { border-color: rgba(194, 183, 255, .42); transform: translateY(-3px); }.card-top { display: flex; justify-content: space-between; align-items: center; }.card-number { color: var(--quiet); font: 400 10px 'DM Mono', monospace; letter-spacing: .12em; }.card-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 11px; color: var(--lilac); font-size: 20px; }.tool-card h3 { margin: 50px 0 10px; font-size: 22px; letter-spacing: -.045em; }.card-copy { min-height: 68px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.file-drop { display: flex; align-items: center; gap: 11px; min-height: 62px; margin-top: 19px; padding: 11px 13px; border: 1px dashed rgba(194, 183, 255, .34); border-radius: 13px; background: rgba(124, 140, 255, .06); cursor: pointer; }.file-drop:hover { border-color: var(--lilac); background: rgba(124, 140, 255, .12); }.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }.file-glyph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(203, 241, 121, .12); color: var(--lime); font-size: 19px; }.file-drop strong, .file-drop small { display: block; overflow: hidden; max-width: 200px; text-overflow: ellipsis; white-space: nowrap; }.file-drop strong { color: var(--text); font-size: 11px; }.file-drop small, .field-hint { margin-top: 3px; color: var(--quiet); font-size: 10px; }.field-label { display: block; margin-top: 23px; color: var(--quiet); font: 400 10px 'DM Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }.text-field { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: rgba(5, 9, 20, .52); color: var(--text); font: 12px 'DM Mono', monospace; transition: border-color .2s ease, box-shadow .2s ease; }.text-field::placeholder { color: #46536e; }.text-field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 140, 255, .12); }.field-hint { display: block; }
.status-block { max-height: 115px; overflow: auto; margin: 14px 0 0; padding: 11px; border: 1px solid rgba(203, 241, 121, .18); border-radius: 10px; background: rgba(203, 241, 121, .05); color: var(--lime); font: 10px/1.5 'DM Mono', monospace; white-space: pre-wrap; word-break: break-word; }.footer { display: flex; justify-content: space-between; margin-top: 90px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--quiet); font: 400 9px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.workspace-shell { max-width: 1180px; }.workspace-shell .topbar { margin-bottom: 56px; }.back { text-decoration: none; transition: color .2s ease; }.back:hover { color: var(--text); }.workspace-title { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 0 0 33px; border-bottom: 1px solid var(--line); }.workspace-title h1 { max-width: 780px; margin: 0; font-size: clamp(48px, 8vw, 96px); overflow-wrap: anywhere; }.workspace-owner { margin: 20px 0 0; color: var(--quiet); font-size: 12px; }.workspace-owner strong { color: var(--muted); font-weight: 600; }.workspace-meta { padding-bottom: 8px; white-space: nowrap; }.workspace-meta .pulse-dot { margin-left: 12px; }.board { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding-top: 22px; }.board-block { grid-column: span 6; min-height: 230px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(20, 29, 50, .7); }.board-block iframe { width: 100%; min-height: 175px; border: 0; border-radius: 12px; background: #0c1222; }.state { display: flex; align-items: center; gap: 15px; min-height: 150px; margin-top: 50px; padding: 35px; color: var(--muted); font-size: 14px; }.state strong { color: var(--text); }.state p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }.loader { width: 18px; height: 18px; border: 2px solid rgba(194, 183, 255, .25); border-top-color: var(--lilac); border-radius: 50%; animation: spin .8s linear infinite; }.state-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 146, 126, .14); color: var(--coral); }.error { color: var(--coral); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) { .app-shell { width: min(100% - 30px, 680px); padding-top: 18px; }.hero { grid-template-columns: 1fr; min-height: 650px; }.hero-art { min-height: 250px; }.hero-copy { padding: 38px 28px 0; }.hero-footer { align-items: flex-start; flex-direction: column; gap: 16px; }.stats-row { margin-bottom: 68px; }.tool-grid { grid-template-columns: 1fr; }.tool-card { min-height: auto; }.section-heading { align-items: start; flex-direction: column; gap: 12px; }.section-note { text-align: left; }.workspace-title { align-items: start; flex-direction: column; }.workspace-meta { padding: 0; }.board-block { grid-column: 1 / -1; } }
@media (max-width: 520px) { .topbar-status { display: none; }.stats-row > div { align-items: start; flex-direction: column; gap: 7px; padding: 16px 12px; }.stats-row strong { font-size: 22px; }.stats-row span { font-size: 8px; }.hero { min-height: 610px; }.hero-art { min-height: 215px; }.art-core { width: 74px; height: 74px; border-radius: 22px 35px 25px 30px; font-size: 32px; }.footer { align-items: start; flex-direction: column; gap: 8px; } }
