/* ============================================================
   ChatGPT Desktop for Linux — Codex Preview (unofficial concept)
   Dark cinematic / terminal-phosphor design system
   ============================================================ */

:root {
  --bg: #04070a;
  --bg-2: #060b0e;
  --panel: #0a1210;
  --panel-2: #0d1714;
  --line: rgba(126, 220, 183, 0.13);
  --line-strong: rgba(126, 220, 183, 0.28);
  --text: #e9f4ee;
  --muted: #8fa89c;
  --faint: #5d7368;
  --accent: #34d399;
  --accent-2: #6ee7b7;
  --accent-dim: #10b981;
  --phosphor: #7dffd4;
  --amber: #fbbf24;
  --blue: #60a5fa;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --shadow-glow: 0 0 60px rgba(52, 211, 153, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(52, 211, 153, 0.32); color: #f2fffa; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--phosphor); }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.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: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: #04120c;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 14px; color: #04120c; }

.mono { font-family: var(--font-mono); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- eyebrow / section headers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 650;
  margin: 0 0 20px;
  text-wrap: balance;
}

.section-lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(4, 8, 7, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 640;
  letter-spacing: -0.01em;
  font-size: 15.5px;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #0e2a1f, #071410);
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.22) inset, 0 0 14px rgba(52, 211, 153, 0.14);
}
.brand .tux { font-size: 15px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(126, 220, 183, 0.07); }
.nav-links a.active { color: var(--accent-2); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #04120c !important;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 0 0 rgba(52, 211, 153, 0);
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(52, 211, 153, 0.35);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  width: 42px;
  height: 38px;
  font-size: 17px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 90px;
  overflow: hidden;
  isolation: isolate;
}

#starfield {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.aurora {
  position: absolute;
  inset: -20% -30%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 22% 30%, rgba(16, 185, 129, 0.20), transparent 70%),
    radial-gradient(34% 28% at 74% 22%, rgba(52, 211, 153, 0.13), transparent 70%),
    radial-gradient(46% 34% at 58% 78%, rgba(45, 212, 191, 0.10), transparent 72%),
    radial-gradient(30% 26% at 86% 66%, rgba(96, 165, 250, 0.07), transparent 70%);
  filter: blur(10px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(2%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 220, 183, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 220, 183, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 42%, #000 20%, transparent 78%);
}

.hero-content { position: relative; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 22, 17, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-2);
  margin-bottom: 34px;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.12);
}
.hero-badge .pill {
  background: var(--accent);
  color: #04120c;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero h1 {
  margin: 0 auto 26px;
  max-width: 16ch;
  font-size: clamp(2.9rem, 8.4vw, 6.6rem);
  line-height: 0.99;
  letter-spacing: -0.038em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #b8ffe4 0%, var(--accent) 42%, #0ea77a 78%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(52, 211, 153, 0.28));
}
.hero h1 .tux-hero {
  display: inline-block;
  font-size: 0.42em;
  vertical-align: 0.32em;
  filter: drop-shadow(0 0 14px rgba(52, 211, 153, 0.45));
}

.hero-sub {
  margin: 0 auto 42px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.62;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-sub .mono { color: var(--accent-2); font-size: 0.92em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 54px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 640;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease-out), box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--accent);
  color: #04120c;
  box-shadow: 0 0 44px rgba(52, 211, 153, 0.28);
}
.btn-primary:hover {
  background: var(--accent-2);
  color: #04120c;
  transform: translateY(-2px);
  box-shadow: 0 10px 54px rgba(52, 211, 153, 0.42);
}
.btn-ghost {
  background: rgba(12, 24, 19, 0.55);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  color: var(--phosphor);
  border-color: rgba(126, 220, 183, 0.5);
  background: rgba(16, 32, 26, 0.75);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.22s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i {
  font-style: normal;
  color: var(--accent-dim);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--accent), transparent);
  animation: cueDrop 2.1s var(--ease-out) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* floating pixel tux */
.hero-tux {
  position: absolute;
  z-index: -1;
  right: clamp(4%, 9vw, 12%);
  top: 24%;
  font-size: clamp(30px, 4vw, 46px);
  animation: tuxFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.6));
  opacity: 0.9;
}
@keyframes tuxFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(7, 13, 11, 0.7);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item b { color: var(--accent-2); font-weight: 600; }
.ticker-item::after {
  content: "//";
  margin-left: 34px;
  color: rgba(126, 220, 183, 0.25);
}

/* ============================================================
   VIDEO / LAUNCH FILM
   ============================================================ */

.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }

.video-head { text-align: center; margin-bottom: 54px; }
.video-head .eyebrow { justify-content: center; }
.video-head .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--accent));
}
.video-head .section-lede { margin-inline: auto; }

.window {
  position: relative;
  max-width: 1020px;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(16, 185, 129, 0.10),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(#0e1a15, #0a1410);
  border-bottom: 1px solid var(--line);
  user-select: none;
}
.window-dots { display: flex; gap: 7px; }
.window-dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #22332c;
  border: 1px solid rgba(126, 220, 183, 0.18);
}
.window-dots i:nth-child(1) { background: #ff5f57; border-color: #ff5f5733; }
.window-dots i:nth-child(2) { background: #febc2e; border-color: #febc2e33; }
.window-dots i:nth-child(3) { background: #28c840; border-color: #28c84033; }
.window-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-title b { color: var(--muted); font-weight: 500; }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(3, 8, 6, 0.18), rgba(3, 8, 6, 0.55));
  border: 0;
  padding: 0;
  width: 100%;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.video-overlay[hidden] { opacity: 0; visibility: hidden; }
.play-btn {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(6, 14, 11, 0.72);
  border: 1px solid rgba(126, 220, 183, 0.45);
  color: var(--accent-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease, background 0.25s ease;
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.25);
}
.video-overlay:hover .play-btn,
.video-overlay:focus-visible .play-btn {
  transform: scale(1.08);
  background: rgba(10, 24, 18, 0.9);
  box-shadow: 0 0 90px rgba(52, 211, 153, 0.45);
}
.play-btn svg { margin-left: 5px; }
.video-caption {
  text-align: center;
  margin-top: 22px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* ============================================================
   FEATURES — one native workspace
   ============================================================ */

#features { background: linear-gradient(180deg, transparent, rgba(8, 15, 12, 0.6) 18%, rgba(8, 15, 12, 0.6) 82%, transparent); }

.features-head { max-width: 760px; margin-bottom: 70px; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; }
.feature-row > * { min-width: 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-visual { order: 1; }

.feature-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-dim);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.022em;
  line-height: 1.14;
  font-weight: 640;
}
.feature-copy p { margin: 0 0 18px; color: var(--muted); text-wrap: pretty; }
.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.feature-points li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
}
.feature-points li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--accent);
}
.feature-points li b { color: var(--text); font-weight: 600; }

/* --- vignette window shared --- */

.vignette {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(16, 185, 129, 0.07);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.vignette:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 70px rgba(16, 185, 129, 0.13);
}
.vignette-body { padding: 18px; }

/* --- chat vignette --- */

.chat-thread { display: grid; gap: 12px; font-size: 13.5px; }
.chat-msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 12px;
  line-height: 1.5;
}
.chat-msg.user {
  justify-self: end;
  background: rgba(52, 211, 153, 0.13);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: #d8f5e8;
  border-bottom-right-radius: 4px;
}
.chat-msg.gpt {
  justify-self: start;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  color: #cfe0d7;
  border-bottom-left-radius: 4px;
}
.chat-msg .mono { font-size: 12px; color: var(--accent-2); }
.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--faint);
  font-size: 13px;
}
.chat-input .caret {
  width: 7px; height: 15px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.chat-input .send {
  margin-left: auto;
  color: var(--accent);
  font-size: 15px;
}

/* --- workspace vignette --- */

.ws-grid { display: grid; grid-template-columns: 132px 1fr; gap: 0; min-height: 240px; }
.ws-side {
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  display: grid;
  gap: 2px;
  align-content: start;
}
.ws-side .ws-head {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 9.5px;
  padding: 4px 6px 8px;
}
.ws-side span {
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-side span.on { background: rgba(52, 211, 153, 0.12); color: var(--accent-2); }
.ws-main { padding: 14px 16px; font-size: 12.5px; }
.ws-file-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.ws-file-head .tab {
  padding: 4px 10px;
  border-radius: 6px 6px 0 0;
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-2);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.ws-file-head .tab.ghost { background: transparent; color: var(--faint); border-color: transparent; }
.ws-browser {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.ws-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}
.ws-browser-bar .url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-browser-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.skel { border-radius: 5px; background: rgba(126, 220, 183, 0.09); height: 9px; }
.skel.w60 { width: 60%; } .skel.w80 { width: 80%; } .skel.w40 { width: 40%; }
.ws-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #b7cdc2;
  white-space: pre;
  overflow-x: auto;
}
.ws-code .k { color: var(--accent-2); }
.ws-code .s { color: var(--amber); }
.ws-code .c { color: var(--faint); }
.ws-code .f { color: var(--blue); }

/* --- terminal vignette (Codex) --- */

.terminal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  min-height: 300px;
  padding: 16px 18px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(16, 185, 129, 0.05), transparent 60%),
    #050b08;
}
.terminal .tline { white-space: pre-wrap; word-break: break-word; }
.terminal .prompt { color: var(--accent); }
.terminal .cmd { color: #e8f5ee; }
.terminal .out { color: #8fa89c; }
.terminal .ok { color: var(--accent-2); }
.terminal .warn { color: var(--amber); }
.terminal .dim { color: var(--faint); }
.terminal .tcursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--phosphor);
  vertical-align: -2px;
  box-shadow: 0 0 10px rgba(125, 255, 212, 0.7);
  animation: blink 1.05s steps(1) infinite;
}

/* ============================================================
   INSTALL — the love letter
   ============================================================ */

#install {
  background:
    radial-gradient(60% 42% at 50% 0%, rgba(16, 185, 129, 0.08), transparent 70%);
}
.install-head { text-align: center; max-width: 780px; margin: 0 auto 26px; }
.install-head .eyebrow { justify-content: center; }
.install-head .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--accent));
}
.install-note {
  text-align: center;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin: 0 auto 60px;
  max-width: 64ch;
}
.install-note a { color: var(--accent-2); border-bottom: 1px dotted var(--accent-dim); }

/* picker */
.picker {
  max-width: 920px;
  margin: 0 auto 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 15, 12, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.picker-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.picker-row:last-of-type { border-bottom: 0; }
.picker-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.seg button:hover { border-color: var(--line-strong); color: var(--text); }
.seg button[aria-pressed="true"] {
  background: rgba(52, 211, 153, 0.14);
  border-color: var(--accent-dim);
  color: var(--accent-2);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.15);
}
.seg button .distro-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* command output */
.install-cmd {
  border-top: 1px solid var(--line);
  background: #04090661;
  padding: 22px 24px;
}
.cmd-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: #030806;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
}
.cmd-line .prompt { color: var(--accent); flex: none; }
.cmd-line code {
  color: #dcf5ea;
  white-space: nowrap;
  flex: 1;
}
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(52, 211, 153, 0.08);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: all 0.2s ease;
}
.copy-btn:hover { background: rgba(52, 211, 153, 0.16); border-color: var(--accent-dim); }
.copy-btn.copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #04120c;
}
.cmd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
}
.cmd-meta b { color: var(--muted); font-weight: 500; }

/* matrix table */
.matrix-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 12, 10, 0.6);
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}
.matrix caption {
  text-align: left;
  padding: 16px 20px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.matrix th, .matrix td {
  text-align: left;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
.matrix thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.matrix tbody tr { transition: background 0.18s ease; }
.matrix tbody tr:hover { background: rgba(52, 211, 153, 0.05); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td { color: var(--muted); }
.matrix td.d-name { color: var(--text); font-weight: 600; }
.matrix td .mono { font-size: 12px; }
.matrix .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
  background: rgba(52, 211, 153, 0.07);
}
.matrix .m-copy {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.matrix .m-copy:hover { color: var(--accent-2); background: rgba(52, 211, 153, 0.1); }
.matrix .m-copy.copied { color: #04120c; background: var(--accent); }

.install-cta {
  text-align: center;
  margin-top: 44px;
  color: var(--muted);
  font-size: 15px;
}
.install-cta .btn { margin-top: 18px; }

/* ============================================================
   COMMUNITY / SOURCE
   ============================================================ */

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.quote {
  position: relative;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 560;
  margin: 0 0 26px;
  text-wrap: pretty;
}
.quote .hl {
  background: linear-gradient(100deg, #b8ffe4, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote::before {
  content: "“";
  position: absolute;
  left: -0.55em;
  top: -0.28em;
  font-size: 2.6em;
  color: rgba(52, 211, 153, 0.18);
  font-family: Georgia, serif;
}
.quote-attr {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 30px;
}
.quote-attr a { color: var(--accent-2); border-bottom: 1px dotted var(--accent-dim); }
.community-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.community-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(16, 185, 129, 0.1);
}
.community-card img { display: block; width: 100%; height: auto; }
.community-card .cc-body {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.community-card .cc-body a { color: var(--accent-2); }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */

.final-cta {
  text-align: center;
  padding: clamp(100px, 14vw, 170px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 60% at 50% 62%, rgba(16, 185, 129, 0.14), transparent 72%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  letter-spacing: -0.032em;
  line-height: 1.04;
  font-weight: 680;
  margin: 0 auto 22px;
  max-width: 18ch;
  text-wrap: balance;
}
.final-cta p { color: var(--muted); margin: 0 auto 40px; max-width: 52ch; text-wrap: pretty; }
.final-cta .tux-big {
  font-size: clamp(40px, 6vw, 64px);
  display: block;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 30px rgba(52, 211, 153, 0.35));
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 44px;
  background: rgba(5, 9, 8, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-brand { color: var(--muted); font-size: 14px; max-width: 40ch; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12.5px;
  font-family: var(--font-mono);
}
.footer-legal a { color: var(--muted); border-bottom: 1px dotted rgba(126, 220, 183, 0.3); }
.footer-legal a:hover { color: var(--accent-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-visual { order: 2; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav.open .nav-links {
    display: grid;
    position: absolute;
    top: 68px;
    inset-inline: 0;
    background: rgba(4, 8, 7, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px;
    gap: 2px;
  }
  .site-nav.open .nav-links a { padding: 12px 14px; font-size: 16px; }
  .picker-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 18px; }
  .ws-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-side { display: none; }
  .hero { padding-top: 100px; }
  .hero-tux { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cmd-line { font-size: 12px; }
}

/* ultrawide breathing room */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}
