/* ==========================================================================
   home.css - Laifu Japanese landing page (v2)
   LP-only styles. Loaded AFTER styles.css. Every class is namespaced `lp-`
   so it never collides with the shared legal-page styles in styles.css.
   Design: "Say it with us" - Duolingo fun x Apple polish x Notion order.
   Palette mirrors the actual app (constants/Colors.ts, "Laifu Pop System v2"):
   warm cream base, CORAL primary CTA, gold + mint accents, yellow/coral chat,
   ink text. Expo Red/Blue are app-mark-only and NOT used as page accents.
   ========================================================================== */

:root {
  --lp-bg: #fffbee;          /* warm cream page (brand.cream) */
  --lp-cream: #fffbee;
  --lp-card: #ffffff;        /* white cards pop on the cream page */
  --lp-wash: #fff4d6;        /* creamDeep band (brand.creamDeep) */
  --lp-wash-deep: #ffe9da;   /* soft peach wash (marble.peach[0]) */
  --lp-ink: #14201a;         /* brand.ink */
  --lp-ink-2: #5a6b5a;       /* brand.inkSoft */
  --lp-ink-3: #9aa89a;       /* muted (app tabIconDefault) */
  --lp-coral: #ff7043;       /* PRIMARY CTA (brand.coral) */
  --lp-coral-deep: #e64a19;  /* hover / pressed (brand.coralDeep) */
  --lp-coral-soft: #ffccbc;
  --lp-gold: #ffc107;        /* brand.gold */
  --lp-gold-deep: #f57f17;
  --lp-gold-line: #f0b400;   /* legible gold hairline on cream */
  --lp-mint: #2ed5b8;
  --lp-mint-deep: #10b981;   /* success / data accent (brand.mintDeep) */
  --lp-forest: #1b5e20;      /* heritage green (nav / footer) */
  --lp-yellow: #ffeb9f;      /* NPC chat bubble (chat.otherBubbleFill) */
  --lp-yellow-ink: #3a2d00;  /* text on the yellow bubble */
  --lp-blue: #0068b7;        /* app mark only; not a page accent */
  --lp-hairline: rgba(20, 32, 26, 0.10);
  --lp-shadow-card: 0 8px 24px rgba(20, 32, 26, 0.07);
  --lp-shadow-pill: 0 14px 40px rgba(255, 112, 67, 0.16);
  --lp-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --lp-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --lp-maxw: 1120px;
}

/* Reset the LP body away from the legal-page base in styles.css. */
body.lp-body {
  font-family: var(--lp-font);
  background: var(--lp-cream);
  color: var(--lp-ink);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  overflow-x: hidden;
}

.lp-body img { max-width: 100%; }

.lp-wrap {
  width: 100%;
  max-width: var(--lp-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Visually-hidden helper for form labels. */
.lp-vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.lp-header.is-stuck {
  background: rgba(250, 250, 245, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--lp-hairline);
}
.lp-header .lp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
  text-decoration: none;
  white-space: nowrap;
}
.lp-wordmark .dot { color: var(--lp-coral); }
.lp-wordmark .jp { color: var(--lp-coral); }

.lp-nav { display: flex; gap: 22px; }
.lp-nav a {
  color: var(--lp-forest);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.lp-nav a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.lp-hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--lp-wash) 0%, var(--lp-cream) 60%);
  padding: 28px 0 64px;
  overflow: hidden;
}
/* warm coral->gold glow bleeding from top-right, soft so it warms the first impression */
.lp-hero::before {
  content: "";
  position: absolute;
  top: -160px; right: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 112, 67, 0.10), rgba(255, 215, 0, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 680px) 1fr;
  align-items: end;
  gap: 8px;
}

/* center conversion spine */
.lp-hero-spine {
  grid-column: 2;
  text-align: center;
  padding: 24px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lp-coral);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lp-badge-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--lp-gold);
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
  animation: lp-pulse 1.6s ease-in-out infinite;
}

.lp-h1 {
  font-weight: 800;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  margin: 0 0 18px;
  max-width: 16ch;
}
.lp-accent { color: var(--lp-coral); }
/* coral "stamp": the brand word lands a beat after the headline settles */
.lp-h1 .lp-accent {
  display: inline-block;
  animation: lp-stamp 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.12s;
}
/* "(life)" gloss on the Laifu pun */
.lp-gloss {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--lp-ink-3);
  letter-spacing: 0;
  white-space: nowrap;
}

.lp-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--lp-ink-2);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* signup pill - the visual anchor of the page */
.lp-signup { width: 100%; max-width: 520px; }
.lp-signup-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-hairline);
  border-radius: 20px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--lp-shadow-pill);
  transition: box-shadow 0.18s ease;
}
.lp-signup-pill:focus-within {
  box-shadow: var(--lp-shadow-pill), 0 0 0 3px rgba(255, 112, 67, 0.35);
}
.lp-input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  color: var(--lp-ink);
  background: transparent;
  border: 0;
  outline: none;
  padding: 12px 4px;
}
.lp-input::placeholder { color: var(--lp-ink-3); }

.lp-cta {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--lp-coral);
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.lp-cta:hover {
  background: var(--lp-coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 112, 67, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.lp-cta:active { transform: translateY(0) scale(0.98); }
.lp-cta:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.lp-signup-msg {
  min-height: 1.2em;
  margin: 12px 2px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink-3);
  text-align: center;
}
.lp-signup-msg[data-state="success"] { color: var(--lp-forest); }
.lp-signup-msg[data-state="error"] { color: #dc2626; }
.lp-signup-meta {
  font-size: 13px;
  color: var(--lp-ink-3);
  margin: 12px 0 0;
}

/* hero characters - the "cheer line" bracketing the form */
.lp-hero-char {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 6px;
}
.lp-hero-char--left { grid-column: 1; justify-self: start; }
.lp-hero-char--right { grid-column: 3; justify-self: end; }
.lp-hero-char img {
  height: 300px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(26, 26, 26, 0.16));
  animation: lp-breathe 4.5s ease-in-out infinite;
}
.lp-hero-char--right img {
  height: 280px;
  transform: scaleX(-1); /* face inward */
  animation-delay: 0.8s;
}
.lp-hero-char--right img,
.lp-hero-char--right .lp-bubble { /* keep bubble text un-mirrored */ }

/* hand-drawn-ish speech bubbles */
.lp-bubble {
  order: -1;
  position: relative;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 16px;
  margin-bottom: 10px;
  background: #fff;
  white-space: nowrap;
}
.lp-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 14px; height: 14px;
  background: inherit;
  transform: rotate(45deg);
  border-right: inherit;
  border-bottom: inherit;
}
.lp-bubble--gold {
  color: var(--lp-ink);
  border: 2px solid var(--lp-gold-line);
}
.lp-bubble--gold::after { left: 26px; border: 2px solid var(--lp-gold-line); border-top: 0; border-left: 0; }
.lp-bubble--teal {
  color: var(--lp-ink);
  border: 2px solid #2fb8b0;
}
.lp-bubble--teal::after { right: 26px; border: 2px solid #2fb8b0; border-top: 0; border-left: 0; }

/* --------------------------------------------------------------------------
   TRUST STRIP (stats)
   -------------------------------------------------------------------------- */
.lp-trust {
  background: var(--lp-wash);
  border-top: 1px solid var(--lp-hairline);
  border-bottom: 1px solid var(--lp-hairline);
  padding: 22px 0;
}
.lp-trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.lp-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-gold-line);
  border-radius: 999px;
  padding: 10px 20px;
}
.lp-stat b {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--lp-mint-deep);
}
.lp-stat span { font-size: 13px; color: var(--lp-ink-2); }

/* --------------------------------------------------------------------------
   SECTION SCAFFOLD
   -------------------------------------------------------------------------- */
.lp-section { padding: 88px 0; }
.lp-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-coral);
  margin: 0 0 8px;
}
.lp-h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--lp-ink);
  margin: 0 0 28px;
}
.lp-h2 .lp-accent { color: var(--lp-coral); }

/* --------------------------------------------------------------------------
   BENTO - "What's inside"
   -------------------------------------------------------------------------- */
.lp-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 20px;
}
.lp-tile {
  position: relative;
  background: var(--lp-card);
  border: 1px solid var(--lp-hairline);
  border-radius: 22px;
  box-shadow: var(--lp-shadow-card);
  padding: 26px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-tile::before { /* red top-border that grows on hover */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--lp-coral);
  transition: height 0.18s ease;
}
.lp-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 26, 26, 0.10);
}
.lp-tile:hover::before { height: 3px; }

.lp-tile h3 {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--lp-ink);
}
.lp-tile p {
  margin: 0;
  color: var(--lp-ink-2);
  font-size: 15.5px;
  line-height: 1.5;
}

/* Explicit placement keeps DOM order = mobile order (A,B,C,D) while desktop
   lays out a 4-col x 2-row bento: A=big left, B/C stacked centre, D=tall right. */
.lp-tile--scenes { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.lp-tile--quiz   { grid-column: 3; grid-row: 1; }
.lp-tile--pron   { grid-column: 3; grid-row: 2; }
.lp-tile--audio  { grid-column: 4; grid-row: 1 / span 2; }
.lp-tile--srs    { grid-column: 1 / span 4; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.lp-tile--srs .lp-srs-copy { flex: 1 1 320px; min-width: 0; }
.lp-srs-track { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-srs-pip {
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--lp-hairline);
  color: var(--lp-ink-3);
  background: transparent;
  white-space: nowrap;
}

/* Tile A: Scenes (2x2 hero tile) */
.lp-tile--scenes {
  display: flex;
  flex-direction: column;
}
.lp-tile--scenes::after { /* Red->Gold accent bar on the top edge */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lp-coral), var(--lp-gold));
  z-index: 1;
}
.lp-scene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}
.lp-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp-ink-2);
  background: var(--lp-wash);
  border: 1px solid var(--lp-hairline);
  border-radius: 999px;
  padding: 5px 12px;
}
/* faint green dotted corner texture (heritage, buffered by the card edge) */
.lp-tile--scenes .lp-dots {
  position: absolute;
  left: 18px; bottom: 16px;
  width: 92px; height: 60px;
  background-image: radial-gradient(var(--lp-forest) 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.18;
  pointer-events: none;
}
.lp-tile--scenes .lp-tile-char {
  position: absolute;
  right: 8px; bottom: 0;
  height: 150px; width: auto;
  object-fit: contain;
  animation: lp-breathe 5s ease-in-out infinite;
  pointer-events: none;
}
.lp-scene-visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 18px 0;
}
.lp-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}
.lp-mini-bubble {
  font-family: var(--lp-jp);
  font-size: 14.5px;
  padding: 10px 15px;
  border-radius: 16px;
  width: fit-content;
  max-width: 88%;
}
.lp-mini-bubble.npc { background: var(--lp-yellow); color: var(--lp-yellow-ink); border-bottom-left-radius: 4px; }
.lp-mini-bubble.you { background: var(--lp-coral); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.lp-mini-bubble .lp-jp,
.lp-mini-bubble .lp-ro,
.lp-mini-bubble .lp-en { display: block; line-height: 1.25; }
.lp-mini-bubble .lp-jp { font-family: var(--lp-jp); font-size: 14.5px; }
.lp-mini-bubble .lp-ro { font-size: 11px; font-style: italic; opacity: 0.85; margin-top: 1px; }
.lp-mini-bubble .lp-en { font-size: 11.5px; opacity: 0.9; margin-top: 1px; }

/* Tile B: Hide-show self-quiz (live demo) */
.lp-quiz-demo {
  margin-top: 16px;
  background: var(--lp-wash);
  border-radius: 14px;
  padding: 14px 16px;
}
.lp-quiz-jp { font-family: var(--lp-jp); font-size: 18px; font-weight: 600; color: var(--lp-ink); }
.lp-quiz-en {
  font-size: 14px;
  color: var(--lp-ink-2);
  margin-top: 4px;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.lp-quiz-demo.is-hidden .lp-quiz-en { filter: blur(6px); opacity: 0.85; }
.lp-reveal-chip {
  margin-top: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-coral);
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.16s ease;
}
.lp-reveal-chip:hover { background: var(--lp-coral-deep); }

/* Tile C: Pronunciation (mic motif, blue info-only) */
.lp-tile--pron .lp-pron-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.lp-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.lp-bars i {
  display: block;
  width: 4px;
  background: var(--lp-mint-deep);
  border-radius: 2px;
  height: 30%;
  animation: lp-eq 1.1s ease-in-out infinite;
}
.lp-bars i:nth-child(2) { animation-delay: 0.15s; }
.lp-bars i:nth-child(3) { animation-delay: 0.30s; }
.lp-bars i:nth-child(4) { animation-delay: 0.45s; }
.lp-bars i:nth-child(5) { animation-delay: 0.60s; }
.lp-lock {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-mint-deep);
  background: rgba(16, 185, 129, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Tile D: Audio per character (tall 1x2) */
.lp-tile--audio { display: flex; flex-direction: column; }
.lp-audio-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.lp-audio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-wash);
  border-radius: 14px;
  padding: 10px 12px;
}
.lp-play {
  flex: 0 0 auto;
  width: 0; height: 0;
  border-left: 12px solid var(--lp-coral);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 2px;
}
.lp-audio-row .lp-bars i { background: var(--lp-ink-3); }
.lp-tile--audio .lp-tile-char {
  height: 110px; width: auto; object-fit: contain;
  margin-top: auto;
  align-self: center;
  animation: lp-breathe 4.8s ease-in-out infinite;
  animation-delay: 1.4s;
}

/* --------------------------------------------------------------------------
   SCENE PREVIEW - tilted iPhone (pure CSS)
   -------------------------------------------------------------------------- */
.lp-scene-section { text-align: center; }
.lp-scene-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 16px;
}
.lp-scene-char {
  position: absolute;
  left: 0; bottom: 0;
  height: 220px; width: auto;
  object-fit: contain;
  animation: lp-breathe 4.6s ease-in-out infinite;
  pointer-events: none;
}
.lp-phone {
  position: relative;
  width: 300px;
  background: var(--lp-ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.18);
  transform: rotate(-4deg);
  animation: lp-breathe 5.5s ease-in-out infinite;
}
.lp-phone-island {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.lp-phone-screen {
  background: #ffffff;
  border-radius: 30px;
  padding: 44px 14px 20px;
  min-height: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-clerk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lp-ink-3);
  margin-bottom: 2px;
}
.lp-clerk img {
  width: 28px; height: 28px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
}
.lp-chat-bubble {
  position: relative;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.js .lp-chat-bubble:not(.in) { opacity: 0; transform: translateY(8px); }
.lp-chat-bubble .jp { font-family: var(--lp-jp); font-size: 17px; line-height: 1.4; }
.lp-chat-bubble .en { display: block; font-size: 12px; margin-top: 3px; }
.lp-chat-bubble.npc {
  align-self: flex-start;
  background: var(--lp-yellow);
  color: var(--lp-yellow-ink);
  border-bottom-left-radius: 5px;
}
.lp-chat-bubble.npc .en { color: rgba(58, 45, 0, 0.62); }
.lp-chat-bubble.you {
  align-self: flex-end;
  background: var(--lp-coral);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.lp-chat-bubble.you .en { color: rgba(255, 255, 255, 0.78); }
.lp-chat-play {
  display: inline-block;
  width: 0; height: 0;
  border-left: 8px solid var(--lp-coral);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-top: 6px;
}
.lp-chat-bubble.you .lp-chat-play { border-left-color: #fff; }
.lp-scene-caption {
  margin: 28px auto 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--lp-ink);
  max-width: 420px;
}
.lp-underline { box-shadow: inset 0 -8px 0 rgba(255, 112, 67, 0.16); }

/* --------------------------------------------------------------------------
   PERKS
   -------------------------------------------------------------------------- */
.lp-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-perk {
  position: relative;
  background: var(--lp-card);
  border: 1px solid var(--lp-hairline);
  border-radius: 20px;
  box-shadow: var(--lp-shadow-card);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-perk::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--lp-coral);
  transition: height 0.18s ease;
}
.lp-perk:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26, 26, 26, 0.10); }
.lp-perk:hover::before { height: 3px; }
.lp-perk-num {
  display: block;
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lp-coral);
  margin-bottom: 12px;
}
.lp-perk h3 { font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--lp-ink); }
.lp-perk p { margin: 0; color: var(--lp-ink-2); font-size: 15px; line-height: 1.5; }
.lp-perk--gold { border-left: 4px solid var(--lp-gold); }
.lp-perk--gold .lp-star {
  position: absolute;
  top: 22px; right: 22px;
  color: var(--lp-gold-line);
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   FINAL CTA - warm Red->Gold panel, content on a cream inset for contrast
   -------------------------------------------------------------------------- */
.lp-final {
  position: relative;
  margin: 0;
  padding: 72px 0;
  background:
    linear-gradient(135deg, var(--lp-coral) 0%, #ff7a00 58%, var(--lp-gold) 100%);
  overflow: hidden;
}
.lp-final .lp-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.lp-final-card {
  background: var(--lp-card);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.20);
  padding: 44px 36px;
  max-width: 620px;
  width: 100%;
  text-align: center;
}
.lp-final-h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--lp-ink);
}
.lp-final-h2 .lp-accent { color: var(--lp-coral); }
.lp-final-sub {
  font-size: 17px;
  color: var(--lp-ink-2);
  margin: 0 auto 24px;
  max-width: 460px;
}
.lp-final .lp-signup { margin: 0 auto; }
.lp-final-card .lp-signup-pill { box-shadow: 0 10px 28px rgba(26, 26, 26, 0.10); }

/* final-cta characters flanking the card on the warm gradient */
.lp-final-char {
  position: absolute;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.lp-final-char img {
  height: 210px; width: auto; object-fit: contain;
  animation: lp-breathe 4.7s ease-in-out infinite;
}
.lp-final-char--left { left: 2%; }
.lp-final-char--right { right: 2%; }
.lp-final-char--right img { transform: scaleX(-1); animation-delay: 0.9s; }
.lp-final-char::after { /* white ground-glow so dark outlines stay legible */
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%);
  width: 170px; height: 44px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85), transparent 70%);
  z-index: -1;
}

/* --------------------------------------------------------------------------
   FOOTER (green lives only here + header nav, buffered from red by cream)
   -------------------------------------------------------------------------- */
.lp-footer {
  background: var(--lp-cream);
  border-top: 1px solid var(--lp-hairline);
  padding: 48px 0;
}
.lp-footer .lp-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.lp-footer-copy { color: rgba(26, 26, 26, 0.5); font-size: 14px; }

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
/* Hidden state is gated behind `.js` so content stays visible if JS is off/fails. */
.lp-reveal {
  transition: opacity 0.52s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.52s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .lp-reveal:not(.in) { opacity: 0; transform: translateY(16px); }

/* --------------------------------------------------------------------------
   KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes lp-breathe {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.8deg); }
}
/* hero-right + final-right keep their horizontal flip while breathing */
.lp-hero-char--right img,
.lp-final-char--right img { animation-name: lp-breathe-flip; }
@keyframes lp-breathe-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  50% { transform: scaleX(-1) translateY(-8px) rotate(0.8deg); }
}
.lp-phone { animation-name: lp-breathe-tilt; }
@keyframes lp-breathe-tilt {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}
@keyframes lp-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.55); }
  50% { transform: scale(1.4); box-shadow: 0 0 0 5px rgba(255, 215, 0, 0); }
}
@keyframes lp-stamp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes lp-eq {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .lp-hero-char img { height: 210px; }
  .lp-hero-char--right img { height: 200px; }
  .lp-final-char img { height: 170px; }
}

@media (max-width: 760px) {
  .lp-wrap { padding: 0 16px; }
  .lp-section { padding: 56px 0; }
  .lp-final { padding: 56px 0; }

  /* header tightens so wordmark + nav never collide on narrow screens */
  .lp-wordmark { font-size: 16px; }
  .lp-nav { gap: 14px; }
  .lp-nav a { font-size: 13px; }

  /* hero: spine goes full width; characters peek from the BOTTOM corners
     (a clear band below the form) so they never overlap the headline or header */
  .lp-hero { padding: 8px 0 150px; }
  .lp-hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .lp-hero-spine { grid-column: 1; grid-row: 1; padding-top: 8px; }
  /* anchor characters to the band directly BELOW the spine (top:100% of the
     grid), so they sit clear of the meta text rather than overlapping it */
  .lp-hero-char {
    position: absolute;
    top: 100%; bottom: auto;
    margin-top: 18px;
    z-index: 1;
    padding-bottom: 0;
  }
  .lp-hero-char--left { left: -10px; }
  .lp-hero-char--right { right: -10px; }
  .lp-hero-char img,
  .lp-hero-char--right img { height: 96px; }
  .lp-bubble { display: none; }

  /* signup pill stacks vertically */
  .lp-signup-pill {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }
  .lp-input { padding: 12px 14px; text-align: center; }
  .lp-cta { width: 100%; min-height: 54px; }

  /* bento collapses to a single column */
  .lp-bento { grid-template-columns: 1fr; }
  .lp-tile--scenes, .lp-tile--quiz, .lp-tile--pron, .lp-tile--audio, .lp-tile--srs {
    grid-column: auto;
    grid-row: auto;
  }
  .lp-tile--scenes .lp-tile-char { height: 110px; }

  .lp-perks { grid-template-columns: 1fr; }

  .lp-phone { transform: rotate(0deg); }
  .lp-phone { animation-name: lp-breathe; }
  .lp-scene-char { display: none; }

  /* characters off the final card on small screens to avoid crowding */
  .lp-final-char { display: none; }
  .lp-final-card { padding: 32px 22px; }
}

@media (max-width: 380px) {
  .lp-hero-char img, .lp-hero-char--right img { height: 96px; }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  .lp-hero-char img,
  .lp-final-char img,
  .lp-phone,
  .lp-badge-dot,
  .lp-bars i,
  .lp-tile-char,
  .lp-scene-char,
  .lp-h1 .lp-accent {
    animation: none !important;
    transition: none !important;
  }
  .lp-reveal { opacity: 1; transform: none; }
  .lp-chat-bubble { opacity: 1; transform: none; }
}

/* ==========================================================================
   Language-layer toggle (JP / Romaji / EN) - mirrors the in-app hide-show.
   Phrase layers carry .lp-jp / .lp-ro / .lp-en; body.hide-* removes a layer
   across every phrase on the page at once. Default: all three visible.
   ========================================================================== */
body.hide-jp .lp-jp,
body.hide-ro .lp-ro,
body.hide-en .lp-en { display: none; }

/* Romaji line: muted, italic, sits between JP and EN wherever it appears. */
.lp-ro { color: var(--lp-ink-3); font-style: italic; }

/* Hero speech bubbles: stack the three layers, centred. */
.lp-bubble { white-space: normal; line-height: 1.3; text-align: center; }
.lp-bubble .lp-jp,
.lp-bubble .lp-ro,
.lp-bubble .lp-en { display: block; white-space: nowrap; }
.lp-bubble .lp-jp { font-family: var(--lp-jp); font-size: 15px; font-weight: 700; }
.lp-bubble .lp-ro { font-size: 11px; font-weight: 600; margin-top: 1px; }
.lp-bubble .lp-en { font-size: 12px; font-weight: 600; color: var(--lp-ink-2); margin-top: 1px; }

/* Quiz tile romaji line. */
.lp-quiz-ro { font-size: 13px; color: var(--lp-ink-3); font-style: italic; margin-top: 3px; }

/* Scene phone chat: romaji line between the JP and EN lines. */
.lp-chat-bubble .ro { display: block; font-size: 11px; font-style: italic; margin-top: 2px; line-height: 1.3; }
.lp-chat-bubble.npc .ro { color: rgba(58, 45, 0, 0.55); }
.lp-chat-bubble.you .ro { color: rgba(255, 255, 255, 0.72); }

/* Fixed language bar (the interactive demo of the app's hide-show). */
.lp-langbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 16px;
  background: var(--lp-card);
  border: 1px solid var(--lp-hairline);
  border-radius: 999px;
  box-shadow: var(--lp-shadow-card);
  max-width: calc(100vw - 24px);
}
.lp-langbar-tip {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-ink-3);
  white-space: nowrap;
}
.lp-langbar-chips { display: flex; gap: 6px; }
.lp-lang-chip {
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--lp-hairline);
  background: transparent;
  color: var(--lp-ink-3);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lp-lang-chip.is-on {
  background: var(--lp-coral);
  border-color: var(--lp-coral);
  color: #fff;
}
.lp-lang-chip:not(.is-on) { text-decoration: line-through; }

/* Keep the footer clear of the fixed bar. */
.lp-footer { padding-bottom: 96px; }

@media (max-width: 560px) {
  .lp-langbar { gap: 8px; padding: 8px 10px 8px 12px; bottom: 12px; }
  .lp-langbar-tip { display: none; }
  .lp-lang-chip { font-size: 12px; padding: 7px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-lang-chip { transition: none; }
}

/* ==========================================================================
   Interactive "Try Laifu" demo deck (#try)
   A swipeable, scroll-snap deck: phrase -> conversation -> quiz -> join.
   Reuses .lp-jp/.lp-ro/.lp-en (so the language bar controls it too) and the
   .lp-chat-bubble look. Pure CSS + the small block in index.html's script.
   ========================================================================== */
.lp-try-lead {
  max-width: 560px;
  margin: 10px 0 26px;
  color: var(--lp-ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.lp-deck { position: relative; max-width: 380px; margin-left: auto; margin-right: auto; }
.lp-deck-phone {
  position: relative;
  background: var(--lp-ink);
  border-radius: 46px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.18);
}
.lp-deck-phone-screen {
  position: relative;
  background: var(--lp-card);
  border-radius: 34px;
  padding: 44px 12px 16px;
  overflow: hidden;
}
/* Inside the phone, each card IS the screen, so drop its own frame */
.lp-deck-phone .lp-card {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

/* Step rail above the cards. */
.lp-deck-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.lp-deck-step {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lp-ink-3);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--lp-hairline);
  background: var(--lp-card);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lp-deck-step.is-active {
  color: #fff;
  background: var(--lp-coral);
  border-color: var(--lp-coral);
}
.lp-deck-step.is-done {
  color: var(--lp-mint-deep);
  border-color: var(--lp-mint-deep);
}

/* Horizontal swipe track. */
.lp-deck-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
  outline: none;
}
.lp-deck-track::-webkit-scrollbar { display: none; }

.lp-card {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  background: var(--lp-card);
  border: 1px solid var(--lp-hairline);
  border-radius: 22px;
  box-shadow: var(--lp-shadow-card);
  padding: 22px;
}
@media (min-width: 720px) {
  .lp-deck-track { justify-content: flex-start; }
}

.lp-card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-coral);
  background: var(--lp-wash-deep);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.lp-card-hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--lp-ink-3);
  margin-top: auto;
  padding-top: 14px;
}

/* ---- Shared round audio button (phrase card) ---- */
.lp-audio-btn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--lp-coral);
  box-shadow: var(--lp-shadow-pill);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, background 0.18s ease;
}
.lp-audio-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.lp-audio-btn:hover { background: var(--lp-coral-deep); }
.lp-audio-btn:active { transform: scale(0.94); }
.lp-audio-btn.is-playing { animation: lp-pulse 0.9s ease-in-out infinite; }
@keyframes lp-pulse {
  0%, 100% { box-shadow: var(--lp-shadow-pill); }
  50% { box-shadow: var(--lp-shadow-pill), 0 0 0 8px rgba(255, 112, 67, 0.18); }
}

/* ---- Card 1: phrase ---- */
.lp-card--phrase .lp-phrase {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.lp-phrase-text { display: flex; flex-direction: column; gap: 3px; }
.lp-card--phrase .lp-jp { font-family: var(--lp-jp); font-size: 26px; font-weight: 700; line-height: 1.3; }
.lp-card--phrase .lp-ro { font-size: 15px; }
.lp-card--phrase .lp-en { font-size: 16px; color: var(--lp-ink-2); font-weight: 600; }
.lp-phrase-cover {
  position: absolute;
  left: 68px;
  bottom: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-coral);
  background: var(--lp-wash-deep);
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lp-card--phrase.hide-jp .lp-jp,
.lp-card--phrase.hide-ro .lp-ro,
.lp-card--phrase.hide-en .lp-en { visibility: hidden; }
.lp-phrase-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-lang-chip--sm { font-size: 12px; padding: 6px 11px; }

.lp-card-foot { margin-top: auto; }
.lp-ghost-btn {
  font-family: var(--lp-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-ink-2);
  background: transparent;
  border: 1.5px solid var(--lp-hairline);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lp-ghost-btn:hover { border-color: var(--lp-coral); color: var(--lp-coral); }
.lp-card-foot .lp-card-hint { margin-top: 12px; padding-top: 0; }

/* ---- Card 2: conversation ---- */
.lp-convo { flex: 1; display: flex; flex-direction: column; }
.lp-convo-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-ink-3);
  margin-bottom: 12px;
}
.lp-convo-head img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lp-wash);
}
.lp-convo-thread { display: flex; flex-direction: column; gap: 9px; }

/* Bubbles are <button>s here; reset and reuse the chat look. */
.lp-card--convo .lp-chat-bubble {
  display: none;
  width: auto;
  max-width: 86%;
  text-align: left;
  font-family: var(--lp-font);
  cursor: pointer;
  border: none;
}
.lp-card--convo .lp-chat-bubble.is-shown { display: inline-flex; flex-direction: column; }
.lp-card--convo .lp-chat-bubble.is-playing { box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.35); }
.lp-convo-next {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--lp-font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-coral);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.18s ease, opacity 0.2s ease;
}
.lp-convo-next:hover { background: var(--lp-coral-deep); }
.lp-convo-next[hidden] { display: none; }

/* ---- Card: scene player (illustrated stage, line by line) ---- */
.lp-card--scene .lp-scene-art {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--lp-canvas);
  box-shadow: inset 0 0 0 1px var(--lp-hairline);
}
.lp-scene-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-scene-actor {
  position: absolute;
  right: 4px;
  bottom: 0;
  height: 88%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(20, 32, 26, 0.22));
}
.lp-scene-actor.is-in { animation: lp-scene-pop 0.32s ease; }
@keyframes lp-scene-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.lp-scene-line { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }
.lp-scene-speaker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-coral);
}
.lp-card--scene.is-you .lp-scene-speaker { color: var(--lp-ink-3); }
.lp-card--scene .lp-jp { font-family: var(--lp-jp); font-size: 21px; font-weight: 700; line-height: 1.32; }
.lp-card--scene .lp-ro { font-size: 14px; color: var(--lp-ink-3); font-style: italic; }
.lp-card--scene .lp-en { font-size: 15px; color: var(--lp-ink-2); font-weight: 600; }
.lp-scene-play {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--lp-coral);
  color: #fff;
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.18s ease;
}
.lp-scene-play:hover { background: var(--lp-coral-deep); }
.lp-scene-play.is-playing { background: var(--lp-coral-deep); }
.lp-scene-play-icon {
  width: 0; height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---- Card 3: quiz ---- */
.lp-quiz2 { flex: 1; display: flex; flex-direction: column; }
.lp-quiz2-q { font-size: 14px; font-weight: 700; color: var(--lp-ink-3); margin-bottom: 12px; }
.lp-quiz2-prompt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  font-family: var(--lp-jp);
  font-size: 24px;
  font-weight: 700;
  color: var(--lp-ink);
  background: var(--lp-wash);
  border: 1.5px solid var(--lp-gold-line);
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
  margin-bottom: 18px;
}
.lp-quiz2-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--lp-coral);
}
.lp-quiz2-prompt.is-playing { border-color: var(--lp-coral); }
.lp-quiz2-opts { display: flex; flex-direction: column; gap: 10px; }
.lp-quiz2-opt {
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--lp-ink);
  background: var(--lp-card);
  border: 1.5px solid var(--lp-hairline);
  border-radius: 14px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.lp-quiz2-opt:hover { border-color: var(--lp-coral-soft); }
.lp-quiz2-opt.is-correct {
  border-color: var(--lp-mint-deep);
  background: rgba(16, 185, 129, 0.08);
  color: var(--lp-mint-deep);
}
.lp-quiz2-opt.is-wrong {
  border-color: var(--lp-coral-deep);
  background: rgba(230, 74, 25, 0.06);
  color: var(--lp-coral-deep);
}
.lp-quiz2-opts.is-answered .lp-quiz2-opt { cursor: default; }
.lp-quiz2-result {
  font-size: 14px;
  font-weight: 700;
  min-height: 20px;
  margin-top: 14px;
}
.lp-quiz2-result[data-state="right"] { color: var(--lp-mint-deep); }
.lp-quiz2-result[data-state="wrong"] { color: var(--lp-coral-deep); }

/* ---- Card 4: CTA ---- */
.lp-card--cta {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--lp-wash-deep) 0%, var(--lp-card) 55%);
  overflow: hidden;
}
.lp-card-cta-char {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 130px;
  opacity: 0.92;
  pointer-events: none;
}
.lp-card-cta-h { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.lp-card-cta-p { font-size: 15px; line-height: 1.55; color: var(--lp-ink-2); max-width: 320px; margin-bottom: 20px; }
.lp-cta--block {
  display: inline-block;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-coral);
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  box-shadow: var(--lp-shadow-pill);
  transition: background 0.18s ease, transform 0.15s ease;
}
.lp-cta--block:hover { background: var(--lp-coral-deep); }
.lp-cta--block:active { transform: scale(0.97); }

/* ---- Deck nav (arrows + dots) ---- */
.lp-deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.lp-deck-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--lp-hairline);
  background: var(--lp-card);
  color: var(--lp-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}
.lp-deck-arrow:hover:not(:disabled) { border-color: var(--lp-coral); color: var(--lp-coral); }
.lp-deck-arrow:disabled { opacity: 0.35; cursor: default; }
.lp-deck-dots { display: flex; gap: 8px; }
.lp-deck-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--lp-hairline);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.lp-deck-dot.is-active { background: var(--lp-coral); transform: scale(1.25); }

@media (max-width: 560px) {
  .lp-card { padding: 18px; min-height: 520px; }
  .lp-card--phrase .lp-jp { font-size: 23px; }
  .lp-quiz2-prompt { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-deck-track { scroll-behavior: auto; }
  .lp-audio-btn.is-playing { animation: none; }
}

/* "the phrase you just learned" tag on a conversation bubble. */
.lp-line-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-gold-deep);
  background: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 6px;
}

/* ==========================================================================
   Real app screenshots strip (.lp-shots)
   ========================================================================== */
.lp-shots-row {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
  margin-left: -4px;
  margin-right: -4px;
}
.lp-shots-row::-webkit-scrollbar { display: none; }
.lp-shot {
  flex: 0 0 auto;
  width: 220px;
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}
.lp-shot img {
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--lp-hairline);
  box-shadow: var(--lp-shadow-card);
  display: block;
}
.lp-shot figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lp-ink-2);
}
@media (min-width: 880px) {
  .lp-shots-row { justify-content: center; overflow: visible; flex-wrap: nowrap; }
  .lp-shot { width: 234px; }
}
@media (max-width: 560px) {
  .lp-shot { width: 200px; }
}
