/* Mindsip site. Night blue, ember and cream, set in Figtree. No framework;
   one small script adds the sticky bar, the nav edge and the reveals. */

:root {
  color-scheme: dark;
  --night: #0c0f2c;
  --night-2: #14183a;
  --night-3: #2a2f72;
  --ember: #f05a1e;
  --ember-deep: #d9440e;
  --ember-hi: #ff6b2c;
  --ember-soft: #ff8a4c;
  --cream: #fff4e6;
  --sun: #ffc24b;
  --muted: rgba(255, 244, 230, 0.76);
  --faint: rgba(255, 244, 230, 0.6);
  --line: rgba(255, 244, 230, 0.1);
  --line-2: rgba(255, 244, 230, 0.16);
  --ink: #0c0f2c;
  --ink-soft: #3d3a55;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 .16 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--night);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--night);
  background-image: var(--grain);
  color: var(--cream);
  font: 500 17px / 1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* Type */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display {
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.display span,
.h2 span {
  display: block;
}
.h2 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.98;
}
.accent {
  color: var(--ember);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-soft);
}
.lede {
  text-wrap: pretty;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}
.sub {
  text-wrap: pretty;
  font-size: 18px;
  color: var(--muted);
  max-width: 36em;
  margin: 20px 0 0;
}
.center {
  text-align: center;
}
.center .sub,
.center .lede {
  margin-inline: auto;
}

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f56a2c, var(--ember));
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--ember-deep), 0 14px 28px -12px rgba(240, 90, 30, 0.75);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.pill:hover {
  background: linear-gradient(180deg, #ff7838, var(--ember-hi));
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ember-deep), 0 18px 34px -12px rgba(240, 90, 30, 0.85);
}
.pill:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ember-deep), 0 8px 18px -10px rgba(240, 90, 30, 0.7);
}

.badge {
  display: inline-block;
  width: 180px;
  border-radius: 13px;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.8);
}
.badge svg {
  width: 100%;
  height: auto;
}
.badge:hover {
  transform: translateY(-2px);
}

/* Sipper */
.sipper {
  overflow: visible;
}
.sipper .eyes {
  transform-box: fill-box;
  transform-origin: 50% 60%;
}
.alive .eyes {
  animation: blink 5s infinite;
}
.alive .body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(0.99, 1.02);
  }
}
@keyframes blink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.1);
  }
}
.spark {
  position: absolute;
  color: var(--sun);
  pointer-events: none;
}
.spark svg {
  width: 100%;
  height: 100%;
}
.twinkle {
  animation: twinkle 3.4s ease-in-out infinite;
}
.twinkle.d2 {
  animation-delay: 1.1s;
}
.twinkle.d3 {
  animation-delay: 2.2s;
}
@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.68) rotate(25deg);
    opacity: 0.55;
  }
}

/* A jacket or card that the Sipper peeks over. */
.holder {
  position: absolute;
}
.holder .sip-peek {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 66%;
  transform: translate(-50%, 12%);
  z-index: -1;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 15, 44, 0.62);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.edge {
  background: rgba(12, 15, 44, 0.86);
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(240, 90, 30, 0.7);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--cream);
  background: rgba(255, 244, 230, 0.07);
}

/* Hero */
.hero {
  position: relative;
  overflow-x: clip;
  padding: 48px 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  background: radial-gradient(46% 52% at 75% 42%, rgba(42, 47, 114, 0.95), transparent 70%),
    radial-gradient(36% 38% at 76% 72%, rgba(240, 90, 30, 0.26), transparent 70%),
    radial-gradient(30% 36% at 6% 6%, rgba(42, 47, 114, 0.5), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.hero-copy .lede {
  margin: 28px 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px 15px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 244, 230, 0.06);
  border: 1px solid var(--line-2);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}
.chip .dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ink);
}
.chip .dot svg {
  width: 14px;
  height: 14px;
}
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 38px;
}
.cta-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--faint);
}
.cta-note strong {
  color: var(--cream);
  font-weight: 700;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.facts svg {
  width: 18px;
  height: 18px;
  color: var(--ember-soft);
}

/* The stage: a phone, its painting popping out, jackets around it. Every
   position is a percentage, so the scene scales as one piece. */
.stage {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 620 / 700;
  margin-inline: auto;
}
.stage > * {
  position: absolute;
}
.stage .halo {
  left: 8%;
  top: 8%;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(240, 90, 30, 0.4),
    rgba(240, 90, 30, 0.1) 62%,
    transparent
  );
}
.stage .orbit {
  left: 3%;
  top: 5%;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 194, 75, 0.2);
}
.jacket {
  border-radius: 7px;
  overflow: hidden;
  background: var(--night-2);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8), 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.jacket img {
  width: 100%;
}
.stage .j1 {
  left: 0;
  top: 17%;
  width: 25%;
  transform: rotate(-11deg);
}
.stage .j2 {
  right: 0;
  top: 5%;
  width: 23%;
  transform: rotate(9deg);
}
.stage .j3 {
  right: 1%;
  top: 58%;
  width: 24%;
  transform: rotate(7deg);
  z-index: 3;
}
.stage .j4 {
  left: 2%;
  top: 60%;
  width: 21%;
  transform: rotate(-8deg);
  z-index: 3;
}
.stage .hero-phone {
  left: 27%;
  top: 1%;
  width: 46%;
  z-index: 2;
}
.stage .toast {
  left: 0;
  top: 89.5%;
  z-index: 4;
}
.stage .s1 {
  left: 21%;
  top: 7%;
  width: 4.4%;
  aspect-ratio: 1;
  z-index: 3;
}
.stage .s2 {
  right: 26%;
  top: 56%;
  width: 3%;
  aspect-ratio: 1;
  color: var(--ember-soft);
  z-index: 4;
}
.stage .s3 {
  right: 3%;
  top: 47%;
  width: 3.4%;
  aspect-ratio: 1;
  z-index: 3;
}

.phone {
  position: relative;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.55));
}
.phone > img {
  width: 100%;
}
.pop {
  position: absolute;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 50px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 244, 230, 0.06);
}
.pop img {
  width: 100%;
}
.pop.paint {
  left: -8%;
  top: 18.4%;
  width: 116%;
  aspect-ratio: 2;
  transform: rotate(2deg);
  border-radius: 12px;
}
.pop.paint img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
/* Each card sits at 8% / 84% wide in its phone; the pop is about 1.12 times
   its size, around the same centre. */
.pop.card-today {
  left: 3%;
  top: 28.1%;
  width: 94%;
  transform: rotate(-3deg);
  border-radius: 6% / 6.2%;
}
.pop.card-keep {
  left: 3%;
  top: 16.2%;
  width: 94%;
  transform: rotate(-2deg);
  border-radius: 7% / 4.4%;
}
.pop.card-streak {
  left: 3%;
  top: 20.9%;
  width: 94%;
  transform: rotate(-2deg);
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5));
}
.pop.card-practice {
  left: 2.9%;
  top: 55.75%;
  width: 94.2%;
  transform: rotate(-2.5deg);
  border-radius: 9% / 40%;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 16px;
  background: rgba(20, 24, 58, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  text-align: left;
}
.toast .ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ember);
  color: var(--ink);
}
.toast .ic svg {
  width: 17px;
  height: 17px;
}
.toast small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
}

/* Sections */
.section {
  position: relative;
  padding: clamp(68px, 8vw, 112px) 0;
}
.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* Shelf marquee */
.shelf {
  overflow-x: clip;
  padding-top: clamp(40px, 5vw, 72px);
}
.marquee {
  --speed: 80s;
  --gap: 26px;
  position: relative;
  overflow: hidden;
  padding: 16px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee + .marquee {
  margin-top: 8px;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--gap);
  margin: 0;
  padding: 0 calc(var(--gap) / 2);
  list-style: none;
  animation: slide var(--speed) linear infinite;
}
.marquee.reverse .marquee-track {
  animation-direction: reverse;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.book {
  width: 168px;
  flex: none;
  margin: 0;
}
.book .jacket {
  transition: transform 0.35s var(--ease);
}
.book:hover .jacket {
  transform: translateY(-6px) rotate(-1.5deg);
}
.book figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--faint);
  text-align: center;
}

/* Painted stories */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--night-2);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9);
  isolation: isolate;
}
.tile.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.tile:hover img {
  transform: scale(1.05);
}
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 30, 0.9));
  line-height: 1.25;
}
.tile strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.tile figcaption span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.tile.big figcaption {
  padding: 90px 26px 24px;
}
.tile.big strong {
  font-size: 28px;
  letter-spacing: -0.025em;
}
.tile.big figcaption span {
  font-size: 15px;
}
.style-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 15, 44, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#stories {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hooks {
  margin-top: 30px;
}
.hooks.marquee {
  --speed: 70s;
  --gap: 12px;
  padding: 4px 0;
}
.hooks li {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 15px;
  border-radius: 999px;
  background: var(--night-2);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.hooks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
}
.hooks li:nth-child(3n + 2)::before {
  background: var(--sun);
}
.hooks li:nth-child(3n)::before {
  background: #8b93ff;
}

/* How it works */
.how {
  isolation: isolate;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(56% 40% at 50% 22%, rgba(42, 47, 114, 0.75), transparent 72%),
    linear-gradient(180deg, transparent, rgba(20, 24, 58, 0.7) 50%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step .phone {
  width: min(76%, 268px);
  margin: 0 auto;
}
.step-text {
  margin-top: 36px;
  text-align: center;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ember-deep);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 0 0 4px rgba(240, 90, 30, 0.5), 0 10px 24px -8px rgba(240, 90, 30, 0.7);
}
.step h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.step p {
  margin: 12px auto 0;
  max-width: 21em;
  color: var(--muted);
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.split.flip .split-media {
  order: 2;
}
.split-media {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.split-media > .phone {
  width: min(62%, 310px);
}
.split .lede {
  margin: 24px 0 0;
}
.ticks {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  color: var(--muted);
}
.ticks strong {
  color: var(--cream);
  font-weight: 750;
}
.ticks .ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -2px;
  border-radius: 10px;
  background: rgba(240, 90, 30, 0.15);
  color: var(--ember-soft);
}
.ticks .ic svg {
  width: 18px;
  height: 18px;
}
.media-glow {
  position: absolute;
  inset: 4% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 47, 114, 0.95), transparent);
  z-index: -1;
}

/* Cream section */
.cream {
  background: var(--cream);
  color: var(--ink);
  overflow-x: clip;
  isolation: isolate;
}
.cream::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.7;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
.cream .eyebrow {
  color: #b83a0a;
}
.cream .lede,
.cream .ticks li {
  color: var(--ink-soft);
}
.cream .ticks strong {
  color: var(--ink);
}
.cream .ticks .ic {
  background: rgba(240, 90, 30, 0.14);
  color: #c4400c;
}
.cream .media-glow {
  background: radial-gradient(
    closest-side,
    rgba(255, 194, 75, 0.6),
    rgba(255, 194, 75, 0.15) 60%,
    transparent
  );
}
.cream .phone {
  filter: drop-shadow(0 40px 50px rgba(60, 25, 5, 0.36));
}
.cream :focus-visible {
  outline-color: var(--ember-deep);
}
.port {
  position: absolute;
  z-index: 3;
  width: clamp(76px, 8vw, 112px);
  left: 2%;
  top: 13%;
  border-radius: 50%;
  box-shadow: 0 20px 36px -14px rgba(160, 50, 0, 0.6);
}
.split-media .spark {
  z-index: 3;
}

/* Topics */
.topic-media {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 520 / 600;
  margin-inline: auto;
}
.topic-media > * {
  position: absolute;
}
.topic-media .phone {
  left: 23%;
  top: 0;
  width: 54%;
  z-index: 2;
}
.topic-media .t1 {
  left: 0;
  top: 40%;
  width: 29%;
  transform: rotate(-10deg);
  z-index: 3;
}
.topic-media .t2 {
  right: 0;
  top: 48%;
  width: 29%;
  transform: rotate(9deg);
  z-index: 3;
}
.topic-media .halo {
  left: 5%;
  top: 8%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 47, 114, 0.95), transparent);
}
.paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding: 0;
  max-width: 1040px;
  list-style: none;
}
.paths li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: var(--night-2);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 16px;
}
.paths img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 0 0 2px rgba(255, 244, 230, 0.12);
}
.paths .ai {
  border-color: rgba(240, 90, 30, 0.5);
  background: linear-gradient(180deg, rgba(240, 90, 30, 0.18), rgba(240, 90, 30, 0.06));
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 34px 32px 32px;
  border-radius: 28px;
  background: var(--night-2);
  border: 1px solid var(--line);
}
.plan h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
}
.plan .for {
  margin: 6px 0 0;
  color: var(--faint);
  font-weight: 650;
}
.plan ul {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.plan li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}
.plan li svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--ember-soft);
}
.plan.plus {
  background: radial-gradient(90% 70% at 100% 0%, rgba(240, 90, 30, 0.3), transparent 60%),
    linear-gradient(180deg, #1d2257, var(--night-2));
  border: 1.5px solid rgba(240, 90, 30, 0.7);
  box-shadow: 0 30px 70px -30px rgba(240, 90, 30, 0.55);
}
.plan.plus li svg {
  color: var(--sun);
}
.plan-peek {
  position: absolute;
  right: 30px;
  top: 1px;
  width: 96px;
  transform: translateY(-100%);
}
.plans-note {
  max-width: 640px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--faint);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head {
  position: sticky;
  top: 120px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list .plus {
  flex: none;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 244, 230, 0.07);
  transition: background 0.2s;
}
.faq-list .plus::before,
.faq-list .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--cream);
  transform: translate(-50%, -50%);
}
.faq-list .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.faq-list summary:hover .plus {
  background: rgba(255, 244, 230, 0.14);
}
.faq-list details[open] .plus {
  background: var(--ember);
}
.faq-list details[open] .plus::before,
.faq-list details[open] .plus::after {
  background: var(--ink);
}
.faq-list details[open] .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-list .answer {
  padding: 0 56px 26px 2px;
  color: var(--muted);
}
.faq-list .answer p {
  margin: 0;
}
.faq-list .answer a {
  color: var(--ember-soft);
  font-weight: 650;
  text-underline-offset: 3px;
}

/* Final call */
.final {
  padding: 0 0 clamp(80px, 9vw, 120px);
}
.final-card {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 24px 0;
  border-radius: 40px;
  background: radial-gradient(70% 60% at 50% 0%, #ff8a4c, transparent 70%),
    linear-gradient(180deg, var(--ember), var(--ember-deep));
  text-align: center;
  isolation: isolate;
}
.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.9;
  mix-blend-mode: overlay;
  z-index: -1;
}
.final-card h2 {
  color: var(--ink);
}
.final-card h2 .cr {
  color: var(--cream);
}
.final-card p {
  text-wrap: balance;
  margin: 20px auto 0;
  max-width: 30em;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
}
.final-card .badge {
  margin-top: 32px;
  box-shadow: 0 20px 40px -18px rgba(60, 10, 0, 0.8);
}
.final-card :focus-visible {
  outline-color: var(--ink);
}
.fan {
  position: relative;
  height: clamp(170px, 21vw, 250px);
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.fan .holder {
  left: 50%;
  width: clamp(104px, 13vw, 168px);
}
.fan .jacket {
  box-shadow: 0 30px 50px -20px rgba(70, 12, 0, 0.85), 0 8px 20px -8px rgba(70, 12, 0, 0.5);
}
.fan .f1 {
  top: 46%;
  transform: translateX(-252%) rotate(-15deg);
}
.fan .f2 {
  top: 26%;
  transform: translateX(-160%) rotate(-8deg);
  z-index: 2;
}
.fan .f3 {
  top: 12%;
  transform: translateX(-50%);
  z-index: 3;
}
.fan .f4 {
  top: 26%;
  transform: translateX(60%) rotate(8deg);
  z-index: 2;
}
.fan .f5 {
  top: 46%;
  transform: translateX(152%) rotate(15deg);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  color: var(--faint);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.foot .brand,
.foot .brand:hover {
  font-size: 20px;
  color: var(--cream);
  text-decoration: none;
}
.foot-tag {
  margin: 14px 0 0;
  max-width: 22em;
}
.foot h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.foot ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover,
.foot a[aria-current="page"] {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-legal {
  display: grid;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.foot-legal p {
  margin: 0;
}

/* Sticky bar on phones, shown by the script once the hero has gone by */
.getbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 10px;
  border-radius: 22px;
  background: rgba(20, 24, 58, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(150%);
  transition: transform 0.45s var(--ease);
}
.getbar.show {
  transform: none;
}
.getbar .mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.getbar-text {
  line-height: 1.25;
  min-width: 0;
}
.getbar-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.getbar-text span {
  font-size: 13px;
  color: var(--faint);
  font-weight: 600;
}
.getbar .pill {
  margin-left: auto;
  padding: 0 22px;
}

/* Reveal on scroll (only with the script, never with reduced motion) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Legal pages */
.legal-hero {
  position: relative;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto;
  height: 520px;
  background: radial-gradient(50% 70% at 85% 0%, rgba(42, 47, 114, 0.85), transparent 70%);
  pointer-events: none;
}
.legal {
  position: relative;
  max-width: calc(760px + var(--gutter) * 2);
  padding-top: 64px;
  padding-bottom: 96px;
}
.legal h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}
.legal h2 {
  margin: 48px 0 12px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.legal h3 {
  margin: 28px 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.legal p,
.legal ul {
  margin: 0 0 16px;
  color: var(--muted);
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal li::marker {
  color: var(--ember);
}
.legal strong {
  color: var(--cream);
  font-weight: 750;
}
.legal a {
  color: var(--ember-soft);
  font-weight: 650;
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--cream);
}
.legal .updated {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 244, 230, 0.07);
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}
.legal .lede {
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 20px;
}
.legal .summary {
  margin: 28px 0 8px;
  padding: 24px 26px;
  border-radius: 22px;
  background: radial-gradient(80% 90% at 100% 0%, rgba(240, 90, 30, 0.14), transparent 60%),
    var(--night-2);
  border: 1px solid var(--line-2);
}
.legal .summary p:last-child,
.legal .summary ul:last-child {
  margin-bottom: 0;
}
.legal .summary strong {
  color: var(--sun);
}

/* Responsive */
@media (max-width: 1080px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav .pill {
    margin-left: auto;
  }
  .nav-in {
    height: 64px;
  }
  .js .getbar {
    display: flex;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    text-align: center;
  }
  /* On phones the scene follows the button; the facts come after it. */
  .hero-copy {
    display: contents;
  }
  .hero-copy > * {
    margin-inline: auto;
  }
  .hero .chip {
    justify-self: center;
  }
  .hero .stage {
    order: 1;
    margin-top: 36px;
  }
  .hero .facts {
    order: 2;
  }
  .nav .pill {
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s var(--ease);
  }
  .bar-on .nav .pill {
    opacity: 0;
    visibility: hidden;
  }
  .hero-copy .lede {
    margin-inline: auto;
  }
  .cta-row {
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }
  .facts {
    justify-content: center;
    gap: 8px 18px;
    margin-top: 30px;
    font-size: 14px;
  }
  .stage {
    width: min(100%, 480px);
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tile {
    border-radius: 14px;
  }
  .tile.big {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .tile figcaption {
    padding: 30px 10px 9px;
  }
  .tile strong {
    font-size: 13px;
  }
  .tile figcaption span {
    display: none;
  }
  .tile.big figcaption {
    padding: 50px 16px 14px;
  }
  .tile.big strong {
    font-size: 19px;
  }
  .tile.big figcaption span {
    display: block;
    font-size: 13px;
  }
  .style-tag {
    left: 8px;
    top: 8px;
    padding: 3px 8px;
    font-size: 11px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 76px;
  }
  .step .phone {
    width: min(64%, 260px);
  }
  .split,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split .split-media,
  .split.flip .split-media {
    order: 2;
  }
  .split-copy {
    text-align: center;
  }
  .split-copy .lede {
    margin-inline: auto;
  }
  .ticks {
    text-align: left;
    max-width: 30em;
    margin-inline: auto;
  }
  .faq-grid .section-head {
    position: static;
    margin-bottom: 8px;
    text-align: center;
  }
  .faq-grid .section-head .sub {
    margin-inline: auto;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .foot {
    padding-bottom: 110px;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }
  .marquee {
    --gap: 16px;
  }
  .book {
    width: 116px;
  }
  .book figcaption {
    font-size: 12px;
    margin-top: 9px;
  }
  .hooks.marquee {
    --gap: 10px;
  }
  .hooks li {
    font-size: 14px;
    padding: 8px 14px 8px 12px;
  }
  .stage {
    aspect-ratio: 390 / 450;
  }
  .stage .hero-phone {
    left: 24%;
    width: 52%;
  }
  .stage .j1 {
    left: -4%;
    top: 20%;
    width: 27%;
  }
  .stage .j2 {
    right: -4%;
    top: 6%;
    width: 25%;
  }
  .stage .j3 {
    right: -2%;
    top: 60%;
    width: 26%;
  }
  .stage .j4 {
    left: -2%;
    top: 63%;
    width: 23%;
  }
  .stage .s1 {
    left: 17%;
  }
  .stage .toast {
    left: 0;
    top: 91%;
    font-size: 13px;
    padding: 7px 12px 7px 7px;
  }
  .toast .ic {
    width: 28px;
    height: 28px;
  }
  .paths {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .paths li {
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.25;
    gap: 9px;
    padding: 6px 10px 6px 6px;
  }
  .paths img {
    flex: none;
    width: 36px;
    height: 36px;
  }
  .port {
    left: auto;
    right: 0;
    top: 4%;
    width: 64px;
  }
  .plan {
    padding: 28px 22px 26px;
  }
  .plan-peek {
    width: 80px;
    right: 22px;
  }
  .faq-list .answer {
    padding-right: 4px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .final-card {
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Before launch the badge and the pills are labels, not links. */
span.badge:hover,
span.pill:hover,
span.pill:active {
  transform: none;
}
span.badge,
span.pill {
  cursor: default;
}
