
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --paper:       #faf7f2;
    --card-bg:     #ffffff;
    --border:      rgba(0,0,0,0.09);
    --purple:      #26215C;
    --purple-mid:  #AFA9EC;
    --purple-light:#EEEDFE;
    --text:        #1a1a1a;
    --muted:       #5a5a5a;
    --radius-md:   8px;
    --radius-lg:   12px;
  }

  body {
    background: var(--paper);
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    min-height: 100vh;
    padding: 48px 16px 64px;
  }

  .page {
    max-width: 640px;
    margin: 0 auto;
  }

  .page-header {
    margin-bottom: 40px;
  }
  .page-header .label {

    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 8px;
  }
  .page-header h1 {
    font-family: Palatino, Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.3;
  }

  .phrase-block {
    margin-bottom: 36px;
  }

  .phrase-head {
    background: #f4f1fb;
    border: 0.5px solid var(--purple-mid);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin-bottom: 12px;
  }

  .phrase-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--purple);
    margin-bottom: 6px;
  }

  .phrase-def {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
  }

  .ex-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .ex {
    background: var(--card-bg);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
  }

  .ex em {
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    color: var(--purple);
  }

  .divider {
    height: 0.5px;
    background: var(--border);
    margin: 8px 0 36px;
  }

  /* Closing note — distinct styling */
  .note-block {
    border: 0.5px solid var(--purple-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 8px;
  }

  .note-head {
    background: var(--purple);
    padding: 14px 22px;
  }

  .note-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 400;
    color: #ffffff;
    font-style: italic;
  }

  .note-body {
    background: var(--purple-light);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .note-body p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--purple);
  }

  .note-body p em {
    font-style: normal;
    font-weight: 900;
    color: var(--purple);
  }



  /* 🔹 Sticky Navigation */
  .nav {
    position: sticky;
    top: 0;
    background: #3d3530;
    display: flex;
    gap: 8px 12px;
    padding: 14px 10px;        /* slightly more padding */
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid #8E7D9A;
    z-index: 1000;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.8rem;     /* extra margin below nav */
  }

  .nav a {
    text-decoration: none;
    color: #f5ede0;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .nav a:hover {
    background: rgba(255,255,255,0.15);
  }

  .nav a.active {
    background: #8E7D9A;
    color: #fff;
    font-weight: bold;
  }

  /* Small adjustment for mobile */
  @media (max-width: 560px) {
    .nav {
      padding: 10px 6px;
      gap: 6px 8px;
    }
    .nav a {
      font-size: 13px;
      padding: 5px 10px;
    }
  }

