:root {
  --bg: #0b0b0c;
  --ink: #eceadf;
  --muted: #b4b2a7;
  --dim: #a3a196;
  --line: rgba(255, 255, 255, 0.10);
  --accent: #7de2f5;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --blur: 22px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
.bb-link { color: var(--accent); }
.bb-link:hover { text-decoration: underline; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* backdrop: blurred light behind the glass */
.backdrop { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.backdrop i { position: absolute; border-radius: 50%; filter: blur(120px); }
.backdrop .grid {
  inset: 0; border-radius: 0; filter: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page { position: relative; }
.page > *:not(.backdrop) { position: relative; z-index: 1; }

/* glass */
.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

/* nav */
.top { position: sticky; top: 0; z-index: 20; padding: 16px 24px; }
.nav {
  max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; border-radius: 14px;
  background: rgba(20,20,24,0.45);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.actions { gap: 8px; }
.links a[aria-current="page"] { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border-radius: 10px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; }
.btn-sm { padding: 12px 18px; font-size: 13px; border-radius: 8px; }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: #fff; color: var(--bg); }
.btn-glass { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { color: var(--accent); }
.btn-line { border-color: var(--bg); color: var(--bg); }
.btn-line:hover { background: var(--bg); color: var(--ink); }
.btn:focus-visible, a:focus-visible, input:focus-visible + .opt, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.h1 { margin: 0; font-size: clamp(52px, 6.6vw, 100px); line-height: 0.98; font-weight: 500; letter-spacing: -0.045em; }
.h2 { margin: 0; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.lede { margin: 0; font-family: var(--mono); font-size: 16px; line-height: 1.65; color: var(--muted); }
.num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* the drawn workstation */
.tower { position: relative; width: 100%; max-width: 440px; aspect-ratio: 11 / 13; padding: 28px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 40px 120px rgba(0,0,0,0.6); }
.tower .row { display: flex; gap: 12px; }
.tower .fan { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); box-shadow: inset 0 0 0 10px rgba(255,255,255,0.03); }
.tower .bay { flex: 1; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.tower .gpus { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.tower .gpu { height: 46px; border-radius: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-left: 3px solid var(--accent); box-shadow: 0 0 26px rgba(125,226,245,0.2); transition: opacity .25s; }
.tower .gpu.empty { background: none; border: 1px dashed rgba(255,255,255,0.16); box-shadow: none; }
.tower .io { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tower .io div { height: 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); }
/* hero tower, drawn as a BoltBeam run screen */
.tower.bb { --bb-head: #c3b5ff; --bb-key: #f2a7d8; aspect-ratio: auto; gap: 10px; padding: 22px 22px 40px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.bb-top { display: flex; justify-content: space-between; gap: 12px; letter-spacing: 0.04em; }
.bb-top span:first-child { color: var(--ink); font-weight: 500; }
.bb-top b { color: var(--bb-key); font-weight: 400; }
.bb-box { padding: 10px 12px; border: 1px solid rgba(195,181,255,0.32); border-radius: 8px; background: rgba(0,0,0,0.25); }
.bb-grow { box-shadow: 0 0 34px rgba(125,226,245,0.12); }
.bb-h { color: var(--bb-head); font-weight: 500; margin-bottom: 6px; }
.bb-setup { margin: 0; display: grid; gap: 2px; }
.bb-setup div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
.bb-setup dt { color: var(--dim); }
.bb-setup dd { margin: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-cols, .bb-gpu { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px 48px; gap: 10px; align-items: center; }
.bb-cols { color: var(--bb-head); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.bb-cols span:nth-child(n+3), .bb-gpu span:nth-child(n+3) { text-align: right; }
.bb-gpu { padding: 3px 0; color: var(--ink); }
.bb-gpu i { height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,0.08) var(--p)); box-shadow: 0 0 14px rgba(125,226,245,0.25); }
.bb-gpu span:last-child { color: var(--accent); }
.bb-sum { color: var(--ink); }
.bb-sum strong { color: var(--accent); font-weight: 500; }
.bb-keys { color: var(--dim); font-size: 10.5px; padding: 0 2px; }
.tower.bb .badge { bottom: -18px; }
.bb-keys b { color: var(--bb-key); font-weight: 400; }
.tower .badge { position: absolute; right: -14px; bottom: 36px; padding: 10px 14px; border-radius: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px; background: rgba(20,20,24,0.7); }

/* spec list (label / value rows) */
.specs { margin: 0; font-family: var(--mono); font-size: 14px; }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; }
.specs .hl { color: var(--accent); }

/* cream band */
.band { background: var(--ink); color: var(--bg); }
.band .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }

/* footer */
.foot { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 48px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); }

/* phones and small tablets: one row (brand + quote), section links in a scrollable strip under it */
@media (max-width: 840px) {
  .top { padding: 12px 16px; }
  .nav { gap: 0 12px; padding: 8px 8px 0 14px; border-radius: 12px; }
  .brand { font-size: 20px; }
  .links { order: 3; width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 14px; margin-top: 8px; padding: 4px 0; border-top: 1px solid var(--line); overflow-x: auto; font-size: 11.5px; letter-spacing: 0.06em; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { flex: none; padding: 11px 0; white-space: nowrap; }
  .links a:focus-visible { outline-offset: -2px; }
  .nav .btn-sm { padding: 11px 14px; font-size: 12px; }
}

/* phones: tighter rhythm, larger tap targets */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .h1 { font-size: clamp(40px, 13.5vw, 52px); }
  .h2 { font-size: clamp(32px, 9.6vw, 38px); }
  .btn { padding: 15px 22px; }
  .specs div { grid-template-columns: 88px 1fr; padding: 11px 0; }
  .tower .badge { right: 12px; }
  .tower.bb { padding: 18px 16px 36px; }
  .bb-setup div { grid-template-columns: 66px minmax(0, 1fr); }
  .band .wrap { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
  .foot { padding-top: 48px; padding-bottom: 32px; gap: 32px; }
  .foot-cols { gap: 24px; }
  .foot-cols div { gap: 2px; }
  .foot-cols .label { padding-bottom: 6px; }
  .foot-cols a { padding: 9px 0; }
}
