/* ============================================================
   miora — landing (design template)
   Tokens tuned to match getmiora.com's design language:
   pure-black canvas, Montserrat + classical serif, warm accents
   used sparingly (hero + pricing backdrop + glows).
   ============================================================ */
:root {
  --bg: #000;
  --bg-soft: #050505;
  --ink: #ffffff;
  --ink-2: #d9d9d9;
  --ink-3: #8c8c8c;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #e67c2c;
  --accent-2: #ffd6a0;
  --glass: rgba(255, 255, 255, 0.045);
  --serif: "EB Garamond", "Junicode", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.muted { color: var(--ink-3); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  border: 0; border-radius: 50px;
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  cursor: pointer; transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 13px; }

/* Primary dark translucent pill — the site's main CTA everywhere */
.btn--pill {
  color: var(--ink);
  background: rgba(24, 24, 24, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14),
              0 6px 20px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.22);
}
.btn--pill:hover { background: rgba(40, 40, 40, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 30px rgba(0, 0, 0, 0.35); }

.btn--white { color: #0a0a0a; background: #f5f5f5; }
.btn--white:hover { background: #fff; }

.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-block: 18px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 27px; letter-spacing: -0.01em; }
.brand__word { line-height: 1; }
.brand__mark {
  width: 24px; height: 24px; display: inline-grid; place-items: center;
  filter: drop-shadow(0 0 8px rgba(230, 124, 44, 0.4));
}
.brand__mark svg { width: 100%; height: 100%; display: block; }

.nav__links { display: flex; gap: 34px; }
.nav__links a, .nav__login { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.8); transition: color 0.25s; }
.nav__links a:hover, .nav__login:hover { color: var(--ink); }

@media (max-width: 720px) { .nav__links { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 120px 60px;
  overflow: hidden;
  text-align: center;
}
/* Cinematic stand-in for the site's full-bleed video */
.hero__media { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(75% 60% at 22% 42%, rgba(120, 150, 175, 0.4), transparent 60%),
    radial-gradient(65% 65% at 80% 32%, rgba(90, 115, 140, 0.32), transparent 62%),
    radial-gradient(120% 90% at 50% 118%, rgba(150, 92, 45, 0.42), transparent 55%),
    radial-gradient(90% 70% at 12% 88%, rgba(210, 150, 90, 0.28), transparent 60%),
    linear-gradient(180deg, #14110d 0%, #000 72%);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 32%; z-index: -3;
}
.hero__glow {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(38% 52% at 20% 52%, rgba(255, 214, 160, 0.32), transparent 62%),
    radial-gradient(34% 44% at 78% 40%, rgba(150, 180, 200, 0.2), transparent 66%);
  filter: blur(10px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.04); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.1); }
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(95% 60% at 50% 60%, rgba(0, 0, 0, 0.42) 0%, transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.34) 30%, rgba(0, 0, 0, 0.46) 56%, rgba(0, 0, 0, 0.74) 100%);
}

.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero__title {
  font-size: clamp(42px, 7.4vw, 86px);
  line-height: 1.02;
  max-width: 16ch;
  text-shadow: 0 2px 44px rgba(0, 0, 0, 0.45);
}
.hero__sub {
  max-width: 60ch; font-size: clamp(15px, 1.55vw, 19px);
  color: rgba(255, 255, 255, 0.86); line-height: 1.6;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.55);
}
.hero__cta { margin-top: 8px; }
.hero__fine { font-size: 13px; color: rgba(255, 255, 255, 0.62); line-height: 1.75; letter-spacing: 0.01em; }

/* ============================================================
   Sections / headings
   ============================================================ */
.section { padding-block: clamp(90px, 12vw, 160px); position: relative; }

.heading { max-width: 820px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.heading__title { font-size: clamp(32px, 4.7vw, 52px); line-height: 1.08; }
.heading__sub { max-width: 54ch; margin-inline: auto; color: var(--ink-2); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; }

/* ============================================================
   Steps
   ============================================================ */
.steps { margin-top: clamp(48px, 7vw, 90px); display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(48px, 8vw, 100px);
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step--reverse .step__copy { order: 2; }
.step--reverse .step__visual { order: 1; }

.step__num { display: block; font-size: clamp(36px, 4vw, 48px); line-height: 1; color: var(--ink); }
.step__title { margin-top: 20px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; }
.step__text { margin-top: 16px; max-width: 44ch; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.step__visual { display: flex; justify-content: center; }

/* --- Glass card (shared) --- */
.card-glass {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 1;
  border-radius: 32px;
  background: var(--glass);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

/* Step 01 — integrations arranged around a glowing orb */
.integrations { display: grid; place-items: center; background:
  radial-gradient(70% 60% at 50% 58%, rgba(230, 124, 44, 0.16), transparent 72%), var(--glass); }
.integrations__ring { position: absolute; inset: 0; }
.integrations__tile {
  position: absolute; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.integrations__tile--a { top: 13%; left: 13%; }
.integrations__tile--b { top: 13%; right: 13%; }
.integrations__tile--c { top: 47%; left: 8%; }
.integrations__tile--d { top: 47%; right: 8%; }
.integrations__orb {
  position: relative; z-index: 2;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffe0b0, var(--accent) 55%, #7a3d12);
  box-shadow: 0 0 60px rgba(230, 124, 44, 0.6);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 84px rgba(230, 124, 44, 0.8); } }
.integrations__msg {
  position: absolute; bottom: 9%; left: 8%; right: 8%; z-index: 3;
  padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4;
  background: rgba(48, 48, 48, 0.82); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

/* Step 02 — protocol */
.protocol { position: relative; width: 100%; max-width: 420px; aspect-ratio: 0.95; }
.protocol__card { position: absolute; border-radius: 26px; }
.protocol__card--back { inset: 0 0 auto 8%; height: 88%; top: 6%; background: #0e0e0e; box-shadow: inset 0 0 0 1px var(--line); transform: rotate(-3deg); }
.protocol__card--mid { inset: 3% 4% auto 4%; height: 90%; top: 4%; background: #121212; box-shadow: inset 0 0 0 1px var(--line); transform: rotate(2deg); }
.protocol__card--front {
  inset: 6% 8%; background: #0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.5);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.protocol__head { display: flex; align-items: center; justify-content: space-between; }
.protocol__owner { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.protocol__by { font-size: 12px; color: var(--ink-3); }
.protocol__goal { font-size: 16px; font-weight: 500; }
.protocol__group { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.protocol__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.protocol__row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }

/* Step 03 — chat */
.chat { width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 32px;
  background: linear-gradient(180deg, #0d0d0d, #050505);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.chat__bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45;
  background: rgba(56, 56, 56, 0.7); color: var(--ink); align-self: flex-start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.chat__bubble--mine { align-self: flex-end; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* ============================================================
   Pinned quote (word-by-word blur-in, 180vh scroll track)
   ============================================================ */
.quote { position: relative; height: 180vh; }
.quote__pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; background: transparent; }
.quote__inner { max-width: 860px; text-align: center; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.quote__text { font-size: clamp(24px, 3.6vw, 38px); line-height: 1.32; }
.quote__by { font-size: 15px; line-height: 1.5; }
.quote__word { display: inline-block; opacity: 0.12; filter: blur(4px); transition: opacity 0.3s, filter 0.3s; }
.quote__word.lit { opacity: 1; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .quote { height: auto; padding-block: 120px; }
  .quote__pin { position: static; height: auto; }
  .quote__word { opacity: 1; filter: none; }
}

/* ============================================================
   Concierge / benefits
   ============================================================ */
.benefits { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  position: relative; min-height: 420px; border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px var(--line);
}
.benefit__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%; z-index: 0;
}
.benefit::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 42%, rgba(0, 0, 0, 0.82) 100%);
}
.benefit__body { position: relative; z-index: 2; }
.benefit__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.1; }
.benefit__text { margin-top: 12px; color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.5; }
.concierge__disclaimer { margin-top: 40px; text-align: center; color: var(--ink-3); font-size: 13px; line-height: 1.6; max-width: 60ch; margin-inline: auto; }

/* ============================================================
   Features grid
   ============================================================ */
.features-grid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.feature {
  border-radius: 22px; padding: 30px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.feature__icon {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 20px; color: var(--ink);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2);
}
.feature__title { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.feature__text { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }

/* ============================================================
   AI automation levels
   ============================================================ */
.levels {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.level {
  border-radius: 24px; padding: 34px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.level--feature { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.level__meter { display: flex; gap: 6px; }
.level__dot { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.level__dot.on { background: var(--accent); }
.level__name { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.level__text { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }

/* ============================================================
   Split sections (app showcase / stay informed)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split--reverse .split__media { order: -1; }
.split__title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; margin-top: 14px; max-width: 16ch; }
.split__lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; max-width: 46ch; }
.split__list { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.split__list li { position: relative; padding-left: 28px; color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1.5; }
.split__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd9a8, var(--accent) 70%); box-shadow: 0 0 10px rgba(230, 124, 44, 0.4); }
.split__media { display: flex; justify-content: center; }

/* --- phone mockup (client companion app) --- */
.phone {
  position: relative;
  width: min(320px, 84vw); border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #45454c 0%, #1a1a1d 40%, #303036 74%, #141416 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 50px 90px rgba(0, 0, 0, 0.6);
}
/* side buttons (left: volume · right: side button) */
.phone::after { content: ""; position: absolute; left: -2px; top: 33%; width: 3px; height: 15%; border-radius: 3px 0 0 3px; background: linear-gradient(180deg, #4c4c54, #24242a); }
.phone::before { content: ""; position: absolute; right: -2px; top: 30%; width: 3px; height: 10%; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #4c4c54, #24242a); }

.phone__screen { position: relative; border-radius: 44px; overflow: hidden; aspect-ratio: 300 / 640; display: flex; flex-direction: column;
  background: radial-gradient(120% 55% at 50% 0%, rgba(230, 124, 44, 0.16), transparent 62%), linear-gradient(180deg, #16130f, #0b0907); }
/* Dynamic Island */
.phone__screen::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 33%; height: 26px; background: #000; border-radius: 999px; z-index: 5; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
/* home indicator */
.phone__screen::after { content: ""; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); z-index: 5; }

/* iOS status bar */
.ios-status { position: relative; z-index: 4; flex-shrink: 0; height: 40px; padding: 13px 22px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.ios-time { font-variant-numeric: tabular-nums; }
.ios-icons { display: inline-flex; align-items: center; gap: 6px; }
.ios-icons svg { display: block; }
.app { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 12px; overflow: hidden; }
.app__top { display: flex; align-items: center; justify-content: space-between; }
.app__brand { display: inline-flex; align-items: center; gap: 7px; font-family: var(--serif); font-size: 19px; }
.app__orb { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe6c4, var(--accent) 60%, #7a3d12); box-shadow: 0 0 10px rgba(230, 124, 44, 0.5); }
.app__streak { font-size: 13px; color: var(--ink-2); }
.app__hi { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.app__card { border-radius: 18px; padding: 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.app__card-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.app__today { margin-top: 12px; display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 66px; height: 66px; border-radius: 50%; background: conic-gradient(var(--accent) 62%, rgba(255, 255, 255, 0.12) 0); display: grid; place-items: center; flex-shrink: 0; }
.ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #14110d; }
.ring span { position: relative; z-index: 1; font-size: 13px; font-weight: 600; }
.app__macros { display: flex; flex-direction: column; gap: 8px; }
.app__macro { display: flex; flex-direction: column; }
.app__macro b { font-size: 17px; }
.app__macro small { font-size: 11px; color: var(--ink-3); }
.app__msg { border-radius: 16px; border-top-left-radius: 5px; padding: 13px 15px; background: rgba(230, 124, 44, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 200, 150, 0.18); }
.app__msg p { font-size: 14px; line-height: 1.4; }
.app__chips { margin-top: 10px; display: flex; gap: 7px; }
.app__chips span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.app__meal { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.app__meal-thumb { width: 42px; height: 42px; border-radius: 11px; background-size: cover; background-position: center; flex-shrink: 0; }
.app__meal-body { flex: 1; display: flex; flex-direction: column; }
.app__meal-body b { font-size: 14px; }
.app__meal-body small { font-size: 11px; color: var(--ink-3); }
.app__check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #0a0a0a; background: radial-gradient(circle at 40% 35%, #ffd9a8, var(--accent) 70%); }
.app__nav { display: flex; justify-content: space-around; align-items: center; padding: 12px 8px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.app__nav-item { font-size: 17px; color: var(--ink-3); }
.app__nav-item.is-on { color: var(--accent); }

/* --- two-phone composition (home + chat) --- */
.phones { position: relative; display: flex; justify-content: center; }
.phone--front { position: relative; z-index: 2; transform: translateX(7%); }
.phone--back {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  transform: translate(-90%, -50%) rotate(-8deg) scale(0.82);
  filter: brightness(0.8) saturate(0.95);
}
@media (max-width: 1080px) { .phone--back { transform: translate(-84%, -50%) rotate(-8deg) scale(0.76); } }
@media (max-width: 860px) { .phone--front { transform: none; } .phone--back { display: none; } }

.phone__screen--chat { background: radial-gradient(120% 55% at 50% 0%, rgba(230, 124, 44, 0.1), transparent 60%), linear-gradient(180deg, #13110d, #0b0907); }
.chatv { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 4px 14px 24px; }
.chatv__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chatv__top .app__brand { font-size: 18px; }
.chatv__on { font-size: 11px; color: #7bd88f; }
.chatv__body { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.chatv__msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.4; background: rgba(255, 255, 255, 0.08); align-self: flex-start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.chatv__msg--me { align-self: flex-end; background: rgba(230, 124, 44, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 200, 150, 0.16); }
.chatv__input { margin-top: 4px; padding: 12px 15px; border-radius: 999px; font-size: 12px; color: var(--ink-3); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }

/* --- daily digest card (nutritionist side) --- */
.digest { width: min(400px, 100%); border-radius: 24px; padding: 24px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px; }
.digest__head { display: flex; align-items: center; justify-content: space-between; }
.digest__title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.digest__pill { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; color: #0a0a0a; background: radial-gradient(circle at 40% 35%, #ffd9a8, var(--accent) 75%); }
.digest__line { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-bottom: 2px; }
.digest__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.digest__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.digest__dot--ok { background: #7bd88f; box-shadow: 0 0 8px rgba(123, 216, 143, 0.5); }
.digest__dot--warn { background: var(--accent); box-shadow: 0 0 8px rgba(230, 124, 44, 0.5); }
.digest__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.digest__body b { font-size: 14px; }
.digest__body small { font-size: 12px; color: var(--ink-3); }
.digest__tag { font-size: 11px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.digest__tag--ok { color: #7bd88f; box-shadow: inset 0 0 0 1px rgba(123, 216, 143, 0.35); }
.digest__tag--warn { color: #ffcaa0; background: rgba(230, 124, 44, 0.12); box-shadow: inset 0 0 0 1px rgba(230, 124, 44, 0.4); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
}

/* ============================================================
   Pills
   ============================================================ */
.pill { display: inline-flex; align-items: center; padding: 5px 15px; border-radius: 999px; font-family: var(--serif); font-size: 0.66em; font-weight: 500; font-style: italic; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.pill--outline { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.pill--solid { background: var(--ink); color: #0a0a0a; vertical-align: middle; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { isolation: isolate; overflow: hidden; }
.pricing__backdrop {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 40% at 20% 32%, rgba(230, 150, 80, 0.22), transparent 62%),
    radial-gradient(55% 45% at 82% 60%, rgba(180, 110, 55, 0.2), transparent 64%),
    radial-gradient(60% 50% at 50% 100%, rgba(120, 70, 35, 0.28), transparent 60%);
  filter: blur(30px);
}
.plans { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin-inline: auto; }
.plan {
  position: relative; border-radius: 28px; padding: 34px;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 70px rgba(0, 0, 0, 0.4);
  display: flex; flex-direction: column;
}
.plan--feature { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 30px 70px rgba(0, 0, 0, 0.45); }
.plan__flags { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__tag { font-size: 11px; letter-spacing: 0.14em; font-variant-caps: small-caps; text-transform: none; color: var(--ink-3); }
.plan__flag { align-self: flex-start; }
.plan__pitch { margin-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 34ch; }
.plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__was { font-family: var(--serif); font-size: 26px; color: var(--ink-3); text-decoration: line-through; }
.plan__amount { font-family: var(--serif); font-size: 46px; line-height: 1; }
.plan__cycle { color: var(--ink-3); font-size: 16px; }
.plan__annual { margin-top: 8px; color: var(--ink-3); font-size: 13px; }
.plan__list-label { margin-top: 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.plan__list { margin-top: 14px; list-style: none; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--accent-2); font-size: 13px; }
.plan__cta { margin-top: 26px; width: 100%; }
.plan__foot { margin-top: 16px; color: var(--ink-3); font-size: 12px; line-height: 1.5; }

/* ============================================================
   FAQ — centered single column
   ============================================================ */
.faq__wrap { max-width: 760px; }
.faq .heading { margin-bottom: clamp(24px, 4vw, 48px); }
.accordion { display: flex; flex-direction: column; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 4px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; color: var(--ink-2); transition: transform 0.3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { overflow: hidden; padding: 0 4px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 62ch; }

/* ============================================================
   CTA strip + footer
   ============================================================ */
.cta-strip { padding-block: clamp(80px, 12vw, 150px); text-align: center; }
.cta-strip__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-strip__title { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; }

.footer { border-top: 1px solid var(--line); padding-block: 48px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--ink-2); font-size: 14px; transition: color 0.2s; }
.footer__links a:hover { color: var(--ink); }
.footer__note { color: var(--ink-3); font-size: 13px; width: 100%; }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 80; width: min(920px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 16px 22px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.82); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s, transform 0.4s;
}
.cookie.is-hidden { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; }
.cookie__text { font-size: 14px; color: var(--ink-2); flex: 1; min-width: 240px; }
.cookie__text a { color: var(--ink); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }

@media (max-width: 560px) { .cookie { border-radius: 22px; } .cookie__actions { width: 100%; } .cookie__actions .btn { flex: 1; } }

/* ============================================================
   Reveal animation (0.7s, matches source easing)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__glow, .integrations__orb { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 28px; }
  .step--reverse .step__copy { order: 1; }
  .step--reverse .step__visual { order: 2; }
  .benefits { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

/* ============================================================
   Step visuals — ambient life + hover micro-interactions
   (float/pulse keyframes animate `transform`; hover states use
   the individual `translate` property so both compose)
   ============================================================ */

/* shared: the whole visual lifts when the step is hovered */
.step__visual > * { transition: translate 0.55s var(--ease); }
@media (hover: hover) {
  .step:hover .step__visual > * { translate: 0 -5px; }
}

/* --- Step 01 · integrations: tiles drift, hover draws them to the orb --- */
.integrations__tile {
  animation: tile-float 7s ease-in-out infinite;
  transition: translate 0.55s var(--ease), background 0.55s var(--ease), color 0.55s var(--ease);
}
.integrations__tile--b { animation-delay: -1.8s; }
.integrations__tile--c { animation-delay: -3.5s; }
.integrations__tile--d { animation-delay: -5.2s; }
@keyframes tile-float { 50% { transform: translateY(-7px); } }
.integrations__orb { transition: box-shadow 0.55s var(--ease); }
.integrations__msg { transition: translate 0.55s var(--ease); }
@media (hover: hover) {
  .integrations:hover .integrations__tile { background: rgba(255, 255, 255, 0.11); color: var(--ink); }
  .integrations:hover .integrations__tile--a { translate: 10px 8px; }
  .integrations:hover .integrations__tile--b { translate: -10px 8px; }
  .integrations:hover .integrations__tile--c { translate: 11px -2px; }
  .integrations:hover .integrations__tile--d { translate: -11px -2px; }
  .integrations:hover .integrations__orb { box-shadow: 0 0 96px rgba(230, 124, 44, 0.85); }
  .integrations:hover .integrations__msg { translate: 0 -3px; }
}

/* --- Step 02 · protocol: the stack breathes, hover fans it open --- */
.protocol__card--back { animation: sway-back 9s ease-in-out infinite; }
.protocol__card--mid { animation: sway-mid 9s ease-in-out infinite; }
@keyframes sway-back { 50% { transform: rotate(-4.2deg) translateY(3px); } }
@keyframes sway-mid { 50% { transform: rotate(2.9deg) translateY(-3px); } }
.protocol__card { transition: translate 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.protocol__card--front .pill--outline { transition: box-shadow 0.5s var(--ease), color 0.5s var(--ease); }
.protocol__row { transition: background 0.45s var(--ease); }
@media (hover: hover) {
  .protocol:hover .protocol__card--back { translate: -10px 6px; }
  .protocol:hover .protocol__card--mid { translate: 8px -4px; }
  .protocol:hover .protocol__card--front { translate: 0 -7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px rgba(0, 0, 0, 0.6); }
  .protocol:hover .pill--outline { color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(255, 214, 160, 0.55), 0 0 14px rgba(230, 124, 44, 0.35); }
  .protocol:hover .protocol__row { background: rgba(255, 255, 255, 0.08); }
  .protocol:hover .protocol__group:first-of-type .protocol__row:nth-child(2) { transition-delay: 0.06s; }
  .protocol:hover .protocol__group:first-of-type .protocol__row:nth-child(3) { transition-delay: 0.12s; }
  .protocol:hover .protocol__group:last-of-type .protocol__row { transition-delay: 0.18s; }
}

/* --- Step 03 · chat: bubbles drift, Lora is "typing"; hover lifts the thread --- */
.chat__bubble {
  animation: bubble-drift 8s ease-in-out infinite;
  transition: translate 0.45s var(--ease), background 0.45s var(--ease);
}
.chat__bubble:nth-child(2) { animation-delay: -2.6s; }
.chat__bubble:nth-child(3) { animation-delay: -5.3s; }
@keyframes bubble-drift { 50% { transform: translateY(-3px); } }
.chat__typing { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 14px 18px; animation: none; }
.chat__typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
  animation: typing-bounce 1.3s ease-in-out infinite;
}
.chat__typing span:nth-child(2) { animation-delay: 0.18s; }
.chat__typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-bounce { 30% { transform: translateY(-4px); } }
@media (hover: hover) {
  .chat:hover .chat__bubble { translate: 0 -3px; }
  .chat:hover .chat__bubble:nth-child(2) { transition-delay: 0.06s; }
  .chat:hover .chat__bubble:nth-child(3) { transition-delay: 0.12s; }
  .chat:hover .chat__bubble:nth-child(4) { transition-delay: 0.18s; }
  .chat:hover .chat__bubble--mine { background: rgba(255, 255, 255, 0.2); }
}

/* --- Step 04 · sync: named sources stream into the orb --- */
.sync {
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(230, 124, 44, 0.14), transparent 72%),
    var(--glass);
}
.sync__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sync__lines path {
  fill: none; stroke: rgba(255, 214, 160, 0.32); stroke-width: 1.5;
  stroke-dasharray: 2 11;
  animation: sync-flow 2.4s linear infinite;
  transition: stroke 0.55s var(--ease);
}
@keyframes sync-flow { to { stroke-dashoffset: -13; } }
.sync__orb {
  position: absolute; z-index: 2; top: 48%; left: 50%; margin: -45px 0 0 -45px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffe0b0, var(--accent) 55%, #7a3d12);
  box-shadow: 0 0 60px rgba(230, 124, 44, 0.6);
  animation: pulse 4s ease-in-out infinite;
  transition: box-shadow 0.55s var(--ease);
}
.sync__chip {
  position: absolute; z-index: 3; width: max-content;
  padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  animation: tile-float 7s ease-in-out infinite;
  transition: translate 0.5s var(--ease), background 0.5s var(--ease),
    color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.sync__chip--a { top: 15%; left: 10%; }
.sync__chip--b { top: 15%; right: 12%; animation-delay: -1.4s; }
.sync__chip--c { top: 44%; left: 6%; animation-delay: -2.8s; }
.sync__chip--d { top: 44%; right: 6%; animation-delay: -4.2s; }
.sync__chip--e { top: 68%; left: 50%; margin-left: -52px; animation-delay: -5.6s; }
@media (hover: hover) {
  .sync:hover .sync__lines path { stroke: rgba(255, 214, 160, 0.6); }
  .sync:hover .sync__orb { box-shadow: 0 0 96px rgba(230, 124, 44, 0.85); }
  .sync:hover .sync__chip { background: rgba(255, 255, 255, 0.11); color: var(--ink); }
  .sync__chip:hover {
    translate: 0 -4px; color: var(--accent-2);
    box-shadow: inset 0 0 0 1px rgba(255, 214, 160, 0.5), 0 8px 20px rgba(0, 0, 0, 0.45);
  }
}

/* --- respect reduced motion for all step-visual life --- */
@media (prefers-reduced-motion: reduce) {
  .integrations__tile, .protocol__card--back, .protocol__card--mid,
  .chat__bubble, .chat__typing span, .sync__chip, .sync__lines path, .sync__orb {
    animation: none;
  }
  .step__visual > *, .integrations__tile, .integrations__msg,
  .protocol__card, .chat__bubble, .sync__chip {
    transition: none;
  }
}

/* --- Step 04 · brand icons inside the chips --- */
.sync__chip { display: inline-flex; align-items: center; gap: 7px; }
.sync__chip img {
  width: 16px; height: 16px; border-radius: 4px; display: block;
  filter: saturate(0.85);
  transition: filter 0.5s var(--ease);
}
.sync__chip:hover img { filter: saturate(1); }
.sync__chip--e { margin-left: -62px; }

/* ============================================================
   TestFlight CTA (app section)
   The href is a placeholder until the build is live — the
   [data-testflight] hook is there so it is greppable.
   ============================================================ */
.tf { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tf__cta {
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s;
}
.tf__cta:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.07); }
.tf__mark { width: 17px; height: 17px; flex: 0 0 auto; }
.tf__note { font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink-3); }

/* placeholder state — visible to us, invisible to a visitor */
.tf__cta[href="#"]::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-left: 2px;
  box-shadow: 0 0 0 0 rgba(230, 124, 44, 0.6);
  animation: tfPending 2.4s ease-in-out infinite;
}
@keyframes tfPending {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 124, 44, 0.55); }
  60%      { box-shadow: 0 0 0 6px rgba(230, 124, 44, 0); }
}
@media (prefers-reduced-motion: reduce) { .tf__cta[href="#"]::after { animation: none; } }
