/* ============================================================
   deephalder.com — dark eval-lab aesthetic
   ============================================================ */

:root {
  --bg: #07090c;
  --bg-soft: #0c1014;
  --bg-card: #0e1318;
  --line: #1c252e;
  --text: #dce6ee;
  --text-dim: #8295a7;
  --accent: #00ffc8;
  --accent-dim: rgba(0, 255, 200, 0.12);
  --warn: #ffc857;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* subtle grid backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.hl {
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0 0.3em;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #04140f; }

/* ============ BOOT LOADER ============ */
.boot {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot__terminal {
  width: min(560px, 90vw);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 255, 200, 0.07);
}
.boot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.boot__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.boot__dot:nth-child(1) { background: #ff5f57; }
.boot__dot:nth-child(2) { background: #febc2e; }
.boot__dot:nth-child(3) { background: #28c840; }
.boot__title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.boot__body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  padding: 18px 20px;
  min-height: 215px;
  color: var(--text-dim);
  white-space: pre-wrap;
}
.boot__body .ok { color: var(--accent); }
.boot__body .warn { color: var(--warn); }
.boot__body .cmd { color: var(--text); }
.boot__skip {
  position: absolute;
  bottom: 28px;
  right: 32px;
  background: none;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.boot__skip:hover { color: var(--accent); border-color: var(--accent); }

/* ============ CURSOR ============ */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(0, 255, 200, 0.55);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor.grow {
  width: 56px; height: 56px;
  background: rgba(0, 255, 200, 0.08);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
}
@media (hover: none), (max-width: 760px) {
  .cursor, .cursor-dot { display: none; }
}

/* ============ PROGRESS ============ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 500;
  box-shadow: 0 0 12px var(--accent);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  z-index: 400;
  background: linear-gradient(rgba(7, 9, 12, 0.92), rgba(7, 9, 12, 0.75) 70%, transparent);
  backdrop-filter: blur(8px);
}
.nav__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__prompt { color: var(--text-dim); }
.nav__links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}
.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__idx { color: var(--accent); opacity: 0.7; margin-right: 4px; font-size: 11px; }
.nav__cta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(0, 255, 200, 0.4);
  padding: 7px 16px;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { background: var(--accent-dim); box-shadow: 0 0 18px rgba(0, 255, 200, 0.25); }
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 7vw, 110px);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }
.hero__pre {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.blink { animation: blink 1.1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

.hero__name {
  font-size: clamp(52px, 11vw, 128px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 22px;
}

/* glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}
.glitch:hover::before {
  opacity: 0.8;
  color: var(--accent);
  animation: glitchShift 0.35s steps(2) infinite;
  clip-path: inset(20% 0 40% 0);
}
.glitch:hover::after {
  opacity: 0.8;
  color: #ff4d88;
  animation: glitchShift 0.35s steps(2) infinite reverse;
  clip-path: inset(60% 0 10% 0);
}
@keyframes glitchShift {
  0% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  100% { transform: translate(-2px, 1px); }
}

.hero__role {
  font-size: clamp(16px, 2.4vw, 24px);
  margin-bottom: 26px;
  color: var(--text-dim);
}
.caret { color: var(--accent); animation: blink 0.9s steps(1) infinite; }

.hero__tag {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero__tag em { color: var(--text); font-style: normal; border-bottom: 2px solid var(--accent); }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--solid {
  background: var(--accent);
  color: #04140f;
  font-weight: 700;
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 200, 0.35);
}
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--big { font-size: 17px; padding: 17px 38px; }

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: clamp(20px, 7vw, 110px);
  z-index: 2;
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--text-dim);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg-soft);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-dim);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 12vw, 150px) clamp(20px, 7vw, 110px);
  max-width: 1180px;
  margin: 0 auto;
}
.section__title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 6vw, 70px);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.section__idx {
  color: var(--accent);
  font-size: 0.55em;
  font-weight: 400;
}
.section__sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about__text p { margin-bottom: 20px; font-size: 17px; color: var(--text-dim); }
.about__text p:first-child { font-size: 21px; color: var(--text); }
.about__text strong { color: var(--text); }
.about__loc { font-size: 13px; }

.tcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.tcard__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.tcard__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tcard__dot:nth-child(1) { background: #ff5f57; }
.tcard__dot:nth-child(2) { background: #febc2e; }
.tcard__dot:nth-child(3) { background: #28c840; }
.tcard__title { margin-left: 8px; font-size: 12px; color: var(--text-dim); }
.tcard__code {
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  overflow-x: auto;
}
.c-key { color: #7dd3fc; }
.c-str { color: var(--accent); }
.c-bool { color: #ff4d88; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}
.stat__num { display: block; font-size: 30px; font-weight: 700; }
.stat__label { font-size: 10.5px; color: var(--text-dim); line-height: 1.5; }

/* ============ EVALS ============ */
.evals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .evals { grid-template-columns: 1fr; } }
.eval {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.eval:hover {
  border-color: rgba(0, 255, 200, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}
.eval__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.eval__name { font-size: 14px; color: var(--text); }
.eval__badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 99px;
}
.eval__badge.pass { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0, 255, 200, 0.35); }
.eval__badge.train { color: var(--warn); background: rgba(255, 200, 87, 0.1); border: 1px solid rgba(255, 200, 87, 0.35); }
.eval__desc { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; min-height: 64px; }
.eval__bar {
  height: 7px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 9px;
}
.eval__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 255, 200, 0.5), var(--accent));
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 14px rgba(0, 255, 200, 0.5);
}
.eval__fill--train {
  background: linear-gradient(90deg, rgba(255, 200, 87, 0.5), var(--warn));
  box-shadow: 0 0 14px rgba(255, 200, 87, 0.45);
}
.eval--red { grid-column: 1 / -1; }
.eval--red .eval__desc { min-height: 0; max-width: 720px; }
.eval--red:hover { border-color: rgba(255, 77, 136, 0.5); }
.eval__badge.red {
  color: #ff4d88;
  background: rgba(255, 77, 136, 0.1);
  border: 1px solid rgba(255, 77, 136, 0.4);
  animation: redPulse 2.2s ease-in-out infinite;
}
@keyframes redPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 77, 136, 0); }
  50% { box-shadow: 0 0 16px rgba(255, 77, 136, 0.5); }
}
.eval__fill--red {
  background: linear-gradient(90deg, rgba(255, 77, 136, 0.5), #ff4d88);
  box-shadow: 0 0 14px rgba(255, 77, 136, 0.5);
}
.eval__score { font-size: 12px; color: var(--text-dim); }

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--accent), var(--line));
}
.tl {
  position: relative;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.tl__node {
  position: absolute;
  left: -30px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
}
.tl__when {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl__role { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; }
.tl__org { font-size: 14px; margin: 4px 0 14px; }
.tl__desc { color: var(--text-dim); max-width: 640px; font-size: 15.5px; }
.tl__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tl__tags li {
  font-size: 11.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 200, 0.25);
  padding: 4px 12px;
  border-radius: 99px;
}

/* ============ WHY HIRE ME (PR card) ============ */
.pr {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.pr__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.pr__branch {
  font-size: 12px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}
.pr__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}
.pr__num { color: var(--text-dim); font-weight: 400; font-size: 0.7em; }
.pr__status {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #04140f;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 99px;
  box-shadow: 0 0 24px rgba(0, 255, 200, 0.4);
}
.pr__checks {
  list-style: none;
  padding: 10px 30px;
}
.pr__checks li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
  color: var(--text-dim);
}
.pr__checks li:last-child { border-bottom: none; }
.pr__checks .ok { color: var(--accent); font-size: 17px; }
.pr__checks strong { color: var(--text); display: block; margin-bottom: 3px; }
.pr__merge {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 255, 200, 0.03);
}
.pr__hint { font-size: 12px; color: var(--text-dim); }

.think { margin-top: clamp(40px, 6vw, 64px); }
.think__head { font-size: 13px; color: var(--text-dim); margin-bottom: 26px; }
.think__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .think__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .think__grid { grid-template-columns: 1fr; } }
.think__step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.think__step:hover { border-color: rgba(0, 255, 200, 0.45); transform: translateY(-4px); }
.think__num {
  font-size: 30px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 200, 0.5);
  display: block;
  margin-bottom: 10px;
}
.think__step h4 { font-size: 16px; margin-bottom: 8px; color: var(--accent); font-family: var(--font-mono); }
.think__step p { font-size: 13.5px; color: var(--text-dim); }

/* ============ OFF THE CLOCK ============ */
.scene {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(14px, 3vw, 30px);
  margin-bottom: 18px;
  overflow: hidden;
}
.scene svg { width: 100%; height: auto; display: block; }
.sc-line {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(0, 255, 200, 0.35));
}
.sc-fill { fill: var(--accent); }
.sc-star { fill: var(--accent); animation: starTwinkle 2.6s ease-in-out infinite; }
.sc-star--slow { animation-duration: 4s; }
@keyframes starTwinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.sc-code { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; opacity: 0.9; }
.sc-cursor { fill: var(--accent); animation: blink 1.1s steps(1) infinite; }
.sc-steam {
  stroke: var(--text-dim);
  stroke-width: 1.4;
  stroke-linecap: round;
  animation: steamRise 2.4s ease-in-out infinite;
}
@keyframes steamRise {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-3px); }
}
.sc-caption {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 1px;
}

.off {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .off { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .off { grid-template-columns: 1fr; } }
.off__card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
}
.off__card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: rgba(0, 255, 200, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.off__emoji { font-size: 34px; display: block; margin-bottom: 14px; }
.off__card h3 { font-size: 17px; margin-bottom: 8px; }
.off__card p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
.off__link { font-size: 11.5px; color: var(--accent); }

/* ============ CONTACT ============ */
.section--contact { text-align: center; }
.contact__big {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
}
.contact__sub { color: var(--text-dim); margin-bottom: 38px; font-size: 17px; }
.contact__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact__links {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
}
.contact__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.contact__links a:hover { color: var(--accent); }

/* ============ INTERACTIVE TERMINAL ============ */
.term { margin-top: 56px; text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; }
.term__hint { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; text-align: center; }
.term__box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  cursor: text;
}
.term__box:focus-within { border-color: rgba(0, 255, 200, 0.45); box-shadow: 0 0 30px rgba(0, 255, 200, 0.12); }
.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.term__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.term__dot:nth-child(1) { background: #ff5f57; }
.term__dot:nth-child(2) { background: #febc2e; }
.term__dot:nth-child(3) { background: #28c840; }
.term__title { margin-left: 8px; font-size: 12px; color: var(--text-dim); }
.term__out {
  padding: 14px 18px 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
  max-height: 280px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.term__out:empty { padding: 0; }
.term__out .ok { color: var(--accent); }
.term__out .warn { color: var(--warn); }
.term__out .err { color: #ff4d88; }
.term__out .cmd { color: var(--text); }
.term__line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 16px;
}
.term__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  caret-color: var(--accent);
}
.term__input::placeholder { color: var(--text-dim); opacity: 0.5; }

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px clamp(20px, 7vw, 110px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-dim);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
