/* ============================================================
   mySorelle landing page — shared stylesheet (Phase 9b)
   Tokens mirror app-build/mysorelle/src/theme/tokens.ts via the
   design-system CSS; page styles recreate the locked prototype
   (Handover/mysorelle landing page latest) without React.
   ============================================================ */

/* ---------- Fonts (self-hosted, zero external requests) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-600.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --ms-navy: #143049;
  --ms-navy-700: #1F4366;
  --ms-navy-900: #0E2238;

  --ms-sage: #85997F;
  --ms-sage-700: #788C70;
  --ms-sage-200: #C9D3C1;
  --ms-sage-100: #E1E7DC;
  --ms-sage-50: #EEF2EB;

  --ms-gold: #E3B65B;
  --ms-terracotta: #D87A4E;

  --ms-cream: #F3F1ED;
  --ms-cream-warm: #EDE9DF;
  --ms-paper: #FBF9F4;
  --ms-white: #FFFFFF;

  --ms-ink-1: #143049;
  --ms-ink-2: #4A5460;
  --ms-ink-3: #7E8794;
  --ms-ink-on-navy: #FBF9F4;

  --color-border: rgba(20, 48, 73, 0.06);
  --color-border-strong: rgba(20, 48, 73, 0.12);
  --color-focus: rgba(20, 48, 73, 0.40);

  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20, 48, 73, 0.04), 0 1px 6px rgba(20, 48, 73, 0.04);
  --shadow-2: 0 4px 16px rgba(20, 48, 73, 0.06), 0 12px 32px rgba(20, 48, 73, 0.05);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.4, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ms-cream);
  color: var(--ms-ink-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--ms-navy); color: #FBF9F4; }
h1, h2, h3, h4, p, li, summary { text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-sage-700);
}
.gold-rule {
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--ms-gold);
  border-radius: 2px;
}

/* ---------- Logo lockup ---------- */
.ms-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ms-navy);
  text-decoration: none;
}
.ms-logo img { height: 31px; width: auto; display: block; }
.ms-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ms-wordmark em { font-style: italic; font-weight: 500; }

/* ---------- Top nav ---------- */
.lp-nav {
  position: relative;
  z-index: 20;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-nav-links { display: flex; align-items: center; gap: 30px; }
.lp-navlink {
  font: 500 14px/20px var(--font-body);
  color: var(--ms-ink-2);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.lp-navlink:hover { color: var(--ms-navy); }
.lp-nav-cta {
  font: 500 14px/16px var(--font-body);
  color: #FBF9F4;
  background: var(--ms-navy);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.lp-nav-cta:hover { background: var(--ms-navy-700); transform: translateY(-1px); }

/* Language switcher (plain links, no JS) */
.lp-lang { position: relative; }
.lp-lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 13px/16px var(--font-body);
  color: var(--ms-ink-2);
  border: 1px solid rgba(20, 48, 73, 0.14);
  border-radius: var(--radius-pill);
  padding: 9px 13px;
  cursor: pointer;
  user-select: none;
}
.lp-lang summary::-webkit-details-marker { display: none; }
.lp-lang summary svg { display: block; }
.lp-lang .lp-lang-caret { transition: transform 180ms var(--ease-out); }
.lp-lang[open] .lp-lang-caret { transform: rotate(180deg); }
.lp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 6px;
  min-width: 148px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
}
.lp-lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 500 14px/18px var(--font-body);
  color: var(--ms-navy);
  border-radius: 9px;
  padding: 9px 12px;
  text-decoration: none;
}
.lp-lang-menu a:hover { background: var(--ms-cream); }
.lp-lang-menu a[aria-current="true"] { background: var(--ms-sage-50); }

/* ---------- Store badges (official artwork, unlinked pre-launch) ---------- */
.lp-stores { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-stores img { display: block; height: 50px; width: auto; }
.lp-stores-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 400 14px/22px var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
}
.lp-sundot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ms-gold);
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 84px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}
.lp-hero-glow {
  position: absolute;
  inset: -10% -6% auto -6%;
  height: 680px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(560px 420px at 74% 34%, rgba(201,211,193,0.36) 0%, rgba(201,211,193,0) 66%),
    radial-gradient(420px 340px at 20% 20%, rgba(227,182,91,0.10) 0%, rgba(227,182,91,0) 64%),
    radial-gradient(620px 520px at 30% 78%, rgba(20,48,73,0.045) 0%, rgba(20,48,73,0) 66%);
  will-change: transform;
}
.lp-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.lp-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: var(--ms-sage-100);
  color: var(--ms-navy);
  font: 600 11px/14px var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lp-hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 68px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ms-navy);
  margin: 0;
  text-wrap: balance;
}
.lp-hero-h1 em { font-style: italic; }
.lp-hero-sub {
  font: 400 19px/1.6 var(--font-body);
  color: var(--ms-ink-2);
  max-width: 480px;
  margin: 0;
}
.lp-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lp-hero-phone-box { position: relative; width: 380px; height: 560px; }
.lp-hero-blob {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%, var(--ms-cream-warm) 0%, rgba(237,233,223,0) 70%);
}
.lp-hero-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lp-hero-scene img { position: absolute; }
.lp-scene-cloud-left  { left: -70px; bottom: -36px; width: 340px; opacity: 0.9; }
.lp-scene-cloud-right { right: -60px; top: 10px; width: 300px; opacity: 0.85; }
.lp-scene-floral      { left: -26px; top: 44px; width: 150px; }
.lp-scene-sun-water   { right: -18px; bottom: 44px; width: 170px; }
.lp-hero-phone {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  z-index: 2;
}
.lp-phone-shot {
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(20,48,73,0.18)) drop-shadow(0 4px 12px rgba(20,48,73,0.10));
}
.lp-hero-phone .lp-phone-shot { width: 258px; }

/* ---------- Value props ---------- */
.lp-valueprops { padding: 64px 0 96px; position: relative; }
.lp-section-center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.lp-kicker-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  text-align: center;
}
.lp-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ms-navy);
  margin: 0;
  max-width: 600px;
  text-wrap: balance;
}
.lp-valueprops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-vp-card {
  background: var(--ms-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
@media (hover: hover) {
  .lp-vp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
}
.lp-vp-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ms-navy);
  margin: 0;
}
.lp-vp-card p {
  font: 400 15.5px/1.6 var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
}
.icon-chip {
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  background: var(--ms-sage-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-sage-700);
  flex-shrink: 0;
}
.icon-chip svg {
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Feature blocks ---------- */
.lp-feature-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.lp-feature-block--reverse { grid-template-columns: 1fr 1.08fr; }
.lp-feature-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}
.lp-feature-block--reverse .lp-feature-text { order: 2; }
.lp-feature-block--reverse .lp-feature-phone { order: 1; }
.lp-feature-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ms-navy);
  margin: 0;
  text-wrap: balance;
}
.lp-feature-body {
  font: 400 17px/1.65 var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
  max-width: 460px;
}
.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.lp-feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font: 500 15.5px/24px var(--font-body);
  color: var(--ms-ink-1);
}
.lp-checkpip {
  width: 24px; height: 24px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  background: var(--ms-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.lp-checkpip--sage { background: var(--ms-sage); }
.lp-checkpip svg { width: 12px; height: 12px; }
.lp-feature-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.lp-feature-halo {
  position: absolute;
  border-radius: 50%;
  width: min(440px, 92%);
  aspect-ratio: 1;
  background: var(--ms-sage-50);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.lp-feature-halo--warm { background: #F6E7DE; }
.lp-feature-phone .lp-phone-shot { position: relative; z-index: 1; width: 288px; }
.lp-feature-photo {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-2);
}
.lp-edge {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.lp-edge--floral2 {
  left: -70px; top: 40px;
  width: 210px;
  opacity: 0.92;
  transform: scaleX(-1) rotate(6deg);
}

/* ---------- Section background decor (Radek, 14 Jul 2026: blend the app's
   welcome-scene art into the flat white sections; JS drives --drift on scroll,
   motion-gated, so the static transform here is the JS-off/reduced-motion
   resting state) ---------- */
.lp-bgdecor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* Clip decor at the section edge ONLY where the section spans the viewport.
   .lp-feature-block is a centered max-width box — clipping there paints a hard
   vertical line mid-page (Radek caught it, 14 Jul); its decor stays inside the
   box and the body's overflow-x handles the viewport edge. */
.lp-valueprops, .lp-faq { overflow: hidden; }
.lp-valueprops .lp-section-center,
.lp-faq .lp-section-center,
.lp-feature-block > .lp-feature-text,
.lp-feature-block > .lp-feature-phone,
.lp-pricing .lp-pricing-grid { position: relative; z-index: 1; }
.lp-vp-floral  { top: -36px; right: -110px; width: 340px; opacity: 0.12;
                 transform: translateY(var(--drift, 0px)) rotate(-10deg); }
.lp-vp-cloud   { bottom: -120px; left: -140px; width: 420px; opacity: 0.3;
                 transform: translateY(var(--drift, 0px)); }
.lp-ft-cloud   { top: -10px; right: -50px; width: 430px; opacity: 0.45;
                 transform: translateY(var(--drift, 0px)); }
.lp-pr-sprig   { top: 44px; left: -70px; width: 190px; opacity: 0.4;
                 transform: translateY(var(--drift, 0px)) scaleX(-1) rotate(8deg); }
.lp-pr-sun     { bottom: -20px; right: -30px; width: 170px; opacity: 0.12;
                 transform: translateY(var(--drift, 0px)); }
.lp-faq-cloud  { top: -90px; right: -160px; width: 440px; opacity: 0.35;
                 transform: translateY(var(--drift, 0px)) scaleX(-1); }
.lp-faq-floral { bottom: -60px; left: -140px; width: 320px; opacity: 0.1;
                 transform: translateY(var(--drift, 0px)) rotate(14deg) scaleX(-1); }

/* ---------- Privacy band (navy) ---------- */
.lp-privacy {
  background: var(--ms-navy);
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}
.lp-privacy .lp-section-center { max-width: 1120px; z-index: 2; }
.lp-privacy-decor { position: absolute; pointer-events: none; user-select: none; }
.lp-privacy-cloud-right { top: -50px; right: -70px; width: 380px; opacity: 0.10; }
.lp-privacy-cloud-left  { bottom: -60px; left: -50px; width: 420px; opacity: 0.08; }
.lp-privacy-sun         { bottom: 34px; right: 56px; width: 130px; opacity: 0.22; }
.lp-privacy-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 60px;
}
.lp-privacy-head .eyebrow { color: var(--ms-sage-200); }
.lp-privacy-head .lp-section-title { color: #FBF9F4; max-width: 640px; }
.lp-privacy-head .lp-section-title em { font-style: italic; }
.lp-privacy-sub {
  font: 400 17px/1.65 var(--font-body);
  color: rgba(251,249,244,0.75);
  margin: 0;
  max-width: 520px;
}
.lp-privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-privacy-card {
  background: rgba(251,249,244,0.06);
  border: 1px solid rgba(251,249,244,0.10);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.lp-privacy-card .icon-chip {
  width: 48px; height: 48px;
  background: rgba(251,249,244,0.10);
  color: var(--ms-sage-200);
}
.lp-privacy-card .icon-chip svg { width: 22px; height: 22px; }
.lp-privacy-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: #FBF9F4;
  margin: 0;
}
.lp-privacy-card p {
  font: 400 15px/1.6 var(--font-body);
  color: rgba(251,249,244,0.72);
  margin: 0;
}

/* ---------- Pricing ---------- */
.lp-pricing {
  padding: 96px 0;
  background: var(--ms-white);
  position: relative;
  overflow: hidden;
}
.lp-pricing-grid {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lp-pricing-copy { display: flex; flex-direction: column; gap: 20px; }
.lp-pricing-copy .lp-section-title { max-width: none; text-align: left; }
.lp-pricing-copy p {
  font: 400 17px/1.65 var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
  max-width: 440px;
}
.lp-pricing-card {
  background: var(--ms-sage-50);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-2);
}
.lp-pricing-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  color: var(--ms-navy);
  letter-spacing: -0.01em;
  margin: 0;
}
.lp-pricing-price {
  font: 500 15px/22px var(--font-body);
  color: var(--ms-ink-1);
  margin: -8px 0 0;
}
.lp-pricing-divider { height: 1px; background: rgba(20,48,73,0.10); }
.lp-pricing-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-pricing-points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font: 500 15px/23px var(--font-body);
  color: var(--ms-ink-1);
}
.lp-pricing-fine {
  font: 400 13px/20px var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
}

/* ---------- FAQ ---------- */
.lp-faq { padding: 96px 0; }
.lp-faq .lp-section-center { max-width: 860px; }
.lp-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-strong);
}
.lp-faq-item { border-bottom: 1px solid var(--color-border-strong); }
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-q {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ms-navy);
}
.lp-faq-toggle {
  width: 32px; height: 32px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-navy);
  background: var(--ms-sage-100);
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.lp-faq-item[open] .lp-faq-toggle {
  transform: rotate(45deg);
  background: var(--ms-navy);
  color: #FBF9F4;
}
.lp-faq-a {
  font: 400 16px/1.65 var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
  max-width: 660px;
  padding-bottom: 22px;
}

/* ---------- Final CTA (navy) ---------- */
.lp-final {
  background: var(--ms-navy);
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}
.lp-final-cloud-left  { top: -70px; left: -60px; width: 360px; opacity: 0.09; transform: scaleY(-1); }
.lp-final-cloud-right { bottom: -70px; right: -70px; width: 430px; opacity: 0.10; transform: scaleY(-1); }
.lp-final-sun         { bottom: 38px; left: 64px; width: 120px; opacity: 0.20; }
.lp-final-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.lp-final .ms-wordmark { color: #FBF9F4; font-size: 32px; }
.lp-final-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #FBF9F4;
  margin: 0;
  max-width: 760px;
  text-wrap: balance;
}
.lp-final-headline em { font-style: italic; }
.lp-final-sub {
  font: 400 18px/1.6 var(--font-body);
  color: rgba(251,249,244,0.78);
  margin: 0;
  max-width: 500px;
}
.lp-final .lp-stores { justify-content: center; }
.lp-final .lp-stores-note { color: rgba(251,249,244,0.65); justify-content: center; }

/* ---------- Footer ---------- */
.lp-footer {
  background: var(--ms-cream);
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
}
.lp-footer-hill {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.lp-footer-hill--left { left: 0; width: 250px; }
.lp-footer-hill--right { right: 0; width: 270px; }
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}
.lp-footer-brand .ms-logo img { height: 29px; }
.lp-footer-brand .ms-wordmark { font-size: 26px; }
.lp-footer-brand p {
  font: 400 14px/1.6 var(--font-body);
  color: var(--ms-ink-2);
  margin: 0;
}
.lp-footer-col { display: flex; flex-direction: column; gap: 13px; }
.lp-footer-col .eyebrow { font-size: 11px; }
.lp-footer-col a {
  font: 400 14px/20px var(--font-body);
  color: var(--ms-ink-2);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.lp-footer-col a:hover { color: var(--ms-navy); }
.lp-footer-bottom {
  border-top: 1px solid var(--color-border-strong);
  padding-top: 24px;
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  text-align: center;
}
.lp-footer-bottom span {
  font: 400 13px/20px var(--font-body);
  color: var(--ms-ink-2);
}

/* ---------- Motion (motion-safe only; content never gated on JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ms-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
    will-change: opacity, transform;
  }
  .ms-reveal-zoom {
    transform: translateY(30px) scale(0.965);
    transition: opacity 950ms var(--ease-out), transform 950ms var(--ease-out);
  }
  .ms-reveal-in { opacity: 1; transform: none; }

  @keyframes ms-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
  .lp-scene-sun-water { animation: ms-drift 7s var(--ease-in-out) infinite; }
  .lp-scene-floral { animation: ms-drift 9s var(--ease-in-out) infinite reverse; }
}

/* ---------- Sticky download chip (desktop; QR popover) ---------- */
.ms-sticky {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.ms-sticky[data-show="true"] { opacity: 1; transform: none; pointer-events: auto; }
.ms-sticky-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ms-navy);
  color: #FBF9F4;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 0;
  box-shadow: 0 6px 16px rgba(20, 48, 73, 0.18);
  font: 500 14px/16px var(--font-body);
  letter-spacing: 0.01em;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out);
}
.ms-sticky-pill:hover { transform: translateY(-2px); background: var(--ms-navy-700); }
.ms-sticky-pop {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 190px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.ms-sticky[data-open="true"] .ms-sticky-pop,
.ms-sticky[data-show="true"]:hover .ms-sticky-pop {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ms-qr { width: 128px; height: 128px; display: block; }
.ms-sticky-title { font: 600 12px/16px var(--font-body); color: var(--ms-navy); }
.ms-sticky-hint {
  font: 400 11px/16px var(--font-body);
  color: var(--ms-ink-2);
  text-align: center;
}
@media (max-width: 900px) { .ms-sticky { display: none; } }

/* ---------- Back-to-top button ---------- */
.ms-totop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--ms-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out), background 200ms var(--ease-out);
}
.ms-totop[data-show="true"] { opacity: 1; transform: none; pointer-events: auto; }
.ms-totop:hover { transform: translateY(-2px); background: var(--ms-cream); }
@media (max-width: 900px) {
  .ms-totop { right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .ms-sticky, .ms-sticky-pop, .ms-sticky-pill, .ms-totop { transition: none; }
}

/* ---------- Responsive ---------- */

/* Tablet ≤1100px */
@media (max-width: 1100px) {
  .lp-nav { padding: 24px 32px 0; }
  .lp-nav-links { gap: 22px; }
  .lp-hero { padding: 44px 32px 64px; gap: 36px; }
  .lp-hero-h1 { font-size: 56px; }
  .lp-hero-sub { font-size: 18px; }
  .lp-section-center { padding-left: 32px; padding-right: 32px; }
  .lp-feature-block { padding: 60px 32px; gap: 44px; }
  .lp-feature-title { font-size: 40px; }
  .lp-section-title { font-size: 40px; }
  .lp-final-headline { font-size: 52px; }
  .lp-valueprops, .lp-faq { padding-top: 72px; padding-bottom: 72px; }
  .lp-pricing { padding: 72px 0; }
  .lp-privacy { padding: 84px 0; }
  .lp-final { padding: 92px 0; }
  .lp-edge { opacity: 0.75; }
  .lp-bgdecor { opacity: 0.5; }
  .lp-vp-floral, .lp-faq-floral { opacity: 0.1; }
}

/* Large mobile ≤860px — stack */
@media (max-width: 860px) {
  .lp-nav { padding: 20px 24px 0; }
  .lp-navlink { display: none; }
  .lp-hero {
    grid-template-columns: 1fr;
    padding: 30px 24px 48px;
    gap: 40px;
  }
  .lp-hero-copy { order: 1; }
  .lp-hero-visual { order: 2; }
  .lp-hero-h1 { font-size: 46px; }
  .lp-valueprops-grid { grid-template-columns: 1fr; }
  .lp-feature-block {
    grid-template-columns: 1fr;
    padding: 52px 24px;
    gap: 30px;
  }
  .lp-feature-block--reverse .lp-feature-text { order: 1; }
  .lp-feature-block--reverse .lp-feature-phone { order: 2; }
  .lp-feature-phone { min-height: 0; padding: 24px 0; }
  .lp-feature-title { font-size: 34px; }
  .lp-privacy-grid { grid-template-columns: 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .lp-section-center { padding-left: 24px; padding-right: 24px; }
  .lp-section-title { font-size: 34px; }
  .lp-final-headline { font-size: 42px; }
  .lp-final-sub { font-size: 16px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lp-edge { display: none; }
  .lp-bgdecor { display: none; }
  .lp-footer-hill--left, .lp-footer-hill--right { width: 160px; opacity: 0.95; }
}

/* Mobile ≤560px */
@media (max-width: 560px) {
  .lp-nav { padding: 16px 20px 0; }
  .lp-nav-links { gap: 10px; }
  .lp-nav .ms-wordmark { font-size: 22px; }
  .lp-nav .ms-logo img { height: 25px; }
  .lp-lang summary { padding: 8px 10px; }
  .lp-nav-cta { padding: 10px 15px; font-size: 13px; }
  .lp-hero { padding: 26px 20px 40px; }
  .lp-hero-h1 { font-size: 38px; }
  .lp-hero-sub { font-size: 16px; }
  .lp-stores { width: 100%; max-width: 320px; gap: 10px; }
  .lp-stores img { height: 46px; }
  .lp-final .lp-stores { margin: 0 auto; justify-content: center; }
  .lp-hero-phone-box {
    width: min(340px, 88vw);
    height: auto;
    aspect-ratio: 380 / 560;
    margin: 0 auto;
  }
  .lp-feature-block { padding: 44px 20px; }
  .lp-feature-title { font-size: 30px; }
  .lp-feature-body { font-size: 16px; }
  .lp-section-title { font-size: 29px; }
  .lp-section-center { padding-left: 20px; padding-right: 20px; }
  .lp-valueprops { padding-top: 56px; padding-bottom: 56px; }
  .lp-pricing { padding: 56px 0; }
  .lp-faq { padding: 56px 0; }
  .lp-faq-q { font-size: 18px; }
  .lp-privacy { padding: 64px 0; }
  .lp-final { padding: 72px 0; }
  .lp-final-headline { font-size: 34px; }
  .lp-footer { padding: 48px 0 32px; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Small phones ≤420px */
@media (max-width: 420px) {
  .lp-hero { padding: 18px 20px 28px; gap: 26px; }
  .lp-valueprops { padding-top: 44px; padding-bottom: 44px; }
  .lp-pricing { padding: 44px 0; }
  .lp-faq { padding: 40px 0; }
  .lp-final { padding: 56px 0; }
  .lp-feature-block { padding: 34px 20px; }
  .lp-footer { padding: 40px 0 28px; }
}
