
  :root {
    --ink: #0a0a0f;
    --ink-2: #13131c;
    --surface: #16161f;
    --border: rgba(255,255,255,0.07);
    --amber: #f59e0b;
    --amber-dim: rgba(245,158,11,0.1);
    --teal: #14b8a6;
    --teal-dim: rgba(20,184,166,0.1);
    --red: #ef4444;
    --red-dim: rgba(239,68,68,0.1);
    --text: #e8e8f0;
    --muted: #8888a0;
    --white: #ffffff;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--ink); color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 4rem;
    background: rgba(10,10,15,0.9); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white); text-decoration: none; }
  .nav-logo span { color: var(--amber); }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
  .nav-links a:hover { color: var(--white); }
  .nav-cta { background: var(--amber); color: var(--ink); padding: 0.6rem 1.4rem; border-radius: 6px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; text-decoration: none; }

  /* PAGE HERO */
  .page-hero {
    padding: 10rem 4rem 5rem;
    border-bottom: 1px solid var(--border);
    background: var(--ink-2);
    position: relative; overflow: hidden;
  }
  .hero-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--teal));
  }
  .page-hero-inner { max-width: 900px; margin: 0 auto; }
  .page-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; }
  .page-hero h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--white); }
  .page-hero p { margin-top: 1rem; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 60ch; }
  .effective { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.8rem; color: var(--muted); margin-top: 1.5rem; }
  .effective strong { color: var(--text); }

  /* TOC */
  .toc-bar {
    background: var(--ink-2); border-bottom: 1px solid var(--border);
    padding: 1.2rem 4rem;
    position: sticky; top: 73px; z-index: 90;
    backdrop-filter: blur(12px);
  }
  .toc-inner { max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .toc-link {
    color: var(--muted); text-decoration: none; font-size: 0.8rem;
    padding: 0.3rem 0.75rem; border-radius: 999px;
    border: 1px solid var(--border);
    transition: all 0.2s; white-space: nowrap;
  }
  .toc-link:hover { color: var(--amber); border-color: rgba(245,158,11,0.3); }

  /* CONTENT */
  .content-wrap { max-width: 900px; margin: 0 auto; padding: 5rem 4rem 6rem; }

  .tos-section { margin-bottom: 4rem; }
  .tos-section-header {
    display: flex; gap: 1.5rem; align-items: flex-start;
    padding-bottom: 1.5rem; margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }
  .tos-icon {
    width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  }
  .tos-icon.amber { background: var(--amber-dim); }
  .tos-icon.teal { background: var(--teal-dim); }
  .tos-icon.red { background: var(--red-dim); }
  .tos-icon.gray { background: var(--surface); }
  .tos-section-header div h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 0.3rem; }
  .tos-section-header div p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

  .tos-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.85; margin-bottom: 1.2rem; }
  .tos-body p:last-child { margin-bottom: 0; }
  .tos-body strong { color: var(--text); font-weight: 500; }

  .rule-card {
    background: var(--ink-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.5rem 1.8rem; margin-bottom: 1rem;
    display: flex; gap: 1rem; align-items: flex-start;
  }
  .rule-icon { flex-shrink: 0; margin-top: 0.1rem; font-size: 1.1rem; }
  .rule-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--white); margin-bottom: 0.3rem; }
  .rule-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

  .allowed-card { border-left: 3px solid var(--teal); }
  .prohibited-card { border-left: 3px solid var(--red); }
  .neutral-card { border-left: 3px solid var(--amber); }

  .highlight-box {
    background: var(--amber-dim); border: 1px solid rgba(245,158,11,0.2);
    border-radius: 10px; padding: 1.5rem 1.8rem; margin-top: 1.5rem;
  }
  .highlight-box.teal-box { background: var(--teal-dim); border-color: rgba(20,184,166,0.2); }
  .highlight-box h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--amber); margin-bottom: 0.5rem; }
  .highlight-box.teal-box h4 { color: var(--teal); }
  .highlight-box p { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }
  .highlight-box p strong { color: var(--text); }

  .divider { height: 1px; background: var(--border); margin: 4rem 0; }

  /* ACCEPTANCE */
  .acceptance {
    background: var(--ink-2); border: 1px solid var(--border);
    border-radius: 14px; padding: 3rem; text-align: center;
    margin-top: 4rem;
  }
  .acceptance h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
  .acceptance p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 55ch; margin: 0 auto; }
  .acceptance a { color: var(--amber); text-decoration: none; }

  footer { border-top: 1px solid var(--border); padding: 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); }
  .footer-logo span { color: var(--amber); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--white); }
  .footer-copy { font-size: 0.8rem; color: var(--muted); }

  @media (max-width: 900px) {
    nav, footer { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .page-hero { padding: 8rem 1.5rem 3rem; }
    .toc-bar { padding: 1rem 1.5rem; }
    .content-wrap { padding: 3rem 1.5rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }
