/* ============================================================ FitCheck - design system :: CRT pixel "technical instrument" Dark phosphor-green. Hairline-bordered panels, ruled rows, a dense option table, monospace numerics. Class/id names are kept identical to the prior build so app.js keeps working unchanged. Green is FitCheck's identity (NOT a vendor's); deliberately away from NVIDIA olive #76B900. ============================================================ */ :root { /* Ink */ --text-primary: #d7f5e4; --text-secondary: #8fb6a3; --text-muted: #5d7d6e; /* Background layers (matte, no gradient blooms) */ --bg-base: #070b08; --bg-raised: #0c120d; --bg-inset: #0a0f0b; --border: #1c2a20; --border-hi: #2bbf5f; --line-2: #152019; /* Phosphor accent (identity colour) */ --accent: #43f57f; --accent-strong: #2bbf5f; --accent-soft: rgba(67,245,127,0.10); --glow: rgba(67,245,127,0.35); --grid: rgba(67,245,127,0.045); /* Status */ --ok: #43f57f; --warn: #ffb000; --no: #ff5a48; --ok-soft: rgba(67,245,127,0.10); --warn-soft: rgba(255,176,0,0.12); --no-soft: rgba(255,90,72,0.12); /* Spacing scale (4px base) */ --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; /* Squarer radii - an instrument is not a soft card */ --r-sm:3px; --r-md:4px; --r-lg:5px; --r-pill:3px; --shadow-sm: 0 1px 2px rgba(0,0,0,0.40); --shadow-md: 0 2px 10px rgba(0,0,0,0.45); --shadow-lg: 0 4px 18px rgba(0,0,0,0.55); --glowshadow: 0 0 14px var(--glow); --font-pixel: 'Press Start 2P', monospace; /* wordmark, verdict word, labels, CTA */ --font-crt: 'VT323', ui-monospace, monospace; /* numerics, data table, inputs, hero */ --font-head: 'VT323', ui-monospace, monospace; /* headings live in the CRT face */ --font-body: 'Inter', system-ui, sans-serif; /* body sentences only */ --font-mono: 'VT323', ui-monospace, monospace; } *, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { scroll-behavior: smooth; } body { font-family: var(--font-body); background: var(--bg-base); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; color: var(--text-primary); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; } /* Subtle CRT scanline overlay - low opacity, must not hurt readability. */ body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px); opacity: .30; mix-blend-mode: multiply; } h1,h2,h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: .01em; font-weight: 400; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } button { font-family: inherit; cursor: pointer; } /* Numeric face + small uppercase labels (the instrument grammar) */ .num, .crt { font-family: var(--font-crt); } .lbl { font-family: var(--font-crt); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); } .pixel { font-family: var(--font-pixel); } .label { display: block; font-family: var(--font-crt); font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.10em; color: var(--text-muted); margin-bottom: var(--s-2); } .hint { font-size: 13px; color: var(--text-muted); margin-top: var(--s-1); } /* Icons (pixel SVG; currentColor tints) */ .ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; flex: none; } .ic svg { width: 1em; height: 1em; display: block; shape-rendering: geometricPrecision; } .optional { font-weight: 400; color: var(--text-muted); font-size: 13px; font-family: var(--font-crt); } /* ----------------------------------------------------------- Topbar */ .topbar { display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-5); height: 56px; max-width: 1180px; margin: 0 auto; border-bottom: 1px solid var(--border); } .logo { display: flex; align-items: center; gap: var(--s-2); font-family: var(--font-pixel); font-weight: 400; font-size: 14px; letter-spacing: .02em; } .logo-mark { width: 26px; height: 26px; border-radius: 0; background: transparent; border: 2px solid var(--accent); display: grid; place-items: center; box-shadow: var(--glowshadow); color: var(--accent); } .logo-mark .ic { font-size: 14px; } .logo .tick { color: var(--accent); text-shadow: 0 0 8px var(--glow); } .topbar .spacer { flex: 1; } .topbar nav a { color: var(--text-secondary); font-size: 17px; font-weight: 400; font-family: var(--font-crt); margin-left: var(--s-4); } .topbar nav a:hover { color: var(--accent); text-decoration: none; } .statuschip { display: flex; align-items: center; gap: 7px; font-family: var(--font-crt); font-size: 16px; color: var(--text-muted); margin-left: var(--s-4); } .statuschip b { color: var(--text-secondary); font-weight: 400; } .statuschip .dot { width: 8px; height: 8px; background: var(--ok); box-shadow: var(--glowshadow); } .statuschip .lbl { font-size: 13px; } /* ----------------------------------------------------------- Layout */ .container { max-width: 1180px; margin: 0 auto; padding: 0 var(--s-5) var(--s-8); } .hero { text-align: left; padding: var(--s-6) 0 var(--s-5); border-bottom: 1px solid var(--border); margin-bottom: var(--s-6); } .hero h1 { font-family: var(--font-crt); font-size: clamp(34px, 5vw, 48px); font-weight: 400; line-height: .98; } .hero h1 .accent { color: var(--accent); text-shadow: 0 0 12px var(--glow); } .hero p { color: var(--text-secondary); font-family: var(--font-body); font-size: 14px; max-width: 60ch; margin: var(--s-3) 0 0; } .layout { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-5); align-items: start; } @media (max-width: 900px) { .layout { grid-template-columns: 1fr; } } /* Hairline-bordered panels - the core motif (no rounded soft cards, no lift) */ .panel { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--r-md); } .panel-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line-2); } .panel-body { padding: var(--s-4); } .form-panel { position: sticky; top: var(--s-4); } @media (min-width: 901px) { .form-panel { max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; } } @media (max-width: 900px) { .form-panel { position: static; } } .step { margin-bottom: var(--s-5); } .step-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); } .step-num { width: 24px; height: 24px; border-radius: 0; flex: none; background: transparent; color: var(--accent); border: 1px solid var(--border-hi); display: grid; place-items: center; font-weight: 400; font-size: 14px; font-family: var(--font-crt); } .step-head h2 { font-family: var(--font-crt); font-size: 22px; font-weight: 400; letter-spacing: .02em; } .field { margin-bottom: var(--s-4); } /* Segmented control - hairline cells, selected state = accent fill, NO lift */ .segmented { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); } .segmented.cols-3 { grid-template-columns: repeat(3, 1fr); } .seg-btn { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--r-sm); padding: 10px 8px; font-family: var(--font-crt); font-size: 16px; font-weight: 400; letter-spacing: .03em; display: flex; align-items: center; gap: var(--s-2); justify-content: center; transition: border-color .15s, color .15s, background .15s; } .seg-btn:hover { border-color: var(--border-hi); color: var(--text-primary); } .seg-btn.active { background: var(--accent); border-color: var(--accent); color: #04130a; box-shadow: var(--glowshadow); } .seg-btn .ic { font-size: 16px; color: var(--text-muted); } .seg-btn.active .ic { color: #04130a; } .seg-btn .ic.brand { color: var(--text-secondary); } .seg-btn.active .ic.brand { color: #04130a; } .seg-btn.disabled { opacity: .3; pointer-events: none; } /* Hover tooltip */ [data-tip] { position: relative; } [data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; z-index: 30; background: var(--bg-raised); color: var(--text-secondary); border: 1px solid var(--border-hi); border-radius: var(--r-sm); padding: 8px 10px; font-size: 12px; font-family: var(--font-body); font-weight: 400; line-height: 1.45; text-align: left; box-shadow: var(--shadow-lg); pointer-events: none; white-space: normal; } /* Native select / input - CRT terminal face */ select, input[type="text"], input[type="number"], textarea { width: 100%; font-family: var(--font-crt); font-size: 18px; color: var(--text-primary); background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 11px; transition: border-color .15s, box-shadow .15s; } textarea { font-family: var(--font-body); font-size: 14px; } select:hover, input:hover, textarea:hover { border-color: var(--border-hi); } select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong); } select:disabled, input:disabled, textarea:disabled { opacity: .45; cursor: not-allowed; border-color: var(--line-2); } select:disabled:hover, input:disabled:hover { border-color: var(--line-2); } select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='%235d7d6e' shape-rendering='crispEdges'%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='2' y='4' width='1' height='1'/%3E%3Crect x='3' y='5' width='1' height='1'/%3E%3Crect x='4' y='4' width='1' height='1'/%3E%3Crect x='5' y='3' width='1' height='1'/%3E%3Crect x='6' y='2' width='1' height='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } textarea { resize: vertical; min-height: 70px; line-height: 1.5; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); } /* Run vs Train toggle - two hairline cells, selected = accent, no slide gradient. The .tt-slider is kept (app.js toggles .train) but rendered as a flat marker. */ .task-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 3px; margin-bottom: var(--s-4); } .tt-opt { position: relative; z-index: 2; background: transparent; border: 0; color: var(--text-secondary); font-family: var(--font-crt); font-size: 16px; font-weight: 400; letter-spacing: .03em; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: color .2s; } .tt-opt .ic { font-size: 16px; } .tt-opt.active { color: #04130a; } .tt-slider { position: absolute; z-index: 1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: var(--r-sm); background: var(--accent); box-shadow: var(--glowshadow); transition: transform .2s cubic-bezier(.4,0,.2,1); } .task-toggle.train .tt-slider { transform: translateX(100%); background: var(--warn); box-shadow: 0 0 14px rgba(255,176,0,.35); } /* Use-case picker - flat hairline pills, selected = accent ring, NO rainbow, NO lift */ .uc-group { margin-bottom: var(--s-4); } .uc-cat { font-family: var(--font-crt); font-size: 14px; font-weight: 400; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-2); display: flex; align-items: center; gap: 6px; } .uc-grid { display: flex; flex-wrap: wrap; gap: var(--s-2); } .uc-pill { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--r-sm); padding: 6px 12px; font-family: var(--font-crt); font-size: 16px; font-weight: 400; display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, color .15s, background .15s; } .uc-pill:hover { border-color: var(--border-hi); color: var(--text-primary); } .uc-pill.active { background: var(--accent-soft); border-color: var(--accent); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--accent); } .uc-pill .pic { font-size: 15px; color: var(--text-muted); } .uc-pill:hover .pic { color: var(--text-secondary); } .uc-pill.active .pic { color: var(--accent); } .uc-cat .ic { font-size: 14px; color: var(--text-muted); } /* Disclosure (advanced / accordions) */ details.disc { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-inset); margin-top: var(--s-3); overflow: hidden; } details.disc > summary { list-style: none; cursor: pointer; padding: 11px 14px; font-family: var(--font-crt); font-size: 17px; font-weight: 400; color: var(--text-secondary); display: flex; align-items: center; gap: var(--s-2); } details.disc > summary::-webkit-details-marker { display: none; } details.disc > summary .chev { margin-left: auto; transition: transform .2s; color: var(--text-muted); font-size: 14px; } details.disc[open] > summary .chev { transform: rotate(180deg); } details.disc > summary .sum-ic { font-size: 16px; color: var(--text-muted); } details.disc > summary:hover { color: var(--text-primary); } .disc-body { padding: 0 14px 14px; font-size: 14px; font-family: var(--font-body); color: var(--text-secondary); line-height: 1.6; } .disc-body code { background: var(--bg-base); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; font-family: var(--font-crt); font-size: 15px; color: var(--accent); } .disc-body dl { display: grid; gap: var(--s-3); } .disc-body dt { font-weight: 400; color: var(--text-primary); font-family: var(--font-crt); font-size: 17px; letter-spacing: .02em; } .disc-body dd { color: var(--text-muted); } .parse-btn { margin-top: var(--s-2); width: 100%; background: var(--bg-inset); border: 1px solid var(--accent); color: var(--accent); border-radius: var(--r-sm); padding: 9px 12px; font-family: var(--font-crt); font-size: 16px; font-weight: 400; letter-spacing: .03em; transition: background .15s, color .15s; } .parse-btn:hover { background: var(--accent-soft); color: var(--text-primary); } /* Primary CTA - the pixel display face, flat accent, no lift */ .cta { width: 100%; border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent); color: #04130a; font-weight: 400; font-size: 11px; font-family: var(--font-pixel); letter-spacing: .02em; padding: 13px; margin-top: var(--s-2); display: flex; align-items: center; justify-content: center; gap: var(--s-2); box-shadow: var(--glowshadow); transition: filter .15s, box-shadow .15s; } .cta:hover { filter: brightness(1.08); box-shadow: 0 0 20px var(--glow); } .cta:active { filter: brightness(.95); } .cta .ic { font-size: 14px; } /* ----------------------------------------------------------- Results */ .results-panel { padding: var(--s-4); min-height: 400px; } .empty-state { text-align: center; color: var(--text-muted); padding: var(--s-8) var(--s-4); } .empty-state .big { font-size: 46px; margin-bottom: var(--s-3); color: var(--text-muted); display: flex; justify-content: center; } .empty-state h2 { font-family: var(--font-crt); font-size: 24px; color: var(--text-secondary); } .empty-state p { max-width: 360px; margin: var(--s-2) auto 0; font-family: var(--font-body); } /* Verdict readout - instrument header, accent rail, status word in pixel face */ .verdict { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-raised); padding: var(--s-5); margin-bottom: var(--s-5); position: relative; overflow: hidden; } .verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--status, var(--accent)); box-shadow: 0 0 12px var(--glow); } .verdict .badge { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: transparent; color: var(--status, var(--accent)); font-family: var(--font-pixel); font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--s-4); text-shadow: 0 0 10px var(--glow); } .verdict .badge .dot { width: 8px; height: 8px; border-radius: 0; background: currentColor; box-shadow: 0 0 8px currentColor; } .verdict h2 { font-family: var(--font-body); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: var(--s-3); } .verdict p { color: var(--text-secondary); font-family: var(--font-body); margin-bottom: var(--s-2); font-size: 14px; } .verdict .note { font-size: 13px; color: var(--text-muted); margin-top: var(--s-3); font-family: var(--font-body); padding-top: var(--s-3); border-top: 1px dashed var(--border); } .section-title { font-family: var(--font-pixel); font-size: 10px; letter-spacing: .02em; color: var(--accent); text-shadow: 0 0 8px var(--glow); margin: var(--s-6) 0 var(--s-3); display: flex; align-items: center; gap: var(--s-3); } .section-title::after { content: ""; height: 1px; flex: 1; background: var(--border); } .section-title .sub { font-family: var(--font-crt); font-size: 14px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; text-transform: none; text-shadow: none; } /* Gauge - mono numerics, hairline track */ .gauge-card { background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-4) var(--s-4) var(--s-3); } .gauge-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-3); } .gauge-top .need { font-family: var(--font-crt); font-size: 20px; color: var(--status, var(--accent)); text-shadow: 0 0 8px var(--glow); } .gauge-wrap { position: relative; padding-top: 22px; } .gauge { position: relative; height: 14px; border-radius: 0; background: var(--bg-base); overflow: hidden; border: 1px solid var(--border); } .gauge-fill { height: 100%; width: calc(var(--pct,0) * 1%); border-radius: 0; background: var(--gcolor, var(--accent)); box-shadow: 0 0 10px var(--glow); transition: width .8s cubic-bezier(.22,1,.36,1), background .4s; } .gmark { position: absolute; top: 22px; height: 14px; width: 2px; transition: left .8s cubic-bezier(.22,1,.36,1); } .gmark::before { content: ""; position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; border-radius: 0; } .gmark-gpu::before { background: var(--text-primary); opacity: .9; } .gmark-total::before { background: var(--text-muted); } .gmark-gpu { border-left: 0; } .gmark-lab { position: absolute; bottom: calc(100% + 6px); left: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-crt); font-size: 14px; font-weight: 400; color: var(--text-secondary); background: var(--bg-inset); padding: 1px 5px; border-radius: var(--r-sm); } .gmark-total .gmark-lab { color: var(--text-muted); } .gmark[style*="left: 0%"] .gmark-lab, .gmark-gpu .gmark-lab { transform: translateX(-20%); } .gmark-total .gmark-lab { transform: translateX(-80%); } .gauge-hint { font-style: italic; color: var(--text-muted); } .gauge-legend { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-3); font-size: 13px; font-family: var(--font-body); color: var(--text-muted); } .gauge-legend .item { display: inline-flex; align-items: center; gap: 6px; } .gauge-legend .sw { width: 10px; height: 10px; border-radius: 0; } .gauge-legend .marker { font-weight: 600; color: var(--text-secondary); } /* ---- Option breakdown rendered as a DENSE TABLE ---- app.js emits .opt-grid containing .opt rows (grid: 40px 1fr auto). We re-cast each .opt as a ruled instrument row: status dot, model name + desc, monospace right-aligned memory/setting. The honest pick (.opt-current) gets an inset accent ring, not a floating card. No hover-lift. */ .opt-grid { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; } .opt { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: var(--s-3); background: var(--bg-raised); border: 0; border-bottom: 1px solid var(--line-2); border-left: 2px solid var(--status, transparent); border-radius: 0; padding: 11px var(--s-4); transition: background .15s, box-shadow .15s, border-color .15s; } .opt:last-child { border-bottom: 0; } .opt:hover { background: #101a13; } .opt .vdot { width: 18px; height: 18px; border-radius: 0; background: transparent; color: var(--status); display: grid; place-items: center; font-size: 14px; font-weight: 400; } .opt .vdot .ic svg { width: 14px; height: 14px; } .opt .name { font-family: var(--font-crt); font-weight: 400; font-size: 18px; letter-spacing: .01em; } .opt .name a { color: var(--text-primary); } .opt .name a:hover { color: var(--accent); text-decoration: none; } .lic { display: inline-block; margin-left: 8px; padding: 0 7px; vertical-align: 2px; border-radius: var(--r-sm); border: 1px solid var(--border-hi); font-family: var(--font-crt); font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--text-muted); text-transform: uppercase; } .lic.warn { color: var(--warn); border-color: var(--warn); } .lic.gatechip { color: var(--accent); border-color: var(--accent); } .prov { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-muted); line-height: 1.55; font-family: var(--font-body); } .opt .desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; font-family: var(--font-body); } .opt .meta { text-align: right; font-family: var(--font-crt); font-size: 16px; color: var(--text-secondary); white-space: nowrap; } .opt .meta b { color: var(--text-primary); font-family: var(--font-crt); font-weight: 400; font-size: 18px; } .opt .feel { font-family: var(--font-crt); font-size: 14px; color: var(--text-muted); margin-top: 1px; } .opt[data-model] { cursor: pointer; } .opt[data-model]:hover { background: #101a13; } /* honest pick / currently-focused model: inset accent ring, not a lifted card */ .opt-current { background: rgba(67,245,127,.07); box-shadow: inset 2px 0 0 var(--accent), inset 0 0 0 1px var(--accent); border-left-color: var(--accent); } /* Tool cards - hairline panels, border state on hover */ .tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: var(--s-3); } .tool { background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-4); transition: border-color .15s; } .tool:hover { border-color: var(--border-hi); } .tool .tool-head { display: flex; align-items: center; justify-content: space-between; } .tool .tname { font-family: var(--font-crt); font-weight: 400; font-size: 18px; } .tool .tag { font-family: var(--font-crt); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: var(--r-sm); border: 1px solid; } .tool .tag.best { background: var(--ok-soft); color: var(--ok); border-color: var(--ok); } .tool .tag.mid { background: transparent; color: var(--text-muted); border-color: var(--border-hi); } .tool .twhat { font-size: 13px; color: var(--text-secondary); margin: var(--s-2) 0; line-height: 1.5; font-family: var(--font-body); } .tool .tinstall { font-family: var(--font-crt); font-size: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; } .tool .tinstall .ic { font-size: 14px; } /* Buy advice */ .buy-platform { margin-top: var(--s-5); } .bp-head { display: flex; align-items: center; gap: 9px; } .bp-head .ic { font-size: 18px; color: var(--text-secondary); } .bp-head .ic.brand { color: var(--text-secondary); } .bp-name { font-family: var(--font-crt); font-weight: 400; font-size: 20px; } .bp-blurb { font-size: 13px; color: var(--text-muted); margin: 4px 0 var(--s-3); line-height: 1.5; font-family: var(--font-body); } .buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); } @media (max-width: 620px) { .buy-grid { grid-template-columns: 1fr; } } .buy-card { background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); } .buy-card.empty { opacity: .7; } .buy-card.ceiling { border-color: var(--accent-strong); } .buy-card.ceiling .bc-head .ic { color: var(--accent); font-size: 16px; } .bc-head { display: flex; align-items: center; justify-content: space-between; } .bc-kind { font-family: var(--font-crt); font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); } .bc-kind.min { color: var(--warn); } .bc-kind.comfy { color: var(--ok); } .bc-label { font-family: var(--font-crt); font-weight: 400; font-size: 18px; margin: 6px 0; } .bc-runs { font-size: 13px; color: var(--text-secondary); font-family: var(--font-body); } .bc-runs b { color: var(--text-primary); } .bc-none { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; line-height: 1.5; font-family: var(--font-body); } .bc-goals { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; } .bc-goals li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-top: 1px dashed var(--border); font-family: var(--font-body); } .bc-goals li:first-child { border-top: 0; } .bc-goals b { color: var(--text-primary); font-weight: 600; text-align: right; font-family: var(--font-crt); font-size: 15px; } .bc-more { margin-top: var(--s-3); background: none; border: 0; cursor: pointer; padding: 0; color: var(--accent); font-family: var(--font-crt); font-size: 15px; font-weight: 400; display: inline-flex; align-items: center; gap: 5px; } .bc-more .chev { font-size: 13px; transition: transform .2s; } .bc-more.open .chev { transform: rotate(180deg); } .bc-detail { margin-top: var(--s-3); border-top: 1px dashed var(--border); padding-top: var(--s-3); } .bc-detail-label { font-family: var(--font-crt); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 7px; } .bc-detail-label + p, ul.bc-spec + .bc-detail-label { margin-top: var(--s-3); } ul.bc-spec { list-style: none; margin: 0 0 0; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg-base); overflow: hidden; } ul.bc-spec li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; font-family: var(--font-crt); font-size: 16px; color: var(--text-primary); border-top: 1px solid var(--line-2); } ul.bc-spec li:first-child { border-top: 0; } ul.bc-spec li .ic { font-size: 16px; color: var(--accent); flex: none; } .bc-detail p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; font-family: var(--font-body); } .bc-link { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--s-3); color: var(--accent); text-decoration: none; font-family: var(--font-crt); font-size: 15px; border: 1px solid var(--accent-strong); border-radius: var(--r-sm); padding: 6px 10px; } .bc-link:hover { background: var(--accent-soft); } .bc-link .ic { font-size: 13px; } .bc-link-meta { color: var(--text-muted); font-size: 13px; } /* Command block - terminal */ .cmd-intro { font-size: 14px; color: var(--text-secondary); margin: var(--s-2) 0 var(--s-3); font-family: var(--font-body); } .cmd { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); } @media (max-width: 620px) { .cmd { grid-template-columns: 1fr; } } .cmd-box { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; } .cmd-box .cmd-label { font-family: var(--font-crt); font-size: 14px; font-weight: 400; color: var(--text-muted); padding: 8px 13px 0; display:flex; justify-content:space-between; align-items:center; text-transform: uppercase; letter-spacing: .06em; } .cmd-box pre { padding: 6px 13px 12px; overflow-x: auto; } .cmd-box code { font-family: var(--font-crt); font-size: 17px; color: var(--accent); } .copy-btn { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--r-sm); padding: 3px 9px; font-family: var(--font-crt); font-size: 14px; font-weight: 400; display: inline-flex; align-items: center; gap: 5px; } .copy-btn:hover { color: var(--text-primary); border-color: var(--border-hi); } .copy-btn.done { color: var(--ok); border-color: var(--ok); } .copy-btn .ic { font-size: 13px; } /* "Why this speed?" roofline - PROMOTED to a prominent centerpiece panel. app.js still emits
; we render it as a flat hairline panel with a graph surface, not a tucked-away disclosure. */ .viz-disc { margin-top: var(--s-6); background: var(--bg-raised); border: 1px solid var(--border-hi); box-shadow: 0 0 0 1px var(--accent-soft); } .viz-disc > summary { font-family: var(--font-pixel); font-size: 10px; color: var(--accent); text-shadow: 0 0 8px var(--glow); padding: var(--s-4) var(--s-4) var(--s-3); border-bottom: 1px solid var(--line-2); cursor: default; text-transform: uppercase; letter-spacing: .02em; } .viz-disc > summary .chev { display: none; } /* centerpiece: not a collapse affordance */ .viz-disc > summary .sub-inline { font-family: var(--font-crt); font-weight: 400; color: var(--text-muted); font-size: 14px; margin-left: 8px; letter-spacing: 0; text-transform: none; text-shadow: none; } .viz-disc > summary .sum-ic { font-size: 14px; } .viz-disc > .disc-body { padding: var(--s-4); } .roofline-wrap { border: 1px solid var(--line-2); background: var(--bg-inset); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 32px; padding: var(--s-2); } .roofline-wrap svg { width: 100%; height: auto; display: block; } .rl-grid { stroke: var(--line-2); stroke-width: 1; opacity: .7; } .rl-tick { fill: var(--text-muted); font: 400 13px var(--font-crt); } .rl-axis { fill: var(--text-secondary); font: 400 14px var(--font-crt); } .rl-dot { opacity: .55; transition: r .1s, opacity .1s; cursor: pointer; } .rl-dot:hover { opacity: 1; r: 4.5; } .rl-you { cursor: pointer; } .rl-tip { position: absolute; z-index: 20; pointer-events: none; background: var(--bg-raised); border: 1px solid var(--border-hi); border-radius: var(--r-sm); padding: 7px 10px; font-family: var(--font-crt); font-size: 15px; line-height: 1.4; color: var(--text-primary); box-shadow: var(--shadow-lg); max-width: 220px; } .rl-tip-sub { color: var(--text-muted); } /* roofline series in the SAME neutral tone family (greens/inks); accent = you */ .rl-p1 { fill: #34503f; } .rl-p8 { fill: #4d6e58; } .rl-p14 { fill: #6f9580; } .rl-roof { stroke: var(--warn); stroke-width: 1.8; stroke-dasharray: 4 5; opacity: .9; } .rl-band { stroke: var(--accent); stroke-width: 5; opacity: .35; stroke-linecap: butt; } .rl-you { fill: var(--accent); stroke: var(--bg-base); stroke-width: 1.5; } .rl-you-label { fill: var(--accent); font: 400 16px var(--font-crt); } .rl-legend { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-3); font-family: var(--font-body); font-size: 12px; color: var(--text-muted); } .rl-legend .item { display: inline-flex; align-items: center; gap: 6px; } .rl-legend .sw { width: 10px; height: 10px; border-radius: 0; } .rl-p1-sw { background: #34503f; } .rl-p8-sw { background: #4d6e58; } .rl-p14-sw { background: #6f9580; } .rl-roof-sw { background: var(--warn); border-radius: 0; height: 3px; width: 14px; } .rl-you-sw { background: var(--accent); box-shadow: 0 0 6px var(--glow); } .viz-caption { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-top: var(--s-3); font-family: var(--font-body); } /* Multi-goal overview - hairline panels, inset ring on hover, no lift */ .goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-3); } .goal-card { background: var(--bg-inset); border: 1px solid var(--border); border-left: 2px solid var(--status, var(--border)); border-radius: var(--r-md); padding: var(--s-4); cursor: pointer; transition: box-shadow .15s, background .15s; } .goal-card:hover { background: #101a13; box-shadow: inset 0 0 0 1px var(--border-hi); } .goal-card .badge { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: transparent; color: var(--status, var(--accent)); font-family: var(--font-pixel); font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; } .goal-card .badge .dot { width: 7px; height: 7px; border-radius: 0; background: currentColor; box-shadow: 0 0 6px currentColor; } .goal-name { font-family: var(--font-crt); font-weight: 400; font-size: 18px; line-height: 1.2; margin-top: var(--s-3); } .goal-pick { font-family: var(--font-crt); font-size: 16px; color: var(--text-secondary); margin-top: 4px; display: flex; align-items: center; gap: 6px; } .goal-pick .ic { font-size: 13px; color: var(--accent); } .goal-need { font-family: var(--font-crt); font-size: 15px; color: var(--text-muted); margin-top: 2px; } .goal-more { font-family: var(--font-crt); font-size: 15px; font-weight: 400; color: var(--accent); margin-top: var(--s-3); } .back-link { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--r-sm); padding: 6px 14px; font-family: var(--font-crt); font-size: 15px; font-weight: 400; margin-bottom: var(--s-4); display: inline-flex; align-items: center; gap: 6px; } .back-link:hover { color: var(--text-primary); border-color: var(--border-hi); } .back-link .ic { font-size: 13px; transform: scaleX(-1); } .goal-lines { list-style: none; padding: 0; margin: var(--s-2) 0 0; } .goal-lines li { display: flex; justify-content: space-between; gap: var(--s-3); font-family: var(--font-body); font-size: 13px; color: var(--text-secondary); padding: 3px 0; border-bottom: 1px dashed var(--border); } .goal-lines li:last-child { border-bottom: none; } .goal-lines li b { color: var(--text-primary); font-weight: 600; text-align: right; font-family: var(--font-crt); font-size: 15px; } .goal-lines li i { color: var(--text-muted); font-style: normal; font-size: 12px; } /* Live single-model lookup card */ .lookup-card { border: 1px solid var(--border); border-left: 2px solid var(--status, var(--accent)); border-radius: var(--r-md); background: var(--bg-inset); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); } .lookup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); } .live-tag { font-family: var(--font-crt); font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); border: 1px dashed var(--accent); border-radius: var(--r-sm); padding: 3px 10px; } .lookup-explain { color: var(--text-secondary); font-size: 14px; font-family: var(--font-body); } .lookup-meta { display: flex; gap: var(--s-4); margin-top: var(--s-2); font-family: var(--font-crt); font-size: 15px; color: var(--text-secondary); } .lookup-banner { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); } .lookup-banner p { color: var(--text-secondary); font-size: 13px; margin: 0; font-family: var(--font-body); } .lookup-banner.estimate { background: var(--warn-soft); border-color: var(--warn); } .lookup-banner.estimate .live-tag { color: var(--warn); border-color: var(--warn); } #repo-field.required input { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } /* Ask a follow-up (the model brick) */ .ask-row { display: flex; gap: var(--s-2); } .ask-row input { flex: 1; background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px 14px; font-family: var(--font-crt); font-size: 18px; } .ask-btn { flex: none; width: 46px; border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent); color: #04130a; display: grid; place-items: center; box-shadow: var(--glowshadow); transition: filter .15s, box-shadow .15s; } .ask-btn:hover { filter: brightness(1.08); box-shadow: 0 0 20px var(--glow); } .ask-btn .ic { font-size: 16px; } .ask-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); } .ask-chip { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--r-sm); padding: 6px 13px; font-family: var(--font-crt); font-size: 15px; font-weight: 400; transition: border-color .15s, color .15s, background .15s; } .ask-chip:hover { border-color: var(--accent); color: var(--text-primary); background: var(--accent-soft); } .ask-answer { margin-top: var(--s-4); } .ans-card { background: var(--bg-inset); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); } .ans-card h3 { font-family: var(--font-crt); font-size: 19px; font-weight: 400; margin-bottom: var(--s-2); } .ans-card p { color: var(--text-secondary); font-family: var(--font-body); font-size: 14px; line-height: 1.6; } .ans-next { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); font-family: var(--font-crt); font-size: 16px; font-weight: 400; color: var(--accent); } .ans-next .ic { font-size: 14px; flex: none; } .ans-card.ans-error { border-left-color: var(--no); } .ans-card.ans-error h3 { color: var(--no); } .ans-card.ans-error p { color: var(--text-secondary); font-size: 13px; word-break: break-word; } .ans-loading { display: flex; align-items: center; gap: var(--s-2); color: var(--text-muted); font-family: var(--font-crt); font-size: 16px; padding: var(--s-2) 0; flex-wrap: wrap; } .ans-cold { font-size: 12px; color: var(--text-muted); opacity: .75; } .tick-note { font-size: 12px; color: var(--text-muted); opacity: .8; } #parse-hint .spinner, .ans-loading .spinner { display: inline-block; vertical-align: -2px; margin-right: 6px; } .spinner { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid var(--border-hi); border-top-color: var(--accent); animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Footer */ .foot { text-align: left; color: var(--text-muted); font-family: var(--font-crt); font-size: 16px; margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--border); line-height: 1.55; } .foot p { font-family: var(--font-body); font-size: 13px; } .foot b { color: var(--text-secondary); } /* Reveal animation (kept; subtle) */ .reveal { animation: reveal .4s cubic-bezier(.22,1,.36,1) both; } @keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } body::after { display: none; } } @media (max-width: 900px) { .hero h1 { font-size: 34px; } }