  :root {
    --bg: #0a0f14;
    --bg-soft: #101821;
    --surface: rgba(18, 27, 36, 0.9);
    --surface-strong: #16212c;
    --text: #eef5fb;
    --muted: #9aafc2;
    --line: rgba(131, 162, 190, 0.22);
    --accent: #57d6a4;
    --accent-soft: #7bb4ff;
    --shadow: rgba(0, 0, 0, 0.3);
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(87, 214, 164, 0.15), transparent 22%),
      radial-gradient(circle at right top, rgba(123, 180, 255, 0.15), transparent 24%),
      linear-gradient(160deg, var(--bg), var(--bg-soft));
  }

  a { color: inherit; }

  .shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 8px 4px;
  }

  .brand {
    font-size: 1.05rem;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .tagline {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
  }

  main {
    display: grid;
    gap: 20px;
  }

  .panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 50px var(--shadow);
    backdrop-filter: blur(8px);
  }

  .hero { padding: 40px 28px; }

  .eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
  }

  h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
  }

  .lead {
    width: min(62ch, 100%);
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
  }

  .lead :first-child,
  .section :first-child,
  .article-body :first-child {
    margin-top: 0;
  }

  .lead :last-child,
  .section :last-child,
  .article-body :last-child {
    margin-bottom: 0;
  }

  .lead p {
    margin: 0;
  }

  .lead .welcome-title {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: clamp(1.5rem, 4.6vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .card {
    display: block;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease;
  }

  .card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }

  .card h2, .card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
  }

  .card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
  }

  .card .href {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-soft);
    font-size: 0.92rem;
  }

  .stack {
    display: grid;
    gap: 12px;
  }

  .pill {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .section {
    padding: 28px;
  }

  .section h2 {
    margin: 0 0 14px;
    font-size: 1.4rem;
  }

  .article-body h2,
  .article-body h3 {
    color: var(--accent);
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .article-body h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
  }

  .article-body h3 {
    margin-top: 1.4rem;
    font-size: 1.15rem;
  }

  .section p,
  .section li,
  .article-body p,
  .article-body li {
    color: var(--muted);
    line-height: 1.7;
  }

  .section ul,
  .article-body ul {
    padding-left: 1.25rem;
  }

  .article-body code {
    padding: 0.1rem 0.35rem;
    border-radius: 0.35rem;
    background: rgba(8, 12, 17, 0.55);
    font-size: 0.95em;
  }

  .article-body pre {
    overflow-x: auto;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(8, 12, 17, 0.7);
  }

  .article-body pre code {
    padding: 0;
    background: transparent;
  }

  footer {
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
  }

  @media (max-width: 640px) {
    header {
      align-items: flex-start;
      flex-direction: column;
    }

    .hero, .section {
      padding: 26px 20px;
    }

    .shell {
      width: min(980px, calc(100% - 20px));
    }
  }
