/* email-auth — page styles (extracted from inline <style>). */
  /* ── Email Auth — local styles. v5 tokens. `ea-`/`em-`/`dlv-` namespaced. ── */

  .ea-sec { padding: clamp(64px, 9vh, 96px) 0; background: var(--bg); border-bottom: 1px solid var(--hairline); }
  .ea-sec.subtle { background: var(--bg-subtle); }
  .ea-head { max-width: 760px; margin-bottom: var(--sp-12); }
  .ea-head .eyebrow { margin-bottom: var(--sp-5); }
  .ea-h2 { font-family: var(--font-sans); font-size: clamp(32px, 4vw, 48px); font-weight: var(--weight-semibold); line-height: 1.05; letter-spacing: -0.030em; color: var(--text-strong); margin-bottom: var(--sp-4); }
  .ea-h2 .mute { color: var(--g8); }
  .ea-lead { font-size: var(--text-md); line-height: 1.65; color: var(--g9); max-width: 56ch; }
  .ea-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
  .ea-split .eyebrow { margin-bottom: var(--sp-5); }
  .ea-narrative { font-size: var(--text-base); line-height: 1.7; color: var(--g9); max-width: 46ch; margin-top: var(--sp-5); }
  .ea-narrative b { color: var(--text-strong); font-weight: 600; }
  @keyframes ea-pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

  /* Hero */
  .ea-hero { padding: clamp(72px, 10vh, 112px) 0 clamp(48px, 8vh, 80px); background: var(--bg); border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
  .ea-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 38% at 82% 18%, rgba(79,70,229,0.05) 0%, transparent 70%); pointer-events: none; }
  .ea-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 88px); align-items: center; }
  .ea-hero-left { display: flex; flex-direction: column; align-items: flex-start; }
  .ea-hero-left .eyebrow { margin-bottom: var(--sp-6); }
  .ea-h1 { font-family: var(--font-sans); font-size: clamp(40px, 5.4vw, 64px); font-weight: var(--weight-semibold); line-height: 1.02; letter-spacing: -0.034em; color: var(--text-strong); margin-bottom: var(--sp-5); }
  .ea-h1 .mute { color: var(--g8); display: block; }
  .ea-hero-lead { font-size: var(--text-md); line-height: 1.65; color: var(--g9); max-width: 50ch; margin-bottom: var(--sp-8); }
  .ea-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
  .ea-hero-right { display: flex; justify-content: center; }

  /* Hero — magic-link email client */
  .em-mail { width: 100%; max-width: 520px; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 18px 50px -18px rgba(14,14,12,0.16); }
  .em-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--hairline); background: var(--s1); }
  .em-tabs { display: flex; gap: 5px; }
  .em-tab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; padding: 4px 10px; border-radius: 100px; color: var(--g7); border: 1px solid transparent; }
  .em-tab.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-mid); font-weight: 600; }
  .em-delivered { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: #16A34A; font-weight: 600; }
  .em-tick { width: 15px; height: 15px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
  .em-head { padding: 16px 18px 14px; border-bottom: 1px solid var(--hairline); display: flex; gap: 12px; align-items: flex-start; }
  .em-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(150deg,#5B52F0,#4F46E5); color: #fff; display: grid; place-items: center; font-family: var(--font-sans); font-size: 16px; font-weight: 700; letter-spacing: -0.04em; flex-shrink: 0; }
  .em-from { flex: 1; min-width: 0; }
  .em-from-name { display: flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-strong); }
  .em-from-addr { font-family: var(--font-mono); font-size: 11px; color: var(--g7); margin-top: 2px; }
  .em-time { font-family: var(--font-mono); font-size: 10px; color: var(--g6); flex-shrink: 0; }
  .em-body { padding: 16px 18px 20px; }
  .em-subject { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--text-strong); letter-spacing: -0.01em; margin-bottom: 8px; }
  .em-text { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.6; color: var(--g9); margin-bottom: 16px; }
  .em-btn { display: block; text-align: center; padding: 13px; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
  .em-altcode { text-align: center; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--g7); }
  .em-altcode b { color: var(--text-strong); letter-spacing: 0.12em; margin-left: 4px; }
  .em-foot { padding: 11px 18px; background: #0F0F0F; font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.6); display: flex; justify-content: space-between; }
  .em-foot b { color: #86EFAC; font-weight: 600; }

  /* Three ways in — mode cards */
  .ea-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .ea-mode { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--sp-8); background: var(--bg); display: flex; flex-direction: column; }
  .ea-mode-ic { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid var(--accent-mid); display: grid; place-items: center; color: var(--accent); margin-bottom: var(--sp-6); }
  .ea-mode-ic > i[data-lucide], .ea-mode-ic > svg.lucide { width: 22px; height: 22px; stroke-width: 1.6; }
  .ea-mode-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: var(--sp-3); }
  .ea-mode-h { font-family: var(--font-sans); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); margin-bottom: var(--sp-3); line-height: 1.2; }
  .ea-mode-body { font-size: 14px; line-height: 1.65; color: var(--g9); }
  .ea-mode-tag { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px dashed var(--hairline); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g7); }
  .ea-mode-tag b { color: var(--accent); font-weight: 600; }

  /* Deliverability panel */
  .dlv { width: 100%; max-width: 520px; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 10px 36px -12px rgba(14,14,12,0.10); }
  .dlv-head { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--hairline); background: var(--s1); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g8); font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .dlv-head .pulse { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: ea-pulse 1.6s infinite; }
  .dlv-auth { display: flex; flex-wrap: wrap; gap: 8px; padding: var(--sp-5) var(--sp-5) var(--sp-4); }
  .dlv-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: #16A34A; background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.20); border-radius: 100px; padding: 4px 10px; font-weight: 600; }
  .dlv-chip .c { width: 13px; height: 13px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
  .dlv-rows { padding: var(--sp-2) var(--sp-5) var(--sp-5); }
  .dlv-row { padding: 13px 0; border-top: 1px dashed var(--hairline); }
  .dlv-row-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
  .dlv-name { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--g8); letter-spacing: -0.005em; }
  .dlv-dest { font-family: var(--font-mono); font-size: 11px; color: var(--g7); }
  .dlv-bar { height: 8px; border-radius: 100px; background: var(--s2); overflow: hidden; }
  .dlv-bar span { display: block; height: 100%; border-radius: 100px; background: var(--g6); }
  .dlv-row.win .dlv-name { color: var(--accent); }
  .dlv-row.win .dlv-dest { color: var(--accent); font-weight: 600; }
  .dlv-row.win .dlv-bar span { background: var(--accent); }
  .dlv-row.bad .dlv-dest { color: #C03A3A; font-weight: 600; }
  .dlv-row.bad .dlv-bar span { background: #C03A3A; }
  .dlv-foot { padding: var(--sp-3) var(--sp-5); background: #0F0F0F; font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.55); text-align: center; }
  .dlv-foot b { color: #86EFAC; font-weight: 600; }

  @media (max-width: 960px) {
    .ea-hero-inner { grid-template-columns: 1fr; }
    .ea-split { grid-template-columns: 1fr; }
    .ea-modes { grid-template-columns: 1fr; }
  }

