/* ─────────────────────────────────────────────────────────────
 * F6 (2026-05-26): force the inlined /pricing markup onto a bright
 * paper card so its text reads on the surrounding landing
 * (which alternates between dark product sections and washes of
 * watercolor — `.pricing-headline` / `.pricing-card-features` were
 * inheriting the surrounding ink and disappearing).
 * ───────────────────────────────────────────────────────────── */
.land-pricing-full {
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 24px;
  margin: 3rem auto 2rem;
  max-width: 1200px;
  padding: 3rem clamp(1rem, 4vw, 2.4rem) 3.5rem;
  box-shadow: 0 18px 48px rgba(80, 60, 30, 0.14);
  color: var(--land-ink);
}
.land-pricing-full .pricing-hero { text-align: center; max-width: 60ch; margin: 0 auto 2.4rem; }
.land-pricing-full .lab-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-rust) !important;
}
.land-pricing-full .pricing-headline {
  margin: 0.3rem 0 0.7rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  color: var(--land-ink) !important;
  text-wrap: balance;
}
.land-pricing-full .pricing-lede,
.land-pricing-full .pricing-card-features li,
.land-pricing-full .pricing-card-discount {
  color: var(--land-ink-mid) !important;
}
.land-pricing-full .pricing-card-name,
.land-pricing-full .pricing-card-amount {
  color: var(--land-ink) !important;
}
/* The founding box is a DARK jewel card (pricing.css) — its text must stay
 * light cream, NOT the landing's dark ink (that was the black-on-black bug). */
.land-pricing-full .pricing-founding-headline,
.land-pricing-full .pricing-founding-counter-num {
  color: #f7eeda !important;
}
.land-pricing-full .pricing-founding-lede,
.land-pricing-full .pricing-founding-counter-suffix {
  color: rgba(247, 238, 218, 0.82) !important;
}

/* E7 (2026-05-27): breathing pricing section + larger more prominent title.
 * User said "the pricing doesn't have a title anymore, and is compressed in
 * its page too much, i like the space it had". This restores room. */
.land-pricing-full--breathing {
  margin: 5rem auto 4rem;
  padding: 5rem clamp(1.4rem, 4vw, 3rem) 5rem;
  max-width: 1280px;
  /* 2026-05-28: drop the giant outer card frame. Box-in-box-in-box (wrap →
   * tier cards → waitlist card) read as "everything in textboxes". The wrap
   * is now an OPEN section; only the three tier cards stay as cards. */
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.land-pricing-full--breathing .land-pricing-hero {
  max-width: 64ch;
  margin: 0 auto 3.4rem;
}
.land-pricing-full--breathing .land-pricing-title {
  font-size: clamp(2.4rem, 4.6vw, 3.4rem) !important;
  line-height: 1.06;
  margin: 0.6rem 0 1rem !important;
}
.land-pricing-full--breathing .land-pricing-lede {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

/* Waitlist nested inside the pricing wrap. 2026-05-28: user said "i dont
 * like that everything is in textboxes now" — so this is NOT a bordered card.
 * It's an OPEN block separated from the tiers by a single hairline rule, with
 * generous vertical space. Let it breathe; don't lock it in a box. */
.site-waitlist-outer--in-pricing,
.site-waitlist-outer--beta {
  margin: 4rem auto 0;
  max-width: 760px;
  padding-top: 3rem;
  border-top: 1px solid var(--land-rule);
  /* 2026-06-04: the base .site-waitlist-outer paints a dark var(--bg-elev)
   * band; on the light pricing section that left the invite-only box as
   * black-on-black. Force it transparent so the dark ink text reads. */
  background: transparent !important;
  border-bottom: 0 !important;
}
.site-waitlist-outer--in-pricing .site-waitlist,
.site-waitlist-outer--beta .site-waitlist {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-align: center;
}
.site-waitlist-outer--in-pricing .site-waitlist-kicker,
.site-waitlist-outer--in-pricing .site-waitlist-title,
.site-waitlist-outer--in-pricing .site-waitlist-body,
.site-waitlist-outer--in-pricing .site-waitlist-privacy,
.site-waitlist-outer--beta .site-waitlist-kicker,
.site-waitlist-outer--beta .site-waitlist-title,
.site-waitlist-outer--beta .site-waitlist-body,
.site-waitlist-outer--beta .site-waitlist-privacy {
  color: var(--land-ink) !important;
}
.site-waitlist-outer--in-pricing .site-waitlist-kicker,
.site-waitlist-outer--beta .site-waitlist-kicker {
  color: var(--land-rust) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-waitlist-outer--in-pricing .site-waitlist-title,
.site-waitlist-outer--beta .site-waitlist-title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 3.8vw, 2.6rem) !important;
}
.site-waitlist-outer--in-pricing .site-waitlist-body,
.site-waitlist-outer--beta .site-waitlist-body {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.55;
}
.site-waitlist-outer--in-pricing .site-waitlist-body em,
.site-waitlist-outer--beta .site-waitlist-body em {
  color: var(--land-rust) !important;
  font-style: italic;
}

.land-beta {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 18% 20%, rgba(122, 160, 140, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(242, 232, 216, 0.92));
  color: var(--land-ink);
}
.land-beta__head {
  max-width: 760px;
  margin: 0 auto 2.1rem;
  text-align: center;
}
.land-beta__kicker,
.land-beta__card-kicker {
  margin: 0 0 0.55rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-beta__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: var(--land-ink);
}
.land-beta__lead {
  max-width: 64ch;
  margin: 1.15rem auto 0;
  color: var(--land-ink-mid);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.58;
}
.land-beta__grid {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.land-beta__card {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid rgba(120, 92, 58, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: 0 18px 42px rgba(68, 45, 25, 0.07);
}
.land-beta__card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--land-ink);
}
.land-beta__card p:last-child {
  margin: 0.75rem 0 0;
  color: var(--land-ink-mid);
  line-height: 1.55;
}
@media (max-width: 820px) {
  .land-beta__grid {
    grid-template-columns: 1fr;
  }
}

/* E8 (2026-05-27): Benvenuti blog card. Tilted photo strip behind a calm
 * paper card with serif italic copy — the editorial register meets the
 * background image the user wanted. */
.land-blog-benvenuto {
  margin: 4rem 0 0;
}
.land-blog-benvenuto__card {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: var(--land-paper-card);
  border-top: 1px solid var(--land-rule);
  border-bottom: 1px solid var(--land-rule);
  text-decoration: none;
  color: var(--land-ink);
  transition: opacity 200ms ease;
}
.land-blog-benvenuto__card:hover { opacity: 0.92; }
.land-blog-benvenuto__photo {
  display: block;
  height: clamp(280px, 45vh, 480px);
  background-image:
    image-set(
      url("/static/blog_background.webp") type("image/webp"),
      url("/static/blog_background.jpg") type("image/jpeg")
    );
  background-position: center 40%;
  background-size: cover;
  filter: sepia(0.18) saturate(0.92) contrast(0.96);
  border-bottom: 1px solid var(--land-rule);
  position: relative;
}
.land-blog-benvenuto__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, 0.04) 0%, rgba(20, 16, 10, 0.32) 100%);
}
.land-blog-benvenuto__inner {
  display: block;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.4rem clamp(1.4rem, 5vw, 4rem) 2.8rem;
}
.land-blog-benvenuto__kicker {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin-bottom: 0.7rem;
}
.land-blog-benvenuto__title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--land-ink);
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.land-blog-benvenuto__lede {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--land-ink-mid);
  margin-bottom: 1rem;
  max-width: 60ch;
}
.land-blog-benvenuto__more {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
  font-weight: 600;
}
.land-blog-benvenuto__card:hover .land-blog-benvenuto__more {
  color: var(--land-rust-deep, #b04022);
}

/* 2026-06-19: Learn-library promo (replaces the blog teaser on the landing).
 * Mirrors the Benvenuti card styling; points to the separate /learn SSR library. */
.land-learn-promo {
  margin: 4rem 0 0;
}
.land-learn-promo__card {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: var(--land-paper-card);
  border-top: 1px solid var(--land-rule);
  border-bottom: 1px solid var(--land-rule);
  text-decoration: none;
  color: var(--land-ink);
  transition: opacity 200ms ease;
}
.land-learn-promo__card:hover { opacity: 0.92; }
.land-learn-promo__photo {
  display: block;
  height: clamp(280px, 45vh, 480px);
  background-image:
    image-set(
      url("/static/blog_background.webp") type("image/webp"),
      url("/static/blog_background.jpg") type("image/jpeg")
    );
  background-position: center 40%;
  background-size: cover;
  filter: sepia(0.18) saturate(0.92) contrast(0.96);
  border-bottom: 1px solid var(--land-rule);
  position: relative;
}
.land-learn-promo__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, 0.04) 0%, rgba(20, 16, 10, 0.32) 100%);
}
.land-learn-promo__inner {
  display: block;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.4rem clamp(1.4rem, 5vw, 4rem) 2.8rem;
}
.land-learn-promo__kicker {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin-bottom: 0.7rem;
}
.land-learn-promo__title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--land-ink);
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.land-learn-promo__lede {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--land-ink-mid);
  margin-bottom: 1rem;
  max-width: 60ch;
}
.land-learn-promo__more {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
  font-weight: 600;
}
.land-learn-promo__card:hover .land-learn-promo__more {
  color: var(--land-rust-deep, #b04022);
}

/* E9 (2026-05-27): scroll-driven reveal. `landing-scroll-reveal.js` adds
 * `.lsr-prepped` on init and `.is-revealed` when the section enters the
 * viewport. Honors prefers-reduced-motion (no transform when reduced).
 *
 * NOTE: `.land-product-section` already has its own opacity + transform
 * lifecycle wired to `.is-in-view` — don't double-animate. The IO adds
 * .is-revealed which we map back to .is-in-view for compatibility.
 */
.lsr-prepped {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 540ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.lsr-prepped.is-revealed {
  opacity: 1;
  transform: none;
}
/* `.land-product-section` has its own animation hooks — disable lsr's
 * transform so the painted backdrop doesn't slide. Still toggle .is-in-view
 * via the IO. */
.land-product-section.lsr-prepped { transform: none; opacity: 1; transition: none; }
.land-product-section.lsr-prepped.is-revealed { /* match existing.is-in-view path */ }

@media (prefers-reduced-motion: reduce) {
  .lsr-prepped { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* landing-rebuild.css — W3 of plans/2026-05-25_north-star-v2.md.
 *
 * Adds: auth-aware profile chip, painting-reveal section titles for La
 * Passeggiata + La Voce, ISA-in-action demo styling (mirrors the canonical
 * lab page /design-lab/voce-feedback.html), plan cards with per-tier
 * personality, practice + daily section redo (radio + books/movies), and
 * the vinyl-in-story-listening affordance.
 *
 * All colors anchor on the shared --lab-* tokens from views-lab-tokens.css
 * (warm-paper light palette, same as the in-app surfaces per docs/design/
 * lab_canon.md).
 *
 * Append-only relative to landing-l1.css / landing-speech-skins.css /
 * landing-dl-widgets.css — those files keep their existing rules; this file
 * adds NEW visual layers introduced by the v2 plan.
 */

/* ── Tokens (fallbacks for the rare landing-only context where the lab
 * tokens aren't loaded; pages that load views-lab-tokens.css inherit the
 * real values). */
:root {
  --land-paper: #f7f1e8;
  --land-paper-card: #fffbf4;
  --land-paper-warm: #ede3cc;
  --land-ink: var(--ds-ink);
  --land-ink-mid: rgba(26, 23, 20, 0.62);
  --land-ink-faint: rgba(26, 23, 20, 0.34);
  --land-rule: rgba(201, 184, 154, 0.55);
  --land-rust: #d97757;
  --land-rust-deep: #b85e3f;
  --land-gold: #b8893b;
  --land-gold-deep: #8e6824;
  --land-green: #3d8f6c;
  --land-passeggiata-paint: url("/watercolor/2_Sargent_In-the-Luxembourg-Gardens_1879-scaled-e1747761407171-2048x1160.jpg");
  --land-voce-paint: url("/watercolor/e9a742cf0859e6612342df10e8b4146a.jpg");
}

/* ─────────────────────────────────────────────────────────────
 * 0. Credibility band — sits between hero and product sections.
 *    Sells legitimacy without dumping a feature list.
 * ───────────────────────────────────────────────────────────── */
/* 2026-06-04: the four PILLARS — what we built + how we differ. Made
 * prominent: each is a warm card with a big number/icon and real breathing
 * room, so they read as the load-bearing claims, not a footnote strip. */
/* 2026-06-04: FIVE PILLARS between La Passeggiata and La Voce — fancier, spread
 * wide across the screen, with a section title above them. No top accent line;
 * each is an elegant standing column with a warm gradient, a leafed icon, a
 * lift on hover, and a staggered rise-in. */
.land-credibility {
  max-width: min(1480px, 95vw);
  margin: 0 auto;
  padding: clamp(3.5rem, 10vh, 7rem) clamp(1rem, 4vw, 2.6rem);
  background: none;
  border: 0;
  box-shadow: none;
}
.land-credibility__head {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 3rem;
}
.land-credibility__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin: 0 0 0.7rem;
}
.land-credibility__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--land-ink);
  text-wrap: balance;
}
.land-credibility__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  gap: clamp(1.1rem, 1.8vw, 1.9rem);
  align-items: stretch;
}
@media (min-width: 1080px) { .land-credibility__row { grid-template-columns: repeat(5, 1fr); } }
.land-credibility__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(251, 245, 234, 0.98));
  border: 1px solid rgba(184, 137, 59, 0.22);
  border-radius: 20px;
  padding: 2.4rem 1.5rem 2.1rem;
  box-shadow: 0 22px 48px rgba(80, 60, 30, 0.13);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.land-credibility__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(80, 60, 30, 0.2);
  border-color: rgba(217, 119, 87, 0.4);
}
/* staggered entrance (driven by landing-scroll-reveal's is-revealed) */
.land-credibility.lsr-prepped .land-credibility__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-credibility.is-revealed .land-credibility__item { opacity: 1; transform: none; }
.land-credibility.is-revealed .land-credibility__item:nth-child(1) { transition-delay: 0.05s; }
.land-credibility.is-revealed .land-credibility__item:nth-child(2) { transition-delay: 0.16s; }
.land-credibility.is-revealed .land-credibility__item:nth-child(3) { transition-delay: 0.27s; }
.land-credibility.is-revealed .land-credibility__item:nth-child(4) { transition-delay: 0.38s; }
.land-credibility.is-revealed .land-credibility__item:nth-child(5) { transition-delay: 0.49s; }
@media (prefers-reduced-motion: reduce) {
  .land-credibility.lsr-prepped .land-credibility__item { opacity: 1; transform: none; transition: none; }
}
.land-credibility__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(217, 119, 87, 0.22), rgba(184, 137, 59, 0.12));
  border: 1px solid rgba(184, 137, 59, 0.32);
  color: var(--land-gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.land-credibility__icon svg { width: 26px; height: 26px; }
.land-credibility__num {
  margin: 0.4rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  color: var(--land-rust);
  line-height: 1.05;
}
.land-credibility__label {
  margin: 0.2rem 0 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--land-ink);
  font-weight: 600;
}
.land-credibility__sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--land-ink-mid);
}

/* ─────────────────────────────────────────────────────────────
 * 1. Auth-aware nav: profile chip (logged-in)
 * ───────────────────────────────────────────────────────────── */

.site-profile-slot[hidden] { display: none; }
.site-profile-slot {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}
.site-profile-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
}
.site-profile-chip__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 245, 222, 0.92), rgba(255, 220, 175, 0.78)),
    var(--land-passeggiata-paint) center/cover;
  color: var(--land-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  border: 1px solid rgba(217, 119, 87, 0.45);
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.site-profile-chip:hover .site-profile-chip__ring {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 87, 0.32);
}

/* ─────────────────────────────────────────────────────────────
 * 2. Section: painting-reveal title (La Passeggiata + La Voce)
 *
 * The "switch art" painting sits behind a large Playfair title; the title's
 * own ink + a multiply blend reveal the painting through the letters. As
 * the section enters the viewport, the painting eases in and the title's
 * strokes rise from a soft offset.
 * ───────────────────────────────────────────────────────────── */

/* Section reflow 2026-05-26 (second revision):
 *   - Each product section is now FULL-VIEWPORT-HEIGHT and scroll-snaps so
 *     La Passeggiata covers the screen, then La Voce takes over on scroll
 *     (per user feedback "it should cover the screen, then when you scroll
 *     further down, you should get la voce").
 *   - Title text now actually REVEALS the painting through the letters via
 *     background-clip:text + color:transparent (no fill-color override —
 *     that was the bug last round; the result was plain ink).
 *   - Vision text + animation slot below the painted hero band. */

/* Scroll snap container: makes the two product sections snap to fill the
 * viewport. Practice + waitlist + below scroll normally. */
.site-l1-snap {
  /* 2026-06-01: snap removed — the product sections are decramped (size to
     content) and scroll freely so the background can parallax past them. */
  scroll-snap-type: none;
}

/* Body background — bright paper at the centre, fades to the watercolor
 * painting at the edges. Scoped to the landing's <main> only so other
 * pages (blog, pricing, app) keep their own backgrounds.
 *
 * 2026-05-26 user direction: "i want the background to be less visible, in
 * the center with text it should be visible, it should be light, and fade
 * into the background image along the edges". */
.site-main--landing {
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(255, 252, 246, 1) 0%, rgba(255, 252, 246, 0.94) 35%, rgba(255, 248, 234, 0.6) 60%, transparent 100%),
    linear-gradient(180deg, rgba(247, 241, 232, 0.85), rgba(237, 227, 204, 0.92)),
    var(--land-passeggiata-paint) center / cover fixed;
}
@media (max-width: 720px) {
  .site-main--landing {
    background-attachment: scroll; /* fixed is jittery on iOS */
  }
}

.land-product-section {
  position: relative;
  margin: 0 auto;
  /* 2026-06-01: DECRAMPED — sections size to their content with generous
     breathing room instead of being squeezed into one rigid 100dvh screen
     (which clipped the demos). No scroll-snap; the page scrolls freely so the
     fixed painting parallaxes past the foreground. */
  padding: clamp(3.5rem, 9vh, 7rem) 0;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  /* 2026-06-04: base is transparent (was near-black #14100a) so sections no
   * longer show a BLACK BAR where the painting's vignette faded out. The
   * per-section painting on ::before covers edge-to-edge; the warm page
   * backdrop shows only between sections — never a dark slab. */
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(255, 247, 232, 0.92);
}

.land-product-section--passeggiata { --land-section-paint: var(--land-passeggiata-paint); }
.land-product-section--voce { --land-section-paint: var(--land-voce-paint); }
.land-product-section--maestro { --land-section-paint: url("/watercolor/3485.avif"); }
/* "Coming soon" badge on the Maestro title — the third door is a teaser for now. */
.land-product-soon {
  display: inline-block;
  font-family: var(--lab-mono, ui-monospace, monospace);
  font-size: 0.46em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: 0.45em;
  color: #b8893b;
  -webkit-text-fill-color: #b8893b;
  background: rgba(184, 137, 59, 0.12);
  border: 1px solid rgba(184, 137, 59, 0.4);
  padding: 0.3em 0.75em;
  border-radius: 999px;
  margin-left: 0.55rem;
}

/* ── Il Maestro landing demo (lmx-): the whole conversation loop in ONE card —
   the character speaks (typing + EQ bars), a word reveals its gloss, the learner
   types a reply, then ISA + grammar feedback slide in. Self-contained, no API.
   Fresh `lmx-` prefix so it can NEVER collide with landing-module-demo's `.lmd-*`
   (that collision white-on-white'd the old card). 2026-06-12. */
.land-product-anim--maestro { display: flex; justify-content: center; }
/* base .land-product-anim resets display:block and wins the cascade, killing the
   flex centering above — so center the fixed-width stage with auto margins too. */
.lmx-stage { width: min(560px, 100%); margin-inline: auto; }
.lmx-card {
  position: relative;
  border-radius: 20px;
  padding: 1.5rem 1.6rem 1.7rem;
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(217, 178, 78, 0.18), transparent 60%),
    linear-gradient(165deg, #1b130b, #0c0805);
  border: 1px solid rgba(217, 178, 78, 0.34);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  color: #f4ead7;
  overflow: hidden;
}

/* head: portrait (with EQ bars while speaking) + name + live dot */
.lmx-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.05rem; }
.lmx-portrait {
  position: relative;
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700;
  font-size: 1.45rem; color: #f4d79a;
  background: radial-gradient(circle at 35% 30%, #5a3a24, #2a1810);
  box-shadow: 0 0 0 2px #d9b24e, 0 0 26px rgba(217, 178, 78, 0.32);
  transition: box-shadow 0.3s;
}
.lmx-portrait.is-speaking { box-shadow: 0 0 0 2px #e08a63, 0 0 40px rgba(224, 138, 99, 0.55); }
.lmx-eq {
  position: absolute; left: 0; right: 0; bottom: 7px; display: none;
  justify-content: center; align-items: flex-end; gap: 2px; height: 13px;
}
.lmx-portrait.is-speaking .lmx-eq { display: flex; }
.lmx-eq i {
  width: 3px; height: 4px; border-radius: 2px; background: #f4d79a;
  animation: lmxEq 0.7s ease-in-out infinite;
}
.lmx-eq i:nth-child(2) { animation-delay: 0.12s; }
.lmx-eq i:nth-child(3) { animation-delay: 0.24s; }
.lmx-eq i:nth-child(4) { animation-delay: 0.36s; }
.lmx-eq i:nth-child(5) { animation-delay: 0.48s; }
@keyframes lmxEq { 0%, 100% { height: 4px; } 50% { height: 13px; } }
.lmx-who {
  flex: 1 1 auto;
  font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.2rem; line-height: 1.1;
}
.lmx-who small {
  display: block; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #d9b24e; opacity: 0.85; margin-top: 0.25rem;
}
.lmx-live {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase; color: #e0a868;
}
.lmx-live i { width: 7px; height: 7px; border-radius: 50%; background: #c2643f; animation: lmxBlink 1.6s ease-in-out infinite; }
@keyframes lmxBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* the character's spoken line (types in; one word gets a reveal underline) */
.lmx-say {
  position: relative;
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem); line-height: 1.25;
  margin: 0 0 0.45rem; min-height: 2.5em; color: #fff;
}
.lmx-reveal-word { border-bottom: 2px dotted #e0b86a; cursor: help; padding-bottom: 1px; }
.lmx-caret, .lmx-reply-caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  background: #d9b24e; vertical-align: -0.12em; animation: lmxCaret 1s step-end infinite;
}
@keyframes lmxCaret { 50% { opacity: 0; } }

/* reveal popover — the word → gloss the tap-to-reveal system shows */
.lmx-pop {
  position: relative; display: inline-flex; align-items: baseline; gap: 0.5rem;
  margin: 0 0 0.9rem; padding: 0.4rem 0.7rem; border-radius: 10px;
  background: #fbf3e2; color: #3a2a17; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(-4px); transition: opacity 0.32s, transform 0.32s;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.lmx-pop.is-in { opacity: 1; transform: none; }
.lmx-pop b { font-style: italic; font-weight: 700; font-size: 1.05rem; color: #b85e1f; }
.lmx-pop span { font-size: 0.95rem; color: #6a5031; }
.lmx-pop::before {
  content: ""; position: absolute; top: -6px; left: 18px;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #fbf3e2;
}

/* the learner's reply, typed live into a soft input bar */
.lmx-reply {
  display: flex; align-items: center; gap: 0.55rem; min-height: 2.2em;
  padding: 0.55rem 0.8rem; border-radius: 12px;
  background: rgba(224, 138, 99, 0.10); border: 1px solid rgba(224, 138, 99, 0.28);
  margin-bottom: 0.85rem;
}
.lmx-reply-tag {
  flex: 0 0 auto; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; color: #e08a63;
  border: 1px solid rgba(224, 138, 99, 0.4); border-radius: 999px; padding: 0.18rem 0.45rem;
}
.lmx-reply-text { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 1.2rem; color: #f6ddc8; }

/* ISA pronunciation score + acoustic + grammar tips */
.lmx-feedback {
  display: flex; align-items: center; gap: 0.9rem;
  opacity: 0; transform: translateY(6px); transition: opacity 0.45s, transform 0.45s;
}
.lmx-feedback.is-in { opacity: 1; transform: none; }
.lmx-score { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.lmx-score svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.lmx-score-track { fill: none; stroke: rgba(255, 240, 215, 0.14); stroke-width: 4; }
.lmx-score-arc {
  fill: none; stroke: #6fae7d; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 119.38; stroke-dashoffset: 119.38;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lmx-score b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.92rem; font-weight: 700; color: #f4ead7;
}
.lmx-tips { display: flex; flex-direction: column; gap: 0.4rem; flex: 1 1 auto; min-width: 0; }
.lmx-tip { display: flex; align-items: baseline; gap: 0.5rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 0.98rem; line-height: 1.2; }
.lmx-tip em {
  flex: 0 0 auto; font-style: normal; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.46rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.16rem 0.4rem; border-radius: 999px;
}
.lmx-tip--isa em { color: #2a1810; background: #e0b86a; }
.lmx-tip--gram em { color: #fff; background: #3d8f6c; }
.lmx-tip span { color: #ecdcc4; }

/* 2026-06-01: a watercolor MOVIE POSTER pinned top-right (wide screens only, so it
   never crowds the demo), with a curved dotted leader that draws the eye toward it
   — "not directly, but by design". */
.land-story-poster {
  position: absolute;
  top: clamp(3.5rem, 11vh, 7.5rem);
  right: clamp(1rem, 4vw, 3.2rem);
  width: clamp(160px, 14vw, 205px);
  aspect-ratio: 2 / 3;
  z-index: 4;
  text-decoration: none;
  transform: rotate(2.2deg);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  display: none;
}
@media (min-width: 1180px) { .land-story-poster { display: block; } }
.land-story-poster:hover { transform: rotate(0deg) scale(1.03); }
.land-story-poster__art,
.land-story-poster__wash,
.land-story-poster__frame { position: absolute; inset: 0; border-radius: 8px; }
.land-story-poster__art {
  background: url("/watercolor/joseph-wright-of-derby-the-annual-girandola-at-the-castel-santangelo-rome-1776-obelisk-art-history.jpg") center / cover;
  box-shadow: 0 22px 50px rgba(20, 14, 8, 0.55);
  border: 1px solid rgba(20, 14, 8, 0.45);
}
.land-story-poster__wash { background: linear-gradient(180deg, rgba(20,14,8,0.05) 28%, rgba(20,14,8,0.5) 58%, rgba(20,14,8,0.92)); }
.land-story-poster__frame { inset: 6px; border: 1px solid rgba(255, 247, 235, 0.34); border-radius: 4px; }
.land-story-poster__laurel {
  position: absolute; top: 0.6rem; left: 0.62rem; z-index: 2;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.46rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 247, 235, 0.95); border: 1px solid rgba(255, 247, 235, 0.5); border-radius: 999px; padding: 0.12rem 0.45rem;
}
.land-story-poster__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0.8rem 0.85rem; }
.land-story-poster__title { display: block; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.16rem; line-height: 1.04; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.land-story-poster__cap { display: block; margin-top: 0.28rem; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.46rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 247, 235, 0.8); }
.land-story-poster__leader {
  position: absolute; right: 86%; top: 68%;
  width: clamp(80px, 12vw, 220px); height: 150px;
  border-bottom: 2px dotted rgba(217, 119, 87, 0.5);
  border-left: 2px dotted rgba(217, 119, 87, 0.5);
  border-radius: 0 0 0 90%;
  pointer-events: none;
}

/* The modules "pop open" once the story has played its first beat (sequenced). */
.land-module-demo.lmd-pop-in { animation: lmd-pop-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes lmd-pop-in { from { opacity: 0; transform: translateY(22px) scale(0.97); } to { opacity: 1; transform: none; } }

/* 2026-06-01: La Voce VINYL flair on the landing (echoes the home). Pinned top-left,
   wide screens only; with the poster pinned top-right above it the eye runs a
   diagonal down the page (vinyl ↔ poster, by design). */
.land-voce-vinyl {
  position: absolute;
  top: clamp(3.5rem, 11vh, 7.5rem);
  left: clamp(1rem, 4vw, 3.4rem);
  width: clamp(150px, 14vw, 200px);
  z-index: 4;
  display: none;
  text-align: center;
}
@media (min-width: 1180px) { .land-voce-vinyl { display: block; } }
.land-voce-vinyl__disc {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 38% 32%, #2a2018 0 8%, #14100a 62% 100%);
  box-shadow: 0 24px 54px rgba(20, 14, 8, 0.6), inset 0 0 0 1px rgba(255, 247, 235, 0.07);
  overflow: hidden;
  animation: land-voce-vinyl-spin 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .land-voce-vinyl__disc { animation: none; } }
.land-voce-vinyl__art {
  position: absolute; inset: 30%;
  border-radius: 50%;
  background: url("/watercolor/e9a742cf0859e6612342df10e8b4146a.jpg") center / cover;
  box-shadow: inset 0 0 0 2px rgba(20, 14, 8, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.land-voce-vinyl__spindle { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #f3ead9; transform: translate(-50%, -50%); z-index: 2; }
.land-voce-vinyl__cap { display: block; margin-top: 0.7rem; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 247, 235, 0.72); }
@keyframes land-voce-vinyl-spin { to { transform: rotate(360deg); } }

/* Painted full-bleed background that FADES TO DARK at the edges (top + bottom
 * + sides) so the section blends with the dark base. Painting is most visible
 * in the upper-centre area where the title sits.
 *
 * F1 (2026-05-26): tighter vignette — painting fades to ink earlier (50% dark
 * by 50% radius vs 70%). Plus a stronger dark pocket directly under the title
 * region so the painting-clipped letters get reliable contrast even over
 * high-frequency painting areas. */
/* 2026-06-02: painting made MORE VISIBLE (less zoom, softer vignette).
 * background-attachment:fixed gives the parallax: painting scrolls slower
 * than the foreground so it gradually reveals as you move through the section.
 * iOS fallback stays on scroll (fixed causes jitter there). */
.land-product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* 2026-06-04: a FIXED-height band anchored to the top. The painting's size is
   * now independent of the section height, so it NO LONGER zooms/expands when
   * the story animates or the La Voce demo opens. We also dropped
   * background-attachment:fixed (the Mac scroll-jank source): scrolling is
   * smooth, the band scrolls normally with the section. */
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 92% 68% at 50% 36%, rgba(20, 16, 10, 0.46) 0%, rgba(20, 16, 10, 0.36) 60%, rgba(20, 16, 10, 0.3) 100%),
    var(--land-section-paint) center / cover no-repeat;
  /* 2026-06-04: ALPHA-MASK the band's bottom to transparent instead of fading to
     a colour. The painting dissolves and reveals whatever the page bg actually
     is (the warm off-white gradient) — so it can never mismatch / go pure white. */
  -webkit-mask: linear-gradient(180deg, #000 50%, transparent 90%);
          mask: linear-gradient(180deg, #000 50%, transparent 90%);
  filter: saturate(0.92);
}
/* 2026-06-04: the bottom-edge dark gradient was the literal "black line"
 * between the paintings — removed so sections flow into one another. */
.land-product-section::after {
  content: none;
}

/* Painted hero band — title sits CENTERED. Text reveals the painting through
 * the letters: background-clip + color:transparent (with NO fill-color
 * override — last round had `-webkit-text-fill-color: rgba(...)` which beat
 * the clip and gave us plain ink). */
.land-product-hero {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 4vw, 2rem) clamp(1.2rem, 2vw, 1.6rem);
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.land-product-kicker {
  position: relative;
  z-index: 3;
  margin: 0 0 0.6rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0c98c;  /* gold on dark */
}

/* The painting-revealed title — letters only. No stroke, no drop-shadow
 * (2026-05-26 revision: "just the title to show the painting, remove the
 * lines in the font"). The painting shows cleanly THROUGH the letterforms;
 * legibility is now a function of font weight + scale, not a stroke trick. */
.land-product-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(4rem, 13vw, 10rem);
  /* 2026-07-01: line-height was 0.95 (sub-1.0). The section's overflow:hidden then
     clipped the tops/descenders of the big italic display caps ("La Voce" / the 'gg'
     in "La Passeggiata"). 1.12 + vertical padding gives the glyphs room to clear it. */
  line-height: 1.12;
  padding: 0.06em 0 0.16em;
  letter-spacing: 0;
  text-align: center;
  color: transparent;
  /* Readability fix (2026-06-01): the raw painting through the letters was
     unreadable — its near-black slices vanished into the dark section, its white
     slices into light. A ~50% cream wash over the painting lifts the darks; a soft
     dark halo separates the letterforms from the painting's bright areas. The
     painting still reads through the letters — just legibly now. */
  background-image:
    linear-gradient(rgba(250, 242, 226, 0.5), rgba(250, 242, 226, 0.5)),
    var(--land-section-paint);
  background-size: 200% auto;
  background-position: center 40%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(20, 12, 4, 0.55)) drop-shadow(0 3px 16px rgba(20, 12, 4, 0.42));
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-product-section.is-in-view .land-product-title {
  opacity: 1;
  transform: translateY(0);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .land-product-title { color: var(--land-ink); background: none; }
}
/* 2026-05-31: La Passeggiata title pulls its painting slice from further DOWN
 * in the canvas (figures/garden rather than sky) — user wanted the letters to
 * reveal a lower part of the painting. Scoped so La Voce's title is unaffected. */
.land-product-section--passeggiata .land-product-title {
  background-position: center 62%;
}

/* Vision text — centred, narrow measure, BELOW the painted hero. Reads on
 * the dark section background; uses warm cream / amber. */
.land-product-text {
  position: relative;
  z-index: 3;
  margin: 0.9rem auto 0;
  /* 2026-06-04 — drastically widened (user: the text was "very compressed
   * horizontally"). The detail now reads across a generous measure. */
  max-width: 82ch;
  text-align: center;
  padding: 0 1.2rem;
}
.land-product-lead {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 247, 232, 0.96);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.land-product-lead em { color: #f0c98c; }
.land-product-detail {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.62;
  color: rgba(255, 247, 232, 0.86);
  margin: 0.6rem auto 0;
  max-width: 82ch;
  text-wrap: pretty;
}

/* Animation slot — sits below the vision text, capped so the whole section
 * (hero + text + anim) fits within 100dvh. Internal demo cards inside this
 * slot stay BRIGHT (warm paper) regardless of the section's dark backdrop. */
.land-product-anim {
  position: relative;
  z-index: 3;
  margin: 1.4rem auto 1.5rem;
  width: 100%;
  max-width: 1240px;
  padding: 0 clamp(1rem, 3vw, 2rem);
  /* 2026-06-02: switcher takes full width; no longer need column flex */
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

/* Legacy class kept so older markup degrades gracefully if any code still
 * references it (centred single-column fallback). */
.land-product-body {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 1.6rem;
}

/* Narrowed story-preview width per user feedback ("the story part on the
 * landing is too wide"). */
.land-passeggiata-preview {
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.6rem;
  max-width: 64ch;
  box-shadow: 0 10px 30px rgba(80, 60, 30, 0.10);
}
.land-passeggiata-preview__meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  margin: 0 0 0.6rem;
}
.land-passeggiata-preview__line {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--land-ink);
  margin: 0 0 0.9rem;
}
.land-passeggiata-preview__reveal {
  background: rgba(217, 119, 87, 0.14);
  border-radius: 4px 4px 2px 2px;
  box-shadow: inset 0 -2px 0 rgba(217, 119, 87, 0.45);
  padding: 0 2px;
}
.land-passeggiata-preview__reveal--learning {
  background: rgba(107, 114, 128, 0.12);
  box-shadow: inset 0 -2px 0 rgba(107, 114, 128, 0.40);
}

/* ─────────────────────────────────────────────────────────────
 * 2a. La Passeggiata FULL story chat mockup (2026-05-26)
 *
 * Mirrors the in-app story view: manuscript header, stage direction,
 * narrator + character lines, user input, moving orange playhead under
 * the currently-spoken Italian line, tap-to-reveal word glosses.
 * Class prefix .lpsd-* matches landing-passeggiata-story-demo.js.
 * ───────────────────────────────────────────────────────────── */

.lpsd-root {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.9rem 2.1rem 2.1rem;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(80, 60, 30, 0.16);
  font-family: "Inter", system-ui, sans-serif;
  color: var(--land-ink);
  /* 2026-05-28: two-column layout — chat (main) on the left, scene-stamp
   * aside on the right. User wanted the stamp visible "on the right hand
   * side" like in-app, and asked for the demo to BREATHE (take space), not
   * be clipped into a fixed frame. So: NO max-height; the chat column owns a
   * comfortable min-height and scrolls internally past that; the whole card
   * grows with its content. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.6rem;
  align-items: start;
}
@media (max-width: 760px) {
  .lpsd-root { grid-template-columns: minmax(0, 1fr); }
}
.lpsd-main {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  /* Pinned to the final size so the demo box doesn't grow as lines append —
     the lines area (1fr, max-height 540 + overflow) scrolls within instead. */
  height: 640px;
  min-width: 0;
}
.lpsd-main > .lpsd-lines {
  min-height: 0;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 137, 59, 0.45) transparent;
}
.lpsd-main > .lpsd-lines::-webkit-scrollbar { width: 6px; }
.lpsd-main > .lpsd-lines::-webkit-scrollbar-thumb {
  background: rgba(184, 137, 59, 0.45);
  border-radius: 999px;
}
/* Scene-stamp aside — postage-stamp watercolor + caption + feedback host. */
.lpsd-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--land-rule);
}
@media (max-width: 760px) {
  .lpsd-aside { padding-left: 0; border-left: 0; border-top: 1px solid var(--land-rule); padding-top: 1.2rem; }
}
/* 2026-05-31: the landing stamp now matches the IN-APP scene stamp
 * (.dl-thumb--stamp): a cream postage frame with dot-perforated edges (radial
 * gradient, not a mask), a real 4:5 scene PHOTO inside, and a centred gold mono
 * caption sitting in the wide bottom margin. */
.lpsd-scene-stamp {
  --stamp-bg: #fffaf0;
  position: relative;
  width: 100%;
  /* Rebalanced (2026-05-31): smaller stamp + tighter caption gap so it no longer
     dwarfs the note beneath it. */
  max-width: 232px;
  margin: 0 auto;
  padding: 8px 8px 16px;
  background:
    radial-gradient(circle at 6px 6px, transparent 5px, var(--stamp-bg) 5.5px) 0 0 / 12px 12px,
    var(--stamp-bg);
  filter: drop-shadow(0 4px 10px rgba(20, 18, 14, 0.18));
}
.lpsd-scene-stamp__art {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  /* 2026-06-01: a real WATERCOLOR scene (was a stock photo that clashed with the
     painted aesthetic). */
  background-image: url("/watercolor/robert_s._duncanson-a_dream_of_italy-1855-trivium-art-history.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.96);
}
.lpsd-scene-stamp__cap {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e6824;
}
/* Live "story text on the side" — the current line's plain-words translation,
   updated as each line animates. Replaces the old scaffolding note. */
.lpsd-aside-trans {
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid var(--land-rule);
  border-left: 3px solid var(--land-rust);
  border-radius: 0 10px 10px 0;
  min-height: 4.6rem;
}
.lpsd-aside-trans__label {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin-bottom: 0.4rem;
}
.lpsd-aside-trans__text {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--land-ink);
  animation: lpsd-trans-in 0.4s ease;
}
@keyframes lpsd-trans-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.lpsd-fb-host { margin-top: 0.2rem; }
.lpsd-fb-host:empty { display: none; }
.lpsd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--land-rule);
}
.lpsd-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 600;
  color: var(--land-ink);
}
.lpsd-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lpsd-stage {
  margin: 0.4rem 0 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
  padding: 0 0.5rem;
}

.lpsd-lines { display: flex; flex-direction: column; gap: 0.85rem; }

.lpsd-line {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.65rem;
  padding: 0.55rem 0 0.45rem;
  align-items: start;
  animation: lpsd-line-in 320ms ease;
}
@keyframes lpsd-line-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lpsd-line__role {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
  padding-top: 0.32rem;
  text-align: right;
  border-right: 1px solid var(--land-rule);
  padding-right: 0.55rem;
}
.lpsd-line--narratore .lpsd-line__role { color: var(--land-ink-faint); }
.lpsd-line__body { position: relative; padding-bottom: 1.05rem; }
.lpsd-it {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.45;
  color: var(--land-ink);
  display: inline;
}
.lpsd-line--narratore .lpsd-it { font-style: italic; color: var(--land-ink-mid); }
.lpsd-word {
  display: inline;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0 0.05em 1px;
  margin: 0;
  cursor: text;
  border-radius: 3px;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  box-shadow: inset 0 -1px 0 0 transparent;
}
/* 2026-06-01: the demo shows the REAL reveal system — frontier words in
   terracotta with a dotted underline; grammar words in green. Their colour
   persists after the reading sweep (only the lit background clears). */
.lpsd-word--has-gloss {
  cursor: pointer;
  color: var(--land-reveal-new, #c84b2a);
  border-bottom: 1px dotted rgba(200, 75, 42, 0.6);
  box-shadow: none;
  font-weight: 500;
}
.lpsd-word[data-grammar-no],
.lpsd-word[data-grammar-en] {
  color: var(--land-grammar, #2a7a3a);
  border-bottom: 2px solid rgba(42, 122, 58, 0.55);
  box-shadow: none;
}
.lpsd-word--has-gloss:hover,
.lpsd-word.is-tapped {
  background: rgba(217, 119, 87, 0.16);
  border-radius: 3px;
}
.lpsd-word.is-lit {
  background: rgba(217, 119, 87, 0.20);
  border-radius: 3px;
}
.lpsd-word.is-passed { background: transparent; }

/* Per-line orange playhead track sits under the italian line */
.lpsd-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--land-paper-warm);
  border-radius: 999px;
  overflow: visible;
}
.lpsd-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--land-gold), var(--land-rust));
}
.lpsd-track__head {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow:
    0 0 0 2px var(--land-paper-card),
    0 0 8px rgba(217, 119, 87, 0.55);
}

/* User input mimic */
.lpsd-input {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--land-rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.8rem;
  align-items: end;
}
.lpsd-input__prompt {
  grid-column: 1 / -1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lpsd-input__field {
  position: relative;
  padding: 0.6rem 0.8rem;
  background: var(--land-paper);
  border: 1px solid var(--land-rule);
  border-radius: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: var(--land-ink);
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.lpsd-input__typed { color: var(--land-ink); }
.lpsd-input__caret {
  display: inline-block;
  width: 2px;
  height: 1.05rem;
  background: var(--land-rust);
  animation: lpsd-caret-blink 1s steps(2) infinite;
}
@keyframes lpsd-caret-blink {
  from { opacity: 1; }
  to { opacity: 0; }
}
.lpsd-input__send {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--land-rule);
  background: var(--land-paper-card);
  color: var(--land-ink-faint);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: default;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.lpsd-input.is-ready .lpsd-input__send {
  background: var(--land-rust);
  color: #fff;
  border-color: var(--land-rust);
  box-shadow: 0 8px 18px rgba(217, 119, 87, 0.32);
}

.lpsd-hint {
  margin: 0.7rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  text-align: center;
}

/* 2026-05-27 — line entry animation. The story is a chat, so lines have to
 * READ as gradual: a fade + 10px slide-up, ~380ms cubic-bezier. Class is
 * added on append, the .is-in modifier triggers the transition. */
.lpsd-line--enter {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 440ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 440ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lpsd-line--enter.is-in { opacity: 1; transform: translateY(0); }

/* 2026-05-27 — richer reveal popover that MIRRORS the in-app .reveal-pop:
 * - mono kicker ("Italiensk")
 * - serif headword (the surface form)
 * - italic gloss line
 * - optional grammar block (kicker + italic body) when the word is a
 *   contraction / multi-piece form
 *
 * Replaces the old single-line tooltip. Wider, multi-row, no longer constrained
 * by `white-space: nowrap` so longer grammar notes wrap cleanly. */
/* 2026-05-28: reveal popover is WARM PAPER, not black ink — user said "the
 * revealsystem looks different there, it is black for some reason". This now
 * matches the in-app reveal (.rv-pop / .l1-reveal-pop): warm card, gold rule,
 * serif gloss. The gold left-edge marks it as a lexical reveal. */
.lpsd-pop {
  position: absolute;
  transform: translate(-50%, -100%);
  background: linear-gradient(180deg, #fffbf4 0%, #fff7ea 100%);
  color: var(--land-ink);
  padding: 0.6rem 0.85rem 0.7rem;
  border: 1px solid var(--land-rule);
  border-left: 4px solid var(--land-rust);
  border-radius: 4px 10px 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 210px;
  max-width: 330px;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 14px 30px rgba(80, 60, 30, 0.22);
  z-index: 5;
}
.lpsd-pop.is-visible { opacity: 1; transform: translate(-50%, -120%); }
.lpsd-pop__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lpsd-pop__head {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--land-rust-deep, #b04022);
  line-height: 1.15;
}
.lpsd-pop__gloss {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--land-ink);
}
.lpsd-pop__gkicker {
  margin-top: 0.32rem;
  padding-top: 0.32rem;
  border-top: 1px solid var(--land-rule);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-gold-deep, var(--ds-gold-deep));
}
.lpsd-pop__grammar {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.32;
  color: var(--land-ink-mid);
}
.lpsd-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff7ea;
}

/* ══════════════════════════════════════════════════════════════════
 * 2026-07-14 rebuild — the demo IS the in-app story surface (owner:
 * "basically identical to what's inside the app"). Distinct speakers,
 * the rich reveal card, and the learner turn as the hint cascade.
 * ══════════════════════════════════════════════════════════════════ */

/* Named-character speaker chip — Emma reads as her own voice, never as
 * quotes buried in narration. Narrator keeps the faint mono label. */
.lpsd-speaker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  padding-top: 0.15rem;
  padding-right: 0.55rem;
  border-right: 1px solid var(--land-rule);
}
.lpsd-speaker__mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--land-rust);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(180, 94, 63, 0.34);
}
.lpsd-speaker__name {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--land-rust-deep, #b04022);
  line-height: 1;
}
/* Character speech reads upright and warm; narration stays faint italic. */
.lpsd-line--emma .lpsd-it { font-style: normal; color: var(--land-ink); }

/* Rich reveal card interior — mirrors the in-app rv-pop content. */
.lpsd-pop-card { display: flex; flex-direction: column; gap: 0.2rem; }
.lpsd-pop__headrow { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.lpsd-pop__ipa {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--land-ink-faint);
}
.lpsd-pop__linelab {
  margin-top: 0.34rem;
  padding-top: 0.34rem;
  border-top: 1px solid var(--land-rule);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lpsd-pop__line {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.86rem;
  line-height: 1.32;
  color: var(--land-ink-mid);
}
.lpsd-pop__ex {
  margin-top: 0.3rem;
  padding: 0.4rem 0.55rem;
  background: rgba(184, 137, 59, 0.09);
  border-radius: 6px;
}
.lpsd-pop__exit {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.84rem;
  color: var(--land-ink);
}
.lpsd-pop__exl1 {
  font-size: 0.74rem;
  color: var(--land-ink-faint);
  margin-top: 0.1rem;
}
/* Popover flipped below the word (near the top of the card). */
.lpsd-pop--below.is-visible { transform: translate(-50%, 20px); }
.lpsd-pop--below::after {
  top: -6px;
  bottom: auto;
  border-top-color: transparent;
  border-bottom-color: #fffbf4;
}

/* Learner turn — the in-app hint cascade: goal + L1 alternatives you
 * reveal into Italian, then you write your own line. Not the answer. */
.lpsd-sayhost:empty { display: none; }
.lpsd-say {
  margin-top: 1rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--land-rule);
  border-left: 4px solid var(--land-gold, #b8893b);
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(180deg, #fffdf8, #fdf6e7);
}
.lpsd-say__goallab {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-gold-deep, #8a640f);
}
.lpsd-say__goal {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  color: var(--land-ink);
  margin: 0.2rem 0 0.7rem;
}
.lpsd-say__altlab {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  margin-bottom: 0.4rem;
}
.lpsd-alts { display: flex; flex-direction: column; gap: 0.5rem; }
.lpsd-alt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--land-rule);
  border-radius: 9px;
  background: var(--land-paper, #fffdf8);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.lpsd-alt:hover { border-color: var(--land-gold, #b8893b); }
.lpsd-alt__l1 {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.96rem;
  color: var(--land-ink);
}
.lpsd-alt__it {
  display: none;
  margin-top: 0.3rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--land-rust-deep, #b04022);
}
/* The revealed Italian is a real reveal surface — glossable words inside it. */
.lpsd-alt__it .lpsd-it { font-size: 0.9rem; font-style: italic; line-height: 1.4; }
.lpsd-alt__it .lpsd-word { padding-bottom: 0; }
.lpsd-alt__cue {
  display: inline-block;
  margin-top: 0.32rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lpsd-alt.is-revealed { background: rgba(184, 137, 59, 0.08); border-color: var(--land-gold, #b8893b); }
.lpsd-alt.is-revealed .lpsd-alt__it { display: block; }
.lpsd-alt.is-revealed .lpsd-alt__cue { display: none; }

@media (max-width: 640px) {
  .lpsd-line { grid-template-columns: 70px 1fr; }
  .lpsd-line__role { font-size: 0.55rem; }
}

/* Feedback stamp — the post-submit F3+F5 card mirroring the in-app module
 * feedback. Drops in after the user's typed answer. */
.lpsd-fb {
  margin-top: 1rem;
  padding: 0.85rem 1rem 0.8rem;
  border-radius: 10px;
  border-left: 4px solid var(--land-green);
  background: rgba(61, 143, 108, 0.06);
  animation: lpsd-fb-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes lpsd-fb-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lpsd-fb__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.lpsd-fb__icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--land-green);
  display: inline-block;
  position: relative;
}
.lpsd-fb__icon::after {
  content: "";
  position: absolute;
  inset: 5px 4px 6px 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.lpsd-fb__label {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--land-ink);
}
.lpsd-fb__chip {
  margin-left: auto;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(61, 143, 108, 0.16);
  color: #2d8060;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lpsd-fb__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .lpsd-fb__compare { grid-template-columns: 1fr; }
}
.lpsd-fb__cell {
  background: #fff;
  border: 1px solid var(--land-rule);
  border-radius: 8px;
  padding: 0.5rem 0.7rem 0.55rem;
}
.lpsd-fb__cell-label {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.lpsd-fb__cell--yours .lpsd-fb__cell-label { color: var(--land-green); }
.lpsd-fb__cell--ideal .lpsd-fb__cell-label { color: var(--land-ink-faint); }
.lpsd-fb__cell-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  color: var(--land-ink);
}
.lpsd-fb__note {
  margin: 0;
  padding: 0.55rem 0.7rem;
  background: rgba(184, 137, 59, 0.10);
  border-radius: 6px;
  border-left: 3px solid var(--land-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--land-ink-mid);
}

/* 2026-05-31: the learner's reply, popped into the chat as a right-aligned rust
 * bubble (mirrors the in-app sent line). */
.lpsd-line--user { direction: rtl; }
.lpsd-line--user > * { direction: ltr; }
.lpsd-line--user .lpsd-line__role {
  color: var(--land-rust);
  text-align: left;
  border-right: 0;
  border-left: 1px solid var(--land-rule);
  padding-right: 0;
  padding-left: 0.55rem;
}
.lpsd-line--user .lpsd-line__body {
  background: rgba(217, 119, 87, 0.12);
  border: 1px solid rgba(217, 119, 87, 0.3);
  border-radius: 12px 12px 4px 12px;
  padding: 0.5rem 0.75rem 0.55rem;
}
.lpsd-line--user .lpsd-it { color: var(--land-ink); font-style: normal; }

/* Soft-correct feedback (a small mistake) — rust instead of green, with a
 * your-answer-vs-model word diff. */
.lpsd-fb--soft .lpsd-fb__head { background: rgba(217, 119, 87, 0.12); }
.lpsd-fb--soft .lpsd-fb__icon { background: var(--land-rust); color: #fff; }
.lpsd-fb--soft .lpsd-fb__label { color: var(--land-rust-deep); }
.lpsd-fb__del {
  background: rgba(217, 119, 87, 0.18);
  color: var(--land-rust-deep);
  text-decoration: line-through;
  border-radius: 3px;
  padding: 0 2px;
}
.lpsd-fb__ins {
  background: rgba(61, 143, 108, 0.18);
  color: #1f5b41;
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 600;
}

/* ── La Passeggiata module example (landing-module-demo.js) ──────────────
 * Compact card beneath the story demo: cycles flashcard → translate → MCQ,
 * each ending in genuine feedback (verdict + diff + why). Warm paper to match
 * the in-app module overlay. 2026-05-31. */
.land-module-demo-wrap { max-width: 1060px; margin: 2.8rem auto 0; padding-top: 2rem; border-top: 1px solid var(--land-rule); }
.land-module-demo-lead {
  margin: 0 0 0.8rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: rgba(255, 247, 232, 0.9);
}
.lmd-root { display: flex; justify-content: center; }
.lmd-card {
  width: 100%;
  max-width: 680px;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(20, 18, 14, 0.16);
  padding: 1.5rem 1.7rem 1.7rem;
  color: var(--land-ink);
  font-family: "Inter", system-ui, sans-serif;
}
.lmd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.lmd-tabs { display: flex; gap: 0.3rem; }
.lmd-tab {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--land-rule);
  color: var(--land-ink-faint);
}
.lmd-tab.is-active {
  background: rgba(217, 119, 87, 0.14);
  border-color: rgba(217, 119, 87, 0.4);
  color: var(--land-rust-deep);
}
.lmd-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lmd-body { min-height: 190px; }

/* Flashcard */
.lmd-flash { position: relative; min-height: 120px; }
.lmd-flash__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  transition: opacity 320ms ease;
}
.lmd-flash__back { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lmd-flash.is-flipped .lmd-flash__front { opacity: 0; }
.lmd-flash.is-flipped .lmd-flash__back { opacity: 1; }
.lmd-flash__side {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.54rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lmd-flash__word {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-size: 1.6rem; color: var(--land-ink);
}
.lmd-flash__ex { font-size: 0.86rem; color: var(--land-ink-mid); }
.lmd-flash__ex--gloss { font-style: italic; color: var(--land-ink-faint); }
.lmd-flash__rating {
  display: flex; gap: 0.4rem; justify-content: center;
  margin-top: 1rem; opacity: 0; transition: opacity 280ms ease;
}
.lmd-flash__rating.is-in { opacity: 1; }
.lmd-rate {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--land-rule); color: var(--land-ink-mid);
}
.lmd-rate.is-pick {
  background: rgba(61, 143, 108, 0.16);
  border-color: rgba(61, 143, 108, 0.5);
  color: #1f5b41;
}

/* Translate */
.lmd-prompt {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-size: 1.1rem; color: var(--land-ink);
}
.lmd-input {
  display: flex; align-items: center; gap: 0.15rem;
  min-height: 2.4rem; padding: 0.55rem 0.7rem;
  background: var(--land-paper-warm); border: 1px solid var(--land-rule);
  border-radius: 10px;
  font-family: "Playfair Display", Georgia, serif; font-size: 1rem;
  color: var(--land-ink);
}
.lmd-input.is-done { border-color: rgba(217, 119, 87, 0.4); }
.lmd-input__caret {
  display: inline-block; width: 2px; height: 1.1rem;
  background: var(--land-rust);
  animation: lpsd-caret-blink 1s steps(2) infinite;
}
.lmd-input.is-done .lmd-input__caret { display: none; }

/* MCQ */
.lmd-cloze {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem; line-height: 1.6; color: var(--land-ink);
}
.lmd-cloze__gap {
  border-bottom: 2px solid var(--land-rust);
  padding: 0 0.3rem; color: var(--land-rust-deep); font-style: italic;
}
.lmd-cloze__gap.is-filled { border-bottom-color: rgba(61, 143, 108, 0.6); color: #1f5b41; }
.lmd-opt-grid { display: grid; gap: 0.45rem; }
.lmd-opt {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem; text-align: left;
  padding: 0.6rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--land-rule);
  background: rgba(255, 250, 240, 0.9); color: var(--land-ink);
  cursor: default; transition: background 160ms, border-color 160ms, transform 120ms;
}
.lmd-opt.is-press { transform: translateY(-1px); border-color: rgba(217, 119, 87, 0.5); }
.lmd-opt.is-correct {
  border-color: rgba(61, 143, 108, 0.6);
  background: linear-gradient(180deg, rgba(220, 245, 230, 0.9), rgba(200, 235, 215, 0.85));
  color: #1f5b41; font-weight: 600;
}
.lmd-opt.is-dim { opacity: 0.5; }

/* Feedback (shared by translate + mcq) */
.lmd-fb-slot:empty { display: none; }
.lmd-fb {
  margin-top: 0.9rem;
  border-radius: 12px; border: 1px solid var(--land-rule);
  overflow: hidden; background: var(--land-paper-card);
  opacity: 0; transform: translateY(6px);
  animation: lpsd-fb-in 360ms ease forwards;
}
.lmd-fb__head { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; }
.lmd-fb--ok .lmd-fb__head { background: rgba(61, 143, 108, 0.12); }
.lmd-fb--soft .lmd-fb__head { background: rgba(217, 119, 87, 0.12); }
.lmd-fb__icon { width: 18px; height: 18px; border-radius: 50%; position: relative; flex: 0 0 auto; }
.lmd-fb--ok .lmd-fb__icon { background: var(--land-green); }
.lmd-fb--soft .lmd-fb__icon { background: var(--land-rust); }
.lmd-fb__icon::after {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 0.7rem;
}
.lmd-fb--ok .lmd-fb__icon::after { content: "✓"; }
.lmd-fb--soft .lmd-fb__icon::after { content: "!"; }
.lmd-fb__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
}
.lmd-fb--ok .lmd-fb__label { color: var(--land-green); }
.lmd-fb--soft .lmd-fb__label { color: var(--land-rust-deep); }
.lmd-fb__compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--land-rule);
}
.lmd-fb__cell { padding: 0.55rem 0.7rem; background: var(--land-paper-card); }
.lmd-fb__cell-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--land-ink-faint); display: block; margin-bottom: 0.2rem;
}
.lmd-fb__text { font-size: 0.92rem; color: var(--land-ink); }
.lmd-fb__del {
  background: rgba(217, 119, 87, 0.18); color: var(--land-rust-deep);
  text-decoration: line-through; border-radius: 3px; padding: 0 2px;
}
.lmd-fb__ins {
  background: rgba(61, 143, 108, 0.18); color: #1f5b41;
  border-radius: 3px; padding: 0 2px; font-weight: 600;
}
.lmd-fb__why {
  margin: 0; padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.84rem; line-height: 1.5; color: var(--land-ink-mid);
  border-top: 1px solid var(--land-rule);
}

/* ─────────────────────────────────────────────────────────────
 * 2a-b. La Voce listening write-back (.lvwb-*) — D4 of the
 *       2026-05-26 plan. The user hears, types, and gets a
 *       L1-aware teaching note when they mishear.
 * ───────────────────────────────────────────────────────────── */

.lvwb-root {
  display: grid;
  gap: 0.9rem;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 14px;
  padding: 1.4rem 1.6rem 1.5rem;
  /* 2026-05-27 — listen-writeback sits as a full-width row beneath the
   * ISA + shadowing pair. Wider so the demo reads as a peer to the pair
   * above, not a small chip. */
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(80, 60, 30, 0.10);
}
.lvwb-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvwb-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.7rem;
  background: var(--land-paper);
  border: 1px solid var(--land-rule);
  border-radius: 999px;
}
.lvwb-player__play, .lvwb-player__speed {
  border: 0;
  background: transparent;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--land-rust);
  cursor: pointer;
  padding: 0.25rem 0.55rem;
}
.lvwb-player__speed { color: var(--land-ink-mid); }
.lvwb-player__bar {
  position: relative;
  height: 6px;
  background: var(--land-paper-warm);
  border-radius: 999px;
  overflow: visible;
}
.lvwb-player__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--land-gold), var(--land-rust));
}
.lvwb-player__head {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow: 0 0 0 2px var(--land-paper-card), 0 0 8px rgba(217, 119, 87, 0.5);
}
.lvwb-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.6rem;
  align-items: end;
}
.lvwb-form__label {
  grid-column: 1 / -1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
}
.lvwb-form__input {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--land-rule);
  background: var(--land-paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: var(--land-ink);
  min-width: 0;
}
.lvwb-form__input:focus { outline: none; border-color: var(--land-rust); }
.lvwb-form__submit {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--land-rust);
  background: var(--land-rust);
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.lvwb-form__submit:disabled { opacity: 0.6; cursor: default; }
.lvwb-teach {
  margin-top: 0.4rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(184, 137, 59, 0.10);
  border-left: 4px solid var(--land-gold);
}
.lvwb-teach--miss { background: rgba(217, 119, 87, 0.10); border-left-color: var(--land-rust); }
.lvwb-teach--close { background: rgba(184, 137, 59, 0.12); border-left-color: var(--land-gold); }
.lvwb-teach__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-gold-deep);
}
.lvwb-teach__headline {
  margin: 0.35rem 0 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--land-ink);
}
.lvwb-teach__tip {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
}
.lvwb-teach__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.lvwb-teach__replay, .lvwb-teach__retry {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--land-rule);
  background: var(--land-paper);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-rust);
  cursor: pointer;
}
.lvwb-teach__replay:hover, .lvwb-teach__retry:hover {
  background: rgba(217, 119, 87, 0.08);
  border-color: var(--land-rust);
}
.lvwb-error {
  margin: 0;
  font-size: 0.85rem;
  color: var(--land-rust-deep);
}

/* ─────────────────────────────────────────────────────────────
 * 2b. La Passeggiata story audio-bar (the moving orange bar)
 *
 * Class prefix .lpab-* matches landing-passeggiata-audio-bar.js. The bar
 * doubles as the canonical audio-clip UX for in-app listening exercises —
 * keep selectors stable.
 * ───────────────────────────────────────────────────────────── */

.lpab-root {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.4rem 1.6rem 1.6rem;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(80, 60, 30, 0.12);
}
.lpab-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.lpab-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lpab-meta {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--land-ink-mid);
}

.lpab-stage {
  position: relative;
  padding-bottom: 0.4rem;
}

.lpab-line {
  margin: 0 0 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.5;
  color: var(--land-ink);
  text-align: left;
  letter-spacing: 0;
}

.lpab-word {
  display: inline-block;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0.05em 0.18em;
  margin: 0 0.02em;
  border-radius: 4px 4px 2px 2px;
  cursor: pointer;
  position: relative;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
  /* The "there is something underneath" affordance: a faint dashed underline
   * always present so the user knows the words are interactive. */
  box-shadow: inset 0 -2px 0 0 rgba(217, 119, 87, 0.0);
}
.lpab-word--phrase {
  /* Phrase spans get a slightly stronger affordance — they're the multi-word
   * units that benefit most from the reveal. */
  box-shadow: inset 0 -2px 0 0 rgba(184, 137, 59, 0.28);
}
.lpab-word:hover,
.lpab-word.is-tapped {
  background: rgba(217, 119, 87, 0.12);
  box-shadow: inset 0 -2px 0 0 rgba(217, 119, 87, 0.55);
}
/* Lit = the playhead is currently over this word. The plate brightens
 * subtly + a warm underline appears, making clear "there is a clickable
 * thing under here" without yelling at the eye. */
.lpab-word.is-lit {
  background: rgba(217, 119, 87, 0.18);
  box-shadow: inset 0 -3px 0 0 rgba(217, 119, 87, 0.65);
  color: var(--land-rust-deep);
}
.lpab-word.is-passed {
  background: rgba(217, 119, 87, 0.06);
  color: var(--land-ink-mid);
  box-shadow: inset 0 -2px 0 0 rgba(217, 119, 87, 0.18);
}

/* The tape track + orange playhead */
.lpab-track {
  position: relative;
  width: 100%;
  height: 10px;
  background: var(--land-paper-warm);
  border: 1px solid var(--land-rule);
  border-radius: 999px;
  overflow: visible;
  margin: 0.6rem 0 0.3rem;
  box-shadow: inset 0 2px 6px rgba(80, 60, 30, 0.10);
}
.lpab-track__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--land-gold), var(--land-rust));
  transition: none; /* JS drives width via rAF */
}
.lpab-track__head {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow:
    0 0 0 3px var(--land-paper-card),
    0 0 0 4px rgba(217, 119, 87, 0.65),
    0 0 14px rgba(217, 119, 87, 0.55);
}

.lpab-foot {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lpab-foot__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.18);
}

/* Click popover (Norwegian/English gloss on tap) */
.lpab-pop {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--land-ink);
  color: var(--land-paper-card);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.lpab-pop.is-visible {
  opacity: 1;
  transform: translate(-50%, -120%);
}
.lpab-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--land-ink);
}

@media (prefers-reduced-motion: reduce) {
  .lpab-word { transition: none; }
  .lpab-track__fill { transition: none; }
}

/* ─────────────────────────────────────────────────────────────
 * 2c. Vinyl moved INTO La Voce story mode (per 2026-05-25 feedback)
 * ───────────────────────────────────────────────────────────── */

.land-voce-vinyl {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin: 0 auto;
  background: none;
  border: 0;
  cursor: default;
  color: var(--land-ink);
}
.land-voce-vinyl__disc {
  width: clamp(180px, 22vw, 240px);
  height: clamp(180px, 22vw, 240px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #16100a 0 22%, transparent 23%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.5) 0 1.5px, rgba(40, 28, 18, 0.95) 2.5px, rgba(40, 28, 18, 0.95) 5px);
  position: relative;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  animation: land-vinyl-spin 16s linear infinite;
}
.land-voce-vinyl__paint {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--land-voce-paint) center/cover;
  box-shadow: 0 0 0 1px rgba(255, 250, 240, 0.18);
}
.land-voce-vinyl__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
@media (prefers-reduced-motion: reduce) {
  .land-voce-vinyl__disc { animation: none; }
}

/* ─────────────────────────────────────────────────────────────
 * 3a. La Voce shadowing demo (.lvsd-*) — dual-waveform diff with
 *     per-word green/amber/red, mirrors the in-app shadowing surface.
 *     2026-05-26 user direction: "show shadowing mode AS WELL for la voce".
 * ───────────────────────────────────────────────────────────── */

.lvsd-root {
  position: relative;
  background:
    linear-gradient(180deg, #fffbf4 0%, #fff7ea 100%);
  border: 1px solid var(--land-rule);
  border-radius: 4px 18px 18px 4px;
  padding: 1.3rem 1.5rem 1.2rem 2.2rem;
  box-shadow:
    0 18px 44px rgba(20, 16, 10, 0.45),
    0 2px 6px rgba(20, 16, 10, 0.18);
  /* F4 (2026-05-26): 640 → 820 so the shadowing demo carries the same
   * visual weight as the ISA demo. */
  max-width: 820px;
  width: 100%;
  /* 2026-05-28: height cap REMOVED — let the shadowing card take the space
   * its content needs instead of clipping. */
  margin: 0 auto;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--land-ink);
}

/* F4 — speed chips row above the rails. */
.lvsd-speed {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.9rem 0 0.85rem;
  padding: 0.4rem 0.55rem;
  background: rgba(184, 137, 59, 0.07);
  border: 1px solid rgba(184, 137, 59, 0.22);
  border-radius: 999px;
  width: fit-content;
}
.lvsd-speed__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
  padding: 0 0.55rem 0 0.35rem;
}
.lvsd-speed__chip {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--land-ink-mid);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.lvsd-speed__chip:hover { color: var(--land-rust-deep); background: rgba(217, 119, 87, 0.08); }
.lvsd-speed__chip.is-active {
  background: var(--land-rust);
  color: #fff;
}

/* F4 — "What we measure" badge row. */
.lvsd-measure {
  margin: 1rem 0 0.9rem;
  padding: 0.8rem 0.9rem 0.9rem;
  background: rgba(184, 137, 59, 0.06);
  border: 1px solid rgba(184, 137, 59, 0.22);
  border-radius: 12px;
}
.lvsd-measure__heading {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin-bottom: 0.55rem;
}
.lvsd-measure__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.55rem;
}
.lvsd-measure__cell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 0.6rem;
}
.lvsd-measure__label {
  grid-column: 1 / -1;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--land-ink);
}
.lvsd-measure__bar {
  height: 6px;
  background: var(--land-paper-warm);
  border-radius: 999px;
  overflow: hidden;
}
.lvsd-measure__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--land-gold), var(--land-rust));
  border-radius: 999px;
}
.lvsd-measure__val {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: var(--land-ink-mid);
  text-align: right;
}
/* 2026-05-31: the dashed rail decoration belonged to the old waveform layout —
 * removed with the rails. */
.lvsd-root::before { content: none; }

/* New chip line — the sentence at the top, word by word. */
.lvsd-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem 0.45rem;
  margin: 0.2rem 0 0.2rem;
}
.lvsd-chip {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.1;
  padding: 0.3rem 0.55rem 0.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--land-ink);
  cursor: default;
  transition: background 200ms ease, border-color 200ms ease, transform 160ms ease, box-shadow 200ms ease;
}
.lvsd-chip--has-tip { cursor: pointer; padding-bottom: 1.3rem; }
.lvsd-chip--amber {
  background: rgba(184, 137, 59, 0.12);
  box-shadow: inset 0 -3px 0 rgba(184, 137, 59, 0.5);
}
.lvsd-chip--red {
  background: rgba(217, 119, 87, 0.14);
  box-shadow: inset 0 -3px 0 var(--land-rust);
  color: var(--land-rust-deep);
}
.lvsd-chip__tag {
  position: absolute;
  left: 0.35rem;
  bottom: 0.25rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lvsd-chip--amber .lvsd-chip__tag { color: #8e6824; }
.lvsd-chip--red .lvsd-chip__tag { color: var(--land-rust-deep); }
.lvsd-chip.is-playing {
  background: rgba(217, 119, 87, 0.18);
  border-color: rgba(217, 119, 87, 0.42);
  transform: translateY(-2px);
}
.lvsd-chip.is-played { opacity: 0.96; }
.lvsd-chip.is-tipped { border-color: var(--land-rust); }
.lvsd-chip--has-tip:hover { background: rgba(217, 119, 87, 0.1); }
.lvsd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.lvsd-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvsd-meta {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--land-ink-mid);
}

.lvsd-rails {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.6rem;
  align-items: stretch;
}
.lvsd-rail-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.3rem 0.2rem 0.3rem 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lvsd-rail-label--native { color: var(--land-green); }
.lvsd-rail-label--user { color: var(--land-rust); }

/* D5 (2026-05-26) — per-speaker palette. The native lane (waveform bars +
 * rail label + word green-state) picks up the speaker's accent colour so
 * voices feel distinguishable across sessions. Default (no speaker class)
 * keeps the existing green. Class set by `mountShadowingView` from the
 * `speakerId` option; SPEAKER_PALETTE in speech-shadowing.js is canonical. */
.lvsd-speaker--marco  .lvsd-rail-label--native,
.lvsd-speaker--marco  .lvsd-word--green .lvsd-lane--native .lvsd-bar { color: #b8893b; }
.lvsd-speaker--marco  .lvsd-lane--native            .lvsd-bar { background: #b8893b !important; }
.lvsd-speaker--sofia  .lvsd-rail-label--native { color: #3d8f6c; }
.lvsd-speaker--sofia  .lvsd-lane--native            .lvsd-bar { background: #3d8f6c !important; }
.lvsd-speaker--luca   .lvsd-rail-label--native { color: #7a5a8a; }
.lvsd-speaker--luca   .lvsd-lane--native            .lvsd-bar { background: #7a5a8a !important; }
.lvsd-speaker--giulia .lvsd-rail-label--native { color: #c2553f; }
.lvsd-speaker--giulia .lvsd-lane--native            .lvsd-bar { background: #c2553f !important; }

.lvsd-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.45rem;
  align-items: stretch;
}
.lvsd-word {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0.3rem 0.55rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.lvsd-word.is-playing {
  background: rgba(217, 119, 87, 0.10);
  border-color: rgba(217, 119, 87, 0.42);
  transform: translateY(-2px);
}
.lvsd-word__label {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--land-ink);
  text-align: center;
  line-height: 1;
}
.lvsd-word__tag {
  position: absolute;
  bottom: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}
.lvsd-word--green .lvsd-word__tag { background: rgba(61, 143, 108, 0.16); color: #2d8060; }
.lvsd-word--amber .lvsd-word__tag { background: rgba(184, 137, 59, 0.18); color: #8e6824; }
.lvsd-word--red   .lvsd-word__tag { background: rgba(217, 119, 87, 0.28); color: var(--land-rust-deep); }

/* Waveform lanes — two per word */
.lvsd-lane {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1px;
  height: 32px;
  border-radius: 4px;
  padding: 1px 2px;
  background: rgba(255, 245, 222, 0.8);
}
.lvsd-lane--native { background: rgba(61, 143, 108, 0.08); }
.lvsd-lane--user   { background: rgba(217, 119, 87, 0.06); }
.lvsd-bar {
  flex: 1 1 0;
  min-width: 2px;
  max-width: 6px;
  height: var(--h);
  border-radius: 1px;
}
.lvsd-lane--native .lvsd-bar { background: var(--land-green); opacity: 0.78; }
.lvsd-lane--user   .lvsd-bar { background: var(--land-rust); opacity: 0.78; }
.lvsd-word--green  .lvsd-lane--user .lvsd-bar { background: var(--land-green); opacity: 0.78; }
.lvsd-word--red    .lvsd-lane--user .lvsd-bar { background: var(--land-rust-deep); opacity: 0.88; }
.lvsd-word.is-playing .lvsd-bar {
  animation: lvsd-bar-pulse 0.4s ease-in-out infinite alternate;
}
@keyframes lvsd-bar-pulse {
  to { opacity: 1; transform: scaleY(1.06); }
}

.lvsd-foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  flex-wrap: wrap;
}
.lvsd-key { display: inline-flex; align-items: center; gap: 0.3rem; }
.lvsd-dot { width: 7px; height: 7px; border-radius: 50%; }
.lvsd-dot--green { background: var(--land-green); }
.lvsd-dot--amber { background: var(--land-gold); }
.lvsd-dot--red   { background: var(--land-rust); }
.lvsd-hint { margin-left: auto; font-style: italic; text-transform: none; letter-spacing: 0; color: var(--land-ink-mid); font-family: "Playfair Display", Georgia, serif; font-size: 0.78rem; }

/* E3 (2026-05-27): inline direct-coaching tip surfaced on word tap. */
.lvsd-word--has-tip { cursor: pointer; }
.lvsd-word--has-tip:hover .lvsd-word__tag { transform: translateY(-1px); }
.lvsd-word.is-tipped { outline: 2px solid var(--land-rust); outline-offset: 2px; border-radius: 4px; }
.lvsd-tip-slot { margin-top: 0.85rem; min-height: 52px; }
.lvsd-tip {
  border-left: 3px solid var(--land-rust);
  background: rgba(217, 119, 87, 0.07);
  border-radius: 4px 10px 10px 4px;
  padding: 0.75rem 0.95rem 0.8rem 1rem;
  font-family: "Playfair Display", Georgia, serif;
  animation: lvsd-tip-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes lvsd-tip-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lvsd-tip__head {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--land-rust);
  margin-bottom: 0.35rem;
}
.lvsd-tip__body {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--land-ink);
}

/* C4 (2026-05-27): production shadowing's single coaching-note line. */
.lvsd-coaching-note {
  margin: 0.9rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--land-ink-mid);
  border-left: 3px solid var(--land-rust);
  padding: 0.5rem 0.85rem 0.5rem 0.95rem;
  background: rgba(217, 119, 87, 0.06);
  border-radius: 4px 10px 10px 4px;
}

/* ─────────────────────────────────────────────────────────────
 * 3b. Visual stress + length diff in the ISA demo (.lvid-*)
 *     2026-05-26 user direction: "showing more where you put the stress
 *     vs where it should be, how long your f was vs how it should be".
 * ───────────────────────────────────────────────────────────── */

/* Stress comparison strip — one row per flagged word, showing actual vs
 * target stress dot positions over the word's syllables. */
.lvid-stress-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin: 0.6rem 0 0.4rem;
}
.lvid-stress-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.6rem;
  align-items: center;
}
.lvid-stress-row__word {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--land-ink);
  text-align: right;
}
.lvid-stress-row__bar {
  position: relative;
  height: 26px;
  display: flex;
  gap: 2px;
}
.lvid-stress-syl {
  flex: 1 1 0;
  background: var(--land-paper-warm);
  border: 1px solid var(--land-rule);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--land-ink-mid);
}
.lvid-stress-syl--target {
  background: rgba(61, 143, 108, 0.18);
  border-color: rgba(61, 143, 108, 0.55);
  color: #1f5b41;
}
.lvid-stress-syl--actual {
  background: rgba(217, 119, 87, 0.18);
  border-color: rgba(217, 119, 87, 0.55);
  color: var(--land-rust-deep);
}
.lvid-stress-syl__dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Length diff bar — actual vs target side by side. */
.lvid-length-strip { display: grid; gap: 0.4rem; margin: 0.6rem 0 0.2rem; }
.lvid-length-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.6rem;
  align-items: center;
}
.lvid-length-label {
  text-align: right;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--land-ink);
}
.lvid-length-track {
  position: relative;
  height: 18px;
  background: var(--land-paper-warm);
  border-radius: 4px;
  border: 1px solid var(--land-rule);
  overflow: hidden;
}
.lvid-length-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 4px 0 0 4px;
  transition: width 600ms ease;
}
.lvid-length-fill--target { background: rgba(61, 143, 108, 0.45); }
.lvid-length-fill--actual { background: rgba(217, 119, 87, 0.7); }
.lvid-length-row + .lvid-length-row .lvid-length-fill--actual {
  background: rgba(217, 119, 87, 0.7);
}
.lvid-length-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: rgba(61, 143, 108, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.lvid-length-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--land-ink-faint);
  display: inline-block;
  margin-left: 0.4rem;
}

/* ─────────────────────────────────────────────────────────────
 * 3c. Multi-dial adaptive section (replaces single-dial daily-practice
 *     visualization). Several dials evolve over time showing how the path
 *     adjusts as the user uses the app.
 * ───────────────────────────────────────────────────────────── */

.land-multi-dial {
  position: relative;
  /* 2026-06-04: no top gap — the hero meets "we measure" directly (no faded band). */
  margin: 0 auto 3rem;
  max-width: 1180px;
  padding: 3.4rem clamp(1rem, 4vw, 2rem) 3rem;
  /* warm watercolor blooms (gold top-left, rust bottom-right) over the wash below. */
  background:
    radial-gradient(58% 46% at 6% 2%, rgba(184, 137, 59, 0.085), transparent 60%),
    radial-gradient(52% 58% at 100% 100%, rgba(217, 119, 87, 0.085), transparent 62%);
}

/* The animated capability-map (an iframe-isolated WebGL section). Bounded, rounded,
   clipped; the iframe carries its own dark background so it reads as one framed object. */
.land-constellation-embed {
  margin: 1.4rem auto 0.6rem;
  max-width: 1100px;
  border-radius: 22px;
  overflow: hidden;
  background: #0d0b13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(227, 189, 99, 0.09);
}
.land-constellation-frame {
  display: block;
  width: 100%;
  height: min(660px, 74vh);
  min-height: 440px;
  border: 0;
  background: #0d0b13;
}
@media (max-width: 640px) {
  .land-constellation-embed { border-radius: 16px; }
  .land-constellation-frame { height: min(560px, 82vh); min-height: 400px; }
}

/* ─────────────────────────────────────────────────────────────
   "The engine" — the dark editorial panel promoted from the lab
   (/lab/ux/landing-constellation). Void background, mono eyebrow,
   serif headline w/ gold italic, muted sub, the iframe-isolated
   WebGL host, closing line. Replaces the old light watercolor
   framing so production matches the lab canon. Colors mirror the
   lab tokens: void #0a0910, ink #efe9dd, muted #8b8474, dim
   #b9b2c4, gold #e3bd63, host #0d0b13. */
.land-engine {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.2rem, 5vw, 2rem);
}
/* Full-bleed void band — the dark covers the whole width (100vw), so the
   section reads as its own dark screen like the lab page, not a card. Painted
   at z-index:0 (NOT negative — a negative z-index would drop it behind the
   landing's light paper and vanish); the content column sits above at z-index:1. */
.land-engine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #0a0910;
  z-index: 0;
}
.land-engine__panel {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}
.land-engine__eyebrow {
  margin: 0 0 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b8474;
}
.land-engine__headline {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.7vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #efe9dd;
  text-wrap: balance;
}
.land-engine__headline em {
  font-style: italic;
  color: #e3bd63;
}
.land-engine__sub {
  margin: 0 0 1.7rem;
  max-width: 62ch;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: #b9b2c4;
}
.land-engine__host {
  position: relative;
  border-radius: clamp(14px, 1.8vw, 20px);
  overflow: hidden;
  background: #0d0b13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(227, 189, 99, 0.10);
}
.land-engine__frame {
  display: block;
  width: 100%;
  height: min(660px, 74vh);
  min-height: 440px;
  border: 0;
  background: #0d0b13;
}
.land-engine__closing {
  margin: 1.7rem 0 0;
  max-width: 62ch;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.55;
  color: #8b8474;
}
@media (max-width: 640px) {
  .land-engine__frame { height: min(560px, 82vh); min-height: 400px; }
}
/* A genuinely VISIBLE watercolor wash behind the whole section — a real painting
   (Kuwasseg's conversations at the water's edge) at low opacity so the block sits
   ON watercolor, not flat paper. Dial cards have solid paper so they stay crisp. */
.land-multi-dial::before {
  content: "";
  position: absolute;
  /* 2026-06-04: extend the watercolor full-bleed behind the "path is built
     around you" title — it spans the whole viewport width, not just the card. */
  top: -2rem;
  bottom: -2rem;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 0;
  /* 2026-06-04: swapped painting (user disliked the prior one) + covers the
     whole section now (softer, wider mask reaching the edges, higher opacity). */
  background: url("/watercolor/robert_s._duncanson-a_dream_of_italy-1855-trivium-art-history.jpg") center 32% / cover no-repeat;
  -webkit-mask: radial-gradient(150% 130% at 50% 40%, #000 0%, rgba(0, 0, 0, 0.82) 68%, rgba(0, 0, 0, 0.4) 100%);
          mask: radial-gradient(150% 130% at 50% 40%, #000 0%, rgba(0, 0, 0, 0.82) 68%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0.3;
  pointer-events: none;
}
.land-multi-dial__head { text-align: center; max-width: 64ch; margin: 0 auto 2.4rem; }
/* Soft painted halo behind the SECTION title only (not the per-card heads, which
   reuse this class). The Sargent garden wash, multiplied at low opacity. */
.land-multi-dial > .land-multi-dial__head { position: relative; }
.land-multi-dial > .land-multi-dial__head::before {
  /* The painting band behind the title is gone — the title itself now reveals the
     painting through its letters (background-clip:text above), so the band was
     redundant and read as "craply used". */
  content: none;
}
/* (title legibility handled by the reveal-painting rule below) */
.land-multi-dial__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-rust);
}
/* 2026-05-31: the kicker above this title was removed, so the title now carries
 * the section on its own — bigger, bolder, with a short rust accent rule beneath
 * so it reads as the anchor of the "we measure everything" block. */
.land-multi-dial__title {
  margin: 0 0 0.9rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  /* The title is a WINDOW into the watercolor — the painting shows THROUGH the
     letters (background-clip:text), darkened so the painting-filled glyphs stay
     legible on warm paper, with a cream halo to lift them off it. */
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(rgba(26, 16, 6, 0.46), rgba(26, 16, 6, 0.46)),
    url("/watercolor/robert_s._duncanson-a_dream_of_italy-1855-trivium-art-history.jpg");
  background-size: 130% auto;
  background-position: center 30%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(247, 241, 232, 0.85)) drop-shadow(0 3px 12px rgba(20, 12, 4, 0.2));
}
/* Hand-painted watercolor swash instead of the thin clinical rust rule: a warm
   painting texture multiplied over a gold→rust→gold wash, masked to a feathered
   brushstroke and tilted a hair so it reads as paint, not a UI divider. */
.land-multi-dial__title::after {
  /* 2026-06-04: removed — user found the swash under the title "strange". */
  content: none;
  display: none;
  width: clamp(150px, 22vw, 240px);
  height: 16px;
  margin: 0.7rem auto 0;
  /* Watercolor brush built from overlapping gold/rust blobs (no stretched photo),
     feathered to a hand-painted swash. */
  background:
    radial-gradient(42% 130% at 16% 50%, var(--land-gold-deep), transparent 70%),
    radial-gradient(52% 140% at 50% 42%, var(--land-rust), transparent 72%),
    radial-gradient(40% 130% at 86% 56%, var(--land-gold-deep), transparent 70%);
  -webkit-mask: radial-gradient(82% 130% at 50% 46%, #000 38%, transparent 86%);
          mask: radial-gradient(82% 130% at 50% 46%, #000 38%, transparent 86%);
  opacity: 0.9;
  transform: rotate(-0.6deg);
}
.land-multi-dial__lead { color: var(--land-ink-mid); line-height: 1.55; }
/* E6 (2026-05-27): the lead text moves BELOW the graph (title→graph→text→4 points). */
.land-multi-dial__lead--below {
  margin: 1.6rem auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--land-ink);
  line-height: 1.5;
  text-wrap: balance;
}
.land-multi-dial__body {
  margin: 0.7rem auto 0;
  max-width: 56ch;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--land-ink-mid);
}

.land-multi-dial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.land-multi-dial__card {
  /* Faint watercolor warmth in the corners (rust top-right, gold bottom-left) so
     each dial feels painted-on-paper rather than a clinical white box. */
  background:
    radial-gradient(120% 86% at 100% 0%, rgba(217, 119, 87, 0.10), transparent 56%),
    radial-gradient(120% 96% at 0% 100%, rgba(184, 137, 59, 0.075), transparent 56%),
    var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 6px 18px rgba(80, 60, 30, 0.08);
}
.land-multi-dial__skill {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-multi-dial__name {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--land-ink);
}
.land-multi-dial__bar {
  position: relative;
  height: 11px;
  border-radius: 999px;
  background: var(--land-paper-warm);
  border: 1px solid var(--land-rule);
  overflow: hidden;
  margin: 0.5rem 0 0.4rem;
  box-shadow: inset 0 1px 2px rgba(80, 60, 30, 0.12);
}
/* The mastery bar is watercolor, not a flat progress bar: a warm painting texture
   blended into the gold→rust wash, with a soft "wet edge" bloom at the head. */
.land-multi-dial__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  /* The fill is a WINDOW into the same watercolor as the title — the painting shows
     through a warm gold→rust wash (multiply), revealed as the bar grows. A wide
     360px slice (not the whole image squeezed in) keeps it from smearing. */
  background:
    linear-gradient(90deg, rgba(184, 137, 59, 0.72), rgba(217, 119, 87, 0.64)),
    url("/watercolor/robert_s._duncanson-a_dream_of_italy-1855-trivium-art-history.jpg") left center / 360px auto;
  background-blend-mode: multiply;
  transition: width 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-multi-dial__bar-fill::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: 0;
  width: 12px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255, 248, 238, 0.65), transparent);
  pointer-events: none;
}
.land-multi-dial__ticks {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: var(--land-ink-faint);
}
.land-multi-dial__delta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--land-green);
  margin-top: 0.2rem;
  min-height: 0.9rem;
}
.land-multi-dial__delta--drop { color: var(--land-rust); }

.land-multi-dial__step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.6rem auto 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}

/* F5 (2026-05-26) — state badges + rotation animation. */
.land-multi-dial__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.land-multi-dial__state-badge {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.land-multi-dial__card--new {
  border-color: rgba(184, 137, 59, 0.55);
  box-shadow:
    0 6px 18px rgba(80, 60, 30, 0.10),
    0 0 0 2px rgba(184, 137, 59, 0.18);
  animation: land-multi-dial-new-pulse 2.2s ease-in-out infinite;
}
@keyframes land-multi-dial-new-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(80, 60, 30, 0.10), 0 0 0 2px rgba(184, 137, 59, 0.18); }
  50%      { box-shadow: 0 6px 18px rgba(80, 60, 30, 0.10), 0 0 0 4px rgba(184, 137, 59, 0.32); }
}
.land-multi-dial__card--new .land-multi-dial__state-badge {
  background: rgba(184, 137, 59, 0.18);
  color: #8e6824;
}
.land-multi-dial__card--learning .land-multi-dial__state-badge {
  background: rgba(217, 119, 87, 0.16);
  color: var(--land-rust-deep);
}
.land-multi-dial__card--mastered .land-multi-dial__state-badge {
  background: rgba(61, 143, 108, 0.20);
  color: #1f5b41;
}
.land-multi-dial__card--mastered .land-multi-dial__state-badge::before {
  content: "✓ ";
  font-weight: 700;
}

/* Swap animation when a mastered card is rotated out for a new one. */
.land-multi-dial__card {
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-multi-dial__card--swapping-out {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
}
.land-multi-dial__card--swapping-in {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

/* 2026-06-04: the MASTERY MOMENT. When a skill crosses into mastery it lights
 * up — a warm golden bloom + a soft watercolor wash behind the content —
 * before it gracefully steps aside for a new skill being measured. */
.land-multi-dial__card--just-mastered {
  isolation: isolate;
  border-color: rgba(201, 162, 39, 0.9) !important;
  box-shadow:
    0 16px 40px rgba(150, 110, 20, 0.30),
    0 0 0 2px rgba(201, 162, 39, 0.55) !important;
  animation: land-multi-dial-master-bloom 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-multi-dial__card--just-mastered > * { position: relative; z-index: 2; }
.land-multi-dial__card--just-mastered::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(120% 110% at 50% 0%, rgba(255, 214, 124, 0.85), rgba(244, 207, 110, 0.28) 45%, transparent 75%),
    url("/watercolor/robert_s._duncanson-a_dream_of_italy-1855-trivium-art-history.jpg") center / cover;
  animation: land-multi-dial-master-wash 1.5s ease-out forwards;
}
@keyframes land-multi-dial-master-wash {
  0% { opacity: 0; }
  35% { opacity: 0.9; }
  100% { opacity: 0.34; }
}
@keyframes land-multi-dial-master-bloom {
  0% { transform: scale(1); }
  30% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.land-multi-dial__card--just-mastered .land-multi-dial__bar-fill {
  background: linear-gradient(90deg, #d9a13a, #f6d27a) !important;
  box-shadow: 0 0 16px rgba(246, 210, 122, 0.75);
}
.land-multi-dial__card--just-mastered .land-multi-dial__state-badge {
  background: rgba(201, 162, 39, 0.92) !important;
  color: #3a2a06 !important;
}
.land-multi-dial__card--just-mastered .land-multi-dial__delta {
  color: #8a6210 !important;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .land-multi-dial__card--just-mastered { animation: none; }
  .land-multi-dial__card--just-mastered::after { animation: none; opacity: 0.3; }
}
.land-multi-dial__step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.16);
  animation: land-multi-dial-pulse 1.4s ease-in-out infinite;
}
@keyframes land-multi-dial-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.5); }
}

/* Legacy alias — original landing-rebuild placed the vinyl in La Passeggiata.
 * Keep the class around for older markup (e.g. cached pages) but hide it on
 * the new layout — the vinyl now lives in La Voce per user direction. */
.land-passeggiata-vinyl {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
  background: none;
  border: 0;
  cursor: default;
  color: var(--land-ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.land-passeggiata-vinyl__disc {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #16100a 0 22%, transparent 23%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.5) 0 1.5px, rgba(40, 28, 18, 0.95) 2.5px, rgba(40, 28, 18, 0.95) 5px);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  animation: land-vinyl-spin 12s linear infinite;
}
.land-passeggiata-vinyl__paint {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--land-passeggiata-paint) center/cover;
}
@keyframes land-vinyl-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .land-passeggiata-vinyl__disc { animation: none; }
}

/* ─────────────────────────────────────────────────────────────
 * 3. La Voce — ISA-in-action animated demo
 *
 * Visual structure mirrors design-lab/voce-feedback.html (the canon per
 * docs/design/lab_canon.md). Class prefix .lvid-* matches landing-voce-isa-demo.js.
 * ───────────────────────────────────────────────────────────── */

.lvid-root {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 1) 0%, rgba(255, 247, 234, 1) 100%);
  border: 1px solid var(--land-rule);
  border-radius: 4px 18px 18px 4px;
  padding: 1.2rem 1.4rem 1.2rem 2rem;
  box-shadow:
    0 18px 44px rgba(80, 60, 30, 0.18),
    0 2px 6px rgba(80, 60, 30, 0.08);
  /* 2026-05-27 — matched to lvsd-root (820) so ISA + shadowing read as
   * equally-weighted side-by-side cards. */
  max-width: 820px;
  width: 100%;
  /* 2026-05-28: max-height cap REMOVED. User clarified "take space is what i
   * meant" — the ISA card must fit its content, not be clipped into a fixed
   * box. Let it size to its content; generous margin gives the breathing room. */
  margin: 0 auto;
  isolation: isolate;
}
/* Notebook-style ruled margin (dashed gold rule), matching the lab page */
.lvid-root::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 1px;
  background: repeating-linear-gradient(180deg,
    rgba(184, 137, 59, 0.55) 0 4px,
    transparent 4px 7px);
  pointer-events: none;
}
.lvid-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.lvid-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvid-scenario {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--land-ink-mid);
}

.lvid-xray { margin: 0 0 1.4rem; }
.lvid-xray__melody { position: relative; height: 56px; margin: 0 0 -4px; }
.lvid-xray__melody svg { display: block; width: 100%; height: 100%; overflow: visible; }

.lvid-sentence {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 2.2;
  margin: 0 0 0.8rem;
  color: var(--land-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem 0.45em;
}
.lvid-word {
  position: relative;
  display: inline-block;
  padding: 0 0.12em 0.5rem;
  color: inherit;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms ease, background 240ms ease;
}
.lvid-word.is-revealed { opacity: 1; transform: translateY(0); }
.lvid-word--flag {
  background: rgba(217, 119, 87, 0.12);
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 -3px 0 rgba(217, 119, 87, 0.4);
}
.lvid-word--primary {
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.18), rgba(217, 119, 87, 0.28));
  box-shadow:
    inset 0 -4px 0 var(--land-rust),
    0 4px 12px rgba(217, 119, 87, 0.22);
  color: var(--land-rust-deep);
  animation: lvid-primary-pulse 2.6s ease-in-out infinite;
}
/* F3 (2026-05-26) — clickable affordance + focused mini-card surface. */
.lvid-word--clickable {
  font: inherit;
  border: 0;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 0 0.12em 0.5rem;
}
.lvid-word--clickable:focus-visible {
  outline: 2px solid var(--land-rust);
  outline-offset: 2px;
  border-radius: 4px;
}
.lvid-word--clickable::after {
  content: "▾";
  position: absolute;
  top: -0.6em;
  right: -0.1em;
  font-size: 0.45em;
  color: var(--land-rust);
  opacity: 0.55;
  transition: opacity 200ms ease, transform 200ms ease;
}
.lvid-word--clickable:hover::after { opacity: 1; transform: translateY(2px); }
.lvid-word--clickable:hover {
  text-decoration: underline;
  text-decoration-color: var(--land-rust);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  background: rgba(217, 119, 87, 0.08);
  border-radius: 3px;
}

/* The focused mini-card slides up from the right when a flagged word is tapped. */
.lvid-focus-card {
  position: relative;
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffbf4, #fff5e6);
  border: 1px solid var(--land-rule);
  box-shadow: 0 18px 36px rgba(80, 60, 30, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 4;
}
.lvid-focus-card.is-visible { opacity: 1; transform: translateY(0); }
.lvid-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}
.lvid-focus-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvid-focus-close {
  border: 1px solid var(--land-rule);
  background: transparent;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--land-ink-mid);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
}
.lvid-focus-close:hover { color: var(--land-rust-deep); border-color: var(--land-rust); }
.lvid-focus-word {
  margin: 0 0 0.55rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--land-ink);
}
.lvid-focus-line {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
}
.lvid-focus-line strong { color: var(--land-ink); font-weight: 600; }
.lvid-focus-sylrow { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.lvid-focus-syl {
  flex: 1 1 0;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  background: var(--land-paper-warm);
  border: 1px solid var(--land-rule);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  text-align: center;
  color: var(--land-ink-mid);
}
.lvid-focus-syl.is-target { background: rgba(61, 143, 108, 0.18); border-color: rgba(61, 143, 108, 0.6); color: #1f5b41; }
.lvid-focus-syl.is-actual { background: rgba(217, 119, 87, 0.18); border-color: rgba(217, 119, 87, 0.6); color: var(--land-rust-deep); }
.lvid-focus-bars { display: grid; gap: 0.35rem; margin-bottom: 0.5rem; }
.lvid-focus-bar {
  position: relative;
  height: 16px;
  background: var(--land-paper-warm);
  border-radius: 999px;
  overflow: visible;
}
.lvid-focus-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: rgba(217, 119, 87, 0.65);
}
.lvid-focus-bar--target > span { background: rgba(61, 143, 108, 0.55); }
.lvid-focus-bar > label {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--land-ink-mid);
  text-transform: uppercase;
}
/* 2026-05-31: the vowel graph now carries a legend — a kicker saying what it is,
 * open/closed axis ends, and a caption under each dot. */
.lvid-focus-graphkicker {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  margin-bottom: 0.4rem;
}
.lvid-focus-vowel { position: relative; height: 64px; margin-bottom: 0.6rem; }
.lvid-focus-vowel-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 1px;
  background: var(--land-rule);
}
.lvid-focus-vowel-end {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  background: var(--land-paper-card);
  padding: 0 0.2rem;
}
.lvid-focus-vowel-end--left { left: 0; }
.lvid-focus-vowel-end--right { right: 0; }
.lvid-focus-vowel-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #fffbf4;
}
.lvid-focus-vowel-dot--you { background: var(--land-rust); left: 38%; }
.lvid-focus-vowel-dot--target { background: var(--land-green); left: 62%; }
.lvid-focus-vowel-cap {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lvid-focus-vowel-dot--you .lvid-focus-vowel-cap { color: var(--land-rust-deep); }
.lvid-focus-vowel-dot--target .lvid-focus-vowel-cap { color: #2d8060; }

/* Embedded coaching (folded in from the old stationary CoachingCards). */
.lvid-focus-coach {
  margin: 0.2rem 0 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: var(--land-paper-warm);
  border: 1px solid var(--land-rule);
}
.lvid-focus-coach__title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--land-ink);
}
.lvid-focus-coach__fix {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--land-ink-mid);
}

/* Tap hint under the sentence (replaces the auto fan-in of cards). */
.lvid-tap-hint {
  margin: 0.2rem 0 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--land-ink-mid);
}

.lvid-focus-audio { display: flex; gap: 0.5rem; }
.lvid-focus-play {
  flex: 1 1 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--land-rule);
  background: transparent;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
  cursor: pointer;
}
.lvid-focus-play--native { color: #2d8060; border-color: rgba(61, 143, 108, 0.4); }
.lvid-focus-play--you { color: var(--land-rust-deep); border-color: rgba(217, 119, 87, 0.4); }
.lvid-focus-play:hover { background: rgba(184, 137, 59, 0.08); }

/* F3 — full-sentence You-vs-GT panels (melody / pitch / pace). */
/* E2 (2026-05-27): YouVsGT panel is now click-attached. The dedicated slot
 * stays empty until a flagged word is clicked; the panels animate in below
 * the sentence. Toggle off by re-clicking the same word. */
.lvid-yvg-slot {
  margin-top: 0.85rem;
  /* Reserve the detail panels' height so clicking a word reveals them in place
     instead of growing the demo card. */
  min-height: 150px;
}
.lvid-yvg {
  margin-top: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #fffbf4, #fff7ea);
  border: 1px solid var(--land-rule);
  border-radius: 12px;
  display: grid;
  gap: 0.7rem;
}
.lvid-yvg--enter { opacity: 0; transform: translateY(8px); transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.lvid-yvg--enter.is-in { opacity: 1; transform: none; }
.lvid-word--clickable.is-active { background-color: rgba(217, 119, 87, 0.18); border-radius: 4px; }
.lvid-yvg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lvid-yvg-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvid-yvg-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
}
.lvid-yvg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.2rem; vertical-align: middle; }
.lvid-yvg-dot--you { background: var(--land-rust); }
.lvid-yvg-dot--gt  { background: var(--land-green); margin-left: 0.6rem; }
.lvid-yvg-panel {
  display: grid;
  grid-template-columns: 90px 1fr 110px;
  gap: 0.6rem;
  align-items: center;
}
@media (max-width: 720px) {
  .lvid-yvg-panel { grid-template-columns: 1fr; gap: 0.3rem; }
}
.lvid-yvg-label {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--land-ink);
}
.lvid-yvg-svg { display: block; width: 100%; height: 50px; }
.lvid-yvg-line { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lvid-yvg-line--you { stroke: var(--land-rust); opacity: 0.86; }
.lvid-yvg-line--gt  { stroke: var(--land-green); opacity: 0.92; stroke-dasharray: 4 3; }
.lvid-yvg-bars { display: grid; gap: 0.28rem; }
.lvid-yvg-bar {
  position: relative;
  height: 14px;
  background: var(--land-paper-warm);
  border-radius: 999px;
}
.lvid-yvg-bar > span {
  display: block;
  height: 100%;
  width: var(--v, 50%);
  border-radius: 999px;
}
.lvid-yvg-bar--you > span { background: rgba(217, 119, 87, 0.7); }
.lvid-yvg-bar--gt  > span { background: rgba(61, 143, 108, 0.6); }
.lvid-yvg-bar > label {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: var(--land-ink-mid);
  text-transform: uppercase;
}
.lvid-yvg-delta {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--land-ink-mid);
  font-style: italic;
  font-family: "Playfair Display", Georgia, serif;
}
@keyframes lvid-primary-pulse {
  0%, 100% { box-shadow: inset 0 -4px 0 var(--land-rust), 0 4px 12px rgba(217, 119, 87, 0.22); }
  50%      { box-shadow: inset 0 -4px 0 var(--land-rust), 0 6px 18px rgba(217, 119, 87, 0.38); }
}
.lvid-word--pron { border-bottom: 2px dotted var(--land-rust); }
.lvid-word__tag {
  position: absolute;
  left: 50%;
  bottom: -1.05rem;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--land-rust-deep);
  white-space: nowrap;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--land-paper-card);
  border: 1px solid rgba(217, 119, 87, 0.45);
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transition: opacity 280ms ease 120ms;
}
.lvid-word.is-revealed .lvid-word__tag { opacity: 1; }
.lvid-word--primary .lvid-word__tag {
  background: var(--land-rust);
  color: #fff;
  border-color: var(--land-rust);
}

/* Overall read ribbon (the thin score line, not a big number plate). */
.lvid-read {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0 1.2rem;
}
.lvid-read__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  font-style: italic;
  color: var(--land-ink);
  line-height: 1;
}
.lvid-read__bar {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: var(--land-paper-warm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--land-rule);
}
.lvid-read__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--land-gold), var(--land-rust));
  transition: width 600ms ease;
}
.lvid-read__tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
}

/* CoachingCard stack */
.lvid-cards {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.lvid-coach-card {
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-left: 3px solid var(--land-rust);
  border-radius: 10px 14px 14px 10px;
  padding: 0.9rem 1rem 0.85rem 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(80, 60, 30, 0.08);
}
.lvid-coach-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lvid-coach-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.lvid-coach-card__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.lvid-coach-card__icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(217, 119, 87, 0.22);
  position: relative;
}
.lvid-coach-card__icon--stress::after,
.lvid-coach-card__icon--geminate::after,
.lvid-coach-card__icon--vowel::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--land-rust);
}
.lvid-coach-card__icon--geminate::after { background: var(--land-gold); }
.lvid-coach-card__icon--vowel::after { background: var(--land-green); }

.lvid-coach-card__title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--land-ink);
}
.lvid-coach-card__fix {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
}

.lvid-coach-card__audio {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lvid-coach-card__play {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--land-rule);
  background: var(--land-paper);
  color: var(--land-ink-mid);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
}
.lvid-coach-card__play--native { color: var(--land-green); border-color: rgba(61, 143, 108, 0.45); }
.lvid-coach-card__play--user { color: var(--land-rust); border-color: rgba(217, 119, 87, 0.45); }
.lvid-coach-card__play-icon {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

.lvid-stamp {
  margin: 1.2rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.lvid-stamp__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--land-rust);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.18);
}

/* Static end-frame for prefers-reduced-motion. */
.lvid--static .lvid-word { opacity: 1; transform: none; }
.lvid--static .lvid-word__tag { opacity: 1; }
.lvid--static .lvid-coach-card { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────────────────────
 * 4. Plan cards (replace generic chips, per-tier personality)
 * ───────────────────────────────────────────────────────────── */

.land-plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1.4rem;
}
.land-plan-card {
  position: relative;
  display: block;
  text-align: left;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 16px;
  padding: 1.2rem 1.1rem 1.1rem;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.land-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 119, 87, 0.16);
  border-color: rgba(217, 119, 87, 0.42);
}
.land-plan-card.is-selected {
  border-color: var(--land-rust);
  box-shadow: 0 18px 36px rgba(217, 119, 87, 0.22);
}
.land-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.10;
  z-index: 0;
  transition: opacity 240ms ease;
}
.land-plan-card:hover::before,
.land-plan-card.is-selected::before { opacity: 0.18; }

.land-plan-card[data-plan="passeggiata"]::before { background-image: var(--land-passeggiata-paint); }
.land-plan-card[data-plan="voce"]::before        { background-image: var(--land-voce-paint); }
.land-plan-card[data-plan="combined"]::before    { background-image: linear-gradient(135deg, rgba(217,119,87,0.6), rgba(184,137,59,0.6)), var(--land-passeggiata-paint); }
.land-plan-card[data-plan="founding"]::before    { background-image: radial-gradient(circle at 70% 30%, rgba(184,137,59,0.78), rgba(184,137,59,0)), var(--land-voce-paint); }
.land-plan-card[data-plan="stories_beta"]::before { background-image: var(--land-passeggiata-paint); }
.land-plan-card[data-plan="pronunciation_beta"]::before { background-image: var(--land-voce-paint); }
.land-plan-card[data-plan="full_beta"]::before { background-image: linear-gradient(135deg, rgba(217,119,87,0.58), rgba(122,160,140,0.48)), var(--land-passeggiata-paint); }
.land-plan-card[data-plan="feedback_call"]::before { background-image: radial-gradient(circle at 70% 30%, rgba(122,160,140,0.72), rgba(122,160,140,0)), var(--land-voce-paint); }

.land-plan-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 110px;
}
.land-plan-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--land-ink);
}
.land-plan-card__voice {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--land-ink-mid);
}
.land-plan-card__meta {
  margin-top: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-rust);
}

/* ─────────────────────────────────────────────────────────────
 * 5. Practice + daily section redo (radio + books/movies)
 * ───────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────
 * 4b. Inline pricing tiers section (2026-05-26)
 * ───────────────────────────────────────────────────────────── */

.land-pricing {
  margin: 4rem auto 3rem;
  max-width: 1180px;
  padding: 3rem 1.5rem 3rem;
}
.land-pricing__head { text-align: center; max-width: 60ch; margin: 0 auto 2.4rem; }
.land-pricing__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-pricing__title {
  margin: 0.3rem 0 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  color: var(--land-ink);
  text-wrap: balance;
}
.land-pricing__lead { color: var(--land-ink-mid); line-height: 1.55; }

.land-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 0 0 2.4rem;
}
.land-pricing__card {
  position: relative;
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 8px 22px rgba(80, 60, 30, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.land-pricing__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(217, 119, 87, 0.16);
  border-color: rgba(217, 119, 87, 0.45);
}
.land-pricing__card--featured {
  background:
    linear-gradient(180deg, rgba(217, 119, 87, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
    var(--land-paper-card);
  border-color: rgba(217, 119, 87, 0.55);
  box-shadow: 0 14px 32px rgba(217, 119, 87, 0.20);
}
.land-pricing__card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--land-rust);
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.land-pricing__card-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
  margin: 0;
}
.land-pricing__card-name {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
}
.land-pricing__card-price {
  margin: 0.3rem 0 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.land-pricing__card-amount {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--land-ink);
}
.land-pricing__card-period {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}
.land-pricing__card-voice {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
  margin: 0;
  flex: 1 1 auto;
}
.land-pricing__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--land-rust);
  background: transparent;
  color: var(--land-rust);
  text-decoration: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}
.land-pricing__card-cta--primary {
  background: var(--land-rust);
  color: #fff;
}
.land-pricing__card-cta:hover {
  background: var(--land-rust);
  color: #fff;
}

.land-pricing__founding {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(184, 137, 59, 0.16), transparent 70%),
    var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.5rem;
  text-align: center;
}
.land-pricing__founding-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-gold-deep);
  margin: 0 0 0.4rem;
}
.land-pricing__founding-line {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--land-ink);
}
.land-pricing__founding-counter {
  margin: 0 0 1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-mid);
}
.land-pricing__founding-counter span:first-child {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--land-rust);
  letter-spacing: 0;
  text-transform: none;
  margin-right: 0.4rem;
}
.land-pricing__founding-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--land-gold-deep);
  color: #fffaf0;
  text-decoration: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(142, 104, 36, 0.32);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.land-pricing__founding-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(142, 104, 36, 0.42);
}

.land-practice {
  margin: 5rem auto 3.5rem;
  max-width: 1180px;
  padding: 3.4rem 1.5rem 3rem;
}
.land-practice__head { text-align: center; max-width: 56ch; margin: 0 auto 2.4rem; }
.land-practice__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-practice__title {
  margin: 0.3rem 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--land-ink);
}
.land-practice__lead {
  color: var(--land-ink-mid);
  line-height: 1.55;
}

/* 2026-05-27 (E4) — listen-writeback dropped from landing. La Voce row is
 * now just ISA + shadowing, equal-sized. Production La Voce still uses the
 * write-back card; the landing is preview-only. */
/* 2026-05-31: La Voce demos STACK vertically — the "speak" (ISA) card on top,
 * shadowing directly beneath it — per user direction. Both are compact now, so
 * a single centred column reads cleanly without stretching the section. */
/* 2026-06-02: now wraps a single tab-switcher; removed column flex + old child rules */
.land-product-anim--voce {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
/* 2026-06-01: shadowing FIRST, then the speech feedback (was reversed). The
 * story-mode listening teaser, when present, sits last. */
/* [data-lsr-seq-delay] stagger removed 2026-06-02 — tab-switcher owns panel visibility. */

/* order rules no longer needed — panels are inside tab-switcher slider */

/* ── La Voce listening beat — cinema card (B2 2026-06-02) ──────────── */
.land-voce-storie--cinema {
  position: relative;
  width: 100%;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 12px 32px rgba(10, 8, 5, 0.28);
}
.land-voce-storie--cinema:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(10, 8, 5, 0.36);
}
/* Painting layer — full-bleed watercolor fills the card */
.land-voce-storie__frame {
  position: absolute;
  inset: 0;
}
.land-voce-storie__art {
  position: absolute;
  inset: 0;
  background:
    url('/watercolor/2_Sargent_In-the-Luxembourg-Gardens_1879-scaled-e1747761407171-2048x1160.jpg') center / cover;
  filter: saturate(0.80);
}
/* Film-grain overlay — subtle texture that gives the cinema feel */
.land-voce-storie__film-grain {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* Bottom wash — dark gradient so text reads over the painting */
.land-voce-storie--cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 9, 5, 0.88) 0%,
    rgba(12, 9, 5, 0.52) 50%,
    rgba(12, 9, 5, 0.12) 100%
  );
  z-index: 1;
}
.land-voce-storie--cinema .land-voce-storie__body {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  width: 100%;
}
.land-voce-storie--cinema .land-voce-storie__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(217, 119, 87, 0.9);
}
.land-voce-storie--cinema .land-voce-storie__title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: rgba(255, 248, 236, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}
.land-voce-storie--cinema .land-voce-storie__sub {
  font-size: 0.83rem;
  color: rgba(255, 245, 224, 0.72);
  line-height: 1.45;
  max-width: 52ch;
}
.land-voce-storie__cta {
  display: inline-block;
  margin-top: 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 119, 87, 0.92);
}
.land-voce-vinyl-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1rem;
}

.land-practice__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}
@media (max-width: 840px) {
  .land-practice__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Solo layout — used when the practice section is just the level bar
 * (books/films/podcast shelf parked per 2026-05-25 user feedback). */
.land-practice__solo {
  display: flex;
  justify-content: center;
}
.land-practice__radio--solo {
  max-width: 640px;
  width: 100%;
}

.land-practice__radio {
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 22px;
  padding: 2rem 2rem 1.8rem;
  box-shadow: 0 14px 30px rgba(80, 60, 30, 0.10);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.land-practice__radio-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-practice__radio-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
}
.land-practice__radio-dial {
  position: relative;
  height: 84px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 2%, rgba(217, 119, 87, 0.16) 14%, transparent 32%, rgba(184, 137, 59, 0.20) 56%, transparent 78%, rgba(61, 143, 108, 0.16) 96%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(26, 23, 20, 0.18) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--land-paper-warm), var(--land-paper));
  border: 1px solid var(--land-rule);
  box-shadow: inset 0 4px 10px rgba(80, 60, 30, 0.10);
  overflow: hidden;
}
.land-practice__radio-needle {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 60%;
  width: 2px;
  background: var(--land-rust);
  box-shadow: 0 0 12px rgba(217, 119, 87, 0.6);
}
.land-practice__radio-ticks {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
  margin-top: 0.4rem;
}
.land-practice__radio-body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--land-ink-mid);
  margin: 0;
}

.land-practice__shelf {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.land-practice__item {
  background: var(--land-paper-card);
  border: 1px solid var(--land-rule);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.land-practice__item-kind {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-rust);
}
.land-practice__item-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--land-ink);
}
.land-practice__item-body {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--land-ink-mid);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
 * 6. Hero polish: tighten + drop the SaaS feel
 * ───────────────────────────────────────────────────────────── */

.site-hero-actions .site-btn-primary[data-state="logged-in"] {
  background: linear-gradient(180deg, var(--land-rust), var(--land-rust-deep));
}

/* ─────────────────────────────────────────────────────────────
 * 7. Reduced-motion guard
 * ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .land-product-title { opacity: 1; transform: none; }
  .lvid-word { opacity: 1; transform: none; }
  .lvid-word__tag { opacity: 1; }
  .lvid-coach-card { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────────────────
 * 8. Demo tab switcher — ldst-* (2026-06-02)
 *    Horizontal slider with pill nav buttons.
 * ───────────────────────────────────────────────────────────── */

.land-demo-switcher {
  width: 100%;
}

/* Pill nav */
.ldst-nav {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.ldst-tab {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 235, 0.28);
  background: transparent;
  color: rgba(255, 247, 235, 0.5);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ldst-tab:hover:not(.ldst-tab--active) {
  background: rgba(255, 247, 235, 0.07);
  color: rgba(255, 247, 235, 0.78);
  border-color: rgba(255, 247, 235, 0.45);
}
.ldst-tab--active {
  background: rgba(217, 119, 87, 0.22);
  border-color: rgba(217, 119, 87, 0.65);
  color: rgba(255, 200, 168, 0.96);
}

/* Sliding viewport */
.ldst-viewport {
  width: 100%;
  overflow: hidden;
}
.ldst-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 500ms cubic-bezier(0.33, 1, 0.68, 1);
}
.ldst-panel {
  flex: 0 0 100%;
  min-width: 0;
}

/* ─── Cinema listening panel (tab 2, La Voce) ─────────────────────────── */

.ldst-cinema {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.ldst-cinema__card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: clamp(220px, 36vh, 300px);
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 247, 235, 0.16);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.46);
}
.ldst-cinema__art {
  position: absolute;
  inset: 0;
  background:
    url('/watercolor/2_Sargent_In-the-Luxembourg-Gardens_1879-scaled-e1747761407171-2048x1160.jpg') center / cover;
  filter: saturate(0.72);
  transition: filter 2s ease;
}
.ldst-cinema__card.is-done .ldst-cinema__art { filter: saturate(0.55) brightness(0.9); }
.ldst-cinema__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 6, 3, 0.06) 18%,
    rgba(8, 6, 3, 0.55) 58%,
    rgba(8, 6, 3, 0.90) 100%
  );
}
.ldst-cinema__frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 247, 235, 0.24);
  border-radius: 8px;
  pointer-events: none;
}
.ldst-cinema__body {
  position: relative;
  z-index: 2;
  padding: 1.15rem 1.4rem 1.3rem;
  color: #fff;
  width: 100%;
}
.ldst-cinema__laurel {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 190, 100, 0.75);
  color: rgba(255, 196, 110, 0.96);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  margin-bottom: 0.5rem;
}
.ldst-cinema__title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 700;
  margin: 0 0 0.2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  line-height: 1.12;
}
.ldst-cinema__tag {
  font-size: 0.84rem;
  color: rgba(255, 247, 235, 0.78);
  margin: 0 0 0.65rem;
  line-height: 1.42;
}
.ldst-cinema__credits {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 235, 0.68);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.ldst-cinema__credits b { color: rgba(217, 119, 87, 0.9); }
.ldst-cinema__progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ldst-cinema__progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 247, 235, 0.2);
  border-radius: 999px;
  overflow: hidden;
}
.ldst-cinema__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--land-gold, #b8893b), var(--land-rust, #d97757));
  border-radius: 999px;
  /* transition via JS requestAnimationFrame */
}
.ldst-cinema__time {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  color: rgba(255, 247, 235, 0.6);
  flex: 0 0 auto;
}

/* ─── Exercises panel ──────────────────────────────────────────────────── */
.ldst-cinema__exercises {
  background: var(--land-paper-card, #fffbf4);
  border: 1px solid var(--land-rule, rgba(201, 184, 154, 0.55));
  border-radius: 14px;
  padding: 1.1rem 1.3rem 1.2rem;
  animation: ldst-ex-in 380ms ease;
}
@keyframes ldst-ex-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ldst-ex-head {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-rust, #d97757);
  margin: 0 0 0.8rem;
}
.ldst-ex__q {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.06rem;
  color: var(--land-ink, var(--ds-ink));
  margin: 0 0 0.6rem;
  line-height: 1.4;
}
.ldst-ex__opts {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.ldst-ex__opt {
  text-align: left;
  padding: 0.52rem 0.88rem;
  border: 1px solid var(--land-rule, rgba(201, 184, 154, 0.55));
  border-radius: 8px;
  background: var(--land-paper-card, #fffbf4);
  font-size: 0.9rem;
  color: var(--land-ink, var(--ds-ink));
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
  font-family: "Inter", system-ui, sans-serif;
}
.ldst-ex__opt:hover:not(:disabled) {
  border-color: var(--land-rust, #d97757);
  background: rgba(217, 119, 87, 0.05);
}
.ldst-ex__opt.is-correct {
  border-color: #3d8f6c;
  background: rgba(61, 143, 108, 0.1);
  font-weight: 600;
  color: #1f5b41;
}
.ldst-ex__opt.is-wrong {
  border-color: var(--land-rust, #d97757);
  opacity: 0.72;
}
.ldst-ex-result {
  text-align: center;
  padding: 0.6rem 0 0.2rem;
}
.ldst-ex-result__score {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--land-rust, #d97757);
  margin: 0 0 0.15rem;
}
.ldst-ex-result__note {
  font-size: 0.84rem;
  color: var(--land-ink-mid, rgba(42, 31, 18, 0.72));
  margin: 0 0 0.8rem;
}
.ldst-ex-result__cta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--land-rust, #d97757);
  text-decoration: none;
}
.ldst-ex-result__cta:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .ldst-track { transition: none; }
  .ldst-cinema__exercises { animation: none; }
}

/* ─────────────────────────────────────────────────────────────
 * 2026-06-04: Navbar — stripped to brand + Sign in. The wordmark is
 * styled HERE because views-chat.css (its usual home) isn't loaded on
 * the landing, so "Sentiero" was rendering in a fallback font.
 * ───────────────────────────────────────────────────────────── */
.site-top .site-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.34rem;
  letter-spacing: 0.01em;
  color: var(--land-rust, #c2683f);
  text-decoration: none;
}
.site-top .site-nav { gap: 0.5rem 1rem; align-items: center; }
.site-top .site-nav-cta {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.42rem 1.05rem;
  border: 1px solid var(--land-rust, #c2683f);
  border-radius: 999px;
  color: var(--land-rust, #c2683f);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-top .site-nav-cta:hover { background: var(--land-rust, #c2683f); color: #fff; }

/* ─────────────────────────────────────────────────────────────
 * 2026-06-04: hide scrollbars on the landing (Mac overlay bars + inner
 * scroll areas). Scrolling still works; the bar is just invisible.
 * (landing-rebuild.css is landing-only, so this doesn't affect the app.)
 * ───────────────────────────────────────────────────────────── */
html { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0 !important; height: 0 !important; background: transparent; }

/* 2026-06-04: the "Something else" free-text field in the waitlist (revealed
 * when the Other chip is picked). Matches the email field. */
.site-waitlist-other {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0.65rem auto 0;
  padding: 0.7rem 0.95rem;
  font: inherit;
  border: 1px solid rgba(184, 137, 59, 0.45);
  border-radius: 10px;
  background: #fffdf9;
  color: var(--land-ink, #2a2620);
}
.site-waitlist-other:focus { outline: none; border-color: var(--land-rust, #c2683f); }
.site-waitlist-other[hidden] { display: none; }

/* ─────────────────────────────────────────────────────────────
 * 2026-06-13: Transformation proof — before/after Italian example.
 * Quiet, literary, centered. Two blockquotes + a caption.
 * ───────────────────────────────────────────────────────────── */
.land-transform {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 5vw, 3rem);
  text-align: center;
}
.land-transform__inner {
  max-width: 38rem;
  margin: 0 auto;
}
.land-transform__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-ink-mid, rgba(42, 31, 18, 0.55));
  margin: 0 0 0.5rem;
}
.land-transform__quote {
  margin: 0 0 2.2rem;
  padding: 0;
  border: none;
}
.land-transform__quote p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  color: var(--land-ink, #2a2620);
  margin: 0;
}
.land-transform__quote--early p {
  opacity: 0.55;
}
.land-transform__quote--later p {
  color: var(--land-rust, #c2683f);
}
.land-transform__caption {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--land-ink-mid, rgba(42, 31, 18, 0.65));
  max-width: 30rem;
  margin: 0 auto;
}

/* 2026-07-14 landing story pass: shared frozen painting, softer demo edges,
   clearer story/module controls, clean speech-feedback examples. */
.site-main--landing {
  --landing-shared-paint: url("/watercolor/birmingham-museums-trust-nbneQlI2M1A-unsplash.jpg");
}

.lpath {
  background-attachment: fixed;
}

@media (max-width: 720px) {
  .site-l1-hero::before,
  .lpath {
    background-attachment: scroll !important;
  }
}

.land-product-section {
  padding-top: clamp(4.2rem, 10vh, 7.5rem);
}

.land-product-section::before {
  background:
    radial-gradient(ellipse 74% 58% at 50% 26%, rgba(18, 12, 6, 0.32), rgba(18, 12, 6, 0.76) 78%),
    var(--land-section-paint) center / cover no-repeat;
  -webkit-mask: linear-gradient(180deg, #000 54%, rgba(0, 0, 0, 0.72) 74%, transparent 96%);
          mask: linear-gradient(180deg, #000 54%, rgba(0, 0, 0, 0.72) 74%, transparent 96%);
}

.land-product-title {
  max-width: min(1100px, 92vw);
  font-size: clamp(3.25rem, 9vw, 7.8rem);
  letter-spacing: 0;
}

.land-demo-switcher {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ldst-nav {
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.ldst-tab {
  min-height: 42px;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 247, 235, 0.14);
  border-color: rgba(255, 247, 235, 0.44);
  color: rgba(255, 247, 235, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.ldst-tab--active {
  background: #fff7ea;
  border-color: rgba(255, 247, 235, 0.85);
  color: #7b351f;
}

.lpsd-root {
  border: 0;
  border-radius: 22px;
  /* Solid warm paper — the in-app story-surface tone (owner 2026-07-16: "more
     off white similar to inside the app"); the old alpha wash read blown-out. */
  background:
    linear-gradient(180deg, #fefaf1, #f7efe0);
  box-shadow:
    0 28px 80px rgba(28, 18, 10, 0.24),
    0 0 70px rgba(255, 247, 234, 0.18);
}

.lpsd-aside {
  border-left-color: transparent;
}

.lpsd-speaker__mono {
  display: none;
}

.lpsd-speaker {
  padding-top: 0.35rem;
}

.lpsd-scene-stamp {
  max-width: 150px;
  padding: 6px 6px 13px;
  transform: rotate(-5deg);
}

.lpsd-scene-stamp__cap {
  bottom: 5px;
  font-size: 0.48rem;
}

.lpsd-aside-trans {
  border: 0;
  border-radius: 16px;
  background: rgba(255, 251, 244, 0.48);
}

.land-module-demo-wrap {
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 251, 244, 0.98), rgba(255, 247, 234, 0.9));
  box-shadow: 0 28px 80px rgba(28, 18, 10, 0.2);
  padding: clamp(1rem, 2.5vw, 1.4rem);
}

.land-product-anim--voice-clean {
  max-width: 1120px;
}

.site-waitlist-outer--beta {
  padding-top: 0;
}

.site-waitlist-outer--beta .site-waitlist {
  max-width: 680px;
}

/* 2026-07-14 correction pass: story, listening, and conversation are distinct
   slides. Story mounts the live in-app surface; the other two show their own UX. */
.land-story-slide {
  max-width: 1180px;
  margin: 0 auto;
}

.land-story-slide .lpsd-root {
  background: rgba(255, 251, 244, 0.72);
}

.land-vlc-preview {
  --vlc-accent: #e6c469;
  --vlc-coral: #b5522f;
  --ds-ink: #241a12;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 96vw);
  height: min(78vh, 760px);
  min-height: 580px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 36px 90px rgba(8, 5, 2, 0.55);
  font-family: "Inter", system-ui, sans-serif;
}

.land-vlc-preview .vlc-film {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 10, 6, 0.28) 22%, rgba(14, 10, 6, 0.94) 90%),
    var(--vlc-paint, url("/watercolor/RK002-Italiaans-Landschap_1024x1024@2x.webp")) center 36% / cover no-repeat;
}

.land-vlc-preview .vlc-meta {
  position: absolute;
  top: 14px;
  left: 18px;
  color: var(--vlc-accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.land-vlc-preview .vlc-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #f3e8d4;
  font-size: 15px;
  cursor: pointer;
}

.land-vlc-preview .vlc-dlg {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 26px 18px;
  box-sizing: border-box;
}

.land-vlc-preview .vlc-turn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.land-vlc-preview .vlc-av {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  border-radius: 50%;
  color: var(--ds-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.land-vlc-preview .vlc-turn--narr .vlc-av {
  background: rgba(255, 247, 235, 0.7);
}

.land-vlc-preview .vlc-turn--barista .vlc-av {
  background: var(--vlc-accent);
}

.land-vlc-preview .vlc-turn--you .vlc-av {
  background: var(--vlc-coral);
  color: #fff;
}

.land-vlc-preview .vlc-who {
  color: #cbb78c;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.land-vlc-preview .vlc-line {
  color: #f3e8d4;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.land-vlc-preview .vlc-gloss {
  margin-top: 2px;
  color: rgba(243, 232, 212, 0.66);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.92em;
  font-style: italic;
}

.land-vlc-preview .vlc-turn.p3 {
  opacity: 0.28;
}

.land-vlc-preview .vlc-turn.p3 .vlc-line {
  font-size: 15px;
}

.land-vlc-preview .vlc-turn.p2 {
  opacity: 0.5;
}

.land-vlc-preview .vlc-turn.p2 .vlc-line {
  font-size: 17px;
}

.land-vlc-preview .vlc-turn.now .vlc-line {
  color: #fff;
  font-size: 27px;
}

.land-vlc-preview .vlc-turn.now .vlc-who {
  color: var(--vlc-accent);
}

.land-vlc-preview .vlc-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.land-vlc-preview .vlc-stack {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 74px;
  cursor: pointer;
}

.land-vlc-preview .vlc-stack i {
  position: absolute;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #0c0a08 0 2px, #1a1713 2px 4px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.6);
}

.land-vlc-preview .vlc-stack i:nth-child(1) {
  top: 0;
  left: 16px;
  transform: scale(0.9);
  opacity: 0.6;
}

.land-vlc-preview .vlc-stack i:nth-child(2) {
  top: 5px;
  left: 8px;
  transform: scale(0.95);
  opacity: 0.8;
}

.land-vlc-preview .vlc-stack i:nth-child(3) {
  top: 10px;
}

.land-vlc-preview .vlc-stack i:nth-child(3)::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--vlc-accent);
}

.land-vlc-preview .vlc-stack.is-playing {
  animation: vlc-spin 2.6s linear infinite;
}

@keyframes vlc-spin {
  to { transform: rotate(360deg); }
}

.land-vlc-preview .vlc-wave {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 3px;
  height: 38px;
}

.land-vlc-preview .vlc-wave b {
  flex: 1;
  border-radius: 2px;
  background: var(--vlc-accent);
  opacity: 0.5;
}

.land-vlc-preview .vlc-stack.is-playing + .vlc-wave b {
  opacity: 0.85;
}

.land-vlc-preview .vlc-wb {
  background: rgba(247, 240, 228, 0.97);
  padding: 15px 26px;
}

.land-vlc-preview .vlc-q {
  margin-bottom: 8px;
  color: var(--vlc-coral);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.land-vlc-preview .vlc-f {
  display: flex;
  gap: 10px;
}

.land-vlc-preview .vlc-wb input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(184, 137, 59, 0.45);
  border-radius: 12px;
  background: #fffdf8;
  color: #241a12;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
}

.land-vlc-preview .vlc-send {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--vlc-coral);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.land-vlc-preview .vlc-wb__msg {
  margin: 8px 0 0;
  color: #6b5a3a;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.land-vlc-preview .vlc-wb__msg.is-ok {
  color: #3f7a4f;
}

.land-cam-preview {
  width: min(100%, 1000px);
  min-height: clamp(600px, 70vh, 760px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow:
    0 28px 80px rgba(28, 18, 10, 0.24),
    0 0 70px rgba(255, 247, 234, 0.18);
}

.land-cam-preview .cam-surface {
  --cam-paper: #f7f1e8;
  --cam-paper-warm: #efe3cc;
  --cam-ink: #211b13;
  --cam-ink-2: rgba(33, 27, 19, 0.82);
  --cam-ink-3: rgba(33, 27, 19, 0.60);
  --cam-ink-4: rgba(33, 27, 19, 0.40);
  --cam-line: rgba(96, 72, 40, 0.22);
  --cam-terra: #c0663f;
  --cam-terra-deep: #a24f2e;
  --cam-gold: #b58a3c;
  --cam-gold-deep: #906a26;
  --cam-olive: #5f7442;
  --cam-serif: "Playfair Display", Georgia, serif;
  --cam-gloss: "Cormorant Garamond", Georgia, serif;
  --cam-mono: "JetBrains Mono", ui-monospace, monospace;
  --cam-sans: "Inter", system-ui, -apple-system, sans-serif;
  position: relative;
  min-height: clamp(600px, 70vh, 760px);
  background: linear-gradient(180deg, var(--cam-paper) 0%, var(--cam-paper-warm) 128%);
  font-family: var(--cam-sans);
  color: var(--cam-ink);
  overflow: hidden;
  isolation: isolate;
}

.land-cam-preview .cam-surface::before,
.land-cam-preview .cam-surface::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 38%;
  background-image: var(--cam-water, none);
  background-size: cover;
  background-position: center;
  filter: blur(54px) saturate(1.05);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.land-cam-preview .cam-surface::before {
  top: 0;
  -webkit-mask-image: linear-gradient(#000, transparent);
          mask-image: linear-gradient(#000, transparent);
}

.land-cam-preview .cam-surface::after {
  bottom: 0;
  -webkit-mask-image: linear-gradient(transparent, #000);
          mask-image: linear-gradient(transparent, #000);
}

.land-cam-preview .cam-wrap {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3.4vw, 2rem) 0.6rem 2.4rem;
}

.land-cam-preview .cam-kick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  color: var(--cam-terra-deep);
  font-family: var(--cam-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.land-cam-preview .cam-kick .cam-place {
  color: var(--cam-ink-3);
  letter-spacing: 0.1em;
}

.land-cam-preview .cam-kick .cam-place::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--cam-line);
}

.land-cam-preview .cam-title {
  margin: 0 0 0.6rem;
  color: var(--cam-ink);
  font-family: var(--cam-serif);
  font-size: clamp(1.7rem, 4.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.land-cam-preview .cam-title em {
  color: var(--cam-terra);
  font-style: normal;
}

.land-cam-preview .cam-lede {
  max-width: 46ch;
  margin: 0 0 1.5rem;
  color: var(--cam-ink-2);
  font-family: var(--cam-gloss);
  font-size: 1.18rem;
  line-height: 1.5;
}

.land-cam-preview .cam-pips {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1.4rem;
}

.land-cam-preview .cam-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cam-line);
}

.land-cam-preview .cam-pip.now {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--cam-terra);
  transform: scale(1.18);
}

.land-cam-preview .cam-pip.done {
  background: var(--cam-terra);
}

.land-cam-preview .cam-btn {
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.5rem;
  font-family: var(--cam-sans);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
}

.land-cam-preview .cam-btn--primary {
  background: var(--cam-terra);
  color: #fff;
  box-shadow: 0 8px 20px rgba(192, 102, 63, 0.26);
}

.land-cam-preview .cam-btn--ghost {
  background: transparent;
  color: var(--cam-terra-deep);
  border-color: var(--cam-line);
}

.land-cam-preview .cam-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.land-cam-preview .cam-fieldlabel {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--cam-ink-3);
  font-family: var(--cam-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.land-cam-preview .cam-field {
  box-sizing: border-box;
  width: 100%;
  resize: none;
  border: 1px solid rgba(96, 72, 40, 0.16);
  border-radius: 14px;
  background: rgba(249, 242, 229, 0.5);
  color: var(--cam-ink);
  padding: 0.85rem 1rem;
  font-family: var(--cam-serif);
  font-size: 1.28rem;
  line-height: 1.5;
}

@keyframes cam-rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.land-cam-preview .cam-trama {
  position: relative;
  min-height: clamp(600px, 70vh, 760px);
  overflow: hidden;
  background: #19130c;
  color: #f3e8d6;
  isolation: isolate;
  font-family: var(--cam-sans);
  --who: #e8a978;
}

.land-cam-preview .cam-trama::before,
.land-cam-preview .cam-trama::after {
  display: none;
}

.land-cam-preview .cam-trama-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--cam-water, none);
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.06);
}

.land-cam-preview .cam-trama-vig {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 10, 6, 0.18) 0%, rgba(15, 10, 6, 0.05) 26%, rgba(15, 10, 6, 0.52) 72%, rgba(15, 10, 6, 0.96) 100%);
}

.land-cam-preview .cam-trama-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(78% 76% at 50% 56%, rgba(10, 7, 3, 0.72) 0%, rgba(10, 7, 3, 0.48) 42%, rgba(10, 7, 3, 0.15) 66%, transparent 82%);
}

.land-cam-preview .cam-trama-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: clamp(600px, 70vh, 760px);
  max-width: 720px;
  flex-direction: column;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.2rem, 5vw, 2.4rem) 2.4rem;
  text-align: center;
}

.land-cam-preview .cam-trama-spine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
  color: rgba(243, 232, 214, 0.72);
  font-family: var(--cam-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.land-cam-preview .cam-trama-spine .seal {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(243, 232, 214, 0.4);
  border-radius: 50%;
  color: #f3e8d6;
  font-family: var(--cam-serif);
  font-size: 0.78rem;
  font-style: italic;
}

.land-cam-preview .cam-trama-spine .turns {
  color: rgba(243, 232, 214, 0.5);
}

.land-cam-preview .cam-trama-establishing {
  max-width: 34ch;
  margin: 1.3rem auto 0.6rem;
}

.land-cam-preview .cam-trama-establishing .cap {
  margin: 0;
  color: rgba(243, 232, 214, 0.92);
  font-family: var(--cam-gloss);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
}

.land-cam-preview .cam-trama-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}

.land-cam-preview .cam-trama-line {
  max-width: 42ch;
  padding: 0.55rem 1rem;
  border-radius: 16px;
  background: radial-gradient(120% 140% at 50% 50%, rgba(10, 7, 3, 0.58) 0%, rgba(10, 7, 3, 0.34) 60%, transparent 100%);
}

.land-cam-preview .cam-trama-line.is-new {
  animation: cam-rise 0.5s ease;
}

.land-cam-preview .cam-trama-line .who {
  margin: 0 0 0.4rem;
  color: var(--who);
  font-family: var(--cam-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.land-cam-preview .cam-trama-line .it {
  margin: 0;
  color: #fdf6e9;
  font-family: var(--cam-serif);
  font-size: clamp(1.45rem, 3.3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
}

.land-cam-preview .cam-trama-line .no {
  margin: 0.5rem 0 0;
  color: rgba(243, 232, 214, 0.64);
  font-family: var(--cam-gloss);
  font-size: 1.16rem;
  font-style: italic;
}

.land-cam-preview .cam-trama-line.you .who {
  color: rgba(243, 232, 214, 0.6);
}

.land-cam-preview .cam-trama-line.you .it {
  color: #f0d9c4;
  font-style: italic;
}

.land-cam-preview .cam-trama-composer {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 232, 214, 0.16);
}

.land-cam-preview .cam-trama-say {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.land-cam-preview .cam-trama-mic {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(243, 232, 214, 0.4);
  border-radius: 50%;
  background: rgba(243, 232, 214, 0.06);
  color: #f3e8d6;
  cursor: pointer;
}

.land-cam-preview .cam-trama-input {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 26rem;
  resize: none;
  overflow: hidden;
  border: 1px solid rgba(243, 232, 214, 0.2);
  border-radius: 20px;
  background: rgba(243, 232, 214, 0.07);
  color: #fdf6e9;
  padding: 0.7rem 1.2rem;
  font-family: var(--cam-gloss);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.land-cam-preview .cam-trama-send {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--cam-terra);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.land-cam-preview .cam-trama-altrow {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.land-cam-preview .cam-trama-alt {
  border: 1px solid rgba(243, 232, 214, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 232, 214, 0.5);
  padding: 0.35rem 0.8rem;
  font-family: var(--cam-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.land-cam-preview .cam-trama-alt.armed {
  border-color: var(--who);
  color: #f3e8d6;
}

.land-cam-preview .cam-trama-status {
  min-height: 1em;
  margin: 0.7rem 0 0;
  color: rgba(243, 232, 214, 0.5);
  font-family: var(--cam-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-align: center;
}

@media (max-width: 720px) {
  .land-cam-preview,
  .land-cam-preview .cam-surface,
  .land-cam-preview .cam-trama,
  .land-cam-preview .cam-trama-inner {
    min-height: 0;
  }

  .land-cam-preview .cam-trama-spine {
    flex-wrap: wrap;
    letter-spacing: 0.12em;
  }

  .land-cam-preview .cam-trama-say {
    gap: 0.55rem;
  }

  .land-cam-preview .cam-trama-input {
    max-width: none;
  }
}

.land-product-anim--voice-clean {
  max-width: 980px;
}

.land-beta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(18, 12, 6, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(18,12,6,.36), rgba(246,236,216,.66) 34%, rgba(237,227,204,.92)),
    url("/watercolor/birmingham-museums-trust-nbneQlI2M1A-unsplash.jpg") center / cover fixed;
}

@media (max-width: 720px) {
  .land-beta {
    background-attachment: scroll;
  }
}
