/* =====================================================================
   ReadLume, post-launch landing
   Direction: dark editorial / literary luxury (matches the brand app +
   coming-soon site). Charcoal base, warm parchment ink, rose-gold accent.
   Type: Fraunces (literary serif display) + Outfit (UI / body).
   Shared across index.html, features.html, pricing.html.
   ===================================================================== */

:root {
  /* ---- Core dark palette (from app_theme.dart) ---- */
  --bg:        #1a1916;   /* deep charcoal reading-room base */
  --bg-2:      #1f1d19;
  --surface:   #242019;   /* raised surface / cards */
  --surface-2: #2c281f;   /* hover / elevated */
  --ink:       #efe2cd;   /* primary text, warm parchment */
  --ink-soft:  #cdbda3;   /* secondary text */
  --muted:     #978a76;   /* muted / helper */
  --line:      rgba(229, 209, 184, 0.12);
  --line-2:    rgba(229, 209, 184, 0.24);

  /* ---- Accents ---- */
  --parchment:    #e5d1b8;
  --parchment-hi: #f4e8d4;
  --rose:         #d4937a;  /* brand rose-gold from the logo */
  --rose-hi:      #eec3af;
  --rose-deep:    #9a5a41;
  --espresso:     #4e342e;

  /* ---- Legacy aliases (kept so existing markup/inline styles resolve) ---- */
  --amber: var(--rose); --deep-amber: var(--rose-hi); --cream: var(--parchment);
  --d-page: var(--bg); --d-panel: var(--surface); --d-elev: var(--surface-2);
  --gold: var(--parchment); --deep-gold: var(--rose); --d-head: var(--ink);
  --d-body: var(--ink-soft); --d-muted: var(--muted); --d-line: var(--line);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --text-hero: clamp(2.9rem, 1.6rem + 5.4vw, 6rem);
  --text-h1:   clamp(2.2rem, 1.4rem + 2.9vw, 3.6rem);
  --text-h2:   clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  --text-h3:   clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --text-lead: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);

  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow-md: 0 24px 60px -30px rgba(0,0,0,0.85);
  --shadow-glow: 0 22px 60px -24px rgba(212,147,122,0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset --------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.04;
  letter-spacing: -0.02em; color: var(--ink); font-optical-sizing: auto;
}
::selection { background: rgba(212,147,122,0.3); color: #fff; }

/* Filmic grain over the whole page, quiet literary texture */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(2.8rem, 1.8rem + 4vw, 5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--parchment); font-family: var(--font-body);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--rose); box-shadow: 0 0 10px rgba(212,147,122,0.7);
}
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2 { font-size: var(--text-h2); margin-top: 0.9rem; }
.section-head p { color: var(--ink-soft); font-size: var(--text-lead); margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }

/* Section glow helper */
.glow-top::before, .glow-mid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.glow-top::before {
  background: radial-gradient(60% 50% at 50% -8%, rgba(229,209,184,0.16), rgba(212,147,122,0.06) 40%, transparent 70%);
}

/* ---- Metallic accent text (rose-gold sheen, echoes the logo) ------- */
.metal, .metal-d, .accent {
  background: linear-gradient(100deg, var(--parchment-hi) 0%, var(--rose-hi) 52%, var(--rose) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rose); /* fallback */
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal, .metal-d, .accent { color: var(--rose-hi); }
}

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 500; font-size: 1.02rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 999px; min-height: 54px;
  transition: transform 0.2s var(--ease), box-shadow 0.28s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: #211b15;
  background: linear-gradient(180deg, var(--parchment-hi), var(--parchment));
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(180deg, #fbf1df, var(--parchment-hi)); box-shadow: 0 28px 70px -24px rgba(212,147,122,0.6); }
.btn-ghost {
  background: rgba(229,209,184,0.03); color: var(--ink); border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-hi); transform: translateY(-2px); }
.btn-lg { font-size: 1.1rem; padding: 1.1rem 2rem; min-height: 60px; }
.btn-block { width: 100%; }
.cta-note { font-size: 0.86rem; color: var(--muted); margin-top: 0.9rem; }

/* ---- Navigation ---------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { display: inline-flex; align-items: center; transition: opacity 0.2s var(--ease); }
.brand:hover { opacity: 0.85; }
.brand-logo { height: clamp(52px, 5.6vw, 64px); width: auto; object-fit: contain;
  filter: drop-shadow(0 3px 16px rgba(212,147,122,0.32)); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--parchment); }
.nav-links a[aria-current="page"] { color: var(--parchment); position: relative; }
@media (min-width: 861px) {
  .nav-links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--rose), var(--rose-hi));
  }
}
.nav-actions { display: flex; align-items: center; gap: 0.9rem; }
.nav-cta { padding: 0.6rem 1.25rem; min-height: 46px; font-size: 0.95rem; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; color: var(--ink); border: 1px solid var(--line); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 90px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 0.5rem 24px 1.3rem; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform 0.35s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .nav .nav-cta-desktop { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(56% 52% at 72% 22%, rgba(229,209,184,0.20), transparent 68%),
    radial-gradient(46% 46% at 14% 4%, rgba(212,147,122,0.16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(rgba(229,209,184,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 70% at 64% 26%, #000, transparent 80%);
          mask-image: radial-gradient(70% 70% at 64% 26%, #000, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero h1 { font-size: var(--text-hero); margin: 1.1rem 0 0; line-height: 0.98; }
.hero .lead { font-size: var(--text-lead); color: var(--ink-soft); max-width: 34ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-trust { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: 0.86rem; color: var(--muted); }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); opacity: 0.7; }
@media (max-width: 900px){
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

/* ---- Phone mockup (real screenshots) ------------------------------ */
.phone-stage { display: grid; place-items: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; width: 108%; height: 108%;
  background: radial-gradient(circle at 50% 45%, rgba(229,209,184,0.26), transparent 62%);
  filter: blur(10px); z-index: 0;
}
.shot-phone {
  position: relative; z-index: 1;
  width: min(310px, 78vw); aspect-ratio: 9 / 18.4;
  background: linear-gradient(160deg, #2a241c, #131009);
  border-radius: 42px; padding: 9px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.8), inset 0 0 0 1.5px rgba(229,209,184,0.10), inset 0 0 0 6px #0b0805;
}
.shot-phone img { width: 100%; height: 100%; border-radius: 33px; object-fit: cover; object-position: center 46%; display: block; }

.np-overlay {
  position: absolute; left: 14px; right: 14px; bottom: 56px; z-index: 4;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 16px;
  background: rgba(20,17,13,0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229,209,184,0.22); box-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.np-overlay .np-art { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(150deg, var(--rose-hi), var(--rose-deep)); display: grid; place-items: center; }
.np-overlay .np-art svg { width: 20px; height: 20px; color: #1a1206; }
.np-overlay .np-txt { min-width: 0; line-height: 1.3; }
.np-overlay .np-txt .l { font-size: 8.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--parchment); font-weight: 600; }
.np-overlay .np-txt .t { font-size: 12.5px; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-overlay .np-eq { display: flex; align-items: flex-end; gap: 2px; height: 17px; margin-left: auto; flex-shrink: 0; }
.np-overlay .np-eq span { width: 3px; background: var(--parchment); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.np-overlay .np-eq span:nth-child(2){ animation-delay: -0.35s; } .np-overlay .np-eq span:nth-child(3){ animation-delay: -0.6s; } .np-overlay .np-eq span:nth-child(4){ animation-delay: -0.15s; }
@keyframes eq { 0%,100%{ height: 5px; } 50%{ height: 17px; } }
@media (prefers-reduced-motion: reduce){ .np-overlay .np-eq span { animation: none; height: 11px; } }

.phone-badge {
  position: absolute; z-index: 3; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 13px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 9px; font-size: 0.8rem; font-weight: 400;
}
.phone-badge svg { width: 20px; height: 20px; color: var(--rose); flex-shrink: 0; }
.phone-badge.b1 { top: 8%; right: -6%; }
.phone-badge.b2 { bottom: 12%; left: -8%; }
@media (max-width: 520px){ .phone-badge.b1{ right: 0; } .phone-badge.b2{ left: 0; } }

/* =====================================================================
   SOCIAL PROOF
   ===================================================================== */
.proof { background: var(--bg-2); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof-cell { background: var(--surface); padding: 1.8rem 1.5rem; text-align: center; }
.proof-cell .stars { color: var(--rose); font-size: 1.05rem; letter-spacing: 2px; }
.proof-cell .big { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.proof-cell .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.proof-cell .quote { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 720px){ .proof-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PROBLEM
   ===================================================================== */
.problem h2 { font-size: var(--text-h1); max-width: 16ch; }
.pain-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.pain {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: flex-start;
}
.pain .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(229,209,184,0.06); display: grid; place-items: center; color: var(--rose); border: 1px solid var(--line); }
.pain .ic svg { width: 22px; height: 22px; }
.pain p { font-weight: 400; color: var(--ink-soft); }
@media (max-width: 720px){ .pain-row { grid-template-columns: 1fr; } }

/* =====================================================================
   WEDGE / CORE VALUE
   ===================================================================== */
.wedge { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-2); }
.wedge::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(50% 60% at 25% 50%, rgba(212,147,122,0.14), transparent 70%); }
.wedge-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.wedge h2 { font-size: var(--text-h1); margin-top: 0.9rem; max-width: 15ch; }
.wedge p { color: var(--ink-soft); font-size: var(--text-lead); margin-top: 1.3rem; max-width: 46ch; }
.wedge .tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.wedge .tag { font-size: 0.82rem; font-weight: 400; color: var(--parchment); border: 1px solid var(--line-2); background: rgba(229,209,184,0.05); padding: 0.5rem 0.9rem; border-radius: 999px; }

.stream { display: flex; flex-direction: column; gap: 12px; }
.stream-chip {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: linear-gradient(150deg, var(--surface), rgba(31,29,25,0.6));
  border: 1px solid var(--line); border-radius: 16px; position: relative;
}
.stream-chip .num { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(212,147,122,0.14); color: var(--rose-hi); }
.stream-chip .txt strong { display: block; color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.stream-chip .txt span { font-size: 0.82rem; color: var(--muted); }
.stream-chip.is-playing { border-color: rgba(212,147,122,0.5); box-shadow: 0 0 0 1px rgba(212,147,122,0.25), 0 14px 34px rgba(0,0,0,0.4); }
.stream-chip .live { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.stream-chip .live span { width: 3px; background: var(--rose-hi); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.stream-chip .live span:nth-child(2){ animation-delay: -0.4s; } .stream-chip .live span:nth-child(3){ animation-delay: -0.7s; }
.stream-link { display: flex; justify-content: center; }
.stream-link svg { width: 22px; height: 22px; color: var(--rose); }
@media (prefers-reduced-motion: reduce){ .stream-chip .live span { animation: none; height: 9px; } }
@media (max-width: 820px){ .wedge-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   IN-ACTION SCREENSHOT GALLERY
   ===================================================================== */
.shots { background: var(--bg-2); border-block: 1px solid var(--line); }
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.shot { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.shot-frame {
  width: 100%; max-width: 240px; aspect-ratio: 9 / 18.4;
  background: linear-gradient(160deg, #2a241c, #131009);
  border-radius: 30px; padding: 7px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(229,209,184,0.08), inset 0 0 0 4px #0b0805;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.shot:hover .shot-frame { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0,0,0,0.8), inset 0 0 0 4px #0b0805; }
.shot-frame img { width: 100%; height: 100%; border-radius: 24px; object-fit: cover; object-position: center 46%; display: block; }
.shot .cap { max-width: 24ch; }
.shot .cap h3 { font-size: 1.1rem; }
.shot .cap p { font-size: 0.9rem; color: var(--muted); margin-top: 0.35rem; }
@media (max-width: 920px){ .shots-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.6rem; } }
@media (max-width: 460px){ .shots-grid { grid-template-columns: 1fr; } .shot-frame { max-width: 220px; } }

/* =====================================================================
   FEATURES
   ===================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(212,147,122,0.4); }
.fcard .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(212,147,122,0.2), rgba(212,147,122,0.05)); color: var(--rose-hi); margin-bottom: 1.2rem; }
.fcard .ic svg { width: 25px; height: 25px; }
.fcard h3 { font-size: var(--text-h3); }
.fcard p { color: var(--ink-soft); margin-top: 0.6rem; font-size: 0.96rem; }
@media (max-width: 980px){ .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; } }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step { text-align: center; padding: 1.6rem 1.2rem; position: relative; }
.step .num {
  width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem;
  color: var(--rose-hi); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
.step h3 { font-size: var(--text-h3); }
.step p { color: var(--muted); margin-top: 0.45rem; }
.steps .connector { position: absolute; top: 30px; left: 16.6%; right: 16.6%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); z-index: -1; }
@media (max-width: 720px){ .steps { grid-template-columns: 1fr; } .steps .connector { display: none; } }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing { background: var(--bg-2); border-block: 1px solid var(--line); }
.free-banner {
  display: flex; align-items: center; gap: 0.85rem; justify-content: center; text-align: center; flex-wrap: wrap;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.5rem; max-width: 640px; margin: 0 auto 2.6rem;
  font-size: 0.98rem; color: var(--ink-soft);
}
.free-banner svg { width: 22px; height: 22px; color: var(--rose); flex-shrink: 0; }
.free-banner strong { color: var(--parchment); font-weight: 600; }

.toggle-wrap { display: flex; justify-content: center; margin-bottom: 2.6rem; }
.toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); position: relative; }
.toggle button { position: relative; z-index: 1; padding: 0.62rem 1.35rem; border-radius: 999px; font-weight: 500; font-size: 0.92rem; color: var(--muted); transition: color 0.25s; display: inline-flex; align-items: center; gap: 0.5rem; }
.toggle button.active { color: #211b15; }
.toggle .glider { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: linear-gradient(180deg, var(--parchment-hi), var(--parchment)); transition: left 0.3s var(--ease), width 0.3s var(--ease); box-shadow: 0 8px 24px -10px rgba(229,209,184,0.6); }
.toggle .save { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; background: rgba(33,27,21,0.22); padding: 0.14rem 0.45rem; border-radius: 999px; }
.toggle button:not(.active) .save { background: rgba(212,147,122,0.18); color: var(--rose-hi); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; max-width: 1060px; margin-inline: auto; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plan:not(.featured):hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212,147,122,0.4); }
.plan.featured {
  border-color: rgba(212,147,122,0.45); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(212,147,122,0.25); transform: translateY(-10px); isolation: isolate;
}
.plan.featured::before { content:""; position:absolute; inset:0; z-index:-1; border-radius: var(--radius); background: radial-gradient(60% 45% at 50% 0%, rgba(212,147,122,0.18), transparent 70%); }
.plan.featured:hover { transform: translateY(-14px); box-shadow: 0 38px 80px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(212,147,122,0.4); }
.popular-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(180deg, var(--parchment-hi), var(--parchment)); color: #211b15; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.42rem 1rem; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(229,209,184,0.6); white-space: nowrap; }
.plan h3 { font-size: 1.4rem; }
.plan .price { font-family: var(--font-display); font-weight: 500; font-size: 3rem; line-height: 1; margin-top: 0.8rem; color: var(--ink); letter-spacing: -0.03em; }
.plan .price .per { font-size: 0.95rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.plan .price-sub { font-size: 0.86rem; font-weight: 500; color: var(--rose-hi); margin-top: 0.5rem; min-height: 1.1em; }
.trial-pill { display: inline-block; font-size: 0.78rem; font-weight: 500; background: rgba(229,209,184,0.06); color: var(--ink-soft); border: 1px solid var(--line-2); padding: 0.34rem 0.75rem; border-radius: 999px; margin-top: 1.1rem; }
.feat { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.feat li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.94rem; color: var(--ink-soft); }
.feat svg { width: 18px; height: 18px; color: var(--rose); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px){ .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } .plan.featured { transform: none; } .plan.featured:hover { transform: translateY(-4px); } }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.tmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tmt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tmt .stars { color: var(--rose); letter-spacing: 2px; font-size: 0.95rem; }
.tmt blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin: 1rem 0 1.4rem; }
.tmt .who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.tmt .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #211b15; font-size: 0.95rem; background: linear-gradient(145deg, var(--rose-hi), var(--rose-deep)); }
.tmt .who .name { font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.tmt .who .ctx { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px){ .tmt-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0.2rem; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.faq-q .pm { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.faq-q .pm svg { width: 15px; height: 15px; color: var(--rose-hi); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--rose); border-color: var(--rose); }
.faq-item.open .faq-q .pm svg { color: #211b15; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { color: var(--ink-soft); padding: 0 0.2rem 1.5rem; font-size: 1rem; max-width: 64ch; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.final::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(55% 70% at 50% 24%, rgba(229,209,184,0.2), rgba(212,147,122,0.08) 42%, transparent 72%); }
.final::after { content:""; position:absolute; inset:0; z-index:-1; opacity:0.5; background-image: radial-gradient(rgba(229,209,184,0.05) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%); }
.final .brand-mark { width: 132px; height: 78px; object-fit: contain; margin: 0 auto 1.6rem; filter: drop-shadow(0 4px 28px rgba(229,209,184,0.42)); }
.final .spark-lg { width: 46px; height: 46px; color: var(--parchment); margin: 0 auto 1.5rem; filter: drop-shadow(0 0 20px rgba(229,209,184,0.6)); }
.final h2 { font-size: var(--text-h1); max-width: 18ch; margin: 0 auto; }
.final p { color: var(--ink-soft); font-size: var(--text-lead); max-width: 52ch; margin: 1.3rem auto 0; }
.final .btn-wrap { margin-top: 2.4rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: #151310; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.4rem; padding-block: 3.6rem 2.6rem; }
.footer .brand-lockup { height: 64px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 16px rgba(229,209,184,0.16)); }
.footer .tagline { font-size: 0.92rem; color: var(--muted); margin: 1rem 0 1.5rem; max-width: 30ch; }
.store-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.15rem; }
.store-badge { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; padding: 0.55rem 0.95rem; transition: border-color 0.2s, transform 0.2s; }
.store-badge:hover { border-color: var(--rose); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; color: var(--ink); }
.store-badge .sb-txt { line-height: 1.1; }
.store-badge .sb-txt small { display: block; font-size: 0.62rem; color: var(--muted); letter-spacing: 0.04em; }
.store-badge .sb-txt b { font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.footer h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment); font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer ul a { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.2s; }
.footer ul a:hover { color: var(--parchment); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.84rem; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } .footer-brand-col { grid-column: 1 / -1; } }

/* =====================================================================
   SUB-PAGE HEADER + FEATURES PAGE
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(60% 80% at 50% -10%, rgba(229,209,184,0.16), transparent 65%); }
.page-hero .eyebrow { display: inline-flex; }
.page-hero h1 { font-size: var(--text-h1); margin-top: 0.9rem; max-width: 20ch; margin-inline: auto; }
.page-hero p { color: var(--ink-soft); font-size: var(--text-lead); max-width: 56ch; margin: 1.1rem auto 0; }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 540px; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.compare thead th.hl { color: var(--rose-hi); }
.compare tbody td:not(:first-child) { text-align: center; }
.compare td:first-child { color: var(--ink-soft); font-weight: 400; }
.compare tr:last-child td { border-bottom: 0; }
.compare svg.yes { width: 20px; height: 20px; color: var(--rose); display: inline-block; }
.compare .no { color: var(--muted); font-weight: 600; }
.compare .col-hl { background: rgba(212,147,122,0.06); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.feature-row:nth-child(even) .feature-row-media { order: -1; }
.feature-row h2 { font-size: var(--text-h2); }
.feature-row .eyebrow { display: inline-flex; margin-bottom: 0.7rem; }
.feature-row p { color: var(--ink-soft); font-size: var(--text-lead); margin-top: 1rem; }
.feature-row ul { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-row ul li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); }
.feature-row ul svg { width: 19px; height: 19px; color: var(--rose); flex-shrink: 0; margin-top: 3px; }
.feature-media-card { background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; min-height: 280px; display: grid; place-items: center; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-md); }
.feature-media-card::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(60% 60% at 50% 40%, rgba(212,147,122,0.16), transparent 70%); }
@media (max-width: 820px){ .feature-row { grid-template-columns: 1fr; gap: 1.8rem; } .feature-row:nth-child(even) .feature-row-media { order: 0; } }

/* =====================================================================
   Focus + scroll reveal + motion
   ===================================================================== */
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--parchment); outline-offset: 3px; border-radius: 8px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: 0.08s; } .reveal[data-d="2"]{ transition-delay: 0.16s; } .reveal[data-d="3"]{ transition-delay: 0.24s; }

@media (prefers-reduced-motion: no-preference){
  .hero-copy > * { animation: heroRise 0.8s var(--ease) both; }
  .hero-copy > :nth-child(1){ animation-delay: 0.05s; } .hero-copy > :nth-child(2){ animation-delay: 0.12s; }
  .hero-copy > :nth-child(3){ animation-delay: 0.19s; } .hero-copy > :nth-child(4){ animation-delay: 0.26s; }
  .hero-copy > :nth-child(5){ animation-delay: 0.33s; }
  .phone-stage { animation: heroPhone 1s var(--ease) 0.18s both; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes heroPhone { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =====================================================================
   LEGAL / PROSE PAGES
   ===================================================================== */
.legal { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.prose { max-width: 768px; margin-inline: auto; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); color: var(--ink); margin-top: 2.6rem; letter-spacing: -0.01em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: var(--ink); margin-top: 1.7rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose a { color: var(--rose-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212,147,122,0.45); }
.prose a:hover { color: var(--parchment); text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2rem; }
.legal-updated { display: inline-block; font-size: 0.84rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.36rem 0.9rem; margin-bottom: 2.2rem; }
.legal-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--ink-soft); font-size: 0.95rem; margin-top: 2.4rem; }
.legal-note strong { color: var(--parchment); }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(1.6rem, 1rem + 2.5vw, 3rem); max-width: 1000px; margin-inline: auto; align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card, .contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23d4937a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--parchment); box-shadow: 0 0 0 3px rgba(229,209,184,0.16); background: var(--surface);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(212,147,122,0.16); }
.form-status { margin-top: 0.9rem; font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-error { color: var(--rose-hi); }
.form-status.is-ok { color: #a9c9a0; }
.contact-aside h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-aside > p { color: var(--ink-soft); font-size: 0.96rem; }
.contact-method { display: flex; gap: 0.85rem; align-items: flex-start; padding-block: 1rem; border-top: 1px solid var(--line); }
.contact-method:first-of-type { border-top: 0; padding-top: 1.4rem; margin-top: 1rem; }
.contact-method svg { width: 22px; height: 22px; color: var(--rose); flex-shrink: 0; margin-top: 3px; }
.contact-method .cm-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-method .cm-value { color: var(--ink); font-weight: 500; }
.contact-method a.cm-value { color: var(--rose-hi); }
.contact-method a.cm-value:hover { color: var(--parchment); }

/* =====================================================================
   iOS "coming soon" modal, App Store badge opens a notify-me dialog
   ===================================================================== */
.store-badge--soon { cursor: pointer; }
.store-badge--soon .sb-txt small { color: var(--rose); }

body.ios-modal-open { overflow: hidden; }

.ios-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.25rem; }
.ios-modal[hidden] { display: none; }
.ios-modal__backdrop { position: absolute; inset: 0; background: rgba(8,6,4,0.66); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.22s var(--ease); }
.ios-modal.open .ios-modal__backdrop { opacity: 1; }

.ios-modal__dialog {
  position: relative; z-index: 1; width: min(30rem, 100%);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(212,147,122,0.15);
  transform: translateY(14px) scale(0.98); opacity: 0;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.ios-modal.open .ios-modal__dialog { transform: none; opacity: 1; }

.ios-modal__close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 10px; color: var(--muted);
  background: transparent; border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ios-modal__close:hover { color: var(--ink); border-color: var(--line-2); background: rgba(229,209,184,0.05); }
.ios-modal__close svg { width: 20px; height: 20px; }

.ios-modal__eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.5rem; }
.ios-modal__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.9rem); color: var(--ink); margin: 0 0 0.6rem; }
.ios-modal__text { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; margin-bottom: 1.4rem; max-width: 34ch; }
.ios-modal__form .field { margin-bottom: 0.9rem; }
.ios-modal .btn-block { width: 100%; }
.ios-modal__status { min-height: 1.2em; margin-top: 0.75rem; font-size: 0.9rem; }
.ios-modal__status.is-error { color: var(--rose-hi); }
.ios-modal__status.is-success { color: #a9c9a0; }

@media (prefers-reduced-motion: reduce) {
  .ios-modal__backdrop, .ios-modal__dialog { transition: none; }
}

/* =====================================================================
   Footer socials
   ===================================================================== */
.socials { display: flex; gap: 0.55rem; margin-top: 1rem; }
.social {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; color: var(--ink-soft);
  border: 1px solid var(--line-2); background: var(--surface);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.social:hover { color: var(--rose-hi); border-color: var(--rose); background: var(--surface-2); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }
/* Visually-hidden text: gives icon/image links real anchor text for crawlers without changing the layout. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   Articles hub
   ===================================================================== */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.art-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.art-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--rose), var(--rose-hi)); opacity: 0.85; }
.art-card__inner { display: flex; flex-direction: column; gap: 0.8rem; height: 100%; padding: 1.7rem 1.6rem; }
.art-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212,147,122,0.4); }
.art-card__tag {
  align-self: flex-start; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--rose-hi);
  background: rgba(212,147,122,0.1); border: 1px solid var(--line-2);
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.art-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; line-height: 1.15; color: var(--ink); }
.art-card__excerpt { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.art-card__meta { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.art-card--soon .art-card__inner { cursor: default; }
.art-card--soon:hover { transform: translateY(-3px); }
.art-note { margin-top: 2.4rem; color: var(--ink-soft); }
.art-note a { color: var(--rose-hi); }
.art-note a:hover { color: var(--parchment); }

@media (max-width: 900px){ .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .art-grid { grid-template-columns: 1fr; } }
.art-card__meta.is-live { color: var(--rose-hi); }

/* =====================================================================
   Article page (cover, meta, related, CTA) + pagination
   ===================================================================== */
.breadcrumb { max-width: 768px; margin: 0 auto 1.3rem; font-size: 0.84rem; color: var(--muted); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--rose-hi); }
.article-cover { max-width: 860px; margin: 0 auto 2.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.article-cover img { display: block; width: 100%; height: auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; max-width: 768px; margin: 0 auto 2rem; font-size: 0.88rem; color: var(--muted); }
.article-meta .tag { color: var(--rose-hi); background: rgba(212,147,122,0.1); border: 1px solid var(--line-2); padding: 0.28rem 0.72rem; border-radius: 999px; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article-cta { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.9rem 1.6rem; margin-top: 2.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.article-cta h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.5rem; }
.article-cta p { color: var(--ink-soft); margin: 0 auto 1.2rem; max-width: 48ch; }
.related { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2.6rem; }
.related h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 1.4rem; text-align: center; }

.pager { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 2.8rem; flex-wrap: wrap; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.7rem; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink-soft); font-size: 0.95rem; background: var(--surface); transition: color .2s, border-color .2s, background .2s; }
.pager a:hover { color: var(--rose-hi); border-color: var(--rose); }
.pager [aria-current="page"] { background: linear-gradient(180deg, var(--parchment-hi), var(--parchment)); color: #211b15; border-color: transparent; font-weight: 600; }
.pager .is-disabled { opacity: 0.4; pointer-events: none; }
.art-card[hidden] { display: none; }

/* "How to start" two-scenario callout (homepage #how) */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; margin: 2.6rem auto 0; }
@media (max-width: 640px) { .usecases { grid-template-columns: 1fr; } }
.usecase { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5rem 1.6rem; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.usecase:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.usecase::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--rose-hi), var(--rose-deep)); }
.usecase__tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-hi); font-weight: 600; margin-bottom: .55rem; }
.usecase__tag svg { width: 16px; height: 16px; }
.usecase h3 { font-family: var(--font-display); color: var(--ink); font-size: 1.25rem; margin: 0 0 .45rem; }
.usecase p { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin: 0; }
.usecase p code { color: var(--parchment-hi); background: var(--surface-2); padding: .05em .42em; border-radius: 6px; font-size: .88em; }
.usecase__ad { margin-top: .85rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--rose-hi); font-weight: 600; }
.usecase__ad svg { width: 15px; height: 15px; }

/* Fix: article CTA button label inherited .prose a color (rose on parchment = invisible). */
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #211b15; }
.prose a.btn-ghost, .prose a.btn-ghost:hover { color: var(--ink); }
