/* ─── SoundPages Design System ─────────────────────────────────────────────── */
/* Palette: deep midnight ink, warm ivory, amber-gold, muted coral accent       */

:root {
  --ink:       #0f0e17;
  --ink-soft:  #2a2940;
  --muted:     #6b6880;
  --border:    #e4e0f7;
  --ivory:     #faf9f6;
  --white:     #ffffff;
  --gold:      #c9973a;
  --gold-lt:   #f5e0b0;
  --coral:     #e05a4e;
  --teal:      #2cb5a0;
  --success:   #22a06b;
  --error:     #c9373d;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 4px rgba(15,14,23,.08);
  --shadow-md: 0 4px 20px rgba(15,14,23,.12);
  --shadow-lg: 0 12px 40px rgba(15,14,23,.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --header-h: 68px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .75; }
ul, ol { list-style: none; }

/* ─── Utility ────────────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary  { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); opacity: 1; }
.btn-gold     { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: #b5832e; border-color: #b5832e; opacity: 1; }
.btn-ghost    { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--border); opacity: 1; }
.btn-outline  { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); opacity: 1; }
.btn-danger   { background: var(--error); color: var(--white); }
.btn-sm  { padding: 7px 16px; font-size: .85rem; }
.btn-lg  { padding: 14px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: .875rem; color: var(--ink-soft); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=search],
select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem;
  background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
}
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ─── Flash messages ──────────────────────────────────────────────────────────── */
.flash {
  position: sticky; top: var(--header-h); z-index: 900;
  padding: 12px 24px; text-align: center;
  font-weight: 500; font-size: .9rem;
}
.flash-error   { background: #fce8e8; color: var(--error); border-bottom: 1px solid #f5c6c6; }
.flash-success { background: #e8f7f2; color: var(--success); border-bottom: 1px solid #b2e5d4; }

/* ═══ ANNOUNCEMENT BAR ═══════════════════════════════════════════════════════ */
.announce-bar {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  line-height: 1;
  overflow: hidden;
  max-height: 40px;
  transition: max-height .4s ease, padding .4s ease, opacity .3s;
}
.announce-bar.dismissed { max-height: 0; opacity: 0; pointer-events: none; }
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 0;
  position: relative;
}
.announce-icon  { color: var(--gold); flex-shrink: 0; }
.announce-text  { text-align: center; }
.announce-text a { color: var(--gold-lt); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.announce-text a:hover { color: var(--white); opacity: 1; }
.announce-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.4); cursor: pointer;
  font-size: .85rem; padding: 6px 8px; line-height: 1;
  transition: color .2s;
}
.announce-close:hover { color: var(--white); }

/* ═══ PRIMARY HEADER ═════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,249,246,.95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(15,14,23,.09); }

.header-inner {
  height: var(--header-h); display: flex; align-items: center; gap: 0;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo:hover { opacity: 1; }
.logo-mark { display: flex; flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); white-space: nowrap;
}
.logo-wordmark em { font-style: normal; color: var(--gold); }

/* ── Primary nav ─────────────────────────────────────────────────────────── */
.site-nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: 32px; flex: 1;
}
.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-weight: 500; font-size: .9rem; color: var(--ink-soft);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
  white-space: nowrap; text-decoration: none;
}
.nav-link:hover { color: var(--gold); background: rgba(201,151,58,.07); opacity: 1; }
.nav-link.nav-active { color: var(--gold); font-weight: 600; }
.nav-link.nav-active::after {
  content: ''; display: block; position: absolute; bottom: -1px; left: 12px; right: 12px;
  height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-link { position: relative; }
.nav-chevron { transition: transform .2s; flex-shrink: 0; color: var(--muted); }

/* ── Dropdown ────────────────────────────────────────────────────────────── */
.nav-dropdown-wrap { position: relative; }
.nav-has-dropdown { cursor: pointer; }
.nav-dropdown-wrap:hover .nav-chevron,
.nav-dropdown-wrap:focus-within .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 480px; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 200;
}
.nav-dropdown-right { left: auto; right: 0; min-width: 0; }
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; }

.dropdown-col { padding: 20px 20px 20px; }
.dropdown-col + .dropdown-col { border-left: 1px solid var(--border); background: #faf9fc; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.dropdown-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 10px; padding: 0 4px; }

.dropdown-link {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--ink-soft); font-weight: 500;
  padding: 8px 10px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s; text-decoration: none;
}
.dropdown-link:hover { background: rgba(201,151,58,.08); color: var(--gold); opacity: 1; }
.dl-icon { width: 24px; text-align: center; font-size: 1rem; flex-shrink: 0; }

.dropdown-feature-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px;
}
.dfc-cover { width: 40px; height: 52px; background: var(--ink); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.dfc-title { font-weight: 600; font-size: .875rem; color: var(--ink); margin-bottom: 3px; }
.dfc-sub   { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.dfc-link  { font-size: .78rem; color: var(--gold); font-weight: 600; }
.dropdown-badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-badge { font-size: .7rem; background: var(--gold-lt); color: #7a5a10; border-radius: 4px; padding: 3px 8px; font-weight: 600; }

/* ── User dropdown ──────────────────────────────────────────────────────── */
.user-dropdown { min-width: 220px; padding: 0; overflow: hidden; }
.ud-profile {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: #faf9fc; border-bottom: 1px solid var(--border);
}
.ud-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.ud-name  { font-size: .88rem; font-weight: 600; color: var(--ink); }
.ud-email { font-size: .75rem; color: var(--muted); }
.ud-links { padding: 8px; }
.ud-link {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: var(--ink-soft); font-weight: 500;
  padding: 9px 12px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s; text-decoration: none;
}
.ud-link:hover { background: rgba(201,151,58,.08); color: var(--gold); opacity: 1; }
.ud-footer { padding: 8px; border-top: 1px solid var(--border); }
.ud-signout {
  width: 100%; padding: 9px; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .85rem;
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.ud-signout:hover { background: #fce8e8; color: var(--error); border-color: #f5c6c6; }

/* ── Header right actions ───────────────────────────────────────────────── */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.hdr-icon-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: background .18s, color .18s;
  position: relative; text-decoration: none;
}
.hdr-icon-btn:hover { background: rgba(15,14,23,.05); color: var(--gold); opacity: 1; }
.hdr-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--gold); color: var(--white);
  font-size: .62rem; font-weight: 700; line-height: 16px;
  text-align: center; padding: 0 3px;
}

.hdr-user-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 1.5px solid var(--border);
  border-radius: 20px; padding: 5px 12px 5px 5px;
  cursor: pointer; transition: border-color .18s, background .18s;
}
.hdr-user-btn:hover { border-color: var(--gold); background: rgba(201,151,58,.05); }
.hdr-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; flex-shrink: 0;
}
.hdr-username { font-size: .85rem; font-weight: 600; color: var(--ink-soft); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-link-login { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

/* ── Inline search bar ────────────────────────────────────────────────── */
.header-search-bar {
  overflow: hidden; max-height: 0;
  border-top: 0 solid var(--border);
  transition: max-height .3s ease, border-top-width .3s, padding .3s;
  background: var(--white);
}
.header-search-bar.open {
  max-height: 64px;
  border-top-width: 1px;
  padding: 10px 0;
}
.header-search-form {
  display: flex; align-items: center; gap: 12px;
  background: var(--ivory); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 14px;
  transition: border-color .2s;
}
.header-search-form:focus-within { border-color: var(--gold); }
.hs-icon { color: var(--muted); flex-shrink: 0; }
.hs-input {
  flex: 1; border: none; background: transparent;
  padding: 10px 0; font-size: .95rem; color: var(--ink);
  font-family: var(--font-body); outline: none;
}
.hs-esc {
  font-size: .72rem; font-family: var(--font-mono);
  background: var(--border); color: var(--muted);
  border-radius: 4px; padding: 2px 6px; flex-shrink: 0;
}

/* ── Hamburger ──────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm);
  color: var(--ink); margin-left: 4px;
}
.hamburger { display: flex; flex-direction: column; gap: 4.5px; width: 20px; }
.hamburger span {
  display: block; height: 1.8px; background: currentColor; border-radius: 1px;
  transition: transform .25s, opacity .25s, width .25s;
}
.nav-toggle.open .hamburger span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-toggle.open .hamburger span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open .hamburger span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* ═══ MOBILE DRAWER ══════════════════════════════════════════════════════════ */
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15,14,23,.5);
  z-index: 1100; backdrop-filter: blur(3px);
  transition: opacity .3s;
}
.mobile-overlay.open { display: block; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: var(--white); z-index: 1200; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(15,14,23,.18);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px; border-bottom: 1px solid var(--border);
}
.drawer-close {
  background: none; border: none; font-size: 1.1rem; cursor: pointer;
  color: var(--muted); padding: 4px 8px; border-radius: var(--radius-sm);
  transition: background .15s;
}
.drawer-close:hover { background: var(--border); }

.drawer-profile {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: #faf9fc; border-bottom: 1px solid var(--border);
}

.drawer-nav { padding: 12px 12px; }
.drawer-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); border-radius: var(--radius-sm);
  transition: background .15s, color .15s; text-decoration: none;
}
.drawer-link:hover { background: rgba(201,151,58,.08); color: var(--gold); opacity: 1; }
.drawer-link.nav-active { color: var(--gold); font-weight: 600; background: rgba(201,151,58,.06); }
.drawer-sub { padding-left: 28px; font-size: .875rem; }
.drawer-section-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 600; padding: 14px 12px 4px;
}
.drawer-signout {
  width: 100%; padding: 10px; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .88rem;
  color: var(--muted); cursor: pointer; margin-top: 8px;
  transition: background .15s, color .15s;
}
.drawer-signout:hover { background: #fce8e8; color: var(--error); border-color: #f5c6c6; }

/* ══════════════════════════════════════════════════════
   HOME PAGE — white-dominant redesign
══════════════════════════════════════════════════════ */

/* ── Shared home section typography ─────────────────────────────────────────── */
.hp-eyebrow {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.hp-eyebrow--teal { color: var(--teal); }
.hp-section-head { text-align: center; margin-bottom: 56px; }
.hp-section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem,3vw,2.4rem);
  font-weight: 700; color: var(--ink); line-height: 1.15;
}
.hp-books-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; flex-wrap: wrap; gap: 16px;
}
.hp-books-head h2 { margin-bottom: 0; }

/* ── Buttons — additional variants for white pages ───────────────────────────── */
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); opacity: 1; }
.btn-outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--white); opacity: 1; }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: #229e8c; border-color: #229e8c; opacity: 1; }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); opacity: 1; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hp-hero {
  background: var(--white);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hp-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hp-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201,151,58,.2);
}
.hp-h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.08; color: var(--ink);
  margin-bottom: 22px;
}
.hp-h1-accent {
  font-style: italic; color: var(--gold);
  position: relative; display: inline-block;
}
.hp-h1-accent::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  border-radius: 2px;
}
.hp-lead {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
  margin-bottom: 36px; max-width: 480px;
}
.hp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hp-stats { display: flex; align-items: center; gap: 0; }
.hp-stat { text-align: center; padding: 0 28px; }
.hp-stat:first-child { padding-left: 0; }
.hp-stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 700; color: var(--ink); line-height: 1;
  margin-bottom: 4px;
}
.hp-stat-plus { color: var(--gold); }
.hp-stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hp-stat-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Hero visual */
.hp-hero-visual { position: relative; padding: 20px 0 20px 20px; }
.hp-blob {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,151,58,.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.hp-preview-stack { display: flex; flex-direction: column; gap: 12px; position: relative; }
.hp-preview-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm);
  margin-left: var(--card-offset, 0px);
  transition: transform .3s, box-shadow .3s;
}
.hp-preview-card:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); }
.hpc-cover {
  width: 44px; height: 60px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.hpc-info { flex: 1; min-width: 0; }
.hpc-title { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpc-author { font-size: .76rem; color: var(--muted); margin-bottom: 5px; }
.hpc-badge { font-size: .68rem; background: #e8f7f5; color: var(--teal); border-radius: 4px; padding: 2px 6px; font-weight: 600; }
.hpc-price { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.hp-float-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e8f7f5; color: var(--teal);
  font-size: .75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 20px;
  border: 1px solid #b2e5de;
  align-self: flex-start; margin-left: 24px;
}

/* ── How it works ────────────────────────────────────────────────────────── */
.hp-how { background: var(--white); padding: 88px 0; border-bottom: 1px solid var(--border); }
.hp-steps {
  display: flex; align-items: center; gap: 0;
  justify-content: center; flex-wrap: wrap;
}
.hp-step {
  text-align: center; max-width: 240px; padding: 0 16px;
}
.hp-step-num {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.hp-step-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--ivory); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
.hp-step h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.hp-step p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.hp-step p em { font-style: italic; color: var(--ink-soft); }
.hp-step-arrow { flex-shrink: 0; padding: 0 8px; opacity: .5; }

/* ── Features grid ───────────────────────────────────────────────────────── */
.hp-features { background: #f8f8fb; padding: 72px 0; border-bottom: 1px solid var(--border); }
.hp-features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.hp-feat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.hp-feat-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.hp-feat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hp-feat-icon--gold   { background: #fef3e2; color: var(--gold); }
.hp-feat-icon--teal   { background: #e8f7f5; color: var(--teal); }
.hp-feat-icon--purple { background: #f0eeff; color: #6b55d4; }
.hp-feat-icon--coral  { background: #fdf0ee; color: #c0402e; }
.hp-feat-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.hp-feat-card p  { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── Featured books ─────────────────────────────────────────────────────── */
.hp-books { background: var(--white); padding: 88px 0; border-bottom: 1px solid var(--border); }

/* ── Transcript spotlight ────────────────────────────────────────────────── */
.hp-transcript { background: var(--ivory); padding: 88px 0; border-bottom: 1px solid var(--border); }
.hp-transcript-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
}

/* Mock viewer */
.htv-chrome {
  display: flex; align-items: center; gap: 10px;
  background: #f0eef8; border-radius: 10px 10px 0 0;
  padding: 10px 16px; border: 1px solid var(--border); border-bottom: none;
}
.htv-dots { display: flex; gap: 6px; }
.htv-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.htv-filename { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-left: 6px; }
.htv-body {
  background: var(--white); border: 1px solid var(--border);
  padding: 24px 24px 20px; font-family: var(--font-mono); font-size: .82rem;
  line-height: 1.9; color: var(--ink-soft);
}
.htv-line { margin-bottom: 2px; }
.htv-line--head { font-weight: 600; color: var(--ink); margin-bottom: 10px; font-family: var(--font-body); }
.htv-line--hl mark { background: rgba(201,151,58,.18); color: var(--ink); border-radius: 2px; padding: 0 2px; }
.htv-line--fade { color: var(--border); }
.htv-footer {
  background: #f8f7fb; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 10px 16px; display: flex; justify-content: space-between;
  align-items: center; font-size: .74rem; color: var(--muted);
}
.htv-badge { background: #e8f7f5; color: var(--teal); border-radius: 4px; padding: 2px 8px; font-weight: 600; }

/* Transcript copy */
.hp-transcript-copy h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.2; }
.hp-transcript-copy > p { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.hp-check-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.hp-check-list li { display: flex; align-items: center; gap: 10px; font-size: .925rem; color: var(--ink-soft); }

/* ── Categories ──────────────────────────────────────────────────────────── */
.hp-cats { background: var(--white); padding: 80px 0; border-bottom: 1px solid var(--border); }
.hp-cats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 14px;
}
.hp-cat-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 16px;
  text-decoration: none; color: var(--ink-soft);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hp-cat-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); opacity: 1; color: var(--ink); }
.hp-cat-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hp-cat-name { flex: 1; font-size: .9rem; font-weight: 600; }
.hp-cat-arrow { color: var(--muted); flex-shrink: 0; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.hp-testimonials { background: #f8f8fb; padding: 88px 0; border-bottom: 1px solid var(--border); }
.hp-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.hp-tcard {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
}
.hp-tcard--featured { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,.08); }
.hp-tcard-stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; margin-bottom: 14px; }
.hp-tcard-text { font-size: .925rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 22px; }
.hp-tcard-text em { font-style: italic; }
.hp-tcard-author { display: flex; align-items: center; gap: 12px; }
.hp-tcard-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.hp-tcard-name { font-weight: 600; font-size: .88rem; color: var(--ink); }
.hp-tcard-role { font-size: .78rem; color: var(--muted); }

/* ── CTA banner ─────────────────────────────────────────────────────────── */
.hp-cta { background: var(--ink); padding: 80px 0; }
.hp-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.hp-cta h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--white); margin-bottom: 10px;
}
.hp-cta p { font-size: 1rem; color: rgba(255,255,255,.6); }
.hp-cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── Section headings (store/library pages) ─────────────────────────────────── */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; margin-bottom: 10px; }
.section-head p  { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ─── Book cards ──────────────────────────────────────────────────────────────── */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
.book-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.book-cover {
  aspect-ratio: 3/4; background: linear-gradient(135deg, var(--ink) 0%, #3a2f5e 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.2); position: relative; overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-overlay {
  position: absolute; inset: 0; background: rgba(15,14,23,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.book-card:hover .book-cover-overlay { opacity: 1; }
.book-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.book-category { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 6px; }
.book-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.book-author { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.book-meta { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.book-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-top: auto; margin-bottom: 14px; }
.transcript-badge { font-size: .7rem; background: #e8f7f5; color: var(--teal); border-radius: 4px; padding: 2px 7px; font-weight: 600; }

/* ─── Feature strip (store page reuse) ──────────────────────────────────────── */
.features { background: #f8f8fb; padding: 72px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.feature-item { text-align: center; }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-item h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.feature-item p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ─── Testimonials (store page reuse) ───────────────────────────────────────── */
.testimonials { background: #f8f8fb; padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 28px; }
.testimonial-text { font-size: .95rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; font-style: italic; }
.testimonial-text::before { content: '"'; font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: .5; display: block; margin-bottom: 10px; }
.testimonial-author { font-weight: 600; font-size: .85rem; color: var(--ink); }
.testimonial-author span { color: var(--muted); font-weight: 400; }

/* ─── CTA Banner (store page reuse) ─────────────────────────────────────────── */
.cta-banner { background: var(--ink); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; color: var(--white); }
.cta-banner p  { font-size: 1.05rem; color: rgba(255,255,255,.6); margin-bottom: 28px; }

/* ─── Auth pages ─────────────────────────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 24px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 44px 40px;
}
.auth-card h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 6px; }
.auth-card .sub { font-size: .9rem; color: var(--muted); margin-bottom: 32px; }
.auth-divider { text-align: center; margin: 24px 0; color: var(--muted); font-size: .82rem; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ''; display: inline-block; width: calc(50% - 24px);
  height: 1px; background: var(--border); vertical-align: middle; margin: 0 8px;
}
.auth-footer { margin-top: 24px; text-align: center; font-size: .87rem; color: var(--muted); }
.auth-footer a { color: var(--gold); font-weight: 600; }

/* ─── Book detail modal / page ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,14,23,.65);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 760px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); position: relative;
}
.modal-header { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 32px; background: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-cover { aspect-ratio: 3/4; border-radius: var(--radius-sm); overflow: hidden; background: #2a2940; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.modal-meta h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); margin-bottom: 6px; }
.modal-meta p  { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 4px; }
.modal-price   { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 700; margin: 16px 0; }
.modal-body    { padding: 28px 32px; }
.modal-body p  { color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.modal-close   { position: absolute; top: 16px; right: 20px; background: rgba(255,255,255,.1); border: none; color: var(--white); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; transition: background .2s; }
.modal-close:hover { background: rgba(255,255,255,.2); }
.paypal-btn-wrap { margin-top: 8px; }

/* ─── Library page ────────────────────────────────────────────────────────────── */
.library-page { padding: 60px 0; }
.page-header   { margin-bottom: 40px; }
.page-header h1 { font-family: var(--font-display); font-size: 2.2rem; }
.page-header p  { color: var(--muted); margin-top: 6px; }
.library-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.library-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; gap: 20px; padding: 20px;
  align-items: flex-start;
}
.library-cover { width: 70px; height: 94px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--ink), #3a2f5e); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.library-info h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.library-info .author { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.dl-buttons { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }

/* ─── Store page ──────────────────────────────────────────────────────────────── */
.store-header { background: var(--ink); color: var(--white); padding: 48px 0; }
.store-header h1 { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); }
.store-header p   { color: rgba(255,255,255,.6); margin-top: 8px; }
.store-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 28px 0; }
.store-toolbar select { width: auto; padding: 9px 14px; }
.store-toolbar input  { flex: 1; min-width: 200px; }

/* ══════════════════════════════════════════════════════
   NEWSLETTER + TRUST STRIP
══════════════════════════════════════════════════════ */
.footer-newsletter {
  background: linear-gradient(135deg, #1a192b 0%, var(--ink-soft) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 52px 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.nl-copy h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 6px; }
.nl-copy p  { color: rgba(255,255,255,.55); font-size: .9rem; }
.nl-form {
  display: flex; gap: 0; border-radius: var(--radius-sm); overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.15); flex-shrink: 0;
  transition: border-color .2s;
}
.nl-form:focus-within { border-color: var(--gold); }
.nl-form input[type=email] {
  flex: 1; min-width: 240px; padding: 11px 16px;
  background: rgba(255,255,255,.06); border: none; border-radius: 0;
  color: var(--white); font-family: var(--font-body); font-size: .9rem;
  box-shadow: none;
}
.nl-form input[type=email]::placeholder { color: rgba(255,255,255,.35); }
.nl-form input[type=email]:focus { box-shadow: none; border-color: transparent; }
.nl-form .btn { border-radius: 0; flex-shrink: 0; }

.footer-trust { background: rgba(15,14,23,.96); border-top: 1px solid rgba(255,255,255,.06); padding: 16px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.45); font-weight: 500;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ═══ MAIN FOOTER ════════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 52px;
  align-items: start;
}

/* Brand column */
.footer-brand {}
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer-wordmark {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--white);
}
.footer-wordmark em { font-style: normal; color: var(--gold); }
.footer-tagline {
  font-size: .88rem; color: rgba(255,255,255,.4); line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.social-link {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: border-color .18s, color .18s, background .18s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,151,58,.1); opacity: 1; }

/* Link columns */
.footer-col {}
.footer-col-heading {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 16px; font-weight: 600;
  font-family: var(--font-body);
}
.footer-link {
  display: block; font-size: .875rem; color: rgba(255,255,255,.5);
  margin-bottom: 9px; transition: color .15s; text-decoration: none;
}
.footer-link:hover { color: var(--white); opacity: 1; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }

.footer-payments { display: flex; align-items: center; gap: 8px; }
.pay-badge {
  height: 26px; padding: 0 8px; border-radius: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.pay-paypal { padding: 0 10px; }

.footer-secure {
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem; color: rgba(255,255,255,.3);
}
.footer-secure svg { color: rgba(255,255,255,.3); }

/* ─── Empty states ───────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 24px; color: var(--muted); }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }

/* ─── PayPal button container ────────────────────────────────────────────────── */
#paypal-button-container { min-height: 50px; }

/* ═══ RESPONSIVE ══════════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .footer-inner .footer-col:last-child { grid-column: 2; }
  .hp-transcript-inner { gap: 48px; }
}
@media (max-width: 900px) {
  /* Home sections */
  .hp-hero-inner        { grid-template-columns: 1fr; }
  .hp-hero-visual       { display: none; }
  .hp-transcript-inner  { grid-template-columns: 1fr; }
  .hp-cta-inner         { flex-direction: column; text-align: center; }
  .hp-cta-actions       { justify-content: center; }
  .hp-steps             { flex-direction: column; align-items: center; }
  .hp-step-arrow        { transform: rotate(90deg); }
  /* Footer */
  .footer-inner         { grid-template-columns: 1fr 1fr; }
  .footer-brand         { grid-column: 1 / -1; }
  .footer-inner .footer-col:last-child { grid-column: auto; }
  .modal-header         { grid-template-columns: 120px 1fr; }
  .nav-dropdown         { display: none !important; }
  .newsletter-inner     { flex-direction: column; align-items: flex-start; }
  .nl-form              { width: 100%; }
  .nl-form input[type=email] { min-width: 0; flex: 1; }
}
@media (max-width: 768px) {
  .site-nav             { display: none; }
  .header-actions .hdr-signup,
  .header-actions .nav-link-login { display: none; }
  .nav-toggle           { display: flex; }
  .hdr-user-btn .hdr-username { display: none; }
  .hdr-user-btn .nav-chevron  { display: none; }
  .user-dropdown        { display: none !important; }
  .trust-inner          { gap: 16px; }
  .hp-books-head        { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hp-stats             { gap: 0; }
  .hp-stat              { padding: 0 16px; }
}
@media (max-width: 640px) {
  .auth-card            { padding: 32px 24px; }
  .footer-inner         { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .modal-header         { grid-template-columns: 1fr; }
  .modal-cover          { display: none; }
  .announce-inner       { justify-content: flex-start; padding-right: 40px; }
  .trust-inner          { justify-content: flex-start; }
  .hp-hero              { padding: 52px 0 48px; }
  .hp-h1                { font-size: 2.2rem; }
  .hp-hero-actions      { flex-direction: column; }
  .hp-hero-actions .btn { width: 100%; justify-content: center; }
  .hp-stats             { flex-wrap: wrap; row-gap: 20px; }
  .hp-cats-grid         { grid-template-columns: 1fr 1fr; }
  .hp-testimonials-grid { grid-template-columns: 1fr; }
  .hp-cta               { padding: 60px 0; }
}

/* ─── Loading spinner ────────────────────────────────────────────────────────── */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Notification toast ──────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--ink); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(80px); opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error   { border-left: 4px solid var(--error); }
