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

    body {
      min-height: 100vh;
      background: #0f0f0f;
      color: #f0f0f0;
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
    }

    .dots {
      position: fixed; inset: 0; pointer-events: none;
      background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
      background-size: 32px 32px; opacity: 0.5; z-index: -1;
    }

    nav {
      display: flex; align-items: center; gap: 10px;
      padding: 18px 32px; border-bottom: 1px solid #1a1a1a; font-size: 0.82rem;
    }
    nav a { color: #555; text-decoration: none; transition: color 0.2s; }
    nav a:hover { color: #f0f0f0; }
    nav .sep { color: #333; }
    nav .current { color: #e0e0e0; }
    nav .spacer { flex: 1; }

    main { max-width: 920px; margin: 0 auto; padding: 40px 32px 80px; }

    .page-header { margin-bottom: 40px; }
    .page-eyebrow {
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
      color: #f59e0b; margin-bottom: 8px;
    }
    .page-title {
      font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
      letter-spacing: -0.02em; color: #fff; margin-bottom: 14px;
    }
    .page-subtitle { font-size: 0.95rem; color: #aaa; line-height: 1.7; }

    .section { margin-bottom: 48px; }
    .section-title {
      font-size: 1.3rem; font-weight: 700; color: #e0e0e0;
      margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #1a1a1a;
    }
    .section-content { color: #c0c0c0; line-height: 1.8; }
    .section-content p { margin-bottom: 14px; }
    .section-content ul {
      margin: 12px 0 14px 24px;
    }
    .section-content li { margin-bottom: 10px; }
    .section-content strong { color: #e0e0e0; }
    .section-content code {
      background: rgba(255,255,255,0.05); border: 1px solid #2a2a2a;
      border-radius: 4px; padding: 2px 6px; font-family: 'Monaco', 'Courier New', monospace;
      font-size: 0.9rem; color: #a3e635;
    }

    .step-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px; margin: 20px 0;
    }
    .step-card {
      background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 10px;
      padding: 20px; transition: border-color 0.2s, background 0.2s;
    }
    .step-card:hover { border-color: #333; background: #111; }
    .step-num {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; background: rgba(245,158,11,0.1);
      color: #f59e0b; font-weight: 700; border-radius: 6px; margin-bottom: 12px;
    }
    .step-title { font-size: 1.05rem; font-weight: 600; color: #e0e0e0; margin-bottom: 8px; }
    .step-desc { font-size: 0.9rem; color: #888; }

    .model-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px; margin: 16px 0;
    }
    .model-card {
      background: #111; border: 1px solid #1a1a1a; border-radius: 8px;
      padding: 14px; font-size: 0.9rem;
    }
    .model-name { font-weight: 600; color: #e0e0e0; margin-bottom: 4px; }
    .model-provider { font-size: 0.75rem; text-transform: uppercase; color: #555; letter-spacing: 0.08em; }
    .model-tier { font-size: 0.8rem; color: #888; margin-top: 6px; }

    .feature-list {
      display: flex; flex-direction: column; gap: 12px; margin: 16px 0;
    }
    .feature-item {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 12px 14px; background: rgba(245,158,11,0.03); border-left: 2px solid rgba(245,158,11,0.3);
      border-radius: 4px;
    }
    .feature-icon { flex-shrink: 0; color: #f59e0b; font-size: 1.2rem; }
    .feature-text { font-size: 0.9rem; color: #aaa; }

    .code-block {
      background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 6px;
      padding: 14px; margin: 12px 0; overflow-x: auto;
      font-family: 'Monaco', 'Courier New', monospace; font-size: 0.85rem;
      color: #9ca3af; line-height: 1.5;
    }
    .code-label {
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
      color: #555; margin-bottom: 8px; display: block;
    }

    .limit-note {
      background: rgba(244,63,94,0.08); border: 1px solid rgba(244,63,94,0.2);
      border-radius: 6px; padding: 14px; margin: 16px 0; font-size: 0.9rem; color: #fca5ac;
    }

    .link-back {
      display: inline-flex; align-items: center; gap: 6px;
      color: #f59e0b; text-decoration: none; font-size: 0.9rem;
      padding: 8px 12px; border: 1px solid rgba(245,158,11,0.3); border-radius: 4px;
      transition: all 0.2s;
    }
    .link-back:hover { border-color: #f59e0b; background: rgba(245,158,11,0.05); }

    @media (max-width: 768px) {
      main { padding: 24px 18px 60px; }
      .step-grid { grid-template-columns: 1fr; }
      .model-grid { grid-template-columns: 1fr; }
    }

/* Phase 4 – extracted inline styles */
._p4-0ecc17 {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1a1a1a;
}

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