/* ==========================================================================
   MyPariva landing page - "Dusk & Paper" (light only)
   Used only by Views/Home/Index2.cshtml, behaviour in wwwroot/js/landing/*.
   Everything is scoped to body.lp so nothing leaks into other pages or fights
   the Bootstrap CSS that the shared suggestion widget still needs.
   ========================================================================== */

:root {
  --lp-paper: #F5F0E8;
  --lp-paper-deep: #EDE5D8;
  --lp-surface: #FBF8F2;
  --lp-ink: #1F1B20;
  --lp-ink-soft: #5B5259;
  --lp-ink-faint: #71636C;
  --lp-line: rgba(var(--lp-ink-rgb), .12);
  --lp-line-strong: rgba(var(--lp-ink-rgb), .26);
  --lp-madder: #A4442F;
  --lp-madder-deep: #86351F;
  --lp-dusk: #2B3A67;
  --lp-turmeric: #E3B04B;
  --lp-turmeric-ink: #8A6212;
  --lp-neem: #7D8F69;
  --lp-neem-ink: #55663F;
  --lp-clay: #D9B8A5;
  --lp-clay-soft: #EBDCD0;

  /* Shared theme channels and illustration tints. Pink overrides live separately. */
  --lp-brand: var(--lp-madder);
  --lp-ink-rgb: 31, 27, 32;
  --lp-paper-rgb: 245, 240, 232;
  --lp-surface-rgb: 251, 248, 242;
  --lp-madder-rgb: 164, 68, 47;
  --lp-dusk-rgb: 43, 58, 103;
  --lp-turmeric-rgb: 227, 176, 75;
  --lp-turmeric-ink-rgb: 138, 98, 18;
  --lp-neem-rgb: 125, 143, 105;
  --lp-clay-rgb: 217, 184, 165;
  --lp-phase-menstrual: #F1DFD6;
  --lp-phase-follicular: #E4E6D6;
  --lp-phase-ovulation: #F4E6C4;
  --lp-phase-luteal: #E6E1DD;
  --lp-key-light: #F2CF7E;
  --lp-key-deep: #C99634;
  --lp-action: var(--lp-ink);
  --lp-action-hover: var(--lp-madder);
  --lp-action-text: var(--lp-paper);
  --lp-serif: 'Playfair Display', Georgia, serif;
  --lp-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lp-ease: cubic-bezier(.22, .61, .36, 1);
  --lp-gutter: clamp(20px, 5vw, 64px);
  --lp-max: 1240px;
  --lp-shadow-paper: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 1px 2px rgba(var(--lp-ink-rgb), .06), 0 24px 48px -28px rgba(var(--lp-ink-rgb), .32);
  --lp-shadow-lift: 0 1px 2px rgba(var(--lp-ink-rgb), .06), 0 40px 80px -40px rgba(var(--lp-ink-rgb), .45);
}
@property --tint { syntax: '<color>'; inherits: true; initial-value: #F4E6C4; }
@property --sky { syntax: '<color>'; inherits: true; initial-value: #F1DFD6; }

/* Light-only page. These outrank the shared ":root[data-theme=dark] body" rule
   in tokens.css and the CSS-guard background. */
:root.css-guard, :root:has(body.lp) { background: var(--lp-paper); color-scheme: light; }
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

:root body.lp {
  margin: 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Barely-there paper grain: one tiny inline SVG, no request. */
body.lp::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:where(.lp) *, :where(.lp) *::before, :where(.lp) *::after { box-sizing: border-box; }
.lp main, .lp footer { position: relative; z-index: 1; }
:where(.lp) :is(h1, h2, h3, h4) { margin: 0; color: inherit; font-family: var(--lp-serif); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
:where(.lp) p { margin: 0; color: var(--lp-ink-soft); text-wrap: pretty; }
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) :is(ul, ol, dl, dd) { margin: 0; padding: 0; list-style: none; }
:where(.lp) em { font-style: italic; }
:where(.lp) button { font-family: inherit; }
.lp ::selection { background: var(--lp-madder); color: var(--lp-surface); }
.lp :focus-visible { outline: 2px solid var(--lp-dusk); outline-offset: 3px; border-radius: 3px; }
.lp svg use { pointer-events: none; }

.lp .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lp-skip { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--lp-ink); color: var(--lp-paper); padding: 12px 18px; font-weight: 600; border-radius: 3px; transition: top .2s; }
.lp-skip:focus { top: 12px; color: var(--lp-paper); }

.lp-wrap { width: 100%; max-width: calc(var(--lp-max) + var(--lp-gutter) * 2); margin: 0 auto; padding: 0 var(--lp-gutter); }

/* ---------- Type ---------- */
.lp-label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lp-label--madder { color: var(--lp-madder); }
.lp-h2 { margin-top: 20px !important; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.028em; }
.lp-h2 em { color: var(--lp-madder); font-weight: 400; }
.lp-lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; max-width: 50ch; }
.lp-facts { margin-top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink); }
.lp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--c, var(--lp-madder)); transition: background-color .5s var(--lp-ease); }

/* ---------- Buttons & links ---------- */
.lp-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 600 15px/1 var(--lp-sans); letter-spacing: .005em; text-align: left;
  border: 1px solid var(--lp-action); border-radius: 4px;
  background: var(--lp-action); color: var(--lp-action-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 10px 24px -14px rgba(var(--lp-ink-rgb), .7);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--lp-ease), border-color .45s var(--lp-ease), transform .3s var(--lp-ease), box-shadow .45s var(--lp-ease);
}
.lp-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lp-action-hover); transform: translateY(101%); transition: transform .5s var(--lp-ease); }
.lp-btn svg { flex: 0 0 auto; transition: transform .45s var(--lp-ease); }
.lp-btn:hover { color: var(--lp-surface); border-color: var(--lp-action-hover); }
.lp-btn:hover::before { transform: none; }
.lp-btn:hover svg { transform: translateX(4px); }
.lp-btn:active { transform: translateY(1px) scale(.99); box-shadow: 0 4px 10px -8px rgba(var(--lp-ink-rgb), .7); }
.lp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.lp-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.lp-btn--quiet { background: transparent; color: var(--lp-ink); border-color: var(--lp-line-strong); box-shadow: none; }
.lp-btn--quiet::before { background: var(--lp-ink); }
.lp-btn--quiet:hover { color: var(--lp-paper); border-color: var(--lp-ink); }
.lp-btn--lg { min-height: 66px; padding: 0 28px; font-size: 16px; }
.lp-btn--lg small { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }

.lp-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: color .4s var(--lp-ease);
}
.lp-link svg { transition: transform .4s var(--lp-ease); }
.lp-link:hover { color: var(--lp-madder); }
.lp-link:hover svg { transform: translateX(4px); }

/* "Private by default" lock chip, used wherever private state is shown */
.lp-private { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(var(--lp-dusk-rgb), .08); color: var(--lp-dusk); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ---------- Reveal: used sparingly ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--lp-ease), transform .6s var(--lp-ease); }
.js .rv.in { opacity: 1; transform: none; }
/* Hero entrance is pure CSS so it never waits for scripts */
.js .lp-in { opacity: 0; transform: translateY(14px); animation: lpIn .7s var(--lp-ease) forwards; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes lpIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   NAV: transparent at the top, a paper surface once the page moves
   ========================================================================== */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .5s var(--lp-ease), box-shadow .5s var(--lp-ease); }
.lp-nav.is-scrolled { background: rgba(var(--lp-paper-rgb), .95); box-shadow: 0 1px 0 var(--lp-line), 0 12px 32px -26px rgba(var(--lp-ink-rgb), .5); backdrop-filter: blur(6px); }
.lp-nav__bar { display: flex; align-items: center; gap: 24px; height: 80px; transition: height .5s var(--lp-ease); }
.lp-nav.is-scrolled .lp-nav__bar { height: 66px; }
.lp-brand { display: block; flex: 0 0 auto; line-height: 0; }
.lp-brand img { display: block; width: auto; height: 46px; transition: height .5s var(--lp-ease); }
.lp-nav.is-scrolled .lp-brand img { height: 40px; }
.lp-nav__links { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.lp-nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font-size: 14.5px; font-weight: 500; color: var(--lp-ink-soft); transition: color .4s var(--lp-ease); }
.lp-nav__links a:hover, .lp-nav__links a.is-active { color: var(--lp-ink); }
.lp-nav__links .lp-nav__account { display: none; }
.lp-nav__ink { position: absolute; left: 0; bottom: 8px; height: 2px; width: 0; background: var(--lp-madder); border-radius: 2px; opacity: 0; pointer-events: none; transition: transform .5s var(--lp-ease), width .5s var(--lp-ease), opacity .4s var(--lp-ease); }
.lp-nav__cta { flex: 0 0 auto; }
.lp-nav__toggle { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--lp-line-strong); border-radius: 4px; color: var(--lp-ink); font: 600 14px/1 var(--lp-sans); cursor: pointer; transition: background-color .4s var(--lp-ease); }
.lp-nav__toggle:hover { background: rgba(var(--lp-ink-rgb), .05); }
.lp-nav__burger { position: relative; width: 16px; height: 10px; }
.lp-nav__burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--lp-ease), top .45s var(--lp-ease); }
.lp-nav__burger span:first-child { top: 0; }
.lp-nav__burger span:last-child { top: 8.5px; }
.lp-nav.nav-open .lp-nav__burger span:first-child { top: 4.25px; transform: rotate(45deg); }
.lp-nav.nav-open .lp-nav__burger span:last-child { top: 4.25px; transform: rotate(-45deg); }
.lp-nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.lp-nav__progress span { display: block; height: 100%; background: var(--lp-brand); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1080px) {
  .lp-nav__bar { height: 68px; }
  .lp-nav__toggle { display: inline-flex; }
  .lp-nav__cta { display: none; }
  .lp-nav__ink { display: none; }
  .lp-nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--lp-gutter) 20px; background: var(--lp-paper); box-shadow: 0 1px 0 var(--lp-line), 0 30px 40px -30px rgba(var(--lp-ink-rgb), .45);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .4s var(--lp-ease), transform .4s var(--lp-ease), visibility 0s .4s;
  }
  .lp-nav.nav-open { background: var(--lp-paper); }
  .lp-nav.nav-open .lp-nav__links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .lp-nav__links a { min-height: 52px; padding: 0; font-size: 18px; font-family: var(--lp-serif); color: var(--lp-ink); border-bottom: 1px solid var(--lp-line); }
  .lp-nav__links .lp-nav__account { display: flex; color: var(--lp-madder); border-bottom: 0; }
}

/* ---------- Story rail: where you are in the page (wide screens) ---------- */
.lp-rail { position: fixed; left: 24px; top: 50%; z-index: 90; transform: translateY(-50%); display: none; }
.lp-rail__track { position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--lp-line-strong); }
.lp-rail__fill { position: absolute; inset: 0; background: var(--lp-madder); transform-origin: top; transform: scaleY(0); }
.lp-rail ol { position: relative; display: flex; flex-direction: column; gap: 18px; }
.lp-rail a { position: relative; display: flex; align-items: center; height: 10px; width: 10px; }
.lp-rail a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lp-paper); border: 1px solid var(--lp-ink-faint); transition: background-color .4s var(--lp-ease), border-color .4s var(--lp-ease), transform .4s var(--lp-ease); }
.lp-rail a::after { content: ""; position: absolute; inset: -12px -8px; }
.lp-rail a span { position: absolute; left: 22px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--lp-ink); background: var(--lp-paper); padding: 4px 8px; border-radius: 3px; box-shadow: 0 0 0 1px var(--lp-line); opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .35s var(--lp-ease), transform .35s var(--lp-ease); }
.lp-rail a:hover span, .lp-rail a:focus-visible span { opacity: 1; transform: none; }
.lp-rail a.is-past::before { background: var(--lp-madder); border-color: var(--lp-madder); }
.lp-rail a.is-active::before { background: var(--lp-paper); border-color: var(--lp-madder); border-width: 2px; transform: scale(1.35); }
@media (min-width: 1360px) { .lp-rail { display: block; } .lp-nav__progress { display: none; } }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.lp-hero { position: relative; padding: 120px 0 0; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp-hero h1 { margin-top: 24px; font-size: clamp(48px, 6.6vw, 96px); line-height: .97; letter-spacing: -.038em; }
.lp-hero h1 .lp-line { display: block; }
.lp-hero h1 em { color: var(--lp-madder); font-weight: 400; }
.lp-hero .lp-lede { margin-top: 30px; }
.lp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 38px; }
.lp-hero__line { margin-top: 28px; font-size: 14px; }
.lp-hero__line strong { color: var(--lp-ink); font-weight: 600; }

/* Product composition: her private app, the key, what the supporter receives */
.lp-hero__product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; will-change: transform; }
.lp-app { position: relative; z-index: 2; width: min(100%, 440px); background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; padding: 22px 22px 20px; box-shadow: var(--lp-shadow-lift); }
.lp-app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-app__greet { font-family: var(--lp-serif); font-size: 20px; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-app__greet em { color: var(--lp-madder); }

.lp-dial { position: relative; width: min(100%, 264px); margin: 10px auto 4px; aspect-ratio: 1; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.lp-dial.is-dragging { cursor: grabbing; }
.lp-dial__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lp-dial__arc { opacity: .32; transition: opacity .5s var(--lp-ease), stroke-width .5s var(--lp-ease); }
.lp-dial__arc.is-on { opacity: 1; stroke-width: 16; }
.lp-dial__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.lp-dial__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-faint); }
.lp-dial__day { font-family: var(--lp-serif); font-size: clamp(64px, 7vw, 86px); line-height: 1; letter-spacing: -.04em; color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.lp-dial__phase { margin-top: 2px; font-family: var(--lp-serif); font-style: italic; font-size: 19px; transition: color .5s var(--lp-ease); }
.lp-dial__sub { margin-top: 2px; font-size: 12.5px; color: var(--lp-ink-soft); }
.lp-dial__thumb, .lp-ring__thumb {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--lp-surface); border: 2px solid var(--lp-ink); box-shadow: 0 6px 14px -6px rgba(var(--lp-ink-rgb), .6);
  cursor: grab; will-change: transform; transition: box-shadow .3s var(--lp-ease);
}
.lp-dial__thumb::after, .lp-ring__thumb::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--lp-ink); transition: transform .3s var(--lp-ease); }
.lp-dial__thumb::before, .lp-ring__thumb::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.lp-dial__thumb:hover, .lp-ring__thumb:hover { box-shadow: 0 0 0 8px rgba(var(--lp-ink-rgb), .08), 0 6px 14px -6px rgba(var(--lp-ink-rgb), .6); }
.lp-dial.is-dragging .lp-dial__thumb::after, .lp-ring.is-dragging .lp-ring__thumb::after { transform: scale(.6); }
.lp-dial__thumb:focus-visible, .lp-ring__thumb:focus-visible { outline: 2px solid var(--lp-dusk); outline-offset: 4px; border-radius: 50%; }

.lp-app__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--lp-line); }
.lp-app__tags li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; color: var(--lp-ink-faint); transition: background-color .5s var(--lp-ease), color .5s var(--lp-ease); }
.lp-app__tags li .lp-dot { opacity: .35; transition: opacity .5s var(--lp-ease); }
.lp-app__tags li.is-on { background: rgba(var(--lp-ink-rgb), .06); color: var(--lp-ink); }
.lp-app__tags li.is-on .lp-dot { opacity: 1; }
.lp-app__mood { margin-top: 14px; }
.lp-app__mlabel { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); }
.lp-app__moods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lp-app__moods button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: transparent; color: var(--lp-ink); font-size: 13px; cursor: pointer; transition: background-color .4s var(--lp-ease), color .4s var(--lp-ease), border-color .4s var(--lp-ease); }
.lp-app__moods button:hover { border-color: var(--lp-ink); }
.lp-app__moods button[aria-pressed="true"] { background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-paper); }

.lp-wire { position: relative; z-index: 3; width: min(100%, 440px); height: 46px; display: flex; justify-content: center; }
.lp-wire__line { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px dashed var(--lp-line-strong); }
.lp-wire__key { position: relative; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-turmeric); color: var(--lp-ink); box-shadow: 0 8px 18px -8px rgba(var(--lp-turmeric-ink-rgb), .8); }
.lp-recv { position: relative; z-index: 2; width: min(92%, 400px); margin-right: 20px; background: var(--lp-clay-soft); border: 1px solid rgba(var(--lp-ink-rgb), .1); border-radius: 14px 14px 14px 4px; padding: 16px 18px 14px; box-shadow: var(--lp-shadow-paper); }
.lp-recv__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 11.5px; }
.lp-recv__from { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-madder-deep); }
.lp-recv__chan { color: var(--lp-ink-soft); }
.lp-recv__body { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--lp-ink); }
.lp-recv__never { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(var(--lp-ink-rgb), .22); }
.lp-recv__never li { position: relative; font-size: 11.5px; color: var(--lp-ink-soft); transition: color .4s var(--lp-ease); }
.lp-recv__never li::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1px; background: var(--lp-madder); }
.lp-recv__never li.is-flash { color: var(--lp-madder); }

.lp-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: clamp(40px, 6vw, 72px); padding: 20px 0; border-top: 1px solid var(--lp-line); }
.lp-strip li { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink-soft); }

@media (max-width: 980px) {
  .lp-hero { padding-top: 104px; }
  .lp-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-hero__product { justify-items: center; }
  .lp-recv { margin-right: 0; }
  /* One swipeable row instead of wrapping onto three lines. */
  .lp-strip { justify-content: flex-start; flex-wrap: nowrap; gap: 6px 28px; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--lp-gutter) * -1); padding-right: var(--lp-gutter); -webkit-overflow-scrolling: touch; }
  .lp-strip::-webkit-scrollbar { display: none; }
  .lp-strip li { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  .lp-hero__cta .lp-btn { flex: 1 1 100%; }
  .lp-app { padding: 18px 16px 16px; border-radius: 14px; }
  .lp-dial { width: min(100%, 260px); }
}

/* ==========================================================================
   2. DIFFERENCE
   ========================================================================== */
.lp-diff { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--lp-paper-deep) 18%, var(--lp-paper-deep) 82%, var(--lp-paper) 100%); }
.lp-diff__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.lp-diff__head .lp-h2 em { display: block; }

.lp-seg { position: relative; display: inline-flex; margin-top: clamp(40px, 6vw, 72px); padding: 4px; border-radius: 999px; background: rgba(var(--lp-ink-rgb), .07); }
.lp-seg button { position: relative; z-index: 1; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-ink-soft); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color .45s var(--lp-ease); }
.lp-seg button[aria-selected="true"] { color: var(--lp-paper); }
.lp-seg button:hover:not([aria-selected="true"]) { color: var(--lp-ink); }
.lp-seg__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--lp-ink); box-shadow: 0 6px 16px -8px rgba(var(--lp-ink-rgb), .8); transition: transform .5s var(--lp-ease), width .5s var(--lp-ease); }

.lp-diff__stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 28px; }
.lp-diff__stage:focus-visible { outline-offset: 8px; }
.lp-diff__visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, .55fr) minmax(0, 1fr); align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; box-shadow: var(--lp-shadow-paper); min-height: 320px; }

.lp-rec, .lp-phone { position: relative; z-index: 1; border-radius: 12px; padding: 16px; }
.lp-rec { background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-rec__head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--lp-dusk); padding-bottom: 10px; border-bottom: 1px solid var(--lp-line); }
.lp-rec__rows li, .lp-phone__leak li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 13px; border-bottom: 1px solid var(--lp-line); }
.lp-rec__rows li:last-child, .lp-phone__leak li:last-child { border-bottom: 0; }
.lp-rec__rows span, .lp-phone__leak span { color: var(--lp-ink-soft); }
.lp-rec__rows strong, .lp-phone__leak strong { font-weight: 600; color: var(--lp-ink); }
.lp-bars { display: inline-flex; gap: 4px; align-items: center; }
.lp-bars i { display: block; width: 26px; height: 6px; border-radius: 3px; background: rgba(var(--lp-ink-rgb), .22); }
.lp-bars i + i { width: 16px; }

.lp-lane { position: relative; height: 100%; min-height: 200px; }
.lp-lane__line { position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--lp-line-strong); }
.lp-lane__gate { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--lp-turmeric); color: var(--lp-ink); box-shadow: 0 10px 20px -10px rgba(var(--lp-turmeric-ink-rgb), .9); transition: transform .5s var(--lp-ease), opacity .5s var(--lp-ease); }
.lp-diff__stage[data-mode="usual"] .lp-lane__gate { transform: scale(.4); opacity: 0; }
.lp-packet { position: absolute; z-index: 1; left: 0; top: 50%; padding: 4px 9px; margin-top: -13px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--lp-ink); color: var(--lp-paper); opacity: 0; will-change: transform, opacity; }
.lp-packet--care { width: 12px; height: 12px; padding: 0; margin-top: -6px; background: var(--lp-madder); }

.lp-phone { background: var(--lp-ink); color: var(--lp-paper); min-height: 236px; display: flex; flex-direction: column; }
.lp-phone__head { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(var(--lp-paper-rgb), .62); padding-bottom: 10px; border-bottom: 1px solid rgba(var(--lp-paper-rgb), .14); }
.lp-phone__screen { position: relative; flex: 1; display: flex; align-items: center; }
.lp-phone__leak { width: 100%; }
.lp-phone__leak li { border-bottom-color: rgba(var(--lp-paper-rgb), .12); }
.lp-phone__leak span { color: rgba(var(--lp-paper-rgb), .62); }
.lp-phone__leak strong { color: var(--lp-paper); }
.lp-phone__leak .lp-bars i { background: rgba(var(--lp-paper-rgb), .4); }
.lp-phone__care { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 14px 16px; border-radius: 12px 12px 12px 4px; background: var(--lp-clay-soft); color: var(--lp-ink); font-family: var(--lp-serif); font-size: 17px; line-height: 1.35; }
.lp-diff__stage[data-mode="pariva"] .lp-phone__leak { visibility: hidden; }
.lp-diff__stage[data-mode="usual"] .lp-phone__care { visibility: hidden; }

.lp-diff__copy h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; padding-bottom: 18px; border-bottom: 1px solid var(--lp-ink); }
.lp-diff__copy h3 em { color: var(--lp-madder); }
.lp-diff__set ul li { padding: 14px 0; border-bottom: 1px solid var(--lp-line); }
.lp-diff__set strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--lp-ink); }
.lp-diff__set span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--lp-ink-soft); }
@media (min-width: 1041px) { .lp-diff__visual { position: sticky; top: 104px; align-self: start; } }
.lp-diff__set[data-copy="usual"] strong { text-decoration: line-through; text-decoration-color: rgba(var(--lp-madder-rgb), .55); text-decoration-thickness: 1px; }

@media (max-width: 1040px) {
  .lp-diff__head { grid-template-columns: 1fr; align-items: start; }
  .lp-diff__stage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-seg { display: flex; width: 100%; }
  .lp-seg button { flex: 1 1 0; padding: 0 10px; font-size: 13.5px; }
  .lp-diff__visual { grid-template-columns: 1fr; grid-template-rows: auto 72px auto; padding: 16px; }
  .lp-lane { min-height: 72px; }
  .lp-lane__line { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1.5px dashed var(--lp-line-strong); }
  .lp-packet { display: none; }
  .lp-phone { min-height: 0; }
  .lp-phone__screen { min-height: 156px; }
}

/* ==========================================================================
   3. PRIVACY KEY (a sticky scene on wide screens)
   ========================================================================== */
.lp-key { position: relative; }
.lp-key__sticky { padding: clamp(72px, 9vw, 120px) 0; }
.lp-key__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.lp-key__copy > p:not(.lp-label):not(.lp-key__ask) { margin-top: 22px; max-width: 40ch; font-size: 18px; }
.lp-key__copy .lp-link { margin-top: 18px; }
.lp-key__ask { margin-top: 26px; font-family: var(--lp-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--lp-madder); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--lp-ease), transform .5s var(--lp-ease); }
.lp-key[data-stage="ask"] .lp-key__ask, .lp-key[data-stage="redact"] .lp-key__ask { opacity: 1; transform: none; }
.lp-key[data-stage="care"] .lp-key__ask { opacity: .35; transform: none; }

@media (min-width: 1024px) { .lp-key__stage .lp-keycard { min-height: 486px; } }
.lp-keycard { position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--lp-shadow-lift); }
.lp-keycard__inner { min-height: 0; overflow: hidden; }
.lp-keycard__private { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--lp-ease), opacity .45s var(--lp-ease); }
.lp-keycard__message { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--lp-ease), opacity .5s var(--lp-ease) .12s; }
.js .lp-keycard__message { grid-template-rows: 0fr; opacity: 0; }
.lp-key[data-stage="care"] .lp-keycard__private { grid-template-rows: 0fr; opacity: 0; }
.lp-key[data-stage="care"] .lp-keycard__message { grid-template-rows: 1fr; opacity: 1; }
.lp-keycard__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--lp-line); font-size: 12.5px; font-weight: 600; color: var(--lp-dusk); }
.lp-keycard__head > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.lp-keycard__who { font-family: var(--lp-serif); font-size: 16px; font-weight: 500; color: var(--lp-ink); }
.lp-keycard__rows li { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--lp-line); font-size: 15px; }
.lp-keycard__rows li:last-child { border-bottom: 0; }
.lp-keycard__rows span { color: var(--lp-ink-soft); transition: color .5s var(--lp-ease); }
.lp-keycard__rows strong { position: relative; font-weight: 600; color: var(--lp-ink); transition: color .5s var(--lp-ease); }
.lp-keycard__rows strong::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; margin-top: -1px; background: var(--lp-madder); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--lp-ease); }
.lp-keycard__rows .lp-bars i { transition: background-color .5s var(--lp-ease); }
.lp-keycard__rows li.is-redacted span { color: var(--lp-ink-faint); }
.lp-keycard__rows li.is-redacted strong { color: transparent; }
.lp-keycard__rows li.is-redacted .lp-bars i { background: transparent; }
.lp-keycard__rows li.is-redacted strong::after { transform: scaleX(1); }
.lp-keycard__mhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--lp-line); }
.lp-keycard__from { font-size: 13px; font-weight: 700; color: var(--lp-ink); }
.lp-keycard__chan { font-size: 12px; color: var(--lp-ink-soft); }
.lp-keycard__verified { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-neem-ink); }
.lp-keycard__body { margin-top: 18px; font-family: var(--lp-serif); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-keycard__time { display: block; margin-top: 10px; font-size: 12px; text-align: right; color: var(--lp-ink-soft); }

.lp-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--lp-line-strong); transition: opacity .5s var(--lp-ease); }
.js .lp-key:not([data-stage="care"]) .lp-ledger { opacity: .5; }
.lp-ledger h3 { font: 700 11px/1 var(--lp-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.lp-ledger__sent h3 { color: var(--lp-neem-ink); }
.lp-ledger__never h3 { color: var(--lp-ink-soft); }
.lp-ledger li { padding: 5px 0; font-size: 13.5px; line-height: 1.35; color: var(--lp-ink); }
.lp-ledger__sent li::before { content: ""; display: inline-block; width: 11px; height: 6px; margin-right: 10px; border-left: 2px solid var(--lp-neem-ink); border-bottom: 2px solid var(--lp-neem-ink); transform: translateY(-3px) rotate(-45deg); }
.lp-ledger__never li { position: relative; width: fit-content; color: var(--lp-ink-soft); }
.lp-ledger__never li::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1px; background: var(--lp-madder); }

/* The key: a physical object on a recessed track */
.lp-keytrack { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.lp-keytrack__end { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-keytrack__rail { position: relative; flex: 1; height: 56px; border-radius: 999px; background: var(--lp-paper-deep); box-shadow: inset 0 2px 4px rgba(var(--lp-ink-rgb), .14), inset 0 -1px 0 rgba(255, 255, 255, .6); }
.lp-keytrack__fill { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 48px; border-radius: 999px; background: linear-gradient(90deg, rgba(var(--lp-turmeric-rgb), .18), rgba(var(--lp-turmeric-rgb), .5)); }
.lp-keytrack__key {
  position: absolute; left: 4px; top: 4px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lp-key-light) 0%, var(--lp-turmeric) 55%, var(--lp-key-deep) 100%);
  color: var(--lp-ink); cursor: grab; touch-action: none; will-change: transform;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(var(--lp-turmeric-ink-rgb), .35) inset, 0 8px 16px -6px rgba(var(--lp-turmeric-ink-rgb), .8);
  transition: box-shadow .3s var(--lp-ease);
}
.lp-keytrack__key svg { transition: transform .5s var(--lp-ease); }
.lp-keytrack__key:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(var(--lp-turmeric-ink-rgb), .35) inset, 0 0 0 8px rgba(var(--lp-turmeric-rgb), .2), 0 8px 16px -6px rgba(var(--lp-turmeric-ink-rgb), .8); }
.lp-keytrack__key.is-dragging { cursor: grabbing; }
.lp-keytrack__key.is-dragging svg { transform: rotate(-18deg); }
.lp-key[data-stage="care"] .lp-keytrack__key svg { transform: rotate(90deg); }
.lp-keytrack__key:focus-visible { outline: 2px solid var(--lp-dusk); outline-offset: 4px; border-radius: 50%; }
.lp-keytrack__hint { margin-top: 12px; font-size: 13px; text-align: center; color: var(--lp-ink-soft); transition: opacity .4s var(--lp-ease); }
.lp-key.is-touched .lp-keytrack__hint { opacity: 0; }

@media (min-width: 1024px) {
  .js .lp-key.is-scrolly { height: 250vh; }
  .js .lp-key.is-scrolly .lp-key__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 76px 0 24px; }
}
@media (max-width: 980px) { .lp-key__grid { grid-template-columns: 1fr; } }
/* Stacked (phones and small tablets): the key slider and its hint sit above the card, so the control
   is in view before the reader scrolls past the record it changes. Visual order only. */
@media (max-width: 980px) {
  .lp-key__stage { display: flex; flex-direction: column; }
  .lp-key__stage .lp-keytrack { order: 1; margin-top: 0; }
  .lp-key__stage .lp-keytrack__hint { order: 2; margin: 8px 0 18px; }
  .lp-key__stage .lp-keycard { order: 3; }
}
@media (max-width: 480px) { .lp-ledger { grid-template-columns: 1fr; gap: 16px; } .lp-keytrack { gap: 10px; } }

/* ==========================================================================
   4. PRODUCT SHOWCASE: one app, four rooms
   ========================================================================== */
.lp-show { position: relative; padding: clamp(80px, 10vw, 132px) 0; }
.lp-show__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.lp-frame { display: grid; grid-template-columns: 250px minmax(0, 1fr); margin-top: clamp(40px, 6vw, 72px); background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; box-shadow: var(--lp-shadow-lift); overflow: hidden; }
.lp-frame__side { padding: 26px 14px 26px 20px; background: var(--lp-paper); border-right: 1px solid var(--lp-line); }
.lp-frame__title { font-size: 12.5px; font-weight: 600; color: var(--lp-ink-soft); padding: 0 12px 14px; }
.lp-frame__tabs { position: relative; display: flex; flex-direction: column; gap: 2px; }
.lp-frame__tabs button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 64px; padding: 12px 14px; text-align: left; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.lp-frame__tabs .k { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-faint); transition: color .4s var(--lp-ease); }
.lp-frame__tabs .t { font-family: var(--lp-serif); font-size: 19px; color: var(--lp-ink-soft); transition: color .4s var(--lp-ease); }
.lp-frame__tabs button:hover .t, .lp-frame__tabs button[aria-selected="true"] .t { color: var(--lp-ink); }
.lp-frame__tabs button[aria-selected="true"] .k { color: var(--lp-madder); }
.lp-frame__ink { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 64px; border-radius: 10px; background: var(--lp-surface); box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), .08), 0 8px 18px -12px rgba(var(--lp-ink-rgb), .4); transition: transform .5s var(--lp-ease), height .5s var(--lp-ease); }
.lp-frame__ink::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: var(--lp-madder); }
.lp-frame__panels { position: relative; min-height: 460px; }
.lp-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.4vw, 48px); align-items: center; min-height: 460px; }
.lp-panel[hidden] { display: none; }
.lp-panel__copy h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; }
.lp-panel__copy p { margin-top: 14px; font-size: 15.5px; }
.lp-panel__sub { padding-top: 14px; border-top: 1px solid var(--lp-line); }

.lp-cal { display: flex; flex-direction: column; gap: 5px; }
.lp-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.lp-cal__row [role="columnheader"] { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--lp-ink-faint); padding-bottom: 4px; }
.lp-cal__row [role="gridcell"] { display: block; }
.lp-cal__day { width: 100%; aspect-ratio: 1.15; min-height: 36px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--lp-ink); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .35s var(--lp-ease), transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease); }
.lp-cal__day:hover { background: rgba(var(--lp-ink-rgb), .07); transform: translateY(-1px); }
.lp-cal__day.period { background: var(--lp-madder); color: var(--lp-surface); }
.lp-cal__day.fertile { background: rgba(var(--lp-turmeric-rgb), .38); }
.lp-cal__day.ovul { background: var(--lp-turmeric); font-weight: 700; }
.lp-cal__day.period:hover { background: var(--lp-madder-deep); }
.lp-cal__day.today { box-shadow: 0 0 0 2px var(--lp-surface), 0 0 0 4px var(--lp-ink); }
.lp-cal__day.is-picked { box-shadow: 0 0 0 2px var(--lp-surface), 0 0 0 4px var(--lp-madder); transform: translateY(-1px); }
.lp-cal__readout { margin-top: 16px; min-height: 26px; font-family: var(--lp-serif); font-style: italic; font-size: 18px; color: var(--lp-ink); }

.lp-trail { display: flex; justify-content: space-between; gap: 8px; }
.lp-trail li { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.lp-trail small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-trail__dot { display: grid; place-items: center; width: clamp(34px, 4.4vw, 46px); aspect-ratio: 1; border-radius: 50%; background: var(--c); color: var(--lp-ink); font: 600 15px/1 var(--lp-serif); transition: background-color .5s var(--lp-ease); }
.lp-trail__dot.is-dark { color: var(--lp-surface); }
.lp-trail__dot.is-empty { background: transparent; border: 1px dashed var(--lp-line-strong); }
.lp-mood__msg { min-height: 52px; margin-top: 18px; font-family: var(--lp-serif); font-style: italic; font-size: 17px; color: var(--lp-ink); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lp-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: var(--lp-surface); color: var(--lp-ink); font-size: 14.5px; cursor: pointer; transition: background-color .4s var(--lp-ease), color .4s var(--lp-ease), border-color .4s var(--lp-ease), transform .3s var(--lp-ease); }
.lp-chip:hover { border-color: var(--lp-ink); transform: translateY(-1px); }
.lp-chip:active { transform: scale(.97); }
.lp-chip[aria-pressed="true"] { background: var(--lp-ink); color: var(--lp-paper); border-color: var(--lp-ink); }

.lp-orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; margin: 0 auto; }
.lp-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-orbit__lines path { fill: none; stroke: var(--lp-line-strong); stroke-width: 1.5; stroke-dasharray: 3 5; }
.lp-orbit__you, .lp-orbit__node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lp-orbit__you { z-index: 2; left: 50%; top: 50%; padding: 12px 18px; border-radius: 999px; background: var(--lp-ink); color: var(--lp-paper); font-weight: 600; font-size: 14px; box-shadow: 0 10px 20px -10px rgba(var(--lp-ink-rgb), .8); }
.lp-orbit__node { z-index: 2; left: var(--x); top: var(--y); padding: 9px 14px; border-radius: 999px; background: var(--lp-clay-soft); color: var(--lp-ink); font-family: var(--lp-serif); font-size: 15px; border: 1px solid rgba(var(--lp-ink-rgb), .1); transition: background-color .5s var(--lp-ease), box-shadow .5s var(--lp-ease); }
.lp-orbit__node.is-hit { background: var(--lp-surface); box-shadow: 0 0 0 3px rgba(var(--lp-madder-rgb), .25); }
.lp-orbit__pulse { position: absolute; z-index: 1; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--lp-madder); opacity: 0; }

.lp-library { border-top: 1px solid var(--lp-ink); counter-reset: art; }
.lp-library li { counter-increment: art; display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--lp-line); font-family: var(--lp-serif); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3; color: var(--lp-ink); }
.lp-library li::before { content: "0" counter(art); font: 600 11px/1 var(--lp-sans); letter-spacing: .1em; color: var(--lp-madder); }

@media (max-width: 1040px) { .lp-show__head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 900px) {
  .lp-frame { grid-template-columns: minmax(0, 1fr); }
  .lp-frame__side { padding: 14px 0 0; border-right: 0; border-bottom: 1px solid var(--lp-line); }
  .lp-frame__title { padding: 0 20px 10px; }
  /* Narrow screens: one row of tiles that scrolls sideways; the next tile peeks in at the edge. */
  .lp-frame__tabs { display: flex; flex-direction: row; gap: 8px; padding: 4px 16px 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lp-frame__tabs::-webkit-scrollbar { display: none; }
  .lp-frame__tabs button { flex: 0 0 auto; min-width: 150px; scroll-snap-align: start; min-height: 62px; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-surface); transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease), box-shadow .3s var(--lp-ease); }
  .lp-frame__tabs .t { font-size: 16px; line-height: 1.2; }
  .lp-frame__ink { display: none; }
  .lp-frame__tabs button[aria-selected="true"] { border-color: var(--lp-madder); background: rgba(var(--lp-madder-rgb), .07); box-shadow: 0 6px 16px -12px rgba(var(--lp-madder-rgb), .8); }
  .lp-frame__tabs button:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 2px; }
  .lp-frame__panels, .lp-panel { min-height: 0; }
  .lp-panel { grid-template-columns: 1fr; }
}

/* ==========================================================================
   5. CYCLE RING
   ========================================================================== */
.lp-cycle { --tint: var(--lp-phase-ovulation); position: relative; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--tint) 22%, var(--tint) 78%, var(--lp-paper) 100%); transition: --tint .6s var(--lp-ease); }
.lp-cycle__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.lp-ring { position: relative; width: min(100%, 480px); margin: 0 auto; aspect-ratio: 1; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.lp-ring.is-dragging { cursor: grabbing; }
.lp-ring__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lp-ring__arc { stroke-width: 22; opacity: .3; cursor: pointer; transition: opacity .5s var(--lp-ease), stroke-width .5s var(--lp-ease); }
.lp-ring__arc:hover { opacity: .55; }
.lp-ring__arc.is-on { opacity: 1; stroke-width: 30; }
.lp-ring__ticks line { stroke: rgba(var(--lp-ink-rgb), .28); stroke-width: 1.2; }
.lp-ring__ticks line.is-today { stroke: var(--lp-ink); stroke-width: 2.4; }
.lp-ring__days { font: 600 11px var(--lp-sans); letter-spacing: .1em; fill: var(--lp-ink-soft); }
.lp-ring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.lp-ring__num { font-family: var(--lp-serif); font-size: clamp(84px, 11vw, 140px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; transition: color .5s var(--lp-ease); }
.lp-ring__lbl { font-family: var(--lp-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--lp-ink-soft); }
.lp-ring__thumb { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.lp-ring__thumb::after { inset: 10px; }

.lp-cycle__intro { margin-top: 20px; max-width: 44ch; }
.lp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.lp-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: transparent; color: var(--lp-ink-soft); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .45s var(--lp-ease), color .45s var(--lp-ease), border-color .45s var(--lp-ease); }
.lp-tab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.lp-tab:hover { color: var(--lp-ink); border-color: var(--lp-ink); }
.lp-tab.is-on { background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-paper); }
.lp-phase { margin-top: 28px; min-height: 320px; }
.lp-phase__name { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-phase h3 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; }
.lp-phase > p { margin-top: 16px; max-width: 46ch; font-size: 17px; color: rgba(var(--lp-ink-rgb), .82); }
.lp-phase__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--lp-line-strong); max-width: 480px; }
.lp-phase__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.lp-phase__stats dd { font: 500 clamp(26px, 2.6vw, 36px)/1 var(--lp-serif); letter-spacing: -.02em; color: var(--lp-ink); }
.lp-phase__stats dt { margin-top: 8px; font-size: 13px; font-weight: 400; color: var(--lp-ink-soft); }
@media (max-width: 900px) {
  /* Small screens: heading, then the ring to drag, then the phase story. */
  .lp-cycle__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-cycle__copy { display: contents; }
  .lp-cycle__copy > .lp-label { order: 1; justify-self: start; }
  .lp-cycle__copy > .lp-h2 { order: 2; }
  .lp-cycle__intro { order: 3; }
  .lp-cycle__visual { order: 4; margin-top: 40px; }
  .lp-tabs { order: 5; }
  .lp-phase { order: 6; min-height: 0; }
  .lp-ring { width: min(100%, 360px); }
}

/* ==========================================================================
   6. HORIZON (sticky; scroll moves the day across the landscape)
   ========================================================================== */
.lp-horizon { --sky: var(--lp-phase-menstrual); position: relative; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--sky) 26%, var(--sky) 100%); transition: --sky .3s linear; }
.lp-horizon__sticky { position: relative; padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.lp-horizon__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.lp-horizon__copy .lp-h2 { margin-top: 0 !important; }
.lp-horizon__scene { position: relative; margin-top: clamp(40px, 6vw, 72px); height: clamp(170px, 26vw, 340px); }
.lp-horizon__land { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-horizon__land [data-hz-hill] { opacity: .5; transition: opacity .6s var(--lp-ease); }
.lp-horizon__land [data-hz-hill].is-on { opacity: 1; }
.lp-horizon__today { position: absolute; left: 0; top: 0; bottom: 0; width: 0; will-change: transform; transform: translateX(var(--hz-x, 50vw)); }
.lp-horizon__sun { position: absolute; left: -15px; top: var(--sun-y, 51%); width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--lp-surface); border: 2px solid var(--lp-ink); box-shadow: 0 0 0 10px rgba(var(--lp-surface-rgb), .4), 0 8px 18px -8px rgba(var(--lp-ink-rgb), .6); }
.lp-horizon__sun::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--lp-ink); }
.lp-horizon__stem { position: absolute; left: -.5px; top: calc(var(--sun-y, 51%) + 15px); bottom: 0; width: 1px; background: var(--lp-ink); opacity: .5; }
.lp-horizon__pill { position: absolute; left: 0; top: var(--sun-y, 51%); transform: translate(var(--pill-shift, -50%), -54px); white-space: nowrap; padding: 6px 12px; border-radius: 4px; background: var(--lp-ink); color: var(--lp-paper); font-size: 12px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.lp-horizon__scale { position: relative; height: 22px; margin-top: 16px; border-top: 1px solid var(--lp-line-strong); }
.lp-horizon__scale li { position: absolute; left: var(--at); top: 10px; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: var(--lp-ink-faint); white-space: nowrap; transition: color .5s var(--lp-ease); }
.lp-horizon__scale li:first-child { transform: none; }
.lp-horizon__scale li:last-child { transform: translateX(-100%); }
.lp-horizon__scale li.is-on { color: var(--lp-ink); }
.lp-horizon__phase { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-family: var(--lp-serif); font-size: clamp(20px, 2vw, 26px); color: var(--lp-ink); }
.lp-horizon__sep { color: var(--lp-ink-faint); }
.lp-horizon__phase [data-hz-sub] { font-style: italic; color: var(--lp-ink-soft); }
@media (min-width: 1024px) {
  .js .lp-horizon.is-scrolly { height: 230vh; }
  .js .lp-horizon.is-scrolly .lp-horizon__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; }
}
@media (max-width: 760px) {
  .lp-horizon__copy { grid-template-columns: 1fr; }
  .lp-horizon__scale li:nth-child(2) { display: none; }
  .lp-horizon__phase { font-size: 19px; flex-wrap: wrap; }
}

/* ==========================================================================
   7. DAILY PAUSE: an energy x ease pad
   ========================================================================== */
.lp-pause { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--lp-phase-luteal) 0%, var(--lp-paper) 34%); }
.lp-pause__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.lp-pause__word { margin-top: 32px; font-family: var(--lp-serif); font-style: italic; font-size: clamp(56px, 8vw, 112px); line-height: 1.05; letter-spacing: -.035em; color: var(--lp-ink); min-height: 1.1em; }
.lp-pause__word span { display: inline-block; will-change: transform, opacity; }
.lp-pause__mood { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lp-line-strong); font-size: 14.5px; font-weight: 600; color: var(--lp-ink); }
.lp-pad { position: relative; padding: 0 0 32px 32px; }
.lp-pad__field { --gx: 70%; --gy: 70%; --gc: rgba(var(--lp-dusk-rgb), .22); position: relative; aspect-ratio: 1.25; border-radius: 20px; border: 1px solid var(--lp-line); background: var(--lp-surface); box-shadow: var(--lp-shadow-paper); overflow: hidden; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.lp-pad__field::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--lp-line) 1px, transparent 1px), linear-gradient(90deg, var(--lp-line) 1px, transparent 1px); background-size: 25% 25%; background-position: -1px -1px; opacity: .55; }
.lp-pad__glow { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), var(--gc) 0%, transparent 58%); pointer-events: none; }
.lp-pad__q { position: absolute; z-index: 1; font-family: var(--lp-serif); font-style: italic; font-size: 17px; color: var(--lp-ink-faint); transition: color .5s var(--lp-ease); pointer-events: none; }
.lp-pad__q.is-on { color: var(--lp-ink); }
.lp-pad__q--tl { left: 18px; top: 14px; }
.lp-pad__q--tr { right: 18px; top: 14px; }
.lp-pad__q--bl { left: 18px; bottom: 14px; }
.lp-pad__q--br { right: 18px; bottom: 14px; }
.lp-pad__point { position: absolute; z-index: 2; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--lp-ink); box-shadow: 0 0 0 8px rgba(var(--lp-ink-rgb), .1), 0 12px 24px -10px rgba(var(--lp-ink-rgb), .7); cursor: grab; will-change: transform; transition: box-shadow .3s var(--lp-ease); }
.lp-pad__point::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--lp-surface); }
.lp-pad__field.is-dragging .lp-pad__point { box-shadow: 0 0 0 14px rgba(var(--lp-ink-rgb), .1), 0 16px 28px -10px rgba(var(--lp-ink-rgb), .7); cursor: grabbing; }
.lp-pad__point:focus-visible { outline: 2px solid var(--lp-dusk); outline-offset: 6px; border-radius: 50%; }
.lp-pad__axis { position: absolute; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-pad__axis--x { left: 32px; right: 0; bottom: 4px; text-align: center; }
.lp-pad__axis--x::after { content: " \2192"; }
.lp-pad__axis--y { left: 0; top: 0; bottom: 32px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.lp-pad__axis--y::after { content: " \2192"; }
@media (max-width: 900px) { .lp-pause__grid { grid-template-columns: 1fr; } .lp-pause__word { margin-top: 20px; } }
@media (max-width: 480px) { .lp-pad__field { aspect-ratio: 1; } .lp-pad__q { font-size: 15px; } }

/* ==========================================================================
   8. CARE: a short, replayable conversation
   ========================================================================== */
.lp-care { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--lp-clay-soft) 24%, var(--lp-clay-soft) 76%, var(--lp-paper) 100%); }
.lp-care__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.lp-care__copy p:not(.lp-label) { margin-top: 18px; max-width: 48ch; color: rgba(var(--lp-ink-rgb), .78); }
.lp-care__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.lp-flow { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: rgba(var(--lp-surface-rgb), .72); border: 1px solid rgba(var(--lp-ink-rgb), .08); box-shadow: var(--lp-shadow-paper); }
.lp-flow__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lp-flow__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-soft); }
.lp-flow__replay { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: transparent; color: var(--lp-ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .4s var(--lp-ease), color .4s var(--lp-ease); }
.lp-flow__replay:hover { background: var(--lp-ink); color: var(--lp-paper); }
.lp-flow__steps { display: flex; flex-direction: column; gap: 12px; }
.lp-flow__private { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--lp-surface); border: 1px solid var(--lp-line); }
.lp-flow__state { font-family: var(--lp-serif); font-size: 18px; color: var(--lp-ink); }
.lp-flow__turn { display: flex; align-items: center; justify-content: center; height: 40px; }
.lp-flow__key { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-turmeric); color: var(--lp-ink); box-shadow: 0 8px 16px -8px rgba(var(--lp-turmeric-ink-rgb), .9); }
.lp-bubble { max-width: 92%; padding: 16px 18px 12px; border-radius: 14px 14px 14px 4px; background: var(--lp-surface); box-shadow: 0 18px 36px -24px rgba(var(--lp-ink-rgb), .55); }
.lp-bubble h3 { font: 700 11.5px/1 var(--lp-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lp-madder-deep); margin-bottom: 8px; }
.lp-bubble p { color: var(--lp-ink); font-size: 15px; line-height: 1.55; }
.lp-bubble span { display: block; margin-top: 8px; font-size: 11px; text-align: right; color: var(--lp-ink-soft); }
.lp-bubble--reply { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--lp-ink); }
.lp-bubble--reply p { color: var(--lp-paper); }
.lp-bubble--reply span { color: rgba(var(--lp-paper-rgb), .62); }
@media (max-width: 900px) { .lp-care__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. FINAL CTA
   ========================================================================== */
.lp-final { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(88px, 11vw, 150px); }
.lp-final__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.lp-final h2 { margin-top: 20px; font-size: clamp(48px, 7.4vw, 112px); line-height: .96; letter-spacing: -.04em; }
.lp-final h2 em { color: var(--lp-madder); font-weight: 400; display: block; }
.lp-final__copy > p:not(.lp-label):not(.lp-final__facts) { margin-top: 26px; max-width: 46ch; font-size: 18px; }
.lp-final__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lp-final__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--lp-line); font-size: 14px; }
.lp-final__facts strong { font-weight: 600; color: var(--lp-ink); }

.lp-finale { position: relative; padding-bottom: 48px; }
.lp-finale__app { position: relative; z-index: 1; width: min(100%, 400px); margin-left: auto; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 22px; padding: 24px; box-shadow: var(--lp-shadow-lift); }
.lp-finale__bar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--lp-ink-soft); }
.lp-finale__greet { margin-top: 16px; font: 500 26px/1.15 var(--lp-serif); letter-spacing: -.02em; color: var(--lp-ink); }
.lp-finale__greet em { color: var(--lp-madder); }
.lp-finale__row { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-finale__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); }
.lp-finale__val { margin-top: 4px; font: 500 36px/1.05 var(--lp-serif); letter-spacing: -.02em; color: var(--lp-ink); }
.lp-finale__sub { margin-top: 4px; font-size: 13px; color: var(--lp-ink-soft); }
.lp-finale__ring { flex: 0 0 auto; width: 92px; height: 92px; margin-left: auto; overflow: visible; }
.lp-finale__key { transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--lp-ease) .45s, transform .7s cubic-bezier(.34, 1.3, .64, 1) .45s; }
.js .lp-final:not(.is-in) .lp-finale__key { opacity: 0; transform: rotate(-120deg) scale(1.6); }
.lp-finale__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
.lp-finale__v { margin-top: 4px; font: 500 19px/1.2 var(--lp-serif); color: var(--lp-ink); }
.lp-finale__moods { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-finale__moods span { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--lp-line-strong); color: var(--lp-ink); }
.lp-finale__moods span.sel { background: var(--lp-ink); color: var(--lp-paper); border-color: var(--lp-ink); }
.lp-finale__msg { position: absolute; z-index: 2; left: 0; bottom: 0; width: min(78%, 300px); padding: 14px 16px; border-radius: 14px 14px 4px 14px; background: var(--lp-ink); box-shadow: var(--lp-shadow-lift); }
.lp-finale__msg p { color: var(--lp-paper); font-family: var(--lp-serif); font-size: 17px; }
@media (max-width: 900px) { .lp-final__grid { grid-template-columns: 1fr; } .lp-finale__app { margin: 0 auto; } }
@media (max-width: 520px) { .lp-final__act .lp-btn { flex: 1 1 100%; justify-content: space-between; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.lp-footer { position: relative; z-index: 1; background: var(--lp-paper-deep); padding: clamp(56px, 7vw, 96px) 0 28px; }
.lp-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.lp-footer__brand img { height: 50px; width: auto; }
.lp-footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; }
.lp-footer__social { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 16px; }
/* Round icon buttons, matching the social links in the shared marketing footer. */
.lp-footer__social { gap: 10px; margin-top: 20px; }
.lp-footer .lp-footer__social a { justify-content: center; width: 44px; height: 44px; min-height: 44px; border: 1px solid rgba(var(--lp-madder-rgb), .22); border-radius: 50%; background: var(--lp-surface); color: var(--lp-madder); font-size: 17px; background-image: none; transition: transform .25s var(--lp-ease), background-color .25s var(--lp-ease), color .25s var(--lp-ease), border-color .25s var(--lp-ease); }
.lp-footer .lp-footer__social a:hover, .lp-footer .lp-footer__social a:focus-visible { transform: translateY(-2px); border-color: var(--lp-madder); background: var(--lp-madder); color: #FFFFFF; background-image: none; }
.lp-footer__social a, .lp-footer__col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--lp-ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 12px) / 0 1px no-repeat; transition: color .4s var(--lp-ease), background-size .4s var(--lp-ease); }
.lp-footer__social a:hover, .lp-footer__col a:hover { color: var(--lp-madder); background-size: 100% 1px; }
.lp-footer h2 { font: 700 11.5px/1 var(--lp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lp-ink-soft); margin-bottom: 12px; }
.lp-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-ink-soft); }
@media (max-width: 960px) { .lp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-footer__brand { grid-column: 1 / -1; } }

/* Feedback widget: styled globally in suggestion-widget.css. The landing only keeps it
   below its own fixed layers (nav, scene overlays). */
body.lp .mypariva-suggestion-widget { z-index: 95; }

/* ==========================================================================
   Reduced motion: keep every state change, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .lp-in { opacity: 1; transform: none; }
}


/* Header palette switch: independent from the application's light/dark setting. */
.lp-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 0 0 auto; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--lp-line-strong); border-radius: 4px;
  background: var(--lp-surface); color: var(--lp-ink);
  font: 600 12px/1.2 var(--lp-sans); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lp-theme-toggle[hidden] { display: none; }
.lp-theme-toggle::before {
  content: ""; width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%;
  background: linear-gradient(90deg, #B51F70 50%, #A4442F 50%);
  border: 1px solid var(--lp-line-strong);
}
.lp-theme-toggle:hover { background: var(--lp-paper-deep); border-color: var(--lp-madder); }
.lp-theme-toggle:active { transform: translateY(1px); }
@media (max-width: 1200px) and (min-width: 1081px) {
  .lp-nav__bar { gap: 12px; }
  .lp-nav__links a { padding-inline: 8px; }
}
/* The palette switch was removed, so the Menu button itself sits at the right edge again. */
@media (max-width: 1080px) {
  .lp-nav__toggle { margin-left: auto; }
}
@media (max-width: 600px) {
  .lp-nav__bar { gap: 8px; }
  .lp-brand img, .lp-nav.is-scrolled .lp-brand img { height: auto; width: clamp(96px, 30vw, 132px); }
  .lp-theme-toggle { padding-inline: 8px; font-size: 11px; }
  .lp-theme-toggle__name { max-width: 64px; }
  .lp-nav__toggle { padding-inline: 8px; }
}

/* ==========================================================================
   WhatsApp-style chat windows (difference scene phone, care-alert preview)
   The care reminder really arrives on WhatsApp, so both demos are drawn as a
   WhatsApp chat: contact bar, doodle wallpaper, tailed bubbles with time and
   read ticks, and a compose bar. Colours come from the palette tokens so the
   chat matches Blush & Berry (and Dusk & Paper); only the read ticks keep
   WhatsApp's blue, the cue people recognise.
   ========================================================================== */
.lp-wa {
  --wa-bar: var(--lp-ink);
  --wa-wall: color-mix(in srgb, var(--lp-clay-soft) 70%, var(--lp-paper));
  --wa-in: #FFFFFF;
  --wa-out: color-mix(in srgb, var(--lp-madder) 22%, #FFFFFF);
  --wa-meta: color-mix(in srgb, var(--lp-ink) 52%, transparent);
  --wa-tick: #34B7F1;
  --wa-doodle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.06' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 22c-3-4-9-2-9 3 0 4 9 9 9 9s9-5 9-9c0-5-6-7-9-3z'/%3E%3Ccircle cx='88' cy='20' r='7'/%3E%3Cpath d='M60 58l4 8 9 1-7 6 2 9-8-5-8 5 2-9-7-6 9-1z'/%3E%3Cpath d='M14 84c6-8 14-8 20 0'/%3E%3Cpath d='M92 82c0-6 5-10 10-10M97 98l6-6'/%3E%3Ccircle cx='40' cy='106' r='3'/%3E%3Cpath d='M74 108c3-3 7-3 10 0'/%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--wa-wall);
  box-shadow: 0 22px 44px -28px rgba(var(--lp-ink-rgb), .7);
}

/* Contact bar */
.lp-wa__bar,
.lp-phone.lp-wa .lp-phone__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  background: var(--wa-bar);
  color: var(--lp-paper);
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.lp-wa__back { display: inline-flex; color: rgba(var(--lp-paper-rgb), .8); }
.lp-wa__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lp-madder);
  color: #FFFFFF;
  font: 700 15px/1 var(--lp-serif);
}
.lp-wa__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.lp-wa__who strong { font: 600 14.5px/1.2 var(--lp-sans); color: var(--lp-paper); }
.lp-wa__who small { font-size: 11.5px; color: rgba(var(--lp-paper-rgb), .66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chat area with the doodle wallpaper */
.lp-wa__chat,
.lp-phone.lp-wa .lp-phone__screen {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 14px;   /* room for the bubble tails */
  background: var(--wa-wall) var(--wa-doodle) repeat;
  background-size: 120px 120px;
}
.lp-wa__day {
  align-self: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .85);
  color: var(--wa-meta);
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}

/* Bubbles: tail on the top corner, like WhatsApp */
.lp-wa__in,
.lp-wa__out {
  position: relative;
  max-width: 88%;
  padding: 8px 10px 6px;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  color: var(--lp-ink);
}
.lp-wa__in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.lp-wa__out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0; }
.lp-wa__in::before,
.lp-wa__out::before {
  content: "";
  position: absolute;
  top: 0;
  width: 10px;
  height: 12px;
}
.lp-wa__in::before { left: -8px; background: var(--wa-in); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.lp-wa__out::before { right: -8px; background: var(--wa-out); clip-path: polygon(0 0, 100% 0, 0 100%); }

.lp-wa__time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  float: right;
  margin: 6px 0 -2px 10px;
  color: var(--wa-meta);
  font: 400 10.5px/1 var(--lp-sans);
  text-align: right;
}
.lp-wa__ticks { color: var(--wa-tick); }

/* Compose bar */
.lp-wa__compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
  background: var(--wa-wall);
}
.lp-wa__compose span {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--wa-meta);
  font-size: 13px;
}
.lp-wa__compose i {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lp-madder);
  color: #FFFFFF;
}

/* --- Difference scene phone --- */
.lp-phone.lp-wa { padding: 0; min-height: 320px; color: var(--lp-ink); background: var(--wa-wall); }
/* Messages sit at the bottom, above the compose bar, as in WhatsApp. */
.lp-phone.lp-wa .lp-phone__screen { justify-content: flex-end; padding-top: 48px; }
.lp-phone.lp-wa .lp-phone__leak {
  width: auto;
  max-width: 92%;
  padding: 4px 10px;
}
.lp-phone.lp-wa .lp-phone__leak li { padding: 6px 0; font-size: 12.5px; border-bottom-color: var(--lp-line); }
.lp-phone.lp-wa .lp-phone__leak span { color: var(--lp-ink-soft); }
.lp-phone.lp-wa .lp-phone__leak strong { color: var(--lp-ink); }
.lp-phone.lp-wa .lp-phone__leak .lp-bars i { background: rgba(var(--lp-ink-rgb), .22); }
.lp-phone.lp-wa .lp-phone__care {
  position: absolute;
  top: auto;
  bottom: 14px;
  left: 20px;
  right: auto;
  max-width: calc(100% - 40px);
  transform: none;
  padding: 8px 10px 6px;
  border-radius: 10px;
  border-top-left-radius: 0;
  background: var(--wa-in);
  font: 400 15px/1.4 var(--lp-sans);
}
.lp-phone.lp-wa .lp-wa__day { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }

/* --- Care-alert preview --- */
.lp-wa--flow { margin-top: 4px; }
.lp-wa--flow .lp-wa__chat { min-height: 260px; padding-top: 14px; }
.lp-wa--flow .lp-bubble { box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.lp-wa--flow .lp-bubble h3 { margin-bottom: 4px; font-size: 11px; letter-spacing: .06em; color: var(--lp-madder-deep); }
.lp-wa--flow .lp-bubble p { font-size: 14.5px; line-height: 1.45; color: var(--lp-ink); }
.lp-wa--flow .lp-bubble .lp-wa__time { display: inline-flex; margin-top: 6px; text-align: right; color: var(--wa-meta); }
.lp-wa--flow .lp-bubble--reply { background: var(--wa-out); }
.lp-wa--flow .lp-bubble--reply p { color: var(--lp-ink); }

@media (max-width: 640px) {
  .lp-phone.lp-wa { min-height: 0; }
  .lp-phone.lp-wa .lp-phone__screen { min-height: 190px; }
  .lp-wa__who small { font-size: 11px; }
}
