/* ==========================================================================
   LoopGain — black & white, Lato light, deck navy & sky blues.
   ========================================================================== */

:root {
  --ink: #000;
  --ink-2: #212121;
  --ink-3: #5f6368;
  --paper: #fff;
  --paper-2: #f5f7fa;
  --line: #e5e5e5;

  /* The deck */
  --navy: #0d2a5c;
  --navy-2: #143a7a;
  --blue: #33629d;
  --sky: #5bb5ea;
  --sky-2: #a9d3f0;
  --mist: #d6e9f8;
  --red: #e5383b;

  /* App themes */
  --rose: #fdeeee;
  --rose-ink: #d93a3f;
  --cream: #fff4e6;
  --cream-ink: #c77a14;

  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(13, 42, 92, 0.08), 0 12px 32px -8px rgba(13, 42, 92, 0.28);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.inf {
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: translateY(0.02em);
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 8px;
  border-radius: 8px;
  background: currentColor;
  box-shadow: 36px 0 0 -1px currentColor;
  margin-right: 34px;
  opacity: 0.9;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-3);
  max-width: 60ch;
}

.hl {
  background: linear-gradient(transparent 60%, var(--mist) 60%);
  padding: 0 0.1em;
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head .lead {
  margin: 22px 0 0;
}
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid var(--bg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn.light {
  --bg: var(--paper);
  --fg: var(--ink);
}
.btn.ghost {
  background: transparent;
  color: var(--bg);
}
.btn.ghost.light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn.ghost.light:hover {
  border-color: var(--paper);
}
.btn.navy {
  --bg: var(--navy);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid #333;
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.6);
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.store small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.store b {
  font-size: 1.02rem;
  font-weight: 700;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.nav .logo img {
  height: 30px;
  width: auto;
  filter: invert(1);
  transition: filter 0.4s;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-links .btn {
  padding: 9px 18px;
  margin-left: 8px;
  font-size: 0.9rem;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
.nav.solid .logo img {
  filter: none;
}
.nav.solid .nav-links a {
  color: var(--ink-3);
}
.nav.solid .nav-links a:hover,
.nav.solid .nav-links a.active {
  color: var(--ink);
  background: rgba(13, 42, 92, 0.07);
}
.nav.solid .nav-links .btn {
  color: var(--paper);
  background: var(--ink);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), background 0.3s, top 0.35s var(--ease);
  content: '';
}
.nav-toggle span {
  top: 21px;
}
.nav-toggle span::before {
  left: 0;
  top: -7px;
}
.nav-toggle span::after {
  left: 0;
  top: 7px;
}
.nav.solid .nav-toggle span,
.nav.solid .nav-toggle span::before,
.nav.solid .nav-toggle span::after {
  background: var(--ink);
}
.nav.open .nav-toggle span {
  background: transparent !important;
}
.nav.open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav.open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--navy), var(--sky), var(--red));
  z-index: 60;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at var(--mx, 70%) var(--my, 40%), rgba(91, 181, 234, 0.16), transparent 70%),
    radial-gradient(800px 500px at 85% 10%, rgba(20, 58, 122, 0.55), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(229, 56, 59, 0.08), transparent 70%);
  transition: background 0.2s;
}
.hero-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding-top: 110px;
  padding-bottom: 20px;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.12s;
}
.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.24s;
}
.hero h1 em {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(100deg, var(--sky) 0%, #fff 45%, var(--sky-2) 60%, var(--sky) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}
.strike {
  position: relative;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
}
.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 0.07em;
  background: var(--red);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: strike 0.7s 1.3s var(--ease) forwards;
}
@keyframes strike {
  to {
    transform: scaleX(1);
  }
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}
@keyframes sheen {
  to {
    background-position: -220% 0;
  }
}
.hero p.sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 34em;
  margin: 28px 0 36px;
  opacity: 0;
  animation: fade 1s 0.5s var(--ease) forwards;
}
.hero p.sub b {
  color: #fff;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fade 1s 0.7s var(--ease) forwards;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  opacity: 0;
  animation: fade 1s 0.9s var(--ease) forwards;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(91, 181, 234, 0.2);
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The floating 3D deck */
.deck-stage {
  position: relative;
  height: clamp(380px, 46vw, 560px);
  perspective: 1400px;
  opacity: 0;
  animation: fade 1.2s 0.4s var(--ease) forwards;
}
.deck {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg));
  transition: transform 0.6s var(--ease);
}
.pcard {
  --w: clamp(200px, 20vw, 270px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  aspect-ratio: 5 / 7;
  margin: calc(var(--w) * -0.7) 0 0 calc(var(--w) / -2);
  border-radius: 18px;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) rotate(var(--r, 0deg));
  transition: transform 0.9s var(--ease);
  overflow: hidden;
  backface-visibility: hidden;
}
.pcard::before {
  /* the drip pattern from the box */
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 55%;
  height: 100%;
  opacity: 0.14;
  background:
    radial-gradient(circle at 50% 50%, #fff 3px, transparent 3.5px) 0 0 / 14px 22px,
    linear-gradient(#fff, #fff) 4px 0 / 6px 60% no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%);
  mask: linear-gradient(90deg, transparent, #000 60%);
}
.pcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 48%, transparent 60%);
  background-size: 250% 100%;
  background-position: var(--shine, 100%) 0;
  pointer-events: none;
  transition: background-position 0.4s;
}
.pcard .k {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.lvl {
  display: inline-flex;
  gap: 4px;
}
.lvl i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.lvl i.off {
  opacity: 0.3;
}
.pcard .q {
  font-weight: 700;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.35;
  position: relative;
}
.pcard .brand {
  position: relative;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 10px;
  font-weight: 700;
}
.pcard.c-motto {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
}
.pcard.c-pos {
  background: linear-gradient(160deg, #6cc3f2, var(--sky));
  color: var(--navy);
}
.pcard.c-imp {
  background: linear-gradient(160deg, #bfe0f6, var(--sky-2));
  color: var(--navy);
}
.pcard.c-per {
  background: linear-gradient(160deg, #eef6fd, var(--mist));
  color: var(--navy);
}
.pcard.c-pos .k,
.pcard.c-imp .k,
.pcard.c-per .k {
  color: var(--blue);
}
.pcard.c-pos::before,
.pcard.c-imp::before,
.pcard.c-per::before {
  filter: invert(1);
  opacity: 0.08;
}

.deck .pcard:nth-child(1) {
  --x: -38%;
  --y: 6%;
  --z: -60px;
  --r: -14deg;
}
.deck .pcard:nth-child(2) {
  --x: -12%;
  --y: -2%;
  --z: -20px;
  --r: -4deg;
}
.deck .pcard:nth-child(3) {
  --x: 16%;
  --y: 4%;
  --z: 20px;
  --r: 6deg;
}
.deck .pcard:nth-child(4) {
  --x: 42%;
  --y: 12%;
  --z: 60px;
  --r: 15deg;
}
.deck:hover .pcard:nth-child(1) {
  --x: -52%;
  --r: -18deg;
}
.deck:hover .pcard:nth-child(2) {
  --x: -18%;
  --y: -8%;
}
.deck:hover .pcard:nth-child(3) {
  --x: 20%;
  --y: -4%;
}
.deck:hover .pcard:nth-child(4) {
  --x: 56%;
  --r: 20deg;
}
.deck .pcard {
  animation: bob 7s ease-in-out infinite;
}
.deck .pcard:nth-child(2) {
  animation-delay: -1.5s;
}
.deck .pcard:nth-child(3) {
  animation-delay: -3s;
}
.deck .pcard:nth-child(4) {
  animation-delay: -4.5s;
}
@keyframes bob {
  50% {
    translate: 0 -12px;
  }
}

/* Drips */
.drips {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(150px, 20vw, 240px);
  margin-top: -1px;
}
.hero .drips {
  background: var(--paper);
}
.drips.up {
  transform: scaleY(-1);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(170px, 22vw, 260px);
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 26px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  background: var(--paper-2);
  color: var(--navy);
}
.chip i {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}
.chip.pos i {
  background: var(--sky);
  color: var(--navy);
}
.chip.imp i {
  background: var(--sky-2);
  color: var(--navy);
}
.chip.per i {
  background: var(--mist);
  color: var(--navy);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Apps ---------- */

.apps-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.box-float {
  position: relative;
}
.box-float img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 40px rgba(13, 42, 92, 0.28));
  animation: floaty 8s ease-in-out infinite;
}
.box-float::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -10px;
  height: 30px;
  background: radial-gradient(closest-side, rgba(13, 42, 92, 0.22), transparent);
  animation: shadow 8s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: translateY(-16px) rotate(-1.5deg);
  }
}
@keyframes shadow {
  50% {
    transform: scaleX(0.85);
    opacity: 0.7;
  }
}
.apps-intro p {
  margin: 18px 0 0;
}
.apps-intro .big {
  font-size: 1.3rem;
  color: var(--ink);
}

.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app {
  --tone: var(--paper-2);
  --accent: var(--navy);
  position: relative;
  border-radius: 28px;
  background: var(--tone);
  padding: 30px 28px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  transform-style: preserve-3d;
}
.app:hover {
  box-shadow: 0 40px 80px -40px rgba(13, 42, 92, 0.45);
}
.app.teams {
  --tone: linear-gradient(170deg, #eaf4fc, #d4e7f7);
  --accent: var(--navy);
}
.app.couples {
  --tone: linear-gradient(170deg, #fff5f5, #fbe1e1);
  --accent: var(--rose-ink);
}
.app.families {
  --tone: linear-gradient(170deg, #fffaf2, #fde9cc);
  --accent: var(--cream-ink);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app-top img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
}
.app-top small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.app h3 {
  font-size: 1.9rem;
  font-weight: 300;
}
.app p {
  color: var(--ink-3);
  margin: 16px 0 20px;
  font-size: 0.98rem;
}
.app .stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.phone {
  position: relative;
  margin: auto auto -40px;
  width: 78%;
  border-radius: 34px 34px 0 0;
  padding: 10px 10px 0;
  background: #111;
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.7s var(--ease);
  transform: translateZ(30px);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 70px;
  height: 18px;
  margin-left: -35px;
  border-radius: 12px;
  background: #111;
  z-index: 2;
}
.phone img {
  border-radius: 26px 26px 0 0;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.app:hover .phone {
  transform: translateZ(30px) translateY(-14px);
}
.tablet {
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  background: #0b0b0b;
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.tablet img {
  border-radius: 16px;
}
.apps-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.callout {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.callout h3 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}
.callout p {
  color: rgba(255, 255, 255, 0.72);
}
.callout .price {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 18px 0 6px;
  background: linear-gradient(90deg, #fff, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.callout .price {
  white-space: nowrap;
}
.callout .price small {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}
.callout .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}
.callout .bg-img {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 52%;
  max-width: 340px;
  opacity: 0.95;
  transform: rotate(-8deg);
  pointer-events: none;
}
.callout .content {
  position: relative;
  max-width: 62%;
}

/* ---------- Draw the four ---------- */

.draw {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.draw::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(91, 181, 234, 0.25), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(0, 0, 0, 0.5), transparent 60%);
}
.draw .wrap {
  position: relative;
}
.draw h2,
.draw h3 {
  color: #fff;
}
.draw .eyebrow {
  color: var(--sky);
}
.draw .lead {
  color: rgba(255, 255, 255, 0.72);
}
.table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  perspective: 1600px;
}
.slot {
  position: relative;
  aspect-ratio: 5 / 7;
}
.flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
  cursor: pointer;
}
.slot.down .flip {
  transform: rotateY(180deg);
}
.flip:hover {
  translate: 0 -8px;
}
.flip .pcard {
  --w: 100%;
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  left: 0;
  top: 0;
  transform: none;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}
.flip .back {
  transform: rotateY(180deg);
  background: var(--navy);
  color: #fff;
  padding: 0;
  justify-content: flex-start;
}
.flip .back::before,
.flip .back::after {
  display: none;
}
.back-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.back-logo {
  position: absolute;
  top: 9%;
  left: 10%;
  color: #ff5a5f;
  font-weight: 900;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  letter-spacing: -0.01em;
}
.back-title {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 24%;
  font-weight: 900;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.1;
}
.back-dots {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.back-dots i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #ff5a5f;
}
.draw-ui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend .lvl i {
  background: var(--sky);
}
.levels {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.levels button {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.levels button[aria-pressed='true'] {
  background: #fff;
  color: var(--navy);
}

.types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(60px, 8vw, 100px);
}
.type {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}
.type b {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.type b::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--c);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}
.type p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: clamp(60px, 8vw, 100px);
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.story-sticky {
  position: sticky;
  top: 110px;
}
.big-word {
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
  margin: 10px 0 24px;
}
.big-word small {
  display: block;
  font-size: 0.32em;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 8px;
}
.reveal-text p {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  margin: 0 0 1.2em;
  font-weight: 400;
}
.reveal-text .w {
  color: #c9ccd1;
  transition: color 0.4s;
}
.reveal-text .w.on {
  color: var(--ink);
}
.reveal-text strong .w.on {
  color: var(--navy);
}
.envision {
  list-style: none;
  padding: 0;
  margin: 10px 0 30px;
  display: grid;
  gap: 14px;
}
.envision li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--paper-2);
  font-size: 1.08rem;
}
.envision li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 26px;
  border-radius: 10px;
  background: var(--navy);
  margin-top: 2px;
}
.envision li:nth-child(2)::before {
  background: var(--sky);
}
.born {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
}
.born b {
  font-weight: 900;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000 center / cover;
  margin-top: 34px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s;
  opacity: 0.85;
}
.video:hover img {
  transform: scale(1.04);
  opacity: 1;
}
.video .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  animation: pulse 2.4s infinite;
}
.video .play svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  fill: var(--ink);
}
.video .cap {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ---------- Session ---------- */

.session {
  background: var(--paper-2);
}
.session-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.session-visual {
  position: sticky;
  top: 100px;
}
.round {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.round svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.round .ring-bg {
  stroke: var(--line);
}
.round .ring {
  stroke: url(#ringGrad);
  transition: stroke-dashoffset 0.9s var(--ease);
}
.round .tbl {
  fill: #fff;
  filter: drop-shadow(0 20px 30px rgba(13, 42, 92, 0.15));
}
.seat circle {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 2;
  transition: fill 0.5s, stroke 0.5s, transform 0.5s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}
.seat text {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink-3);
  text-anchor: middle;
  dominant-baseline: central;
  transition: fill 0.5s;
  font-family: Lato, sans-serif;
}
.seat.giving circle {
  fill: var(--sky);
  stroke: var(--sky);
}
.seat.giving text {
  fill: var(--navy);
}
.seat.focus circle {
  fill: var(--navy);
  stroke: var(--navy);
  transform: scale(1.18);
}
.seat.focus text {
  fill: #fff;
}
.timer {
  font-size: 64px;
  font-weight: 900;
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: central;
  letter-spacing: -2px;
  font-family: Lato, sans-serif;
  font-variant-numeric: tabular-nums;
}
.timer-sub {
  font-size: 15px;
  fill: var(--ink-3);
  text-anchor: middle;
  font-family: Lato, sans-serif;
  letter-spacing: 3px;
}
.mini-cards rect {
  transition: transform 0.6s var(--ease), opacity 0.4s;
  transform-box: fill-box;
  transform-origin: center;
}
.round-note {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.95rem;
  margin-top: 18px;
  min-height: 3em;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 26px 0 26px 76px;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity 0.5s;
  counter-increment: s;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  transition: background 0.5s, color 0.5s, transform 0.5s var(--ease);
}
.step.active {
  opacity: 1;
}
.step.active::before {
  background: var(--navy);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.step h3 {
  font-size: 1.2rem;
}
.step p {
  margin: 6px 0 0;
  color: var(--ink-3);
}
.tip {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border-left: 5px solid var(--red);
  font-size: 0.98rem;
}
.tip b {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 4px;
}

/* ---------- Benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit {
  border-radius: 26px;
  padding: 18px 18px 28px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(13, 42, 92, 0.35);
  border-color: transparent;
}
.benefit .art {
  border-radius: 18px;
  background: var(--paper-2);
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 22px;
}
.benefit .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: hue-rotate(-32deg) saturate(0.9);
  transition: transform 0.8s var(--ease);
}
.benefit:hover .art img {
  transform: scale(1.06) rotate(-1deg);
}
.benefit h3 {
  padding: 0 8px;
}
.benefit p {
  padding: 0 8px;
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 0.98rem;
}
.benefit p b {
  color: var(--ink);
}

/* ---------- Training ---------- */

.training {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.training h2,
.training h3 {
  color: #fff;
}
.training .eyebrow {
  color: var(--sky);
}
.training .lead {
  color: rgba(255, 255, 255, 0.7);
}
.training-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.no-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.no-list li {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 0.95rem;
}
.no-list li.x {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.no-list li.y {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
}
.mosaic figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #222;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
  filter: grayscale(0.25);
}
.mosaic figure:hover img {
  transform: scale(1.07);
  filter: none;
}
.mosaic .m1 {
  grid-column: 1 / 5;
  grid-row: span 3;
}
.mosaic .m2 {
  grid-column: 5 / 7;
  grid-row: span 2;
}
.mosaic .m3 {
  grid-column: 5 / 7;
  grid-row: span 2;
}
.mosaic .m4 {
  grid-column: 1 / 3;
  grid-row: span 2;
}
.mosaic .m5 {
  grid-column: 3 / 5;
  grid-row: span 2;
}
.mosaic .m6 {
  grid-column: 5 / 7;
  grid-row: span 1;
}
.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(60px, 8vw, 100px);
}
.game {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.game::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 200px at var(--gx, 50%) var(--gy, 0%), rgba(91, 181, 234, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.game:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 181, 234, 0.4);
}
.game:hover::after {
  opacity: 1;
}
.game .emo {
  font-size: 2rem;
  line-height: 1;
}
.game h3 {
  font-size: 1.12rem;
  margin-top: 14px;
}
.game p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.93rem;
  position: relative;
  z-index: 1;
}
.game.hero-game {
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  border-color: transparent;
}
.probono {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(100deg, rgba(91, 181, 234, 0.18), rgba(229, 56, 59, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.probono p {
  margin: 0;
  font-size: 1.08rem;
}

/* ---------- Proof ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.qcard {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper-2);
  overflow: hidden;
}
.qcard .num {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.qcard p.q {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
  margin: 14px 0 0;
}
.qcard .arrow {
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-size: 2.6rem;
  opacity: 0.15;
}
.trust {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.quote {
  border-radius: 28px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '“';
  position: absolute;
  right: 20px;
  top: -40px;
  font-size: 16rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.3;
  position: relative;
}
.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--sky);
  font-weight: 700;
}
.trust-word {
  border-radius: 28px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.trust-word small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}
.trust-word b {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  background: linear-gradient(90deg, #fff, var(--sky), #fff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5s linear infinite;
}
.trust-word a {
  color: var(--sky);
  font-weight: 700;
}
.skeptic {
  text-align: center;
  margin-top: clamp(70px, 10vw, 120px);
}
.skeptic h2 {
  margin-bottom: 18px;
}
.skeptic p {
  color: var(--ink-3);
  margin: 0 0 30px;
  font-size: 1.15rem;
}

/* ---------- Team ---------- */

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.person {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.person:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(13, 42, 92, 0.3);
}
.avatar {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(140deg, var(--navy-2), var(--sky));
  margin-bottom: 22px;
  letter-spacing: -0.04em;
}
.person:nth-child(2) .avatar {
  background: linear-gradient(140deg, var(--red), #f7a3a5);
}
.person h3 {
  font-size: 1.7rem;
  font-weight: 300;
}
.person .role {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.person p {
  color: var(--ink-3);
  margin: 14px 0 0;
}
.person a {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  text-align: center;
  padding: clamp(90px, 12vw, 150px) 0 clamp(60px, 8vw, 90px);
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: -0.035em;
}
.cta h2 b {
  font-weight: 900;
}
.cta p {
  color: var(--ink-3);
  font-size: 1.15rem;
  max-width: 40em;
  margin: 22px auto 34px;
}
.cta .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cta-float {
  position: absolute;
  width: 150px;
  pointer-events: none;
  opacity: 0.9;
}
.cta-float .pcard {
  --w: 150px;
  position: relative;
  margin: 0;
  left: 0;
  top: 0;
  padding: 14px;
  font-size: 0.8rem;
}
.cta-float .pcard .q {
  font-size: 0.8rem;
}
.cta-float.f1 {
  left: 4%;
  top: 18%;
  transform: rotate(-16deg);
  animation: floaty 9s ease-in-out infinite;
}
.cta-float.f2 {
  right: 5%;
  top: 30%;
  transform: rotate(12deg);
  animation: floaty 10s -3s ease-in-out infinite;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
}
.footer .drips {
  background: var(--paper);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 30px 0 50px;
}
.footer .logo img {
  height: 34px;
  width: auto;
  filter: invert(1);
}
.footer h3 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s;
}
.footer a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.socials a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal on scroll ---------- */

.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.no-js .rv {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  .apps {
    grid-template-columns: 1fr 1fr;
  }
  .app.families {
    grid-column: span 2;
  }
  .app.families .phone {
    width: 46%;
  }
  .benefits,
  .games {
    grid-template-columns: 1fr 1fr;
  }
  .types {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: 72px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  .nav.open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links a,
  .nav.solid .nav-links a {
    color: var(--ink);
    padding: 12px 16px;
    font-size: 1.05rem;
  }
  .nav-links .btn {
    margin: 8px 0 0;
    justify-content: center;
    color: #fff !important;
    background: var(--ink) !important;
  }
  .hero-grid,
  .apps-intro,
  .story-grid,
  .session-grid,
  .training-top,
  .trust,
  .apps-foot {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-top: 110px;
    gap: 10px;
  }
  .deck-stage {
    height: 360px;
    order: 2;
  }
  .pcard {
    --w: 170px;
  }
  .story-sticky,
  .session-visual {
    position: relative;
    top: 0;
  }
  .session-visual {
    position: sticky;
    top: 72px;
    z-index: 2;
    background: var(--paper-2);
    padding: 10px 0;
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 10px var(--gutter);
    box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.3);
  }
  .round {
    max-width: 140px;
  }
  .round .seat text,
  .timer-sub {
    display: none;
  }
  .round-note {
    text-align: left;
    margin: 0;
    font-size: 0.9rem;
  }
  .table {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .callout .content {
    max-width: 100%;
  }
  .callout .bg-img {
    position: relative;
    right: auto;
    bottom: auto;
    width: 70%;
    margin: 20px auto -50px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .apps,
  .people,
  .proof-grid,
  .benefits,
  .games {
    grid-template-columns: 1fr;
  }
  .app.families {
    grid-column: auto;
  }
  .app.families .phone {
    width: 78%;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:last-child {
    grid-column: span 2;
  }
  .types {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .mosaic {
    grid-auto-rows: 70px;
  }
  .cta-float {
    display: none;
  }
  .step {
    padding-left: 66px;
  }
  .step::before {
    width: 46px;
    height: 46px;
  }
  .hero-meta {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq details {
  border-radius: 20px;
  background: var(--paper-2);
  padding: 0 26px;
  transition: background 0.3s;
}
.faq details[open] {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(13, 42, 92, 0.4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat,
    var(--mist);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--ink-3);
  max-width: 70ch;
}

/* ---------- Order / contact dialog ---------- */

.order {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-2);
  box-shadow: 0 30px 80px -20px rgba(13, 42, 92, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
}
.order[open] {
  animation: order-in 0.4s var(--ease);
}
.order::backdrop {
  background: rgba(13, 42, 92, 0.55);
  backdrop-filter: blur(4px);
}
@keyframes order-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
.order-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.order-head h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
}
.order-x {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.order-x:hover {
  background: var(--mist);
}
.order-body {
  display: grid;
  gap: 18px;
  padding: 20px 24px 8px;
}
.order fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.order legend,
.order .field > span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.order .field small {
  font-weight: 400;
  color: var(--ink-3);
}
.order .field {
  display: block;
}
.order .field.narrow input {
  max-width: 140px;
}
.order input[type='email'],
.order input[type='text'],
.order input[type='tel'],
.order input[type='number'],
.order textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cfd6df;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.order textarea {
  resize: vertical;
}
.order input:focus,
.order textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--mist);
}
.order .check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0;
  cursor: pointer;
}
.order .check input[type='text'] {
  flex: 1 1 160px;
  width: auto;
  padding: 7px 12px;
}
.order input[type='radio'],
.order input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--navy);
}
.order .seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.order .seg legend {
  grid-column: 1 / -1;
}
.order .seg label {
  position: relative;
  cursor: pointer;
}
.order .seg input {
  position: absolute;
  opacity: 0;
}
.order .seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 1.5px solid #cfd6df;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.order .seg input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}
.order .seg input:focus-visible + span {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.order .part {
  display: grid;
  gap: 18px;
}
.order .part[hidden] {
  display: none;
}
.order .hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--ink-3);
  font-size: 0.93rem;
}
.order .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.order .ts:empty {
  display: none;
}
.order-msg {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--ink-3);
}
.order-msg.err {
  color: var(--rose-ink);
}
.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 24px 24px;
}
.order-foot .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.order-alt {
  font-size: 0.9rem;
  color: var(--ink-3);
}
.order-done {
  padding: 40px 28px 32px;
  text-align: center;
}
.order-done h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 900;
}
.order-done h2:focus {
  outline: none;
}
.order-done p {
  margin: 0 0 22px;
}
@media (max-width: 480px) {
  .order .seg {
    grid-template-columns: 1fr;
  }
  .order-head,
  .order-body,
  .order-foot {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .order[open] {
    animation: none;
  }
}
