/* ==========================================================================
   MaryPause — marketing site styles
   Tokens come straight from the brand design system (colors_and_type.css).
   Where biology meets biography.
   ========================================================================== */

:root {
  /* Official 6-colour palette + working tints */
  --mp-terra: #B56043;
  --mp-terra-deep: #934A33;
  --mp-terra-soft: #CE8870;
  --mp-forest: #244D45;
  --mp-forest-deep: #163029;
  --mp-forest-soft: #4A6E64;
  --mp-olive: #837461;
  --mp-cream: #FEF7F2;
  --mp-ink: #231F20;
  --mp-white: #FFFFFF;
  --mp-sand-deep: #F3E7DD;
  --mp-blush: #E9B9A3;
  --mp-blush-soft: #F4DACB;

  --mp-ink-08: rgba(35, 31, 32, 0.08);
  --mp-ink-12: rgba(35, 31, 32, 0.12);
  --mp-ink-16: rgba(35, 31, 32, 0.16);
  --mp-ink-32: rgba(35, 31, 32, 0.32);
  --mp-ink-56: rgba(35, 31, 32, 0.56);
  --mp-ink-72: rgba(35, 31, 32, 0.72);

  --mp-cream-16: rgba(254, 247, 242, 0.16);
  --mp-cream-20: rgba(254, 247, 242, 0.20);
  --mp-cream-48: rgba(254, 247, 242, 0.48);
  --mp-cream-60: rgba(254, 247, 242, 0.60);
  --mp-cream-72: rgba(254, 247, 242, 0.72);
  --mp-cream-82: rgba(254, 247, 242, 0.82);

  --mp-font-display: 'Harabara', 'Anton', 'Bebas Neue', sans-serif;
  --mp-font-body: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --mp-shadow-2: 0 6px 16px rgba(35, 31, 32, 0.08), 0 2px 4px rgba(35, 31, 32, 0.04);
  --mp-shadow-3: 0 24px 48px rgba(36, 77, 69, 0.16), 0 8px 16px rgba(35, 31, 32, 0.06);

  --mp-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --mp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mp-dur-micro: 160ms;
  --mp-dur: 240ms;
  --mp-dur-entrance: 700ms;

  --mp-max-w: 1200px;
  --mp-gutter: 40px;
  --mp-header-h: 72px;
  --mp-focus: rgba(181, 96, 67, 0.45);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--mp-cream);
  color: var(--mp-ink);
  font-family: var(--mp-font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mp-cream);
  color: var(--mp-ink);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--mp-terra); text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--mp-blush); color: var(--mp-ink); }

:where(a, button, [role="button"]):focus-visible {
  outline: 2px solid var(--mp-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--mp-forest); color: var(--mp-cream);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: top var(--mp-dur-micro) var(--mp-ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--mp-max-w);
  margin: 0 auto;
  padding-left: var(--mp-gutter);
  padding-right: var(--mp-gutter);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; line-height: 1;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-ink-56);
}
.eyebrow--terra { color: var(--mp-terra); }
.eyebrow--cream { color: var(--mp-cream-60); }

.display {
  font-family: var(--mp-font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--mp-forest);
  text-wrap: balance;
}
.display--xl { font-size: clamp(44px, 5.4vw, 82px); line-height: 0.98; }
.display--lg { font-size: clamp(38px, 3.8vw, 60px); }
.display--md { font-size: clamp(34px, 3.4vw, 52px); }
.display--sm { font-size: clamp(30px, 3vw, 44px); }
.display .accent { color: var(--mp-terra); }

.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--mp-ink-72); text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.7; color: var(--mp-ink-72); text-wrap: pretty; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--mp-forest);
  padding-bottom: 3px; border-bottom: 1px solid var(--mp-ink-16);
  transition: color var(--mp-dur-micro) var(--mp-ease), border-color var(--mp-dur-micro) var(--mp-ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--mp-dur) var(--mp-ease); }
.link-arrow:hover { color: var(--mp-terra); border-bottom-color: var(--mp-terra); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--terra { color: var(--mp-terra); }

/* --------------------------------------------------------------------------
   Buttons & chips
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 600; line-height: 1;
  padding: 18px 34px; border-radius: 999px; border: 0; cursor: pointer;
  color: var(--mp-cream); background: var(--mp-forest);
  box-shadow: 0 1px 2px rgba(35, 31, 32, 0.08);
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease), background var(--mp-dur-micro) var(--mp-ease), color var(--mp-dur-micro) var(--mp-ease);
  will-change: transform;
}
.btn:hover { background: var(--mp-forest-deep); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(36, 77, 69, 0.22); }
.btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(36, 77, 69, 0.2); transition-duration: 80ms; }
.btn--terra { background: var(--mp-terra); }
.btn--terra:hover { background: var(--mp-terra-deep); box-shadow: 0 12px 24px rgba(181, 96, 67, 0.28); }
.btn--sm { font-size: 14px; padding: 12px 22px; }
.btn--outline { background: transparent; color: var(--mp-forest); box-shadow: inset 0 0 0 1.5px var(--mp-forest); }
.btn--outline:hover { background: var(--mp-forest); color: var(--mp-cream); box-shadow: 0 12px 24px rgba(36, 77, 69, 0.22); }
.btn svg { width: 18px; height: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; line-height: 1.2;
  color: var(--mp-forest); background: var(--mp-white);
  border: 1px solid var(--mp-ink-08); padding: 8px 14px; border-radius: 999px;
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease), border-color var(--mp-dur-micro);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--mp-shadow-2); border-color: var(--mp-ink-16); }
.chip--muted { color: var(--mp-ink-56); border-color: transparent; background: transparent; padding-left: 4px; }
.chip--muted:hover { transform: none; box-shadow: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(254, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mp-ink-08);
  transition: box-shadow var(--mp-dur) var(--mp-ease), background var(--mp-dur) var(--mp-ease);
}
.site-header.is-scrolled { background: rgba(254, 247, 242, 0.94); box-shadow: 0 8px 24px rgba(35, 31, 32, 0.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  height: var(--mp-header-h);
}

.brand { display: inline-flex; align-items: center; color: var(--mp-forest); transition: color var(--mp-dur-micro); }
.brand svg { height: 34px; width: auto; }
.brand:hover { color: var(--mp-terra); }

.site-nav { display: flex; align-items: center; gap: 20px; }
.header-actions { display: none; }
.site-nav a:not(.lang-switch) { white-space: nowrap; }
.site-nav a:not(.btn):not(.lang-switch) {
  font-size: 14px; font-weight: 500; color: var(--mp-ink-72);
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn):not(.lang-switch)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--mp-terra); transform: scaleX(0); transform-origin: left;
  transition: transform var(--mp-dur) var(--mp-ease);
}
.site-nav a:not(.btn):not(.lang-switch):hover { color: var(--mp-terra); }
.site-nav a:not(.btn):not(.lang-switch):hover::after { transform: scaleX(1); }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 32px; padding: 0 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--mp-forest); border: 1px solid var(--mp-ink-16); border-radius: 999px;
  transition: background var(--mp-dur-micro), color var(--mp-dur-micro), border-color var(--mp-dur-micro);
}
.lang-switch:hover { background: var(--mp-forest); color: var(--mp-cream); border-color: var(--mp-forest); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: transparent; border: 0; cursor: pointer; border-radius: 12px;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--mp-forest); transition: transform var(--mp-dur) var(--mp-ease), opacity var(--mp-dur-micro), top var(--mp-dur) var(--mp-ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Texture overlay (paper grain)
   -------------------------------------------------------------------------- */
.texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("assets/texture.svg"); background-size: 200px 200px;
  opacity: 0.5; mix-blend-mode: multiply;
}
.texture--light { opacity: 0.35; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--mp-cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 185, 163, 0.45), rgba(233, 185, 163, 0));
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
  padding-top: 96px; padding-bottom: 96px;
}
.hero-title { margin-top: 24px; }
.hero-sub { margin-top: 28px; max-width: 46ch; }
.hero-actions { display: flex; align-items: flex-start; gap: 16px 20px; margin-top: 40px; flex-wrap: wrap; }
.hero-actions > .link-arrow { align-self: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--mp-ink-56); }

.hero-art { position: relative; }
.hero-art-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--mp-shadow-3);
  transform: translateZ(0);
}
.hero-art-frame img { width: 100%; height: 560px; object-fit: cover; transition: transform 1.2s var(--mp-ease-out); }
.hero-art-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(254, 247, 242, 0) 60%, rgba(36, 77, 69, 0.12) 100%);
}
.hero-float {
  position: absolute; left: -28px; bottom: 44px;
  display: flex; align-items: center; gap: 14px;
  background: var(--mp-white); border: 1px solid var(--mp-ink-08);
  border-radius: 16px; padding: 14px 18px 14px 14px;
  box-shadow: var(--mp-shadow-2);
  animation: float 6s ease-in-out infinite;
}
.hero-float-dot {
  position: relative; width: 38px; height: 38px; border-radius: 50%; background: #D88A2E; flex: none;
}
.hero-float-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #D88A2E; opacity: 0; animation: pulse-ring 2.8s ease-out infinite;
}
.hero-float-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-ink-56); }
.hero-float-value { display: block; font-family: var(--mp-font-display); font-size: 18px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--mp-forest); margin-top: 3px; }
.hero-float-sub { display: block; font-size: 11px; color: var(--mp-ink-56); margin-top: 2px; }

/* Hero entrance */
html.js .hero-anim { opacity: 0; transform: translateY(22px); transition: opacity var(--mp-dur-entrance) var(--mp-ease-out), transform var(--mp-dur-entrance) var(--mp-ease-out); transition-delay: calc(var(--d, 0) * 110ms + 80ms); }
html.js .hero-anim.hero-anim--art { transform: translateY(18px) scale(0.98); transition-duration: 1s; }
html.js .is-loaded .hero-anim { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Why — differentiator
   -------------------------------------------------------------------------- */
.why { background: var(--mp-forest); color: var(--mp-cream); padding: 112px 0; position: relative; overflow: hidden; }
.why::after {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 110, 100, 0.55), rgba(74, 110, 100, 0)); pointer-events: none;
}
.why-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.why .display { color: var(--mp-cream); margin-top: 20px; }
.why-stat { margin-top: 44px; border-top: 1px solid var(--mp-cream-20); padding-top: 28px; }
.why-stat-value { font-family: var(--mp-font-display); font-size: clamp(52px, 5vw, 64px); line-height: 0.9; color: var(--mp-terra-soft); display: block; font-variant-numeric: tabular-nums; }
.why-stat-label { font-size: 15px; line-height: 1.6; color: var(--mp-cream-72); margin-top: 12px; max-width: 32ch; }
.why-body { font-size: 19px; line-height: 1.7; color: var(--mp-cream-82); max-width: 60ch; }
.why-tagline { margin-top: 22px; font-family: var(--mp-font-display); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--mp-terra-soft); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.story-card { border: 1px solid rgba(254, 247, 242, 0.18); border-radius: 20px; padding: 28px; transition: transform var(--mp-dur) var(--mp-ease-out), border-color var(--mp-dur); }
.story-card:hover { transform: translateY(-4px); border-color: rgba(254, 247, 242, 0.32); }
.story-card .eyebrow { color: var(--mp-cream-60); }
.story-card p { font-size: 18px; line-height: 1.5; color: rgba(254, 247, 242, 0.9); margin-top: 14px; }
.story-card--real { background: var(--mp-terra); border-color: var(--mp-terra); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18); }
.story-card--real .eyebrow { color: var(--mp-cream-72); }
.story-card--real p { color: var(--mp-cream); }
.story-card--real:hover { border-color: var(--mp-terra-soft); }

/* --------------------------------------------------------------------------
   Nine types
   -------------------------------------------------------------------------- */
.nine { background: var(--mp-sand-deep); padding: 104px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head .lede { max-width: 44ch; font-size: 16px; }
.nine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card {
  --type-color: var(--mp-forest);
  position: relative; cursor: pointer; text-align: left; padding: 0;
  background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 12px; overflow: hidden;
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease), border-color var(--mp-dur-micro);
}
.type-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 0 var(--type-color); transition: box-shadow var(--mp-dur) var(--mp-ease);
}
.type-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--mp-ease-out); }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-2); }
.type-card:hover img { transform: scale(1.04); }
.type-card.is-active { border-color: transparent; transform: translateY(-2px); box-shadow: var(--mp-shadow-2); }
.type-card.is-active::after { box-shadow: inset 0 0 0 2px var(--type-color); }
.type-card-meta { display: block; padding: 12px 14px 14px; }
.type-card-num { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--mp-ink-56); }
.type-card-name { display: block; font-size: 14px; font-weight: 600; color: var(--mp-forest); margin-top: 3px; }
.type-card.is-active .type-card-num { color: var(--type-color); }

.type-panel {
  --type-color: #D88A2E;
  position: sticky; top: calc(var(--mp-header-h) + 24px);
  background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 20px; padding: 40px;
  box-shadow: 0 6px 16px rgba(35, 31, 32, 0.06);
  overflow: hidden;
}
.type-panel-inner { transition: opacity 180ms var(--mp-ease), transform 180ms var(--mp-ease); }
.type-panel.is-switching .type-panel-inner { opacity: 0; transform: translateY(8px); }
.type-panel-head { display: flex; align-items: center; gap: 12px; }
.type-panel-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--type-color); transition: background var(--mp-dur) var(--mp-ease); }
.type-panel-name { font-family: var(--mp-font-display); font-size: clamp(36px, 3.2vw, 44px); line-height: 1; text-transform: uppercase; color: var(--mp-forest); margin-top: 18px; }
.type-panel-blurb { font-size: 17px; line-height: 1.65; color: var(--mp-ink-72); margin-top: 20px; }
.type-panel-block { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--mp-ink-08); }
.type-panel-block[hidden] { display: none; }
.type-panel-block p { font-size: 16px; line-height: 1.65; color: var(--mp-ink); margin-top: 12px; white-space: pre-line; }
.type-panel-need { font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--mp-forest); margin-top: 12px; }
.type-panel .btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.pillars { background: var(--mp-cream); padding: 112px 0; }
.pillars .display { margin: 20px 0 64px; max-width: 24ch; }
.pillar {
  display: grid; grid-template-columns: 140px 1fr 1fr; gap: 48px; align-items: start;
  padding: 48px 0; border-top: 1px solid var(--mp-ink-12);
}
.pillar:last-child { border-bottom: 1px solid var(--mp-ink-12); }
.pillar-num { font-family: var(--mp-font-display); font-size: 72px; line-height: 0.8; color: var(--mp-terra); }
.pillar-title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.15; color: var(--mp-forest); text-wrap: balance; }
.pillar-body p + p { margin-top: 18px; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.need {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 12px; padding: 12px 14px;
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease);
}
.need:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow-2); }
.need strong { font-size: 14px; font-weight: 600; color: var(--mp-forest); }
.need span { font-size: 12px; color: var(--mp-ink-56); }
.pillar .link-arrow { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Inside the app — phones
   -------------------------------------------------------------------------- */
.app { background: var(--mp-forest); padding: 104px 0; position: relative; overflow: hidden; }
.app .display { color: var(--mp-cream); max-width: 20ch; }
.app .section-head .lede { color: var(--mp-cream-72); max-width: 40ch; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.phone-wrap { transition: transform var(--mp-dur-entrance) var(--mp-ease-out); }
.phone-wrap:hover { transform: translateY(-8px); }
.phone { background: var(--mp-ink); border-radius: 32px; padding: 10px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); }
.phone-screen { background: var(--mp-cream); border-radius: 24px; overflow: hidden; height: 600px; display: flex; flex-direction: column; color: var(--mp-ink); }
.phone-status { padding: 14px 20px 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--mp-ink-56); }
.phone-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.phone-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-ink-56); }
.phone-type-dot { width: 68px; height: 68px; border-radius: 999px; background: #D88A2E; box-shadow: 0 0 0 0 rgba(216, 138, 46, 0.4); animation: soft-pulse 3s ease-out infinite; }
.phone-type-name { font-family: var(--mp-font-display); font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--mp-forest); }
.phone-text { font-size: 13px; line-height: 1.55; color: var(--mp-ink-72); }
.phone-chips { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.phone-chip { font-size: 12px; font-weight: 500; color: var(--mp-forest); background: var(--mp-white); border: 1px solid var(--mp-ink-08); padding: 10px 12px; border-radius: 10px; }
.phone-h { font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--mp-forest); }
.phone-rows { display: flex; flex-direction: column; gap: 10px; }
.phone-row { background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 12px; padding: 12px 14px; }
.phone-row span { display: block; font-size: 13px; font-weight: 600; color: var(--mp-ink); }
.bars { display: flex; gap: 5px; margin-top: 10px; }
.bar { flex: 1; height: 6px; border-radius: 999px; background: var(--mp-ink-12); overflow: hidden; position: relative; }
.bar.on::after {
  content: ""; position: absolute; inset: 0; background: var(--mp-terra); border-radius: 999px;
  transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--mp-ease-out); transition-delay: calc(var(--b, 0) * 90ms + 300ms);
}
.is-visible .bar.on::after { transform: scaleX(1); }
.phone-callout { margin-top: auto; background: var(--mp-forest); border-radius: 12px; padding: 14px; }
.phone-callout-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mp-cream-60); }
.phone-callout-text { display: block; font-size: 13px; line-height: 1.5; color: var(--mp-cream); margin-top: 6px; }
.phone-studio { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #D88A2E; }
.phone-msgs { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.phone-msg { background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 12px; padding: 12px 14px; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--mp-ease-out), transform 500ms var(--mp-ease-out); transition-delay: calc(var(--m, 0) * 220ms + 350ms); }
.is-visible .phone-msg { opacity: 1; transform: none; }
.phone-msg strong { display: block; font-size: 12px; font-weight: 600; color: var(--mp-forest); }
.phone-msg span { display: block; font-size: 12px; line-height: 1.5; color: var(--mp-ink-72); margin-top: 4px; }
.phone-caption { display: block; font-size: 14px; font-weight: 600; color: var(--mp-cream); margin-top: 20px; }
.phone-caption-sub { display: block; font-size: 14px; line-height: 1.5; color: var(--mp-cream-60); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Experts
   -------------------------------------------------------------------------- */
.experts { background: var(--mp-cream); padding: 112px 0; }
.experts-card {
  background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 32px; padding: 64px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; box-shadow: 0 6px 16px rgba(35, 31, 32, 0.06);
}
.experts-card .display { margin-top: 18px; }
.experts-art { width: 100%; height: 220px; object-fit: cover; object-position: 50% 30%; border-radius: 20px; margin-top: 36px; }
.experts-body { font-size: 18px; line-height: 1.7; color: var(--mp-ink-72); }
.experts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.experts-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--mp-forest); background: var(--mp-cream);
  border: 1px solid var(--mp-ink-08); padding: 14px 18px; border-radius: 12px;
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease), background var(--mp-dur-micro);
}
.experts-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-terra); flex: none; }
.experts-list li:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow-2); background: var(--mp-white); }
.experts-featured { grid-column: 1 / -1; margin-top: 8px; padding-top: 48px; border-top: 1px solid var(--mp-ink-08); }
.expert-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: start;
  background: var(--mp-cream); border: 1px solid var(--mp-ink-08); border-radius: 20px; padding: 28px; margin-top: 28px;
}
.expert-photo { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--mp-white); border: 1px solid var(--mp-ink-12); padding: 6px; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 8px; }
.expert-name { font-size: 22px; font-weight: 600; color: var(--mp-forest); }
.expert-role { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mp-terra); margin-top: 8px; }
.expert-bio { font-size: 16px; line-height: 1.65; color: var(--mp-ink-72); margin-top: 16px; max-width: 62ch; }
.expert-bio + .expert-bio { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team { background: var(--mp-sand-deep); padding: 104px 0; }
.team .display { margin: 20px 0 56px; max-width: 26ch; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--mp-white); border: 1px solid var(--mp-ink-08); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--mp-dur-entrance) var(--mp-ease-out), box-shadow var(--mp-dur-entrance) var(--mp-ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--mp-shadow-3); }
.team-photo { margin: 16px 16px 0; height: 300px; border-radius: 12px; border: 1px solid var(--mp-ink-12); overflow: hidden; background: var(--mp-sand-deep); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 1.2s var(--mp-ease-out); }
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-photo--hercy img { object-position: 50% 22%; }
.team-photo--kiko img { object-position: 50% 30%; }
.team-meta { padding: 28px; }
.team-name { font-size: 20px; font-weight: 600; color: var(--mp-forest); }
.team-role { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mp-terra); margin-top: 8px; }
.team-bio { font-size: 15px; line-height: 1.65; color: var(--mp-ink-72); margin-top: 16px; }

/* --------------------------------------------------------------------------
   Download CTA
   -------------------------------------------------------------------------- */
.download { position: relative; background: var(--mp-terra); padding: 120px 0; text-align: center; overflow: hidden; }
.download::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120vw; height: 120vw; max-width: 1400px; max-height: 1400px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(206, 136, 112, 0.5), rgba(206, 136, 112, 0)); pointer-events: none;
}
.download-inner { position: relative; max-width: 900px; margin: 0 auto; }
.download .eyebrow { color: var(--mp-cream-72); }
.download .display { color: var(--mp-cream); margin-top: 20px; }
.badges { display: flex; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--mp-forest); border: 1px solid var(--mp-forest); border-radius: 14px; padding: 12px 22px 12px 16px;
  color: var(--mp-cream); text-align: left; min-width: 190px;
  transition: transform var(--mp-dur) var(--mp-ease-out), box-shadow var(--mp-dur) var(--mp-ease), background var(--mp-dur-micro);
}
.badge:hover { background: var(--mp-forest-deep); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(22, 48, 41, 0.35); }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge-top { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mp-cream-72); }
.badge-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; color: var(--mp-cream); }
.download-note { margin-top: 28px; font-size: 13px; color: var(--mp-cream-72); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--mp-forest); padding: 64px 0 48px; color: var(--mp-cream); }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { color: var(--mp-cream); }
.footer-brand svg { height: 30px; width: auto; }
.footer-tagline { font-size: 15px; line-height: 1.6; color: var(--mp-cream-60); margin-top: 18px; max-width: 34ch; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .eyebrow { font-size: 11px; color: var(--mp-cream-48); }
.footer-col a { font-size: 15px; color: var(--mp-cream-82); transition: color var(--mp-dur-micro), transform var(--mp-dur-micro) var(--mp-ease); }
.footer-col a:hover { color: var(--mp-cream); transform: translateX(2px); }
.footer-col .is-current { font-size: 15px; color: var(--mp-cream); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mp-cream-16);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--mp-cream-48);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--mp-cream-48); }
.footer-legal a:hover { color: var(--mp-cream); }

/* --------------------------------------------------------------------------
   Floating mobile CTA
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed; left: 50%; bottom: 18px; z-index: 55;
  transform: translate(-50%, 120%); opacity: 0;
  transition: transform 400ms var(--mp-ease-out), opacity 300ms var(--mp-ease);
  display: none;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(36, 77, 69, 0.35);
  padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px));
}
.float-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--mp-dur-entrance) var(--mp-ease-out), transform var(--mp-dur-entrance) var(--mp-ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
html.js [data-reveal="left"] { transform: translateX(-28px); }
html.js [data-reveal="right"] { transform: translateX(28px); }
html.js [data-reveal="scale"] { transform: scale(0.94); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-6%, 8%) scale(1.08); } }
@keyframes pulse-ring { 0% { transform: scale(0.7); opacity: 0.7; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
@keyframes soft-pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 138, 46, 0.35); } 70% { box-shadow: 0 0 0 16px rgba(216, 138, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 138, 46, 0); } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  /* Header / mobile nav — collapses to the burger below 1200px, earlier than the rest of the
     page, so the six-item nav (longest in Portuguese) never overflows the 1120px container.
     Keep in sync with mqDesktop in main.js. */
  .nav-toggle { display: block; }
  /* The header's backdrop-filter makes it the containing block for fixed
     descendants, so the panel is positioned absolutely off the sticky header. */
  html.js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 59;
    height: calc(100vh - var(--mp-header-h)); height: calc(100dvh - var(--mp-header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mp-cream); padding: 16px var(--mp-gutter) 32px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--mp-dur) var(--mp-ease), transform var(--mp-dur) var(--mp-ease), visibility 0s linear var(--mp-dur);
  }
  html.js .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .site-nav {
    position: static; flex: 1 0 100%; height: auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mp-cream); padding: 16px var(--mp-gutter) 32px;
    opacity: 1; visibility: visible; transform: none; overflow: visible; transition: none;
  }
  .site-nav a:not(.btn):not(.lang-switch) {
    font-size: 22px; font-weight: 600; color: var(--mp-forest);
    padding: 18px 0; border-bottom: 1px solid var(--mp-ink-08);
    white-space: normal;
  }
  .site-nav a:not(.btn):not(.lang-switch)::after { display: none; }
  .site-nav .lang-switch { align-self: flex-start; margin-top: 24px; height: 40px; padding: 0 16px; font-size: 13px; }
  .site-nav .btn { margin-top: 20px; width: 100%; padding: 18px 24px; font-size: 16px; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
}

@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }
  .hero-art-frame img { height: 480px; }
  .why-grid { gap: 48px; }
  .experts-card { padding: 48px; gap: 48px; }
  .pillar { grid-template-columns: 100px 1fr 1.2fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --mp-gutter: 24px; --mp-header-h: 64px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero-art { max-width: 520px; }
  .hero-art-frame img { height: 400px; }
  .hero-float { left: 12px; bottom: 16px; }
  .hero-actions { gap: 18px; }

  /* Why */
  .why { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid { gap: 16px; }

  /* Nine */
  .nine { padding: 80px 0; }
  .nine-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .type-panel { position: static; padding: 28px; }

  /* Pillars */
  .pillars { padding: 80px 0; }
  .pillars .display { margin-bottom: 40px; }
  .pillar { grid-template-columns: 72px 1fr; gap: 20px 24px; padding: 36px 0; }
  .pillar-num { font-size: 56px; }
  .pillar-body { grid-column: 2; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Phones become a swipeable carousel */
  .app { padding: 80px 0; }
  .app .container--phones { padding-left: 0; padding-right: 0; max-width: none; }
  .phones {
    display: flex; gap: 20px; margin-top: 40px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 8px var(--mp-gutter) 24px; scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone-wrap { flex: 0 0 min(78vw, 320px); scroll-snap-align: center; }
  .phone-wrap:hover { transform: none; }
  .phone-screen { height: 560px; }

  /* Experts */
  .experts { padding: 80px 0; }
  .experts-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; border-radius: 24px; }
  .experts-art { height: 180px; margin-top: 24px; }
  .experts-list { grid-template-columns: 1fr; }
  .experts-featured { padding-top: 32px; }
  .expert-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .expert-photo { width: 150px; }

  /* Team */
  .team { padding: 80px 0; }
  .team .display { margin-bottom: 36px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-photo { height: 320px; }

  /* Download & footer */
  .download { padding: 88px 0 104px; }
  .badges { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .badge { justify-content: flex-start; }
  .site-footer { padding: 48px 0 40px; }
  .footer-grid { flex-direction: column; gap: 36px; }
  .footer-cols { gap: 32px 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }

  .float-cta { display: inline-flex; }
}

@media (max-width: 560px) {
  :root { --mp-gutter: 20px; }
  .display--xl { font-size: clamp(38px, 11vw, 48px); }
  .hero-grid { padding-top: 40px; }
  .hero-art-frame img { height: 340px; }
  .hero-float { padding: 10px 14px 10px 10px; gap: 10px; }
  .hero-float-dot { width: 30px; height: 30px; }
  .hero-float-value { font-size: 15px; }
  .hero-float-sub { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .type-grid { gap: 10px; }
  .type-card-meta { padding: 10px 10px 12px; }
  .type-card-name { font-size: 12px; }
  .type-panel { padding: 24px 20px; }
  .pillar { grid-template-columns: 1fr; gap: 12px; }
  .pillar-num { font-size: 48px; }
  .pillar-body { grid-column: 1; }
  .needs-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .experts-card { padding: 24px 20px; }
  .team-photo { height: 280px; }
  .download .display { font-size: clamp(28px, 8vw, 38px); }
}

/* --------------------------------------------------------------------------
   Enneagram quiz (/enneagram/)
   -------------------------------------------------------------------------- */
.quiz { position: relative; min-height: calc(100vh - var(--mp-header-h)); padding: 72px 0 96px; overflow: hidden; }
.quiz [hidden] { display: none !important; }
.js .quiz[data-route="result"] [data-screen="intro"] { display: none; }
.quiz-inner { position: relative; max-width: 900px; }
.quiz-screen { display: grid; gap: 24px; }
.quiz-question, .quiz-result { max-width: 760px; }
.quiz-intro { max-width: 100%; }
.quiz-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: center; }
.quiz-intro-copy { display: grid; gap: 24px; min-width: 0; }
.quiz-intro-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: hidden; border-radius: 18px; }
.quiz-intro-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.quiz-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-facts li {
  font-size: 13px; font-weight: 600; color: var(--mp-forest);
  padding: 8px 14px; border-radius: 999px; background: var(--mp-white); border: 1px solid var(--mp-ink-08);
}
.quiz-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
html:not(.js) [data-intro-fresh] { display: none; }
.quiz-intro-note { width: 100%; font-size: 16px; color: var(--mp-ink-72); }
.quiz-disclaimer { font-size: 16px; color: var(--mp-ink-72); }

.quiz button.link-arrow { appearance: none; background: none; border-width: 0 0 1px; border-style: solid; border-color: var(--mp-ink-16); padding: 0 0 3px; cursor: pointer; }
.quiz button.link-arrow:hover { border-color: var(--mp-terra); }

.quiz-progress { height: 6px; border-radius: 999px; background: var(--mp-ink-08); overflow: hidden; }
.quiz-progress-bar { display: block; height: 100%; width: 0; background: var(--mp-terra); border-radius: inherit; transition: width var(--mp-dur) var(--mp-ease); }
.quiz-count { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--mp-ink-72); }
.quiz-hint { font-size: 16px; color: var(--mp-ink-72); margin-top: -12px; }
.quiz-statement {
  font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.3; color: var(--mp-forest);
  min-height: 3.9em; text-wrap: balance; outline: none;
}
.quiz-statement:focus-visible,
.quiz-result .display:focus-visible { outline: 2px solid var(--mp-terra); outline-offset: 4px; }
.quiz-scale { display: grid; gap: 10px; }
.quiz-option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  font-size: 16px; font-weight: 500; color: var(--mp-ink);
  padding: 14px 18px; border-radius: 14px; background: var(--mp-white); border: 1px solid var(--mp-ink-12);
  transition: border-color var(--mp-dur-micro) var(--mp-ease), background var(--mp-dur-micro) var(--mp-ease), transform var(--mp-dur-micro) var(--mp-ease);
}
@media (hover: hover) {
  .quiz-option:hover { border-color: var(--mp-terra-soft); }
}
.quiz-option:active { transform: scale(0.99); }
.quiz-option[aria-pressed="true"] { background: var(--mp-forest); border-color: var(--mp-forest); color: var(--mp-cream); }
.quiz-option-num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; font-weight: 700; background: var(--mp-sand-deep); color: var(--mp-forest);
}
.quiz-option[aria-pressed="true"] .quiz-option-num { background: var(--mp-cream-20); color: var(--mp-cream); }
.quiz-back { justify-self: start; }

.quiz-result { --type-color: var(--mp-terra); gap: 40px; }
.quiz-result-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.quiz-result-art img { width: 100%; border-radius: 20px; box-shadow: 0 0 0 6px var(--type-color), var(--mp-shadow-3); }
.quiz-result-copy { display: grid; gap: 14px; }
.quiz-result-num { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--type-color); }
.quiz-result .display { outline: none; }
.quiz-need { padding: 4px 0 4px 18px; border-left: 4px solid var(--type-color); display: grid; gap: 8px; }
.quiz-need p { font-size: 18px; font-weight: 600; color: var(--mp-forest); }
.quiz-teaser { display: grid; gap: 12px; }
.quiz-teaser-text { font-size: 17px; line-height: 1.7; color: var(--mp-ink-72); }
.quiz-cta { text-align: center; padding: 40px 28px; border-radius: 24px; background: var(--mp-sand-deep); }
.quiz-cta .badges { margin-top: 28px; }
/* Phones get the one matching store badge; desktop (no is-ios/is-android class) keeps both. */
.is-ios .quiz-cta [data-store="android"] { display: none; }
.is-android .quiz-cta [data-store="ios"] { display: none; }
.quiz-full-note { margin-top: 20px; font-size: 16px; color: var(--mp-ink-72); }
.quiz-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.quiz-share-status { font-size: 16px; color: var(--mp-forest); min-height: 1.4em; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .quiz { padding: 40px 0 72px; }
  .quiz-intro-layout { grid-template-columns: 1fr; gap: 28px; }
  .quiz-intro-art { width: min(100%, 180px); justify-self: center; }
  .quiz-statement { min-height: 5.2em; }
  .quiz-result-head { grid-template-columns: 1fr; }
  .quiz-result-art { max-width: 200px; }
  .quiz-cta { padding: 32px 18px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .hero-anim, [data-reveal] { opacity: 1; transform: none; }
  .bar.on::after { transform: scaleX(1); }
  .phone-msg { opacity: 1; transform: none; }
}
