:root {
    --bg: #F7F5F0;
    --ink: #1A1A1A;
    --ink-soft: #6B6862;
    --sage: #5B6B4F;
    --terracotta: #D4654A;
    --line: #C9C4B8;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
  }
  
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Fraunces', serif;
    line-height: 1.5;
  }
  
  .page {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
  }
  
  /* ---------- Hero ---------- */
  
  .hero {
    margin-bottom: 4rem;
  }
  
  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
  }
  
  .hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 600;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 1.25rem;
  }
  
  .intro {
    max-width: 36em;
    font-size: 1.05rem;
    color: var(--ink-soft);
    font-weight: 300;
  }
  
  /* ---------- Index ---------- */
  
  .index {
    border-top: 1px solid var(--line);
  }
  
  .entry {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "dot name tag"
        ".   desc tag";
    column-gap: 1rem;
    row-gap: 0.35rem;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.18s ease, border-color 0.18s ease;
  }
  
  .entry:not(.entry--placeholder):hover {
    padding-left: 0.5rem;
    border-color: var(--ink);
  }
  
  .entry:not(.entry--placeholder):hover .entry__name {
    color: var(--terracotta);
  }
  
  .entry--placeholder {
    cursor: default;
    opacity: 0.55;
  }
  
  .dot {
    grid-area: dot;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-top: 0.5rem;
  }
  
  .dot--live {
    background: var(--sage);
    box-shadow: 0 0 0 0 rgba(91, 107, 79, 0.5);
    animation: pulse 2.4s ease-out infinite;
  }
  
  .dot--progress {
    background: var(--line);
  }
  
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(91, 107, 79, 0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(91, 107, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(91, 107, 79, 0); }
  }
  
  .entry__name {
    grid-area: name;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.18s ease;
  }
  
  .entry__desc {
    grid-area: desc;
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 300;
  }
  
  .entry__tag {
    grid-area: tag;
    align-self: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
  }
  
  /* ---------- Footer ---------- */
  
  .footer {
    margin-top: 3rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
  }
  
  /* ---------- Responsive ---------- */
  
  @media (max-width: 540px) {
    .page {
      padding: 3rem 1.25rem 3rem;
    }
  
    .entry {
      grid-template-columns: auto 1fr;
      grid-template-areas:
        "dot name"
        ".   desc"
        ".   tag";
    }
  
    .entry__tag {
      justify-self: start;
      margin-top: 0.25rem;
    }
  }
  
  /* ---------- Reduced motion ---------- */
  
  @media (prefers-reduced-motion: reduce) {
    .dot--live {
      animation: none;
    }
  
    .entry {
      transition: none;
    }
  }
  
  /* ---------- Focus ---------- */
  
  .entry:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 4px;
  }