:root {
    --bg: #FAF6EF;
    --surface: #FFFFFF;
    --ink: #2B2823;
    --ink-soft: #6B6459;
    --border: #E8E2D6;
    --accent: #D9714C;
    --accent-soft: #FBE9E1;
    --accent-kinda-soft: #eac0b1;
    --sage: #7BA88A;
    --sage-soft: #d5ebda;
    --radius-pill: 999px;
    --radius-card: 14px;
    --caution: #fc4a4a;
    --caution-soft: #e8d6d6;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }

  .wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 96px;
  }

  /* ---------- Header / hero ---------- */

  .terminal {
    font-family: "SF Mono", "Menlo", "Consolas", monospace;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 10px;
  }

  .terminal .prompt { color: var(--accent); }
  .terminal .cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--ink-soft);
    margin-left: 4px;
    vertical-align: -2px;
    animation: blink 1.1s steps(1) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  h1 {
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
  }

  .tagline {
    color: var(--ink-soft);
    font-size: 16px;
    margin: 0 0 28px;
    max-width: 480px;
  }

  /* ---------- Notice card ---------- */

  .notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--accent-soft);
    border: 1px solid #EFC4AE;
    border-radius: var(--radius-card);
    padding: 14px 18px;
    margin-bottom: 36px;
  }

  .notice p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #A8482A;
  }

  .notice a {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
  }

  .notice a:hover { text-decoration: underline; }

  .caution {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--accent-soft);
    border: 1px solid #fd8a8a;
    border-radius: var(--radius-card);
    padding: 14px 18px;
    margin-bottom: 36px;
  }

  .caution p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fc4a4a;
  }

  .caution a {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
  }

  .caution a:hover { text-decoration: underline; }

  .notice2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--accent-soft);
    border: 1px solid #875bec;
    border-radius: var(--radius-card);
    padding: 14px 18px;
    margin-bottom: 36px;
  }

  .notice2 p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #4006c6;
  }

  .notice2 a {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
  }

  .notice2 a:hover { text-decoration: underline; }

  /* ---------- Section ---------- */

  section { margin-bottom: 40px; }

  .eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 12px;
  }

  /* ---------- Project cards ---------- */

  .project {
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    margin-bottom: 12px;
  }

  .project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
  }

  .project-name {
    font-weight: 650;
    font-size: 15px;
  }

  .project-desc {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
  }

  /* ---------- Pills / badges ---------- */

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    white-space: nowrap;
  }

  .pill-verified {
    background: var(--sage-soft);
    color: #3F6B4F;
  }
  .pill-verified::before { content: "✓"; font-size: 11px; }

  .pill-live {
    background: var(--sage-soft);
    color: #3F6B4F;
  }

  .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .pill-plain {
    background: var(--border);
    color: var(--accent);
  }

  .pill-caution {
    background: var(--caution-soft);
    color: var(--caution);
  }

  .pill-title {
    background: var();
    color: var();
  }

  /* ---------- Segmented control ---------- */

  .segmented {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .segmented button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .segmented button:hover {
    border-color: #D8CFC0;
  }

  .segmented button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  .segmented button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  /* ---------- Footer ---------- */

  footer {
    border-top: 1px solid var(--accent-kinda-soft);
    margin-top: 56px;
    padding-top: 20px;
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  footer a { text-decoration: none; color: var(--ink-soft); }
  footer a:hover { color: var(--accent); }

  @media (prefers-reduced-motion: reduce) {
    .cursor, .dot { animation: none; }
  }