
    /* Serious Notebook — Linktree-style layout system.
       Bright saturated ground, dark type, floating pill nav, big rounded
       cards with monospace captions, pill buttons throughout. */

    :root {
      color-scheme: light;
      --paper: #f3ead4;
      --paper-soft: #f8f2e2;
      --card: #fffdf7;
      --ink: #12182b;
      --ink-soft: #4a5266;
      --ink-faint: #7b8194;
      --bg: #0a0f22;
      --accent: #c9a85c;
      --accent-bright: #e6c98a;
      --line: rgba(18, 24, 43, 0.12);
      --line-soft: rgba(18, 24, 43, 0.07);

      --r-pill: 999px;
      --r-card: 28px;
      --r-lg: 36px;
      --r-sm: 16px;

      --shadow: 0 2px 4px rgba(18, 24, 43, 0.04), 0 14px 34px rgba(18, 24, 43, 0.08);
      --shadow-hi: 0 6px 12px rgba(18, 24, 43, 0.06), 0 32px 64px rgba(18, 24, 43, 0.16);
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; background: var(--paper); -webkit-text-size-adjust: 100%; }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
      font-size: 17px;
      line-height: 1.55;
      letter-spacing: -0.011em;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }

    img, svg { display: block; max-width: 100%; }
    a { color: inherit; }
    ul { margin: 0; padding: 0; list-style: none; }
    p { margin: 0; }
    h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.042em; line-height: 1.04; }

    a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
      outline: 3px solid var(--ink);
      outline-offset: 3px;
      border-radius: 8px;
    }

    ::selection { background: rgba(201, 168, 92, 0.34); }

    .container { width: min(1200px, calc(100% - 44px)); margin: 0 auto; }

    .eyebrow {
      font-family: var(--mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 14px;
    }

    /* ── Buttons ──────────────────────────────────────────── */

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 15px 28px;
      border-radius: var(--r-pill);
      font-size: 0.98rem;
      font-weight: 700;
      letter-spacing: -0.014em;
      text-decoration: none;
      white-space: nowrap;
      border: 1px solid transparent;
      transition: transform 0.26s var(--ease), background-color 0.26s var(--ease),
                  color 0.26s var(--ease), box-shadow 0.26s var(--ease);
    }

    .button.primary { background: var(--ink); color: var(--paper); }
    .button.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

    .button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
    .button.secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

    .app-store-link { display: inline-block; text-decoration: none; }
    .app-store-badge { height: 54px; width: auto; }

    /* ── Announcement bar ─────────────────────────────────── */

    .announce {
      display: block;
      text-decoration: none;
      background: var(--bg);
      color: var(--paper);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .announce-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 8px 14px;
      padding: 11px 20px;
      text-align: center;
    }

    .announce-cta {
      color: var(--accent-bright);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 700;
    }

    .announce-cta:hover { color: var(--paper); }

    /* ── Floating pill nav ────────────────────────────────── */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 60;
      padding: 16px 0;
      background: linear-gradient(var(--paper) 62%, rgba(243, 234, 212, 0));
    }

    .nav-pill {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 10px 10px 10px 20px;
      border-radius: var(--r-pill);
      background: var(--card);
      box-shadow: var(--shadow);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font-size: 1.02rem;
      font-weight: 800;
      letter-spacing: -0.035em;
      flex: none;
    }

    .brand img { width: 34px; height: 34px; border-radius: 10px; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      margin-left: auto;
    }

    .nav-links > a {
      padding: 9px 14px;
      border-radius: var(--r-pill);
      font-size: 0.93rem;
      font-weight: 600;
      color: var(--ink-soft);
      text-decoration: none;
      transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
    }

    .nav-links > a:hover { color: var(--ink); background: rgba(18, 24, 43, 0.06); }
    .nav-links > a[aria-current="page"] { color: var(--ink); background: rgba(18, 24, 43, 0.07); }

    .nav-cta {
      padding: 12px 24px;
      border-radius: var(--r-pill);
      background: var(--ink);
      color: var(--paper);
      font-size: 0.93rem;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
    }

    .nav-cta:hover { background: #000; transform: translateY(-1px); }


    /* ── Long-form legal page ─────────────────────────────── */

    .policy {
      max-width: 78ch;
      margin: 0 auto;
      padding: clamp(34px, 5vw, 66px) 0 clamp(56px, 7vw, 92px);
    }

    .policy h1 {
      font-size: clamp(2.1rem, 4.4vw, 3.2rem);
      margin-bottom: 14px;
    }

    .updated {
      font-family: var(--mono);
      font-size: 0.76rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-faint);
      margin-bottom: 36px;
    }

    .policy h2 {
      font-size: clamp(1.3rem, 2.2vw, 1.65rem);
      margin: 44px 0 12px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
    }

    .policy h3 { font-size: 1.08rem; margin: 26px 0 8px; }

    .policy p, .policy li {
      color: var(--ink-soft);
      font-size: 1rem;
      line-height: 1.65;
    }

    .policy p { margin-bottom: 14px; }

    .policy ul { margin: 0 0 18px; padding-left: 0; }

    .policy li {
      position: relative;
      padding-left: 22px;
      margin-bottom: 9px;
      list-style: none;
    }

    .policy li::before {
      content: "";
      position: absolute;
      left: 4px;
      top: 11px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    .policy strong { color: var(--ink); font-weight: 700; }

    .policy code {
      font-family: var(--mono);
      font-size: 0.88em;
      padding: 2px 6px;
      border-radius: 6px;
      background: rgba(18, 24, 43, 0.07);
    }

    .contact {
      color: var(--ink);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: var(--accent);
    }

    .contact:hover { text-decoration-color: var(--ink); }

    /* ── Footer line ──────────────────────────────────────── */

    .footer-line {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      align-items: center;
      padding: 26px 0 12px;
      border-top: 1px solid var(--line);
      font-size: 0.88rem;
      color: var(--ink-faint);
    }

    .footer-line a { color: var(--ink-soft); text-decoration: none; }
    .footer-line a:hover { color: var(--ink); text-decoration: underline; }

    .footer-langs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      padding-bottom: 40px;
      font-size: 0.86rem;
      color: var(--ink-faint);
    }

    .footer-langs a { color: var(--ink-soft); text-decoration: none; }
    .footer-langs a:hover { color: var(--ink); text-decoration: underline; }
    .footer-langs strong { color: var(--ink); }

    @media (max-width: 620px) {
      .container { width: calc(100% - 32px); }
      .nav-pill { padding: 8px 8px 8px 14px; gap: 10px; }
      .brand span { display: none; }
    }

    @media (max-width: 1000px) {
      .nav-links > a:not(.nav-cta) { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: 0.01ms !important; }
    }

  
    .nav-links > .nav-cta, .nav-links > .nav-cta:hover { color: var(--paper); background: var(--ink); }
    .policy code { overflow-wrap: anywhere; white-space: normal; }
    .policy a { overflow-wrap: anywhere; }
    /* Language switcher — sits inside the light pill nav */
    .lang-switch {
      appearance: none;
      -webkit-appearance: none;
      background-color: rgba(18, 24, 43, 0.05);
      color: var(--ink);
      border: 1px solid rgba(18, 24, 43, 0.12);
      border-radius: 999px;
      padding: 9px 32px 9px 14px;
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      line-height: 1;
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a85c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 11px center;
      background-size: 15px;
    }
    .lang-switch:hover { background-color: rgba(18, 24, 43, 0.09); }
    @media (max-width: 620px) { .lang-switch { max-width: 145px; font-size: 12px; padding: 9px 25px 9px 10px; } }
