:root {
    --blue: #2478c8;
    --dark-blue: #1a5ea0;
    --mid-blue: #4fa3d8;
    --yellow: #f7c948;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Nunito', sans-serif; background: #f0f8fd; color: #1a2e45; }

  /* ── header placeholder (same as site) ── */
  .page-hero {
    background: linear-gradient(135deg, #1a5ea0 0%, #2478c8 60%, #4fa3d8 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(247,201,72,.18) 0%, transparent 60%);
    pointer-events: none;
  }
  .page-hero-badge {
    display: inline-block;
    background: rgba(247,201,72,.2);
    border: 1.5px solid rgba(247,201,72,.5);
    color: #f7c948;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
  }
  .page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .page-hero p {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
  }
  .hero-wave { line-height: 0; background: #f0f8fd; }
  .hero-wave svg { display: block; width: 100%; }

  /* ── doc layout ── */
  .doc-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
  }
  .doc-nav {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 36px;
    box-shadow: 0 2px 16px rgba(36,120,200,.09);
    border-left: 4px solid var(--blue);
  }
  .doc-nav-title {
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
  }
  .doc-nav ol {
    padding-left: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4px 24px;
  }
  .doc-nav ol li { font-size: .85rem; line-height: 1.6; }
  .doc-nav ol li a { color: #1a5ea0; text-decoration: none; font-weight: 600; }
  .doc-nav ol li a:hover { text-decoration: underline; }

  .doc-section {
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 20px;
    box-shadow: 0 2px 16px rgba(36,120,200,.07);
    scroll-margin-top: 80px;
  }
  .doc-section h2 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--dark-blue);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f0fb;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .doc-section h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
    flex-shrink: 0;
  }
  .doc-section p { font-size: .92rem; line-height: 1.75; color: #2a3d52; margin-bottom: 12px; }
  .doc-section p:last-child { margin-bottom: 0; }
  .doc-section ul, .doc-section ol {
    padding-left: 20px;
    margin-bottom: 12px;
  }
  .doc-section li { font-size: .92rem; line-height: 1.75; color: #2a3d52; margin-bottom: 4px; }
  .doc-section strong { color: #1a2e45; }

  .info-box {
    background: #f0f7ff;
    border: 1.5px solid #c8dff5;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: .88rem;
    color: #1a4a7a;
    line-height: 1.65;
  }
  .info-box strong { color: var(--dark-blue); }

  .warn-box {
    background: #fffbec;
    border: 1.5px solid #f7c948;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: .88rem;
    color: #5a4200;
    line-height: 1.65;
  }

  /* ── footer ── */
  .doc-footer {
    background: #0d2035;
    padding: 28px 24px;
    text-align: center;
  }
  .doc-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 14px; }
  .doc-footer-links a { color: rgba(255,255,255,.6); font-size: .83rem; font-weight: 600; text-decoration: none; }
  .doc-footer-links a:hover { color: #f7c948; }
  .doc-footer p { font-size: .78rem; color: rgba(255,255,255,.35); }

  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--blue);
    color: #fff;
    border-radius: 30px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 28px;
    transition: background .2s;
  }
  .back-btn:hover { background: var(--dark-blue); }

  .updated-badge {
    display: inline-block;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
  }

  @media (max-width: 640px) {
    .doc-section { padding: 22px 18px; }
    .doc-nav ol { grid-template-columns: 1fr; }
  }