:root {
      --bg: #070706;
      --bg-elevated: #11100e;
      --bg-soft: #17150f;
      --gold: #d4af37;
      --gold-bright: #f0d78c;
      --gold-dim: #8a6d1f;
      --text: #f4ecd4;
      --text-muted: #b7aa8a;
      --line: rgba(212,175,55,.22);
      --success: #c8b06a;
      --radius: 14px;
      --max: 740px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: Inter, system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.75;
      font-size: 17.5px;
    }

    #progress {
      position: fixed; top: 0; left: 0; height: 3px; width: 0;
      background: linear-gradient(90deg, #8a6d1f, var(--gold), var(--gold-bright));
      z-index: 2000;
    }

    header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(7,7,6,.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      max-width: 1180px;
      margin: 0 auto;
      padding: 10px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text);
    }

    .brand img.icon {
      width: 42px; height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid var(--gold-dim);
    }

    .brand img.logo {
      height: 46px;
      width: auto;
      display: block;
    }

    nav { display: flex; align-items: center; gap: 22px; }

    nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.86rem;
      font-weight: 500;
      letter-spacing: .3px;
    }

    nav a:hover { color: var(--gold-bright); }

    .hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }

    .hero-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
      filter: saturate(1.05) contrast(1.05);
    }

    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(7,7,6,.25) 0%, rgba(7,7,6,.55) 45%, rgba(7,7,6,.96) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1180px;
      margin: 0 auto;
      padding: 80px 24px 48px;
      width: 100%;
    }

    .badge {
      display: inline-block;
      border: 1px solid var(--gold);
      color: var(--gold-bright);
      font-size: .72rem;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      padding: 6px 12px;
      margin-bottom: 18px;
    }

    .hero h1 {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      line-height: 1.12;
      font-weight: 600;
      max-width: 860px;
      color: #fff8e4;
    }

    .hero-meta {
      margin-top: 16px;
      color: var(--text-muted);
      font-size: .92rem;
    }

    .hero-meta span { margin-right: 16px; }

    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 48px 24px 90px;
      display: grid;
      grid-template-columns: 250px 1fr;
      gap: 56px;
    }

    .toc {
      position: sticky;
      top: 86px;
      align-self: start;
      padding: 18px;
      background: var(--bg-elevated);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .toc h3 {
      font-size: .72rem;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 12px;
    }

    .toc a {
      display: block;
      color: var(--text-muted);
      text-decoration: none;
      font-size: .84rem;
      padding: 7px 0 7px 12px;
      border-left: 2px solid transparent;
    }

    .toc a:hover, .toc a.active {
      color: var(--gold-bright);
      border-left-color: var(--gold);
    }

    .content { max-width: var(--max); }

    .content h2 {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 2rem;
      font-weight: 600;
      margin: 54px 0 16px;
      color: var(--gold-bright);
      scroll-margin-top: 92px;
    }

    .content h3 {
      font-size: 1.15rem;
      margin: 30px 0 10px;
      color: #efe3bc;
      scroll-margin-top: 92px;
    }

    .content p { margin-bottom: 16px; color: #e7dcc0; }

    .content ul, .content ol { margin: 0 0 20px 22px; color: #e7dcc0; }
    .content li { margin-bottom: 8px; }

    .notice, .takeaways, .tip, .frame {
      border-radius: var(--radius);
      padding: 20px 22px;
      margin: 26px 0;
    }

    .notice {
      background: #1a1408;
      border: 1px solid var(--gold-dim);
    }

    .takeaways {
      background: #15120b;
      border-left: 3px solid var(--gold);
    }

    .tip {
      background: #1b160b;
      border-left: 3px solid #c49a2d;
    }

    .frame {
      background: var(--bg-soft);
      border: 1px solid var(--line);
    }

    .frame h4, .takeaways h4, .tip strong, .notice strong {
      color: var(--gold-bright);
      display: block;
      margin-bottom: 10px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 18px 0 26px;
      font-size: .92rem;
    }

    th, td {
      border-bottom: 1px solid var(--line);
      padding: 10px 8px;
      text-align: left;
    }

    th { color: var(--gold); font-weight: 600; }

    .author {
      display: flex; gap: 16px; align-items: center;
      background: var(--bg-elevated);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      margin: 46px 0 24px;
    }

    .author img {
      width: 58px; height: 58px; border-radius: 50%;
      object-fit: cover; border: 1px solid var(--gold-dim);
    }

    .author h4 { font-size: 1rem; color: var(--gold-bright); }
    .author p { margin: 0; font-size: .88rem; color: var(--text-muted); }

    .faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
    .faq-question {
      width: 100%; background: none; border: none; color: var(--text);
      font-size: 1.02rem; font-weight: 600; text-align: left;
      display: flex; justify-content: space-between; cursor: pointer;
    }
    .faq-answer { max-height: 0; overflow: hidden; color: var(--text-muted); font-size: .95rem; }
    .faq-answer.open { max-height: 320px; padding-top: 10px; }
    .faq-icon { color: var(--gold); }

    .related { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
    .related h3 {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.7rem; color: var(--gold-bright); margin-bottom: 18px;
    }
    .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .related-card {
      display: block; text-decoration: none; color: inherit;
      background: var(--bg-elevated); border: 1px solid var(--line);
      border-radius: var(--radius); padding: 18px;
    }
    .related-card:hover { border-color: var(--gold-dim); }
    .related-card h4 { color: var(--gold-bright); margin-bottom: 8px; }
    .related-card p { margin: 0; color: var(--text-muted); font-size: .9rem; }

    footer {
      border-top: 1px solid var(--line);
      background: #0b0a08;
      padding: 40px 24px;
      text-align: center;
      color: var(--text-muted);
      font-size: .88rem;
    }
    footer img { height: 42px; margin-bottom: 12px; }
    footer a { color: var(--gold); text-decoration: none; margin: 0 8px; }

    @media (max-width: 920px) {
      .container { grid-template-columns: 1fr; }
      .toc { position: static; }
      .brand img.logo { height: 38px; }
      .related-grid { grid-template-columns: 1fr; }
      nav { display: none; }
      .hero { min-height: 430px; }
    }