    /* ── Login modal ──────────────────────────────────────────────── */
    .modal-bg {
      position: fixed; inset: 0; z-index: 100;
      background: rgba(26,22,16,.55);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      display: none; align-items: center; justify-content: center;
      padding: 1.5rem;
      animation: fadein .2s ease;
    }
    .modal-bg.is-open { display: flex; }
    @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
    .modal {
      background: var(--card);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      width: 100%; max-width: 420px;
      padding: 2.2rem 2rem 2rem;
      position: relative;
      animation: pop .25s cubic-bezier(.2,.9,.3,1.2);
    }
    @keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
    .modal-close {
      position: absolute; top: 1rem; right: 1rem;
      width: 32px; height: 32px; border-radius: 50%;
      border: 0; background: transparent;
      color: var(--ink-mute); font-size: 1.2rem; line-height: 1;
      transition: all .14s ease;
    }
    .modal-close:hover { background: var(--bg); color: var(--ink); }
    .modal h3 {
      font-family: var(--font-display);
      font-size: 1.65rem; font-weight: 500;
      margin: 0 0 .35rem; letter-spacing: -.01em;
    }
    .modal-sub { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.5rem; }
    .modal-field { margin-bottom: 1rem; }
    .modal-label {
      display: block; font-size: .76rem; font-weight: 600;
      color: var(--ink-soft); margin-bottom: .35rem;
      letter-spacing: .04em; text-transform: uppercase;
    }
    .modal-input {
      width: 100%; padding: .8rem 1rem;
      border: 1.5px solid var(--line); background: var(--bg-tint);
      border-radius: 10px; font-family: inherit; font-size: .96rem;
      color: var(--ink); transition: all .14s ease;
    }
    .modal-input:focus {
      outline: none; border-color: var(--ink); background: var(--card);
      box-shadow: 0 0 0 3px rgba(26,22,16,.06);
    }
    .modal-submit {
      width: 100%; padding: .9rem 1rem;
      background: var(--ink); color: var(--bg);
      border: 0; border-radius: 10px;
      font-size: .96rem; font-weight: 600;
      transition: all .15s ease; margin-top: .5rem;
    }
    .modal-submit:hover { background: var(--accent-warm); transform: translateY(-1px); }
    .modal-foot { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-size: .84rem; color: var(--ink-mute); text-align: center; }
    .modal-error {
      padding: .65rem .85rem; background: #FBECEC; border: 1px solid #F0C9C9;
      border-radius: 8px; color: #9C2E2E; font-size: .85rem; margin-bottom: 1rem;
      display: none;
    }
    .modal-error.is-shown { display: block; }

    /* ── Login page (#login) ──────────────────────────────────────────
       No card, no chrome — the cream page is the canvas. Vertically
       centered logo + tagline + form. Lang switcher pinned top-LEFT
       (matching the homepage convention). On narrow viewports the
       content squishes but stays readable. */
    /* Strip the auth-shell's body padding when it's wrapping the login
       page — login-page handles its own centering and full-bleed. */
    .subscribe-body:has(.login-page) { padding: 0; }
    .login-page {
      min-height: 100vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 1.2rem;
      box-sizing: border-box;
      position: relative;
      background: var(--bg);
    }
    /* Slim back arrow (replaces the old language switcher in this slot). */
    .login-back {
      position: absolute;
      top: 1.4rem; left: 1.6rem;
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      color: var(--ink-mute);
      border-radius: 50%;
      transition: color .15s ease, background .15s ease;
      z-index: 2;
    }
    .login-back:hover {
      color: var(--ink);
      background: rgba(0, 0, 0, 0.04);
    }

    .login-content {
      width: 100%;
      max-width: 380px;
      text-align: center;
    }
    .login-logo {
      display: block;
      margin: 0 auto .8rem;
      height: 84px;
      width: auto;
    }
    .login-tagline {
      font-family: var(--font-display);
      font-size: 1.05rem;
      color: var(--ink-soft);
      margin: 0 0 2rem;
      font-weight: 400;
    }
    .login-slot { text-align: left; }
    .login-field {
      position: relative;
      margin-bottom: .7rem;
    }
    .login-field input {
      width: 100%;
      box-sizing: border-box;
      padding: .9rem 1rem;
      font-size: 1rem;
      color: var(--ink);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 10px;
      transition: border-color .15s ease, background .15s ease;
    }
    .login-field input::placeholder { color: var(--ink-mute); }
    .login-field input:focus {
      outline: none;
      border-color: var(--ink);
    }
    .login-field input[readonly] {
      background: var(--line-soft);
      color: var(--ink-soft);
      cursor: default;
      padding-right: 2.6rem;
    }
    .login-field-edit {
      position: absolute;
      top: 50%; right: .65rem;
      transform: translateY(-50%);
      width: 28px; height: 28px;
      border-radius: 50%;
      border: 0;
      background: transparent;
      color: var(--ink-mute);
      font-size: .85rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
    }
    .login-field-edit:hover { color: var(--ink); background: var(--card); }
    .login-field-eye {
      position: absolute;
      top: 50%; right: .55rem;
      transform: translateY(-50%);
      width: 32px; height: 32px;
      border-radius: 8px;
      border: 0;
      background: transparent;
      color: var(--ink-mute);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: color .15s ease, background .15s ease;
    }
    .login-field-eye:hover { color: var(--ink); background: var(--line-soft); }
    .login-field-eye.is-shown { color: var(--ink); }
    /* Make room for the eye on the password input only — same logic as
       readonly-emails. The selector targets a password input that has a
       sibling eye button. */
    .login-field input[type="password"] + .login-field-eye ~ input,
    .login-field input[type="text"] + .login-field-eye {}
    .login-field:has(.login-field-eye) input { padding-right: 2.6rem; }

    .login-msg {
      min-height: 1.2em;
      font-size: .86rem;
      margin: .5rem 0 0;
      color: var(--ink-soft);
      line-height: 1.4;
    }
    .login-msg.is-shown { padding: .55rem .8rem; border-radius: 8px; }
    .login-msg.is-error   { background: rgba(182,68,44,.08); color: #B6442C; }
    .login-msg.is-ok      { background: rgba(92,138,106,.10); color: #3F6B4E; }
    .login-msg.is-pending { color: var(--ink-mute); background: transparent; padding: 0; }

    .login-submit {
      width: 100%;
      margin-top: 1rem;
      padding: .95rem 1rem;
      font-family: var(--font-body, inherit);
      font-size: 1rem;
      font-weight: 600;
      color: var(--bg);
      background: var(--ink);
      border: 0;
      border-radius: 99px;
      cursor: pointer;
      transition: opacity .15s ease, transform .05s ease;
    }
    .login-submit:hover:not(:disabled) { opacity: .9; }
    .login-submit:active:not(:disabled) { transform: translateY(1px); }
    .login-submit:disabled { opacity: .5; cursor: wait; }

    .login-forgot {
      display: block;
      margin-top: 1.1rem;
      text-align: center;
      font-size: .86rem;
      color: var(--ink-mute);
      text-decoration: underline;
    }
    .login-forgot:hover { color: var(--ink); }
    .login-meta {
      text-align: center;
      font-size: .86rem;
      color: var(--ink-soft);
      margin: .6rem 0 0;
    }

    @media (max-width: 480px) {
      .login-logo { height: 68px; }
      .login-tagline { font-size: .95rem; margin-bottom: 1.5rem; }
      .login-lang-tl { top: .8rem; left: .9rem; }
    }
    .subscribe-card h3 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 500;
      color: var(--ink);
      margin: 0 0 1rem;
    }
