/* Oath — marketing site. Dark, quiet, one accent: the app's green. */

:root {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --surface: #111114;
  --surface-2: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --green: #34c759;
  --green-hi: #4ade80;
  --radius: 28px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(52, 199, 89, 0.35); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 48px); }
.green { color: var(--green); }
.muted { color: var(--dim); }
.center { text-align: center; }

/* ── Type ─────────────────────────────────────────── */
.h1, .hero__title {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0;
}
.h2 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin: 0;
}
.h3 { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 750; margin: 0 0 14px; }
.h4 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; margin: 0 0 8px; }
.h5 { font-size: 18px; letter-spacing: -0.01em; font-weight: 650; margin: 18px 0 6px; }
.body { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; margin: 0; }
.body-sm { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.fine { color: var(--dim); font-size: 13px; margin: 14px 0 0; }
.head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 760px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .body { margin-top: 18px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--light { background: #fff; color: #0a0a0b; box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12); }
.btn--light:hover { box-shadow: 0 10px 40px rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.btn__apple { width: 18px; height: 18px; margin-top: -2px; }
.btn--sm .btn__apple { width: 15px; height: 15px; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--line);
}
.nav__inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.logo__mark { width: 26px; height: 26px; }
.logo__word { font-family: var(--serif); font-size: 15px; letter-spacing: 0.32em; }

/* ── Phones ──────────────────────────────────────── */
/* A drawn iPhone 17 Pro: titanium band, black bezel, glass that's exactly the
   402×874 screen's shape so screenshots and the recording fill it uncropped. */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.175);
  background:
    linear-gradient(145deg, #5a5a60 0%, #232326 38%, #3d3d42 62%, #18181a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 calc(var(--w) * 0.012) #0e0e10,
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
.phone__screen {
  position: relative;
  aspect-ratio: 402 / 874;
  border-radius: calc(var(--w) * 0.14);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.phone__screen > img, .phone__screen > video { width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { /* faint glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 32%);
}
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(#5d5d62, #2a2a2e); }
.phone__btn--action { left: -2px; top: 17%; height: 4%; }
.phone__btn--up { left: -2px; top: 24%; height: 7.5%; }
.phone__btn--down { left: -2px; top: 33.5%; height: 7.5%; }
.phone__btn--power { right: -2px; top: 26%; height: 11%; }
.phone__island {
  position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%);
  width: 31%; aspect-ratio: 125 / 37; border-radius: 999px; background: #000; z-index: 3;
}
.phone__status {
  position: absolute; inset: 0 0 auto; height: 7.2%; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.4% 8% 0 11%;
  font-weight: 600; font-size: calc(var(--w) * 0.05); color: #fff;
}
.phone__icons { display: flex; gap: calc(var(--w) * 0.014); align-items: center; }
.phone__icons svg { height: calc(var(--w) * 0.036); width: auto; fill: currentColor; }

/* ── Hero ────────────────────────────────────────── */
.hero { position: relative; padding: clamp(96px, 12vh, 140px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 42%, rgba(52, 199, 89, 0.22), transparent 70%),
    radial-gradient(30% 35% at 20% 10%, rgba(52, 199, 89, 0.06), transparent 70%);
  filter: blur(10px);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 48px;
  grid-template-areas: "copy stage" "more stage"; grid-template-rows: auto auto; align-content: center;
}
.hero__copy { grid-area: copy; align-self: end; }
.hero__more { grid-area: more; align-self: start; }
.hero__stage { grid-area: stage; align-self: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); font-weight: 500;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0.05); } }
.hero__sub { margin: 28px 0 36px; max-width: 520px; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fine { margin: 20px 0 0; font-size: 14px; color: var(--dim); }

.hero__stage { position: relative; display: grid; justify-items: center; }
/* Sized to the window height too, so the phone and its four beats sit above the fold. */
.phone--hero { --w: clamp(250px, min(27vw, calc((100svh - 300px) * 0.44)), 340px); transform: rotate(-2deg); }
.phone--hero::before { /* the green the recording ends on, pooling under the phone */
  content: ""; position: absolute; inset: 10% -30% -10%; z-index: -1;
  background: radial-gradient(50% 45% at 50% 55%, rgba(52, 199, 89, 0.3), transparent 70%);
  filter: blur(30px);
}

.beats {
  list-style: none; margin: 28px 0 0; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(12px);
}
.beat {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 6px 14px; border-radius: 14px;
  font-size: 13px; color: var(--dim); text-align: center; line-height: 1.25;
  transition: color 0.35s, background 0.35s;
}
.beat b { font-weight: 650; }
.beat__n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: 12px; font-weight: 700; border: 1.5px solid var(--line-2);
  transition: all 0.35s var(--ease);
}
.beat__n svg { width: 14px; height: 14px; }
.beat__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.beat__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--green); }
.beat.is-on { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.beat.is-on .beat__n, .beat.is-done .beat__n { border-color: var(--green); color: var(--green); }
.beat.is-done { color: var(--muted); }
.beat:last-child.is-on .beat__n { background: var(--green); color: #04130a; box-shadow: 0 0 20px rgba(52, 199, 89, 0.6); }

.toast {
  position: absolute; top: 18%; left: max(-10px, calc(50% - 300px)); z-index: 4;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 20px; background: rgba(28, 28, 32, 0.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast b { display: block; font-size: 15px; }
.toast small { display: block; font-size: 12.5px; color: var(--muted); }
.toast__tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #04130a; }
.toast__tick svg { width: 18px; height: 18px; }

/* ── Strip ───────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 30px 26px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item b { display: block; font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.strip__item span { color: var(--dim); font-size: 14px; }

/* ── How it works ────────────────────────────────── */
.how { padding: clamp(100px, 13vw, 170px) 0 clamp(60px, 8vw, 100px); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: 0.3; transition: opacity 0.5s; }
.step.is-on { opacity: 1; }
.step__n { margin: 0 0 18px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em; color: var(--green); }
.tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.phone--inline { display: none; }
.story__stage { position: relative; }
.story__sticky { position: sticky; top: calc(50vh - 340px); height: 680px; display: grid; place-items: center; }
.story__glow { position: absolute; inset: 15% 5%; background: radial-gradient(closest-side, rgba(52, 199, 89, 0.16), transparent); filter: blur(20px); }
.phone--story { --w: 310px; }
.story__shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.story__shot.is-on { opacity: 1; transform: none; }
.story__dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: height 0.4s var(--ease), background 0.4s; }
.story__dots i.is-on { height: 22px; background: var(--green); }

/* ── Bento ───────────────────────────────────────── */
.features { padding: clamp(80px, 10vw, 140px) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  padding: 34px;
  isolation: isolate;
}
.tile::before { /* soft light from above */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 50% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.tile__kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--green); letter-spacing: 0.02em; }
.ico-flame { width: 14px; height: 14px; color: #ff8a2b; }
.tile__text { position: relative; z-index: 2; max-width: 360px; }
.tile--streak { grid-column: span 6; min-height: 560px; }
.tile--stats { grid-column: span 6; min-height: 560px; }
.tile--widgets { grid-column: span 7; min-height: 600px; }
.tile--modes { grid-column: span 5; min-height: 600px; }
.tile--small { grid-column: span 3; padding: 28px; }

/* A sheet screenshot, cropped to its bottom half so the sheet rises out of the tile. */
.tile__shot--sheet {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: min(400px, 84%); height: calc(100% - 196px); overflow: hidden;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--line);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.tile__shot--sheet img { width: 100%; }

.widget-pair { position: absolute; left: 34px; right: 34px; bottom: -1px; display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.mini-phone {
  width: min(262px, 46%); border-radius: 40px 40px 0 0; overflow: hidden;
  padding: 10px 10px 0; background: linear-gradient(145deg, #5a5a60, #1e1e21 45%, #3a3a3f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.mini-phone img { width: 100%; border-radius: 32px 32px 0 0; }
.mini-phone--lift { transform: translateY(-34px); }

.compare {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: min(262px, 70%); aspect-ratio: 900 / 1500; overflow: hidden;
  border-radius: 40px 40px 0 0; border: 8px solid #222226; border-bottom: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 30px 60px rgba(0, 0, 0, 0.6);
  touch-action: pan-y;
}
.compare img { position: absolute; inset: 0 0 auto; width: 100%; }
.compare__top { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; transform: translateX(-1px);
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.5); pointer-events: none;
}
.compare__handle i {
  position: absolute; top: 46%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.compare__handle i::before, .compare__handle i::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid #111; border-width: 0 0 2px 2px;
}
.compare__handle i::before { left: 9px; transform: translateY(-50%) rotate(45deg); }
.compare__handle i::after { right: 9px; transform: translateY(-50%) rotate(-135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Small tile visuals */
.chipset { display: grid; gap: 10px; }
.ochip {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 16px;
  background: #1f1f24; border: 1px solid var(--line); font-weight: 650; font-size: 15px;
}
.ochip__e { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2c2c32; font-size: 15px; }
.ochip__n { margin-left: auto; display: grid; justify-items: center; padding: 4px 10px; border-radius: 999px; background: #2c2c32; font-size: 13px; line-height: 1.1; }
.ochip__n small { font-size: 7px; letter-spacing: 0.08em; color: var(--dim); }
.ochip--met .ochip__n { background: rgba(52, 199, 89, 0.16); color: var(--green); }
.split { display: flex; padding: 4px; border-radius: 14px; background: #1f1f24; border: 1px solid var(--line); }
.split span { flex: 1; text-align: center; padding: 12px 0; border-radius: 10px; font-weight: 650; font-size: 15px; color: var(--dim); }
.split .split__a { background: #fff; color: #0a0a0b; animation: flip-seg 6s infinite var(--ease); }
.split .split__b { animation: flip-seg-b 6s infinite var(--ease); }
@keyframes flip-seg { 0%, 45% { background: #fff; color: #0a0a0b; } 50%, 95% { background: transparent; color: var(--dim); } }
@keyframes flip-seg-b { 0%, 45% { background: transparent; color: var(--dim); } 50%, 95% { background: #fff; color: #0a0a0b; } }
.notif {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 12px; border-radius: 18px; background: rgba(48, 48, 54, 0.7); border: 1px solid var(--line);
}
.notif__icon { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: #000; color: #fff; }
.notif b { display: block; font-size: 13.5px; }
.notif small { display: block; font-size: 12px; color: var(--muted); }
.notif em { font-style: normal; font-size: 11px; color: var(--dim); align-self: start; }
.lockup { display: grid; place-items: center; height: 58px; width: 58px; border-radius: 18px; background: rgba(52, 199, 89, 0.12); color: var(--green); }
.lockup svg { width: 28px; height: 28px; }

/* ── Member card ─────────────────────────────────── */
.member { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(60% 60% at 70% 50%, rgba(52, 199, 89, 0.08), transparent 70%); }
.member__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.member__copy .body { margin-top: 24px; max-width: 460px; }
.namefield { display: grid; gap: 8px; margin-top: 32px; max-width: 320px; }
.namefield span { font-size: 13px; color: var(--dim); font-weight: 600; letter-spacing: 0.04em; }
.namefield input {
  height: 52px; padding: 0 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2);
  font-size: 18px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.namefield input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.15); }
.member__stage { perspective: 1400px; display: grid; justify-items: center; }
.member__hint { margin: 26px 0 0; font-size: 13px; color: var(--dim); }

.mcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  width: min(520px, 100%); aspect-ratio: 1.586; cursor: pointer; outline: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 40px rgba(52, 199, 89, 0.18));
}
.mcard.is-tracking { transition: transform 0.08s linear; }
.mcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.mcard.is-flipped .mcard__inner { transform: rotateY(180deg); }
.mcard__face {
  position: absolute; inset: 0; border-radius: 6.5% / 10.3%; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 6.2% 6.4%;
  color: #fff;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(52, 199, 89, 0.45), transparent 65%),
    radial-gradient(60% 70% at 0% 100%, rgba(52, 199, 89, 0.16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #23262a, #0c0d0f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  container-type: inline-size;
}
.mcard__back { transform: rotateY(180deg); padding: 0; }
.mcard__mark { position: absolute; right: -14%; bottom: -36%; width: 82%; color: rgba(255, 255, 255, 0.03); pointer-events: none; }
.mcard__mark svg { width: 100%; height: auto; aspect-ratio: 1; }
.mcard__top { display: flex; align-items: center; justify-content: space-between; }
.mcard__brand { display: inline-flex; align-items: center; gap: 2.4cqw; font-family: var(--serif); font-size: 3.3cqw; letter-spacing: 0.34em; }
.mcard__brand svg { width: 5.2cqw; height: 5.2cqw; }
.mcard__holo {
  width: 8.6cqw; height: 8.6cqw; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle at calc(30% + var(--hx, 0) * 30%) 25%, rgba(255, 255, 255, 0.6), transparent 55%),
    conic-gradient(from calc(var(--ha, 0) * 1deg), #b8f5d0, #a9d8ff, #e3c6ff, #ffe3a8, #b8f5d0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.mcard__holo svg { width: 62%; height: 62%; color: rgba(12, 13, 15, 0.55); }
.mcard__name { margin-top: 13cqw; font-size: 7.4cqw; font-weight: 750; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard__tier { margin-top: 1.6cqw; font-size: 2.3cqw; font-weight: 700; letter-spacing: 0.16em; color: var(--green); }
.mcard__foot { position: absolute; left: 6.4%; right: 6.4%; bottom: 7%; display: flex; align-items: flex-end; gap: 5cqw; }
.mcard__stat b { display: flex; align-items: center; gap: 0.6cqw; font-size: 4.6cqw; font-weight: 700; font-variant-numeric: tabular-nums; }
.mcard__stat b .ico-flame { width: 3.2cqw; height: 3.2cqw; }
.mcard__stat span { display: block; margin-top: 0.4cqw; font-size: 1.9cqw; font-weight: 700; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.45); }
.mcard__week { margin-left: auto; display: flex; align-items: flex-end; gap: 1cqw; height: 6.4cqw; }
.mcard__week i { width: 1.2cqw; height: calc(30% + var(--h) * 70%); border-radius: 1cqw; background: var(--green); opacity: 0.85; }
.mcard__week i.is-today { opacity: 1; box-shadow: 0 0 1.4cqw rgba(52, 199, 89, 0.9); }
.mcard__sheen {
  position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: plus-lighter;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 44%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.05) 56%, transparent 62%);
  animation: sheen 5.5s var(--ease) infinite;
}
.mcard.is-tracking .mcard__sheen { animation: none; transform: translate(calc((var(--mx) - 50%) * 0.9), calc((var(--my) - 50%) * 0.6)); }
@keyframes sheen { 0% { transform: translate(-45%, -30%); } 32%, 100% { transform: translate(45%, 30%); } }
.mcard__stripe { display: block; height: 19%; margin-top: 7%; background: linear-gradient(#050506, #1a1b1e 50%, #050506); }
.mcard__certify { margin: 4.4cqw 6.4cqw 0; font-size: 1.9cqw; font-weight: 700; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45); }
.mcard__sig {
  margin: 1.4cqw 6.4cqw 0; padding: 1.2cqw 3cqw; border-radius: 1.3cqw;
  background: linear-gradient(90deg, #f4f1e8, #e4dfd0);
  font-family: "Bradley Hand", "Segoe Script", "Snell Roundhand", cursive; font-weight: 700;
  font-size: 5.6cqw; color: #1c2a44; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mcard__keeps { margin: 1.8cqw 6.4cqw 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 3.4cqw; color: rgba(255, 255, 255, 0.85); }
.mcard__num { position: absolute; left: 6.4cqw; bottom: 6cqw; }
.mcard__num span { display: block; font-size: 1.8cqw; font-weight: 700; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); }
.mcard__num b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 3.1cqw; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.85); }

/* ── Pricing ─────────────────────────────────────── */
.pricing { padding: clamp(90px, 12vw, 150px) 0; border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 18px; }
.plan {
  position: relative; padding: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.plan--best {
  background: linear-gradient(180deg, rgba(52, 199, 89, 0.12), rgba(52, 199, 89, 0.02) 60%), var(--surface);
  border-color: rgba(52, 199, 89, 0.45);
  box-shadow: 0 30px 80px -30px rgba(52, 199, 89, 0.35);
}
.plan__badge { position: absolute; top: -13px; left: 34px; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #04130a; font-size: 12px; font-weight: 700; }
.plan__name { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan__price { margin: 10px 0 8px; font-size: 52px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { font-size: 17px; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-left: 4px; }
.plan__note { margin: 0; color: var(--muted); font-size: 15px; }
.includes {
  list-style: none; padding: 0; margin: 46px auto; max-width: 720px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px;
}
.includes li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.includes svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--dim); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 24px; color: var(--muted); line-height: 1.65; max-width: 640px; }

/* ── Final ───────────────────────────────────────── */
.final { position: relative; padding: clamp(110px, 14vw, 190px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final__glow { position: absolute; inset: 20% 10% -30%; background: radial-gradient(closest-side, rgba(52, 199, 89, 0.22), transparent); filter: blur(30px); }
.final__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.ring { width: 96px; height: 96px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring__track { stroke: rgba(255, 255, 255, 0.08); }
.ring__fill { stroke: var(--green); stroke-dasharray: 327; stroke-dashoffset: 327; filter: drop-shadow(0 0 8px rgba(52, 199, 89, 0.6)); transition: stroke-dashoffset 2.4s var(--ease) 0.2s; }
.final.is-in .ring__fill { stroke-dashoffset: 0; }

/* ── Footer ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; margin-left: auto; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__fine { width: 100%; margin: 6px 0 0; color: var(--dim); font-size: 13px; }

/* ── Reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.reveal--up { transform: translateY(50px) scale(0.98); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .hero { padding-top: 96px; }
  /* Phone straight after the headline: the recording is the first thing you see. */
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "more"; row-gap: 34px; text-align: center; }
  .hero__copy, .hero__more { display: grid; justify-items: center; }
  .pill { margin-bottom: 20px; }
  .hero__sub { margin-top: 0; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .phone--hero { --w: min(300px, 74vw); transform: none; }
  .toast { left: 0; top: 10%; }
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .strip__item { padding: 22px 18px; border-left: 0; }
  .strip__item:nth-child(even) { border-left: 1px solid var(--line); }
  .strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .strip__item:first-child { padding-left: 18px; }
  .story { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .step { min-height: 0; opacity: 1; max-width: none; padding: 30px 0 60px; }
  .phone--inline { display: block; --w: min(290px, 72vw); margin: 40px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tile--streak, .tile--stats, .tile--widgets, .tile--modes { grid-column: span 2; min-height: 540px; }
  .tile--small { grid-column: span 1; }
  .member__grid { grid-template-columns: 1fr; gap: 48px; }
  .member__copy { text-align: center; display: grid; justify-items: center; }
  .includes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .beats { grid-template-columns: repeat(2, 1fr); }
  .toast { display: none; }
  .tile { padding: 26px; }
  .tile--small { grid-column: span 2; }
  .widget-pair { left: 16px; right: 16px; gap: 10px; }
  .mini-phone { border-radius: 30px 30px 0 0; padding: 7px 7px 0; }
  .mini-phone img { border-radius: 24px 24px 0 0; }
  .plans { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; max-width: 300px; }
  .faq summary { font-size: 17px; }
  .footer__links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mcard__sheen, .split span, .pill__dot { animation: none; }
  .story__shot, .ring__fill { transition: none; }
}
