/* ============================================================
   index.css — home page: pitch paragraphs + fastfetch terminal
   ============================================================ */

/* ===== Pitch paragraphs =====
   The first paragraph (right after the eyebrow) is the lede —
   bigger and brighter than the supporting paragraphs below it. */
.pitch .eyebrow + p {
  font-size: 1.15rem;
  color: var(--text);
}

/* Supporting paragraphs are muted grey so the lede draws the eye first */
.pitch p { color: var(--muted); }

/* The eyebrow paragraph itself stays green even inside .pitch */
.pitch p.eyebrow { color: var(--accent); }

/* <strong> highlights the placeholder/key phrase in the pitch —
   white text at a softer 600 weight (not the default heavy 700 bold) */
.pitch p strong { color: var(--text); font-weight: 600; }

/* ===== Terminal window =====
   The chrome around the fastfetch output: pure black inside,
   thin border, rounded corners, monospace at a small size. */
.terminal {
  background: #010409;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 2.25rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  line-height: 1.5;
  overflow: hidden;  /* clips children to the rounded corners */
}

/* Title bar at the top of the terminal — GNOME-style dark grey strip */
.term-bar {
  background: #2D2D2D;
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;  /* title left, window controls right */
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

/* The "anaximander@gentoo: ~" label — brighter than the window controls */
.term-bar .title { color: var(--text); }

/* The terminal body — content padding, horizontal scroll if it overflows */
.term-body { padding: 1rem 1.1rem; overflow-x: auto; }

/* <pre> defaults to generic monospace; force it to inherit JetBrains Mono */
.term-body pre { font-family: inherit; }

/* fastfetch layout: ASCII logo on the left, system info on the right.
   Two grid columns; logo is intrinsic width, info fills the rest. */
.neofetch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.75rem;
  align-items: start;  /* prevents the info column from stretching down */
  margin: 0.35rem 0;
}

/* Token colours for the fastfetch output — they mimic real terminal palettes */
.t-user { color: var(--accent); }  /* user@host — bold green */
.t-path { color: #79C0FF; }                           /* "~" path — blue */
.t-comment { color: var(--muted); }                   /* # comments — grey */
.t-logo { color: #B968FF; }                           /* Gentoo logo outline — purple */
.t-logo .fill { color: #E6EDF3; }                     /* Gentoo logo body — white */
.t-key { color: var(--accent); }                      /* field labels (OS, CPU…) */

/* ANSI color palette strip — 16 little squares in 2 rows of 8 */
.t-palette {
  display: grid;
  grid-template-columns: repeat(8, 1.6rem);
  grid-auto-rows: 0.9rem;
  margin-top: 0.6rem;
}
.t-palette span { display: block; }

/* Blinking █ cursor at the end of the last prompt line */
.cursor { color: var(--accent); animation: blink 1.1s steps(2) infinite; }
