/* ============================================================
   METTLE LANDING v1 (2026-07 redesign)
   Design language: dark mineral luxury, matched to the shipped
   Android app (app/today-matl.html) and docs/app-design-spec.md.
   Loaded ONLY by index.html. Locale pages keep styles.css.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: oklch(0.075 0.006 240);
  --bg-deep: oklch(0.055 0.005 240);
  --surface: oklch(0.115 0.007 240);
  --surface-2: oklch(0.16 0.008 240);
  --ink: oklch(0.92 0.006 80);
  --ink-mute: oklch(0.72 0.006 80);
  --ink-dim: oklch(0.55 0.006 80);
  --line: oklch(0.82 0.006 80 / 0.14);
  --line-soft: oklch(0.82 0.006 80 / 0.07);
  --chrome: oklch(0.9 0.02 86);
  --pearl: oklch(0.86 0.025 80);
  --pearl-warm: oklch(0.9 0.03 85);
  --gold: oklch(0.8 0.07 85);
  --cyan: oklch(0.78 0.12 205);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --r-card: 20px;
  --r-panel: 24px;
  --r-pill: 999px;
  --shell: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* obsidian canvas: near-black vertical gradient + faint grain, never flat #000 */
.m-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 60% at 50% -5%, oklch(0.13 0.01 250 / 0.9), transparent 60%),
    linear-gradient(180deg, oklch(0.09 0.007 245), var(--bg) 40%, var(--bg-deep));
}
.m-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: oklch(0.86 0.025 80 / 0.25); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.m-shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

/* ---------- type scale ---------- */
.m-display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.04;
  text-wrap: balance;
}
h1.m-display { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2.m-display { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.m-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.m-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--chrome), transparent);
}
.m-lede { color: var(--ink-mute); font-size: clamp(1.02rem, 1.35vw, 1.15rem); max-width: 56ch; }

/* ---------- buttons: pearl primary / onyx secondary ---------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-pill);
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), filter 0.35s var(--ease-out);
  white-space: nowrap;
}
.m-btn:active { transform: translateY(1px) scale(0.985); }
.m-btn .chev { font-family: var(--sans); font-weight: 500; transform: translateY(-0.5px); }

.m-btn-pearl {
  position: relative;
  color: oklch(0.2 0.01 260);
  background:
    linear-gradient(115deg, #ece8e1 0%, #d9dde2 32%, #f2eee8 55%, #cfd5dc 78%, #ece8e1 100%);
  background-size: 220% 100%;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.85),
    inset 0 -1px 2px oklch(0.4 0.02 260 / 0.35),
    0 0 0 1.5px oklch(0.75 0.01 80 / 0.55),
    0 12px 32px oklch(0 0 0 / 0.5);
  animation: pearl-drift 7s linear infinite;
}
@keyframes pearl-drift {
  0% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}
.m-btn-pearl:hover { filter: brightness(1.05); box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.9),
    inset 0 -1px 2px oklch(0.4 0.02 260 / 0.35),
    0 0 0 1.5px oklch(0.85 0.02 85 / 0.8),
    0 16px 40px oklch(0 0 0 / 0.55); }

.m-btn-onyx {
  color: var(--ink);
  background: linear-gradient(180deg, oklch(0.17 0.008 245), oklch(0.12 0.007 245));
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.09),
    0 0 0 1px var(--line),
    0 8px 22px oklch(0 0 0 / 0.35);
}
.m-btn-onyx:hover {
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.14),
    0 0 0 1px oklch(0.82 0.006 80 / 0.3),
    0 10px 26px oklch(0 0 0 / 0.4);
}

/* ---------- topbar ---------- */
.m-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.m-topbar.is-scrolled {
  background: oklch(0.08 0.006 245 / 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.m-topbar-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.m-brand { display: inline-flex; align-items: center; gap: 10px; }
.m-brand img { width: 26px; height: 26px; }
.m-wordmark {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.34em;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #f3f1ec, #b9bcc2 55%, #e8e5df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(1px);
}
.m-nav { display: flex; gap: 26px; margin-left: auto; }
.m-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}
.m-nav a:hover { color: var(--ink); }
.m-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--chrome), oklch(0.9 0.02 86 / 0));
  transition: right 0.35s var(--ease-out);
}
.m-nav a:hover::after { right: 0; }
.m-topbar-actions { display: flex; align-items: center; gap: 16px; }
.m-topbar .m-btn { padding: 10px 22px; font-size: 0.85rem; }
.m-lang select {
  background: transparent;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-family: var(--sans);
  font-size: 0.8rem;
  cursor: pointer;
}
.m-lang select:focus-visible { outline: 1px solid var(--chrome); }
.m-nav-toggle { display: none; }

/* ---------- hero ---------- */
.m-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding-top: 68px;
}
.m-hero-media, .m-hero-media video, .m-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}
.m-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.06 0.005 245 / 0.92) 0%, oklch(0.06 0.005 245 / 0.55) 44%, oklch(0.06 0.005 245 / 0.15) 70%),
    linear-gradient(180deg, oklch(0.06 0.005 245 / 0.6), transparent 30%, transparent 62%, var(--bg) 98%);
}
.m-hero-dust {
  position: absolute;
  inset: -4%;
  background: url("./assets/gems/cave-light-dust-overlay-portrait.webp") center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}
.m-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
}
.m-hero-copy { padding-block: 48px; }
.m-hero-copy .m-eyebrow { color: var(--gold); }
.m-hero-copy .m-eyebrow i {
  font-style: normal;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px oklch(0.78 0.12 205 / 0.8);
}
.m-hero-copy h1 { margin: 22px 0 20px; }
.m-hero-copy h1 em {
  font-style: italic;
  line-height: 1.1;
  padding-bottom: 4px;
  background: linear-gradient(120deg, #f5f2ec, #c6cdd6 55%, #efe9df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* phone in the scene */
.m-hero-stage {
  position: relative;
  height: min(78vh, 760px);
  min-height: 480px;
}
.m-phone {
  position: relative;
  width: min(320px, 72%);
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2b30, #101114 60%, #26272c);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.22),
    inset 0 -1px 0 oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(0 0 0 / 0.7),
    0 50px 120px oklch(0 0 0 / 0.65);
}
.m-phone::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 22px;
  background: #0a0a0c;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.m-phone img { border-radius: 34px; width: 100%; height: auto; }
.m-hero-stage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4%;
}
.m-hero-stage .m-phone {
  width: min(300px, 62%);
  rotate: -3deg;
}
.m-hero-shard {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: 26%;
  filter: drop-shadow(0 24px 48px oklch(0 0 0 / 0.55));
  will-change: transform;
}

/* ---------- proof strip ---------- */
.m-proof {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, oklch(0.1 0.006 245 / 0.6), oklch(0.08 0.006 245 / 0.2));
}
.m-proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: 26px;
}
.m-proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-mute);
  padding: 6px 10px;
}
.m-proof-item + .m-proof-item { border-left: 1px solid var(--line-soft); }
.m-proof-item img { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.m-proof-item strong { color: var(--ink); font-weight: 600; }

/* ---------- marble manifesto slab ---------- */
.m-manifesto {
  position: relative;
  margin-block: clamp(90px, 12vh, 150px);
}
.m-slab {
  position: relative;
  border-radius: var(--r-panel);
  overflow: clip;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px);
  background:
    radial-gradient(90% 130% at 82% 10%, oklch(0.22 0.01 250 / 0.55), transparent 55%),
    linear-gradient(165deg, #17181d, #0c0d10 55%, #121317);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.1),
    inset 0 0 0 1px var(--line-soft),
    0 40px 90px oklch(0 0 0 / 0.45);
}
.m-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/gems/black-basalt-texture.webp") center / cover;
  opacity: 0.16;
  mix-blend-mode: overlay;
}
.m-slab blockquote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  max-width: 21ch;
  color: var(--ink);
  text-shadow: 0 2px 12px oklch(0 0 0 / 0.5);
}
.m-slab blockquote span {
  background: linear-gradient(100deg, #f2efe8, #b9bfc8 60%, #e7e2d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m-slab p {
  position: relative;
  margin-top: 26px;
  max-width: 52ch;
  color: var(--ink-mute);
}
.m-slab .m-slab-gem {
  position: absolute;
  right: clamp(-40px, -2vw, -10px);
  bottom: -12%;
  width: clamp(220px, 30%, 380px);
  opacity: 0.95;
  filter: drop-shadow(0 30px 70px oklch(0 0 0 / 0.6));
  pointer-events: none;
}

/* ---------- app tour (pinned) ---------- */
.m-tour { position: relative; }
.m-tour-head { padding-block: clamp(30px, 6vh, 70px) 20px; }
.m-tour-head h2 { max-width: 18ch; margin-top: 18px; }
.m-tour-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  min-height: 100dvh;
  padding-block: 40px;
}
.m-tour-beats { display: grid; gap: 0; position: relative; }
.m-beat {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.m-beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.m-beat-k {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.m-beat-k::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--chrome), transparent); transform: translateY(-4px); }
.m-beat h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; max-width: 17ch; }
.m-beat p { margin-top: 14px; color: var(--ink-mute); max-width: 44ch; }
.m-beat-note {
  margin-top: 20px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-dim);
}
.m-beat-note img { width: 15px; height: 15px; opacity: 0.8; }

.m-tour-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.m-tour-phone-wrap .m-phone { width: min(330px, 82%); }
.m-tour-shots { position: relative; border-radius: 34px; overflow: clip; }
.m-tour-shots img {
  grid-area: 1 / 1;
  border-radius: 34px;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.m-tour-shots { display: grid; }
.m-tour-shots img.is-on { opacity: 1; }
.m-tour-glow {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: radial-gradient(50% 45% at 50% 42%, oklch(0.5 0.03 250 / 0.4), transparent 70%);
}
.m-tour-progress {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.m-tour-progress i {
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.3s ease;
}
.m-tour-progress i.is-on { background: var(--gold); }

/* mobile tour fallback: horizontal snap */
.m-tour-rail { display: none; }

/* ---------- privacy ---------- */
.m-privacy { margin-block: clamp(90px, 13vh, 170px); }
.m-privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.m-privacy h2 { max-width: 16ch; margin-bottom: 14px; }
.m-privacy .m-lede { margin-bottom: 34px; }
.m-ethics { display: grid; gap: 4px; }
.m-ethic {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-top: 1px solid var(--line-soft);
}
.m-ethic:last-child { border-bottom: 1px solid var(--line-soft); }
.m-ethic img { width: 24px; height: 24px; margin-top: 3px; opacity: 0.85; }
.m-ethic strong { display: block; font-size: 0.98rem; margin-bottom: 3px; }
.m-ethic p { color: var(--ink-mute); font-size: 0.9rem; }
.m-privacy-shot { position: relative; display: flex; justify-content: center; }
.m-privacy-shot .m-phone { transform: rotate(2.5deg); }
.m-privacy-shot::before {
  content: "";
  position: absolute;
  inset: 6% -6% -10% -6%;
  background: url("./assets/gems/black-basalt-texture.webp") center / cover;
  opacity: 0.25;
  border-radius: var(--r-panel);
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 75%);
}

/* ---------- pricing: the vault ---------- */
.m-vault {
  position: relative;
  padding-block: clamp(90px, 13vh, 170px);
  overflow: clip;
}
.m-vault::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 42% at 50% 0%, oklch(0.28 0.02 85 / 0.16), transparent 65%),
    linear-gradient(180deg, transparent, oklch(0.05 0.005 245) 30%, oklch(0.05 0.005 245));
  pointer-events: none;
}
.m-vault-head { position: relative; text-align: center; margin-bottom: clamp(44px, 6vh, 72px); }
.m-vault-head .m-eyebrow { justify-content: center; }
.m-vault-head .m-eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(270deg, var(--chrome), transparent);
}
.m-vault-head h2 { margin-top: 18px; }
.m-vault-head .m-lede { margin: 16px auto 0; }

.m-tiers {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1.16fr;
  gap: 18px;
  align-items: stretch;
}
.m-tier {
  position: relative;
  border-radius: var(--r-card);
  padding: 30px 28px 28px;
  background: linear-gradient(175deg, oklch(0.15 0.008 245), oklch(0.1 0.007 245));
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.08),
    inset 0 0 0 1px var(--line-soft),
    0 24px 60px oklch(0 0 0 / 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.m-tier:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    inset 0 0 0 1px var(--line),
    0 32px 70px oklch(0 0 0 / 0.5);
}
.m-tier-gem { height: 116px; display: flex; align-items: center; margin-bottom: 8px; }
.m-tier-gem img {
  max-height: 100%;
  width: auto;
  border-radius: 12px;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 16px 30px oklch(0 0 0 / 0.55));
}
.m-tier h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; }
.m-tier-price {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 10px 0 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.m-tier-price small { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-dim); }
.m-tier-sub { font-size: 0.85rem; color: var(--ink-mute); min-height: 2.4em; }
.m-tier ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 9px; }
.m-tier li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.m-tier li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--chrome), oklch(0.6 0.01 85));
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 0%, 40% 70%);
  opacity: 0.8;
}
.m-tier .m-btn { margin-top: auto; width: 100%; }

.m-tier-featured {
  background:
    radial-gradient(120% 90% at 50% -10%, oklch(0.3 0.03 85 / 0.28), transparent 60%),
    linear-gradient(175deg, oklch(0.17 0.01 250), oklch(0.1 0.008 245));
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.16),
    inset 0 0 0 1px oklch(0.8 0.07 85 / 0.35),
    0 34px 80px oklch(0 0 0 / 0.55);
}
.m-tier-featured::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 20%;
  width: 60%;
  height: 90%;
  background: linear-gradient(180deg, oklch(0.95 0.02 85 / 0.14), transparent 80%);
  clip-path: polygon(28% 0, 72% 0, 96% 100%, 4% 100%);
  pointer-events: none;
}
.m-tier-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.22 0.02 85);
  background: linear-gradient(120deg, #ece8e1, #cfd5dc 60%, #ece8e1);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.7), 0 4px 14px oklch(0 0 0 / 0.4);
}
.m-tier-anchor { font-size: 0.8rem; color: var(--gold); margin-top: 6px; }

.m-vault-risk {
  position: relative;
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  color: var(--ink-mute);
  font-size: 0.86rem;
}
.m-vault-risk span { display: inline-flex; align-items: center; gap: 9px; }
.m-vault-risk img { width: 16px; height: 16px; opacity: 0.85; }

/* ---------- FAQ ---------- */
.m-faq { margin-block: clamp(80px, 11vh, 150px); }
.m-faq h2 { max-width: 14ch; }
.m-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.m-faq details {
  border-top: 1px solid var(--line-soft);
  padding: 4px 0;
}
.m-faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.m-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 1rem;
}
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--chrome);
  transition: transform 0.3s var(--ease-out);
  flex: none;
}
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq details p {
  padding: 0 4px 20px;
  color: var(--ink-mute);
  font-size: 0.93rem;
  max-width: 60ch;
}
.m-faq-side p { color: var(--ink-mute); margin-top: 14px; max-width: 36ch; }
.m-faq-side img { width: 130px; margin-top: 28px; opacity: 0.9; border-radius: 12px; mix-blend-mode: lighten; }

/* ---------- final CTA + form ---------- */
.m-final {
  position: relative;
  overflow: clip;
  padding-block: clamp(90px, 14vh, 180px);
}
.m-final-bg, .m-final-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.m-final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, oklch(0.06 0.005 245 / 0.55) 26%, oklch(0.06 0.005 245 / 0.72) 70%, var(--bg-deep) 100%);
}
.m-final-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.m-final h2 { max-width: 14ch; }
.m-final .m-lede { margin-top: 18px; }

.m-form {
  border-radius: var(--r-panel);
  padding: clamp(26px, 3vw, 40px);
  background: oklch(0.1 0.007 245 / 0.72);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    inset 0 0 0 1px var(--line-soft),
    0 40px 90px oklch(0 0 0 / 0.5);
  display: grid;
  gap: 16px;
}
.m-plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-plan-picker label { position: relative; cursor: pointer; }
.m-plan-picker input { position: absolute; opacity: 0; }
.m-plan-picker span {
  display: grid;
  gap: 2px;
  text-align: center;
  border-radius: 14px;
  padding: 12px 8px;
  background: oklch(0.13 0.008 245);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.m-plan-picker strong { font-size: 0.82rem; }
.m-plan-picker small { font-size: 0.74rem; color: var(--ink-dim); }
.m-plan-picker input:checked + span {
  background: linear-gradient(175deg, oklch(0.19 0.012 250), oklch(0.13 0.008 245));
  box-shadow: inset 0 0 0 1px oklch(0.8 0.07 85 / 0.5), 0 6px 18px oklch(0 0 0 / 0.35);
}
.m-plan-picker input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.m-field { display: grid; gap: 7px; }
.m-field > span { font-size: 0.8rem; font-weight: 600; color: var(--ink-mute); }
.m-field input, .m-field select, .m-field textarea {
  width: 100%;
  background: oklch(0.09 0.006 245);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 13px 15px;
  transition: border-color 0.25s ease;
}
.m-field input::placeholder { color: var(--ink-dim); }
.m-field input:focus-visible, .m-field select:focus-visible, .m-field textarea:focus-visible {
  outline: none;
  border-color: oklch(0.78 0.12 205 / 0.6);
}
.m-form .m-btn { width: 100%; }
.m-form [data-checkout-submit]::after { content: "\203A"; font-weight: 500; margin-left: 8px; }
.m-form-note { font-size: 0.82rem; color: var(--ink-mute); text-align: center; }
.m-form-legal { font-size: 0.74rem; color: var(--ink-dim); text-align: center; }
.m-form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.m-form-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.76rem;
  color: var(--ink-dim);
}
.honeypot { display: none !important; }
.m-survey { display: grid; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.m-survey[hidden] { display: none; }
.m-survey-head strong { display: block; font-size: 0.95rem; }
.m-survey-head span { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- footer ---------- */
.m-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding-block: 56px 40px;
}
.m-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  gap: 36px;
}
.m-footer h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.m-footer a { display: block; color: var(--ink-mute); font-size: 0.88rem; padding-block: 5px; transition: color 0.2s ease; }
.m-footer a:hover { color: var(--ink); }
.m-footer-brand p { color: var(--ink-dim); font-size: 0.86rem; max-width: 30ch; margin-top: 12px; }
.m-footer-meta {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  color: var(--ink-dim);
  font-size: 0.76rem;
}

/* ---------- reveal on scroll ---------- */
.m-reveal { opacity: 0; transform: translateY(28px); }
.m-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .m-btn-pearl { animation: none; }
  .m-reveal { opacity: 1; transform: none; }
  .m-beat, .m-tour-shots img { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .m-nav { display: none; }
  .m-hero-inner { grid-template-columns: 1fr; }
  .m-hero-stage { height: 520px; order: 2; justify-content: center; padding-right: 0; }
  .m-hero-stage .m-phone { rotate: -2deg; }
  .m-tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .m-tier-featured { order: -1; }
  .m-privacy-grid, .m-final-inner, .m-faq-grid { grid-template-columns: 1fr; }
  .m-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .m-proof-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .m-proof-item { justify-content: flex-start; }
  .m-proof-item + .m-proof-item { border-left: 0; }
  .m-hero { min-height: auto; padding-bottom: 30px; }
  .m-hero-copy { padding-block: 40px 10px; }
  .m-hero-detail { display: none; }
  .m-hero-stage { height: 440px; min-height: 0; }
  .m-slab .m-slab-gem { position: static; width: 70%; margin: 30px auto 0; }
  /* pinned tour becomes a swipe rail */
  .m-tour-stage { display: none; }
  .m-tour-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 20px 40px;
    -webkit-overflow-scrolling: touch;
  }
  .m-tour-rail::-webkit-scrollbar { display: none; }
  .m-rail-card {
    scroll-snap-align: center;
    border-radius: var(--r-card);
    background: linear-gradient(175deg, oklch(0.14 0.008 245), oklch(0.09 0.006 245));
    box-shadow: inset 0 0 0 1px var(--line-soft), 0 20px 40px oklch(0 0 0 / 0.4);
    padding: 22px 20px;
  }
  .m-rail-card img { border-radius: 18px; margin-top: 16px; }
  .m-rail-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
  .m-rail-card p { color: var(--ink-mute); font-size: 0.88rem; margin-top: 8px; }
  .m-plan-picker { grid-template-columns: 1fr; }
  .m-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
