    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:   #0F1923;
      --navy2:  #1A2535;
      --teal:   #2BB3A3;
      --teal2:  #22E5D0;
      --slate:  #8FA3B1;
      --white:  #F4F8FA;
      --off:    #E2EDF0;
      --card:   rgba(26,37,53,.72);
      --border: rgba(43,179,163,.2);
      --radius: 16px;
      --radius-sm: 10px;
      --sans:    'Instrument Sans', sans-serif;
      --display: 'Bricolage Grotesque', sans-serif;
    }

    html { scroll-behavior: smooth; }
    body {
      background: var(--navy);
      color: var(--white);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content: ''; position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none; z-index: 0;
    }
    .glow-1 {
      position: fixed; width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(43,179,163,.08) 0%, transparent 70%);
      top: -150px; left: -150px; pointer-events: none; z-index: 0;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 6%;
      background: rgba(15,25,35,.88);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      transition: border-color .3s;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--display); font-weight: 800; font-size: 1.35rem;
      color: var(--white); text-decoration: none; flex-shrink: 0;
    }
    .nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
    .nav-links a {
      color: var(--slate); font-size: .88rem; font-weight: 500;
      text-decoration: none; transition: color .2s; white-space: nowrap;
    }
    .nav-links a:hover { color: var(--teal); }
    .nav-cta {
      background: var(--teal); color: var(--navy) !important;
      padding: 9px 20px; border-radius: 50px; font-weight: 700 !important;
      font-size: .85rem !important; transition: all .2s !important;
    }
    .nav-cta:hover { background: var(--teal2) !important; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(43,179,163,.4); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
    .mobile-menu {
      display: none; position: fixed; top: 68px; left: 0; right: 0;
      background: rgba(15,25,35,.98); backdrop-filter: blur(24px);
      padding: 28px 6%; border-bottom: 1px solid var(--border);
      flex-direction: column; gap: 20px; z-index: 99;
      box-shadow: 0 20px 60px rgba(0,0,0,.5);
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: var(--slate); text-decoration: none; font-size: 1rem;
      font-weight: 500; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .mobile-menu a:last-child { border-bottom: none; }

    /* ── LAYOUT ── */
    .page-wrap {
      position: relative; z-index: 1;
      padding-top: 88px; padding-bottom: 80px;
    }

    .breadcrumb {
      max-width: 1100px; margin: 0 auto; padding: 0 6% 1.8rem;
      display: flex; align-items: center; gap: 8px;
      font-size: .82rem; color: var(--slate);
    }
    .breadcrumb a { color: var(--slate); text-decoration: none; transition: color .2s; }
    .breadcrumb a:hover { color: var(--teal); }
    .breadcrumb span { color: rgba(143,163,177,.4); }
    .breadcrumb strong { color: var(--off); }

    /* Two-column doc layout */
    .doc-layout {
      max-width: 1180px; margin: 0 auto; padding: 0 6%;
      display: grid; grid-template-columns: 220px 1fr;
      gap: 40px; align-items: start;
    }

    /* ── STICKY SIDEBAR TOC ── */
    .toc {
    position: sticky;
    top: 88px;
    width: 340px;
    margin-left: -100px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(43, 179, 163, .2) transparent;
    min-width: 0;
    box-sizing: border-box;
    }
    .toc::-webkit-scrollbar { width: 3px; }
    .toc::-webkit-scrollbar-thumb { background: rgba(43,179,163,.25); border-radius: 2px; }
    .toc-title {
      font-family: var(--display); font-weight: 700; font-size: .75rem;
      color: var(--teal); text-transform: uppercase; letter-spacing: .08em;
      margin-bottom: 12px; padding-bottom: 10px;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .toc-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
    .toc-list a {
      display: block; padding: 6px 9px; border-radius: 6px;
      color: var(--slate); text-decoration: none; font-size: .79rem;
      transition: all .2s; line-height: 1.4;
    }
    .toc-list a:hover { background: rgba(255,255,255,.04); color: var(--off); }
    .toc-list a.active { background: rgba(43,179,163,.1); color: var(--teal); font-weight: 600; }
    .toc-divider { height: 1px; background: rgba(255,255,255,.05); margin: 8px 0; }
    .toc-meta {
      margin-top: 12px; padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,.06);
      font-size: .71rem; color: var(--slate); line-height: 1.55;
    }
    .toc-meta strong { color: var(--off); display: block; margin-bottom: 2px; }
    .toc-pdf {
      display: flex; align-items: center; gap: 6px; margin-top: 10px;
      background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
      border-radius: 8px; padding: 7px 10px; font-size: .72rem; color: var(--slate);
      text-decoration: none; transition: all .2s; cursor: pointer;
    }
    .toc-pdf:hover { border-color: rgba(43,179,163,.3); color: var(--teal); }

    /* ── DOCUMENT CONTENT ── */
    .doc-content { min-width: 0; }

    /* Page header */
    .doc-header { margin-bottom: 40px; }
    .doc-badge {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--teal); font-size: .78rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
    }
    .doc-badge::before { content:''; width:20px; height:2px; background:var(--teal); }
    h1 {
      font-family: var(--display); font-weight: 800;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1rem;
    }
    .accent {
      background: linear-gradient(120deg, var(--teal), var(--teal2));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .doc-meta-row {
      display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
      font-size: .82rem; color: var(--slate);
      padding: 14px 18px; background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-sm);
    }
    .doc-meta-item { display: flex; align-items: center; gap: 6px; }

    /* Summary box */
    .summary-box {
      background: rgba(43,179,163,.06); border: 1px solid rgba(43,179,163,.2);
      border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px;
    }
    .sb-title {
      font-family: var(--display); font-weight: 700; font-size: .9rem;
      color: var(--teal); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
    }
    .sb-list { display: flex; flex-direction: column; gap: 8px; }
    .sb-item {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .86rem; color: var(--slate); line-height: 1.5;
    }
    .sb-item::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

    /* Sections */
    .doc-section {
      margin-bottom: 48px; scroll-margin-top: 100px;
    }
    .doc-section h2 {
      font-family: var(--display); font-weight: 800;
      font-size: 1.25rem; letter-spacing: -.02em;
      color: var(--white); margin-bottom: 16px;
      padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07);
      display: flex; align-items: center; gap: 10px;
    }
    .doc-section h2 .sec-num {
      font-size: .78rem; font-weight: 700; color: var(--teal);
      background: rgba(43,179,163,.1); border: 1px solid rgba(43,179,163,.2);
      padding: 2px 8px; border-radius: 6px; flex-shrink: 0;
    }
    .doc-section h3 {
      font-family: var(--display); font-weight: 700; font-size: 1rem;
      color: var(--off); margin: 20px 0 10px;
    }
    .doc-section p {
      color: var(--slate); font-size: .9rem; line-height: 1.8;
      margin-bottom: 14px;
    }
    .doc-section p strong { color: var(--off); }
    .doc-section p a { color: var(--teal); text-decoration: none; }
    .doc-section p a:hover { text-decoration: underline; }
    .doc-section ul, .doc-section ol {
      padding-left: 0; list-style: none;
      display: flex; flex-direction: column; gap: 8px;
      margin-bottom: 16px;
    }
    .doc-section ul li, .doc-section ol li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .88rem; color: var(--slate); line-height: 1.65;
    }
    .doc-section ul li::before { content: '—'; color: rgba(43,179,163,.5); flex-shrink: 0; margin-top: 1px; }
    .doc-section ol { counter-reset: item; }
    .doc-section ol li { counter-increment: item; }
    .doc-section ol li::before {
      content: counter(item) "."; color: var(--teal);
      font-weight: 700; font-size: .8rem; flex-shrink: 0; min-width: 20px; margin-top: 3px;
    }
    .doc-section li strong { color: var(--off); }

    /* Info / warning boxes */
    .info-box {
      border-radius: var(--radius-sm); padding: 16px 18px;
      display: flex; gap: 12px; margin: 16px 0; font-size: .86rem; line-height: 1.65;
    }
    .info-box.info    { background: rgba(43,179,163,.07);  border: 1px solid rgba(43,179,163,.2); }
    .info-box.warning { background: rgba(245,166,35,.07);  border: 1px solid rgba(245,166,35,.2); }
    .info-box.tip     { background: rgba(96,165,250,.07);  border: 1px solid rgba(96,165,250,.2); }
    .info-box-icon    { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
    .info-box p       { margin: 0; color: var(--off); }

    /* Plans table */
    .plans-table { width: 100%; border-collapse: collapse; font-size: .84rem; margin: 16px 0 20px; }
    .plans-table th {
      background: rgba(26,37,53,.9); padding: 11px 16px; text-align: left;
      font-family: var(--display); font-weight: 700; font-size: .78rem;
      color: var(--slate); text-transform: uppercase; letter-spacing: .06em;
      border-bottom: 1px solid var(--border);
    }
    .plans-table td { padding: 11px 16px; color: var(--slate); border-bottom: 1px solid rgba(255,255,255,.04); }
    .plans-table tr:last-child td { border-bottom: none; }
    .plans-table tr:hover td { background: rgba(255,255,255,.02); }
    .plans-table td:first-child { color: var(--off); font-weight: 600; }

    /* Definition list */
    .def-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
    .def-item { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 8px; padding: 14px 16px; }
    .def-term { font-family: var(--display); font-weight: 700; font-size: .88rem; color: var(--teal); margin-bottom: 4px; }
    .def-desc { font-size: .84rem; color: var(--slate); line-height: 1.65; }

    /* Divider */
    .doc-divider { height: 1px; background: rgba(255,255,255,.06); margin: 48px 0; }

    /* CTA at bottom */
    .doc-cta {
      background: linear-gradient(135deg, rgba(43,179,163,.1) 0%, rgba(26,37,53,.8) 100%);
      border: 1px solid var(--border); border-radius: 20px;
      padding: 40px; text-align: center; margin-top: 48px;
    }
    .doc-cta h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: .6rem; }
    .doc-cta p { color: var(--slate); font-size: .9rem; margin-bottom: 1.4rem; }
    .doc-cta-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: linear-gradient(135deg, var(--teal), #1E9E90);
      color: var(--navy); font-weight: 700; font-size: .9rem;
      padding: 12px 26px; border-radius: 50px; text-decoration: none;
      transition: all .25s; box-shadow: 0 6px 20px rgba(43,179,163,.3);
    }
    .btn-primary:hover { box-shadow: 0 10px 30px rgba(43,179,163,.5); transform: translateY(-1px); }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--white);
      border: 1px solid rgba(255,255,255,.15); font-size: .9rem;
      padding: 12px 26px; border-radius: 50px; text-decoration: none;
      transition: all .25s;
    }
    .btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 60px 6% 36px;
      position: relative; z-index: 1;
    }
    .footer-inner { max-width: 1100px; margin: 0 auto; }
    .footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
    .footer-brand p { color: var(--slate); font-size: .85rem; margin-top: .8rem; line-height: 1.65; max-width: 260px; }
    .footer-col h4 { font-family: var(--display); font-weight: 700; font-size: .88rem; margin-bottom: 16px; color: var(--off); }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul a { color: var(--slate); text-decoration: none; font-size: .85rem; transition: color .2s; }
    .footer-col ul a:hover, .footer-col ul a.active { color: var(--teal); }
    .footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
    .footer-bottom p { color: rgba(143,163,177,.5); font-size: .8rem; }
    .footer-legal { display: flex; gap: 20px; }
    .footer-legal a { color: rgba(143,163,177,.4); text-decoration: none; font-size: .78rem; transition: color .2s; }
    .footer-legal a:hover { color: var(--teal); }
    .footer-legal a.active { color: var(--teal); }

    /* ── RESPONSIVE ── */
    @media (max-width: 1280px) {
      .doc-layout { grid-template-columns: 200px 1fr; gap: 28px; }
    }
    @media (max-width: 1024px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .doc-layout { grid-template-columns: 1fr; }
      .toc { display: none; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .footer-top { grid-template-columns: 1fr; }
      .doc-cta-links { flex-direction: column; align-items: center; }
      .plans-table { font-size: .76rem; }
      .plans-table th, .plans-table td { padding: 9px 10px; }
    }

    /* ── SCROLL PROGRESS ── */
    #progress-bar {
      position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
      background: linear-gradient(to right, var(--teal), var(--teal2));
      transition: width .1s;
    }
