  :root {
    --yellow: #F7D628;
    --yellow-dim: #c9ac1a;
    --white: #FFFFFF;
    --off-white: #E8E8E0;
    --dark: #0A0A0A;
    --dark-2: #111111;
    --dark-3: #1A1A1A;
    --dark-4: #242424;
    --mid: #444444;
    --light-mid: #888888;
    --text-body: #CCCCCC;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--white);
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(247,214,40,0.15);
  }

  .nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: var(--white);
    text-decoration: none;
  }

  .nav-logo span { color: var(--yellow); }

  .nav-back {
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-mid);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
  }

  .nav-back:hover { color: var(--yellow); }

  /* ── PAGE HEADER ── */
  .page-header {
    padding-top: 64px;
    background: var(--dark-2);
    border-bottom: 1px solid var(--dark-4);
  }

  .page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  }

  .page-header-kicker {
    font-family: 'Varela Round', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .page-header-kicker::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--yellow);
    flex-shrink: 0;
  }

  .page-header h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
  }

  .page-header h1 em {
    color: var(--yellow);
    font-style: normal;
  }

  .page-header-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-4);
  }

  .meta-item {
    font-size: 0.78rem;
    color: var(--light-mid);
    letter-spacing: 0.05em;
  }

  .meta-item strong {
    color: var(--off-white);
    font-weight: 600;
  }

  /* ── TOC ── */
  .toc-bar {
    background: var(--dark-3);
    border-bottom: 1px solid var(--dark-4);
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .toc-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 0;
  }

  .toc-link {
    font-family: 'Varela Round', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-mid);
    text-decoration: none;
    padding: 0.85rem 1.1rem;
    border-right: 1px solid var(--dark-4);
    display: inline-block;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
  }

  .toc-link:first-child { border-left: 1px solid var(--dark-4); }
  .toc-link:hover { color: var(--yellow); background: var(--dark-4); }

  /* ── CONTENT LAYOUT ── */
  .content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 5rem;
    align-items: start;
  }

  /* ── SIDEBAR ── */
  .sidebar {
    position: sticky;
    top: 88px;
  }

  .sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-4);
  }

  .sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .sidebar-label {
    font-family: 'Varela Round', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 0.75rem;
  }

  .sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sidebar-nav a {
    display: block;
    font-size: 0.82rem;
    color: var(--light-mid);
    text-decoration: none;
    padding: 0.4rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
  }

  .sidebar-nav a:hover {
    color: var(--yellow);
    border-left-color: var(--yellow);
  }

  .sidebar-note {
    font-size: 0.8rem;
    color: var(--light-mid);
    line-height: 1.6;
  }

  .sidebar-note a {
    color: var(--yellow);
    text-decoration: none;
  }

  .sidebar-badge {
    display: inline-block;
    background: rgba(247,214,40,0.08);
    border: 1px solid rgba(247,214,40,0.2);
    color: var(--yellow);
    font-family: 'Varela Round', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    margin-top: 0.75rem;
  }

  /* ── ARTICLE ── */
  .article {
    min-width: 0;
  }

  /* Each clause block */
  .clause {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--dark-4);
  }

  .clause:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .clause-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .clause-num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--dark-4);
    line-height: 1;
    flex-shrink: 0;
    min-width: 3rem;
  }

  .clause-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--white);
    line-height: 1;
  }

  .clause-body {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-body);
  }

  .clause-body p {
    margin-bottom: 1rem;
  }

  .clause-body p:last-child {
    margin-bottom: 0;
  }

  .clause-body a {
    color: var(--yellow);
    text-decoration: none;
    border-bottom: 1px solid rgba(247,214,40,0.3);
    transition: border-color 0.2s;
  }

  .clause-body a:hover {
    border-bottom-color: var(--yellow);
  }

  .clause-body strong {
    color: var(--off-white);
    font-weight: 600;
  }

  /* Sub-list inside a clause */
  .clause-list {
    list-style: none;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--dark-4);
  }

  .clause-list li {
    padding: 0.85rem 1.25rem 0.85rem 3rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-body);
    border-bottom: 1px solid var(--dark-4);
    position: relative;
  }

  .clause-list li:last-child { border-bottom: none; }

  .clause-list li::before {
    content: attr(data-i);
    font-family: 'Bebas Neue', cursive;
    font-size: 0.85rem;
    color: var(--mid);
    letter-spacing: 0.05em;
    position: absolute;
    left: 1.25rem;
    top: 0.95rem;
  }

  /* Definition table */
  .def-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
  }

  .def-table tr {
    border-bottom: 1px solid var(--dark-4);
  }

  .def-table tr:first-child {
    border-top: 1px solid var(--dark-4);
  }

  .def-table td {
    padding: 0.85rem 1rem;
    vertical-align: top;
    line-height: 1.65;
    color: var(--text-body);
  }

  .def-table td:first-child {
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
    width: 180px;
    border-right: 1px solid var(--dark-4);
  }

  /* Callout/highlight box */
  .callout {
    background: rgba(247,214,40,0.05);
    border-left: 3px solid var(--yellow);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--light-mid);
  }

  .callout strong {
    color: var(--yellow);
  }

  /* ── CONSENT SECTION (styled specially) ── */
  .consent-section {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    padding: 2rem;
    margin-top: 1.25rem;
  }

  .consent-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--dark-4);
  }

  .consent-block:first-child { padding-top: 0; }
  .consent-block:last-child { border-bottom: none; padding-bottom: 0; }

  .consent-label {
    font-family: 'Varela Round', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 0.75rem;
  }

  .consent-text {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text-body);
  }

  .consent-text a {
    color: var(--yellow);
    text-decoration: none;
    border-bottom: 1px solid rgba(247,214,40,0.3);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-4);
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    text-align: center;
  }

  .footer-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.75rem;
  }

  .footer-logo span { color: var(--yellow); }

  .footer-text {
    font-size: 0.8rem;
    color: var(--mid);
    line-height: 1.6;
  }

  .footer-text a { color: var(--yellow); text-decoration: none; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .content-wrap {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .sidebar {
      position: static;
      display: none;
    }

    .toc-bar {
      display: block;
    }
  }

  @media (max-width: 640px) {
    .def-table td:first-child { width: 120px; }
    .page-header-meta { gap: 1rem; }
  }