/* =========================
   Downloads — main.css (Premium, clean)
   ========================= */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --muted: #626477;
  --text: #111218;
  --accent: #3b6ff0;
  --accent-2: #8ea4ff;
  --success: #0b9d5c;
  --danger: #d23d5a;
  --ring: 0 0 0 6px color(from var(--accent) srgb r g b / .16);

  --container: 1160px;
  --header-gap: 34px;
  --radius-card: 20px;
  --radius-chip: 999px;
  --lh: 1.6;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, .07);
  --shadow-pop: 0 18px 44px rgba(18, 22, 33, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1400px 1000px at 78% -24%, rgba(210, 214, 224, .22) 0%, rgba(210, 214, 224, .08) 45%, rgba(210, 214, 224, 0) 80%),
    linear-gradient(180deg, #f7f8fb 0%, #f5f7fb 100%);
  color: var(--text);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.u {
  text-decoration: underline;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 20px;
}

/* -------- Header & Nav -------- */
header {
  padding: 10px 0 14px;
  margin-bottom: var(--header-gap);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand > a {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 190px;
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: #222;
  box-shadow: var(--shadow-soft);
}

.site-header nav {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 12px 14px;
  margin-top: 4px;
}

.site-header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-header nav a {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  opacity: .94;
  padding: 10px 12px;
  border-radius: 12px;
}

.site-header nav a:hover {
  color: var(--text);
  background: #f3f4f8;
  opacity: 1;
}

.site-header nav a.btn-mini {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 9px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

#active {
  text-decoration: underline;
  color: #000;
}

@media (min-width:900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  #site-nav,
  #site-nav[hidden] {
    display: block !important;
  }

  .site-header nav {
    width: auto;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    margin-top: 0;
    margin-left: auto;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-header nav ul {
    flex-direction: row;
    align-items: center;
    gap: 26px;
  }

  .site-header nav a {
    padding: 0;
    border-radius: 0;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 34px 0 22px;
  text-align: center;
}

.hero> :first-child {
  display: grid;
  justify-items: center;
}

.hero-home {
  padding-top: 24px;
  padding-bottom: clamp(44px, 6.5vw, 84px);
}

.hero-home .sub {
  max-width: 56ch;
}

.hero-note {
  margin: 14px 0 0;
  color: #5b6072;
  font-size: 14px;
  font-weight: 700;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

.badge {
  font-size: 12px;
  color: #3f4153;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 8px 12px;
  border-radius: var(--radius-chip);
  box-shadow: var(--shadow-soft);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  justify-content: center;
}

.msg {
  margin-top: 8px;
  font-size: 0.85rem;
}

.msg--ok {
  color: var(--success);
}

.msg--err {
  color: var(--danger);
}

@media (min-width:980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 4.8vw, 62px);
    text-align: left;
  }

  .hero> :first-child {
    justify-items: start;
  }
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 14px;
  opacity: .9;
}

h1 {
  font-size: clamp(34px, 6.2vw, 52px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.sub {
  color: #4e5162;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 58ch;
  margin-bottom: 6px;
}

.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: 0;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(59, 111, 240, .30);
  transition: transform .08s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(59, 111, 240, .34);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: none;
}

.section {
  padding: 56px 0;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tiny {
  font-size: 12px;
  color: #7a7d8e;
}

.nl {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nl input {
  flex: 1;
  background: #f3f4f8;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 14px 14px;
  outline: none;
  font-size: 16px;
}

.nl input:focus {
  box-shadow: var(--ring);
  border-color: var(--accent);
}

.nl button {
  padding: 14px 16px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.float {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-visual {
  justify-self: center;
  align-self: center;
  width: min(100%, 620px);
}

.device-mock {
  width: clamp(220px, 22vw, 340px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 60px rgba(10, 12, 20, .45));
  will-change: transform;
  transform: translateZ(0);
}

.device-mock--slant {
  width: min(100%, clamp(300px, 74vw, 580px));
  max-height: clamp(430px, 72vh, 820px);
  margin-inline: auto;
}

.moments-strip {
  margin-top: clamp(-20px, -2.6vw, -12px);
  padding-top: clamp(30px, 4.8vw, 46px);
  padding-bottom: 24px;
}

.moments-band {
  position: relative;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(700px 260px at 88% -12%, rgba(124, 147, 226, .26), rgba(124, 147, 226, 0) 58%),
    radial-gradient(500px 240px at 8% 110%, rgba(92, 112, 168, .18), rgba(92, 112, 168, 0) 62%),
    linear-gradient(120deg, #121826 0%, #171f2f 52%, #1d273a 100%);
  border-radius: 24px;
  padding: 28px 22px;
  border: 1px solid rgba(218, 227, 252, .20);
  box-shadow:
    0 26px 46px rgba(10, 14, 24, .34),
    inset 0 1px 0 rgba(239, 244, 255, .10),
    inset 0 -1px 0 rgba(116, 136, 190, .14);
  overflow: hidden;
}

.moments-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 245, 255, 0), rgba(240, 245, 255, .42), rgba(240, 245, 255, 0));
  pointer-events: none;
}

.moments-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 239, 255, .07) 0.8px, transparent 0.8px);
  background-size: 8px 8px;
  opacity: .26;
  pointer-events: none;
}

.moments-title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #f2f5ff;
}

.moments-sub {
  margin: 0;
  color: #c8d3f3;
  font-size: 15px;
  font-weight: 700;
}

.moments-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.moments-list li {
  margin: 0;
}

.moment-jump {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(214, 223, 251, .22);
  background: rgba(236, 242, 255, .06);
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  color: #edf2ff;
  text-align: center;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}

.moment-jump:hover {
  background: rgba(236, 242, 255, .14);
  border-color: rgba(214, 223, 251, .38);
}

.moment-jump:active {
  transform: translateY(1px);
}

.moment-jump:focus-visible {
  outline: 2px solid rgba(198, 211, 247, .8);
  outline-offset: 2px;
}

.how-it-works {
  padding-top: 38px;
  padding-bottom: 34px;
}

.how-layout {
  display: grid;
  gap: 22px;
}

.how-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin: 0;
  justify-self: center;
  width: min(100%, 500px);
  min-height: clamp(320px, 44vw, 500px);
}

.how-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 137, 231, .16), rgba(107, 137, 231, .05) 46%, transparent 72%);
  filter: blur(12px);
}

.how-preview {
  width: min(100%, 500px);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 30px rgba(17, 24, 39, .16));
}

.how-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: howstep;
}

.how-step {
  position: relative;
  padding-top: 46px;
}

.how-step::before {
  counter-increment: howstep;
  content: "0" counter(howstep);
  position: absolute;
  top: 16px;
  left: 20px;
  color: #7b8091;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}

.how-step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.how-step p {
  margin: 0;
  color: #464b5c;
}

.transform-section {
  padding-top: 4px;
  padding-bottom: 34px;
}

.transform-line {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  display: grid;
  align-content: end;
  gap: 22px;
  justify-items: start;
  min-height: clamp(230px, 30vw, 340px);
  border-radius: 24px;
  border: 1px solid rgba(198, 210, 243, .28);
  background-color: #111827;
  background-image:
    linear-gradient(112deg, rgba(7, 11, 20, .92) 8%, rgba(10, 16, 30, .76) 52%, rgba(14, 24, 42, .62) 100%),
    radial-gradient(80% 98% at 98% 4%, rgba(95, 131, 255, .38), rgba(95, 131, 255, 0) 66%),
    url("/img/cta-man-motion.jpg");
  background-size: auto, auto, cover;
  background-position: center, right top, center 36%;
  box-shadow:
    0 22px 34px rgba(10, 13, 21, .24),
    inset 0 1px 0 rgba(243, 247, 255, .18);
  padding: clamp(26px, 4vw, 42px);
}

.transform-line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(9, 14, 25, .08) 0%, rgba(9, 14, 25, .42) 100%);
  pointer-events: none;
}

.transform-line>* {
  position: relative;
  z-index: 1;
}

.transform-copy {
  margin: 0;
  max-width: clamp(28ch, 52vw, 38ch);
}

.transform-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #ccd9ff;
  text-shadow: none;
}

.transform-main {
  display: block;
  color: #f2f5ff;
  text-shadow: 0 2px 16px rgba(5, 9, 17, .44);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.01em;
}

.transform-cta {
  box-shadow: 0 12px 28px rgba(59, 111, 240, .34);
}

.reviews-section {
  position: relative;
  margin-top: 35px;
  padding-top: 44px;
  padding-bottom: 65px;
}

.reviews-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}

.reviews-heading h2 {
  margin: 0 0 1.2em 0;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1;
  letter-spacing: -.02em;
}

.reviews-accent {
  display: block;
  color: inherit;
}

.reviews-wall {
  max-width: 980px;
  margin: 0 auto;
  columns: 1;
  column-gap: 18px;
}

.review-card {
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.review-stars {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .08em;
  color: #000000;
}

.review-card h3 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.review-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #777d8f;
}

.review-copy {
  position: relative;
  margin-top: 14px;
  color: #464b5c;
  font-size: 16px;
  line-height: 1.55;
}

.review-copy p {
  margin: 0;
}

.review-copy p+p {
  margin-top: 10px;
}

.reviews-cta {
  margin-top: 60px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* -------- Editorial partnership -------- */
.brainz-section {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(54px, 7vw, 88px);
}

.brainz-partnership {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(229, 197, 151, .20);
  border-radius: 28px;
  background:
    radial-gradient(500px 340px at 100% 50%, rgba(203, 155, 94, .18), transparent 72%),
    linear-gradient(135deg, #111827 0%, #1a2438 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  color: #fff;
}

.brainz-partnership::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .045), transparent 42%);
  pointer-events: none;
}

.brainz-partnership__copy {
  max-width: 660px;
}

.brainz-partnership .eyebrow {
  color: #dfbd88;
}

.brainz-partnership h2 {
  max-width: 13ch;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.brainz-partnership p {
  max-width: 60ch;
  margin: 0;
  color: #d8dfec;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
}

.brainz-partnership__mark {
  display: grid;
  place-items: center;
}

.brainz-partnership__mark img {
  width: min(100%, 280px);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .28));
}

body.js-animate .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .58s ease,
    transform .72s cubic-bezier(.18, .76, .26, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.js-animate .reveal-on-scroll[data-reveal="left"] {
  transform: translateX(-28px);
}

body.js-animate .reveal-on-scroll[data-reveal="right"] {
  transform: translateX(28px);
}

body.js-animate .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (min-width: 760px) {
  .moments-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reviews-wall {
    columns: 2;
    column-gap: 20px;
  }
}

@media (min-width: 980px) {
  .hero-home {
    padding-bottom: clamp(56px, 5.4vw, 96px);
  }

  .hero-visual {
    justify-self: center;
    margin-left: clamp(10px, 1.4vw, 24px);
  }

  .moments-strip {
    margin-top: clamp(-24px, -2.4vw, -14px);
    padding-top: clamp(38px, 4vw, 54px);
    padding-bottom: 30px;
  }

  .how-layout {
    grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  .how-media {
    justify-self: center;
    width: min(100%, 520px);
  }

  .how-preview {
    width: min(100%, 520px);
  }

  .how-it-works {
    padding-top: 75px;
    padding-bottom: 100px;
  }

  .transform-section {
    padding-bottom: 40px;
  }

  .reviews-section {
    margin-top: 55px;
    padding-top: 54px;
    padding-bottom: 100px;
  }

  .reviews-wall {
    column-gap: 22px;
  }

  .review-card {
    padding: 28px 28px 24px;
  }

  .review-card h3 {
    font-size: 22px;
  }

  .review-meta {
    font-size: 15px;
  }

  .reviews-cta {
    margin-top: 50px;
  }
}

@media (min-width: 1100px) {
  .how-layout {
    grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
    gap: 34px;
  }

  .how-media,
  .how-preview {
    width: min(100%, 580px);
  }

  .how-grid {
    justify-self: end;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .transform-line {
    min-height: clamp(220px, 72vw, 320px);
    background-position: center, right top, 56% center;
  }

  .how-media {
    width: min(100%, 440px);
    min-height: 0;
  }

  .reviews-heading {
    margin-bottom: 24px;
  }

  .review-stars {
    font-size: 20px;
  }

  .review-card {
    padding: 22px 20px;
  }

  .review-card h3 {
    font-size: clamp(20px, 6vw, 20px);
  }

  .review-copy {
    font-size: 15px;
  }
}

@media (min-width:1400px) {
  .device-mock {
    width: clamp(220px, 18vw, 320px);
  }

  .device-mock--slant {
    width: min(100%, clamp(400px, 34vw, 600px));
  }
}

@media (max-width:480px) {
  .device-mock {
    width: min(72vw, 300px);
  }

  .device-mock--slant {
    width: min(100%, 92vw, 390px);
    max-height: 68vh;
  }
}

#features {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: max(20px, calc((100vw - var(--container))/2));
  padding-right: max(20px, calc((100vw - var(--container))/2));
  padding-top: 64px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .98));
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width:980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  padding: 22px 18px 20px 58px;
  box-shadow: var(--shadow-card);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
  border-color: rgba(0, 0, 0, .10);
  background: #fff;
}

.feature h3 {
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.feature p {
  margin: 0;
  color: #424556;
}

.feat-ico {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.feat-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------- Footer -------- */
footer {
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: var(--muted);
  padding: 30px 20px 70px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding: 26px 0 16px;
}

.page h1 {
  font-size: clamp(28px, 5.2vw, 44px);
  margin: 0 0 6px;
  letter-spacing: -.01em;
  font-weight: 800;
}

.page .meta {
  font-size: 13px;
  color: var(--muted);
}

/* Headings inside content cards */
.page h2 {
  font-size: clamp(20px, 3vw, 24px);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.page h3 {
  font-size: 16px;
  margin: 18px 0 6px;
  letter-spacing: -.01em;
}

.page .card h3 {
  margin: 25px 0 2px 0;
}

.page .card h3+p {
  margin-top: 2px;
}

.page .eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 10px;
  opacity: .9;
}

.page .card {
  padding: 22px 20px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.page section.card+section.card {
  margin-top: 10px;
}

.page p,
.page li {
  color: #424556;
  font-size: 15px;
}

.page .card ul {
  padding-left: 1.2rem;
  margin: 10px 0 4px;
}

.page .card li {
  margin-bottom: 4px;
}

.page a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.page a:hover {
  text-decoration: underline;
}

.page a.btn:not(.btn-outline) {
  color: #fff;
  text-decoration: none;
}

.page a.btn:not(.btn-outline):hover {
  text-decoration: none;
}

@media (max-width: 600px) {
  .page .card {
    padding: 18px 16px;
    margin-bottom: 16px;
  }

  .page h2 {
    font-size: 18px;
  }

  .page h3 {
    font-size: 15px;
  }


}

.section-tight {
  padding-top: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.section-sub {
  margin: 0;
  max-width: 62ch;
  color: #4e5162;
}

.home-blog-section {
  position: relative;
  z-index: 0;
  padding-top: 54px;
}

.home-blog-section::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100vw;
  height: 78%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(230, 233, 240, .55) 0%, rgba(230, 233, 240, 0) 74%);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  body.js-animate .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------- Loading, page entrance & scroll feedback -------- */
.site-loader {
  display: none;
}

.show-site-loader .site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 47%, rgba(59, 112, 229, .08), transparent 24%),
    #fff;
  transition:
    opacity .55s cubic-bezier(.62, 0, .35, 1),
    visibility .55s step-end;
}

.show-site-loader body > .container {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition:
    opacity .8s .18s ease,
    transform .9s .18s cubic-bezier(.18, .76, .26, 1),
    filter .8s .18s ease;
}

.show-site-loader.site-ready body > .container {
  opacity: 1;
  transform: none;
  filter: none;
}

.show-site-loader.site-ready .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 112, 229, .13), rgba(59, 112, 229, 0) 68%);
  animation: loader-breathe 1.8s ease-in-out infinite;
}

.site-loader__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(59, 112, 229, .10);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 55px rgba(31, 53, 108, .15), inset 0 1px 0 #fff;
  animation: loader-mark-in .7s cubic-bezier(.18, .8, .2, 1) both;
}

.site-loader__mark img {
  width: 50px;
  height: 52px;
  object-fit: contain;
}

.site-loader__wordmark {
  position: relative;
  margin: 2px 0 0;
  color: #16213e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: loader-copy-in .55s .16s ease both;
}

.site-loader__line {
  position: relative;
  width: 72px;
  height: 2px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ebf3;
}

.site-loader__line span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loader-progress 1.05s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes loader-mark-in {
  from { opacity: 0; transform: scale(.78) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes loader-copy-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-breathe {
  0%, 100% { opacity: .65; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes loader-progress {
  from { transform: translateX(-120%); }
  to { transform: translateX(330%); }
}

.scroll-progress {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3c70e5, #90a8ff);
  box-shadow: 0 0 12px rgba(59, 111, 240, .4);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

/* -------- App-native horizontal preview rail -------- */
.inside-app {
  position: relative;
  padding-top: clamp(68px, 8vw, 108px);
  padding-bottom: clamp(62px, 8vw, 104px);
}

.inside-app::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px calc(50% - 50vw) 18px;
  background:
    radial-gradient(720px 300px at 8% 0%, rgba(86, 124, 236, .12), transparent 70%),
    linear-gradient(180deg, rgba(235, 238, 246, .62), rgba(246, 247, 251, 0));
  pointer-events: none;
}

.inside-app__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.inside-app__heading h2,
.faq-intro h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.inside-app__heading p,
.faq-intro p {
  max-width: 58ch;
  margin: 14px 0 0;
  color: #565b6d;
  font-size: 16px;
}

.rail-controls {
  display: flex;
  flex: none;
  gap: 9px;
}

.rail-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(17, 18, 24, .10);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #111218;
  box-shadow: 0 9px 25px rgba(18, 22, 33, .08);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.rail-button:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 13px 30px rgba(18, 22, 33, .13);
}

.rail-button:active {
  transform: scale(.95);
}

.rail-button:focus-visible,
.download-rail:focus-visible,
.download-card:focus-visible {
  outline: 3px solid rgba(59, 111, 240, .45);
  outline-offset: 4px;
}

.rail-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-rail {
  --rail-side: max(20px, calc((100vw - var(--container)) / 2));
  --rail-start: clamp(20px, 2vw, 32px);
  /* Mirrors the app's standard AudioCard (screen width / 2.4), not its featured variant. */
  --rail-card-width: clamp(160px, 41.667vw, 250px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rail-start);
  scroll-padding-right: var(--rail-side);
  padding: 14px var(--rail-side) 62px var(--rail-start);
  scrollbar-width: none;
  cursor: grab;
}

.download-rail::-webkit-scrollbar {
  display: none;
}

.download-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.download-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 var(--rail-card-width);
  /* Standard app cards are portrait-oriented: roughly 1 wide by 1.28 tall. */
  height: clamp(210px, 53.5vw, 320px);
  overflow: hidden;
  border-radius: 12px;
  background: #151a25;
  box-shadow: 0 17px 38px rgba(12, 17, 28, .19);
  scroll-snap-align: start;
  transform: translateZ(0);
  transition: transform .34s cubic-bezier(.2, .72, .2, 1), box-shadow .34s ease;
  font-family: Outfit, Manrope, system-ui, sans-serif;
}

.download-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .22) 48%, transparent 62%) 160% 0 / 220% 100%,
    linear-gradient(135deg, #cad1de, #e9edf3);
  transition: opacity .3s ease;
  pointer-events: none;
}

.has-js .download-card:not(.is-image-loaded)::before {
  opacity: 1;
  animation: card-shimmer 1.35s ease-in-out infinite;
}

@keyframes card-shimmer {
  to { background-position: -120% 0, 0 0; }
}

.download-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 24px 48px rgba(12, 17, 28, .26);
}

.download-card > img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.has-js .download-card:not(.is-image-loaded) > img {
  opacity: 0;
}

.has-js .download-card.is-image-loaded > img {
  opacity: 1;
  transition: opacity .45s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.download-card:hover > img {
  transform: scale(1.035);
}

.download-card__tint {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(28, 38, 68, .32), rgba(18, 16, 47, .14)),
    linear-gradient(180deg, transparent 28%, rgba(4, 7, 15, .82) 100%);
}

.download-card__play {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
}

.download-card__play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.download-card__copy {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.download-card__copy strong {
  display: -webkit-box;
  overflow: hidden;
  padding-right: 24px;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.018em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.download-card__context {
  overflow: hidden;
  margin-top: 7px;
  padding-right: 20px;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: rgba(255, 255, 255, .95);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.download-card__meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}

.rail-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: -38px;
  color: #737889;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

#rail-status {
  color: #313645;
  font-variant-numeric: tabular-nums;
}

/* -------- FAQ -------- */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
  padding-top: 50px;
  padding-bottom: 92px;
}

.faq-list {
  border-top: 1px solid rgba(17, 18, 24, .12);
}

.faq-list details {
  border-bottom: 1px solid rgba(17, 18, 24, .12);
}

.faq-list summary {
  position: relative;
  padding: 21px 44px 21px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  transition: transform .25s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 64ch;
  margin: -5px 46px 22px 0;
  color: #555a6b;
}

/* More dimensional reveal states while keeping motion composited. */
body.js-animate .reveal-on-scroll[data-reveal="scale"] {
  transform: translateY(20px) scale(.97);
}

body.js-animate .reveal-on-scroll[data-reveal="clip"] {
  clip-path: inset(0 0 18% 0 round 24px);
  transform: translateY(20px);
}

body.js-animate .reveal-on-scroll[data-reveal="clip"].is-visible {
  clip-path: inset(0 0 0 0 round 24px);
  transform: none;
}

@media (max-width: 720px) {
  .inside-app__heading {
    align-items: flex-start;
  }

  .inside-app__heading p {
    font-size: 15px;
  }

  .rail-controls {
    display: none;
  }

  .brainz-partnership {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .brainz-partnership__copy {
    margin: 0 auto;
  }

  .brainz-partnership h2 {
    max-width: none;
  }

  .brainz-partnership__mark {
    order: -1;
  }

  .brainz-partnership__mark img {
    width: min(66vw, 220px);
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 36px;
    padding-bottom: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-loader__glow,
  .site-loader__mark,
  .site-loader__wordmark,
  .site-loader__line span,
  .download-card::before,
  .float {
    animation: none !important;
  }

  .show-site-loader body > .container,
  .site-header,
  .brand-logo,
  .download-card,
  .download-card > img,
  .faq-list summary::after {
    transition: none !important;
  }
}

.blog-hero {
  max-width: 840px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .blog-grid,
  .blog-grid--latest {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #blog-post-list.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,255,.98));
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(59, 111, 240, .10);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.blog-meta {
  font-size: 12px;
  color: #7a7d8e;
}

.blog-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.blog-card h3 a {
  color: var(--text);
}

.blog-card p {
  margin: 0;
  color: #4b5062;
}

.blog-link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 800;
  color: var(--accent) !important;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-back {
  margin: 4px 0 16px;
}

.article-back a {
  color: #5a6277;
  font-weight: 700;
}

.article-header {
  margin-bottom: 18px;
}

.article-header h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  margin: 14px 0 10px;
}

.article-body h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-body p,
.article-body li {
  font-size: 16px;
  color: #3f4455;
}

/* =========================================================
   Site-wide IA and finish pass
   ========================================================= */
:root {
  --nav-surface: rgba(250, 251, 254, .84);
  --line: rgba(17, 18, 24, .09);
  --surface-soft: rgba(255, 255, 255, .72);
}

::selection {
  background: rgba(59, 111, 240, .20);
  color: #0e1322;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body.nav-open {
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid rgba(59, 111, 240, .42);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 800;
  top: 12px;
  min-height: 64px;
  margin-bottom: clamp(34px, 5vw, 66px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 18px;
  background: rgba(250, 251, 254, 0);
  box-shadow: 0 12px 34px rgba(24, 31, 49, 0), inset 0 0 0 1px rgba(17, 18, 24, 0);
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  transition:
    background-color .38s cubic-bezier(.22, .7, .2, 1),
    border-color .38s cubic-bezier(.22, .7, .2, 1),
    box-shadow .38s cubic-bezier(.22, .7, .2, 1),
    backdrop-filter .38s cubic-bezier(.22, .7, .2, 1),
    -webkit-backdrop-filter .38s cubic-bezier(.22, .7, .2, 1);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, .82);
  background: var(--nav-surface);
  box-shadow: 0 12px 34px rgba(24, 31, 49, .08), inset 0 0 0 1px rgba(17, 18, 24, .035);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand-logo {
  width: clamp(174px, 18vw, 204px);
  transition: width .38s cubic-bezier(.22, .7, .2, 1);
}

.site-header.is-scrolled .brand-logo {
  width: clamp(140px, 14vw, 158px);
}

.site-header nav a {
  position: relative;
  text-decoration: none !important;
}

.site-header nav a[aria-current="page"],
.site-header nav a#active,
.site-header nav li#active > a {
  color: #111218;
  opacity: 1;
}

.site-header nav a[aria-current="page"]::after,
.site-header nav a#active::after,
.site-header nav li#active > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

#active {
  text-decoration: none;
}

.site-header nav a.btn-mini {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(59, 111, 240, .24);
}

.page {
  min-height: 100%;
}

.page-hero {
  max-width: 850px;
  padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 5vw, 54px);
}

/* The restored About page keeps its original structure; align its hero with its 900px content cards. */
.page > .page-hero {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.page .page-hero h1,
.blog-hero h1 {
  max-width: 17ch;
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.page-hero .meta,
.page-hero .sub,
.page-hero > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: #555b6d;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.content-shell {
  display: grid;
  gap: 22px;
  padding-bottom: clamp(70px, 9vw, 116px);
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-soft);
  box-shadow: 0 18px 50px rgba(24, 31, 49, .07);
}

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  overflow: hidden;
}

.about-lead__copy {
  padding: clamp(28px, 5vw, 58px);
}

.about-lead__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.about-lead__copy p {
  max-width: 61ch;
  color: #454b5d;
  font-size: 17px;
}

.about-lead__visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #121827;
}

.about-lead__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .92;
}

.about-lead__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 251, .2), transparent 35%), linear-gradient(180deg, transparent 55%, rgba(11, 16, 32, .34));
}

.principles-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-card,
.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(24, 31, 49, .06);
}

.principle-card__number {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.principle-card h3,
.support-card h2 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.principle-card p,
.support-card p {
  margin: 0;
  color: #555b6d;
}

.moments-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 7vw, 88px);
  padding: clamp(30px, 5vw, 58px);
  background: linear-gradient(135deg, #111827, #1d2a43);
  color: #fff;
}

.moments-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.moment-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.moment-checks li {
  position: relative;
  padding: 14px 14px 14px 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #e9efff;
  font-weight: 700;
}

.moment-checks li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8ea4ff;
  box-shadow: 0 0 0 5px rgba(142, 164, 255, .14);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.06;
}

.final-cta p {
  margin: 0;
  color: #555b6d;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-card {
  min-height: 210px;
}

.support-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 13px;
  background: rgba(59, 111, 240, .10);
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.support-card a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5vw, 50px);
}

.support-contact h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
}

.support-contact p {
  margin: 0;
  color: #555b6d;
}

.support-contact .btn {
  flex: none;
}

.page-content,
.page > .card:not(.article-header),
.legal-main > .card {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 46px rgba(24, 31, 49, .07);
}

.page-content {
  color: #414758;
  line-height: 1.75;
}

.page-content li + li {
  margin-top: 14px;
}

.page > .card:not(.article-header) h3,
.legal-main > .card h3 {
  margin-top: 32px;
  color: #171a24;
  font-size: 19px;
}

.page > .card:not(.article-header) h3:first-child,
.legal-main > .card h3:first-child {
  margin-top: 0;
}

.blog-hero {
  max-width: 900px;
}

.blog-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 111, 240, .18);
  box-shadow: 0 22px 48px rgba(24, 31, 49, .11);
}

.blog-link::after {
  content: " →";
}

.article-shell {
  max-width: 920px;
}

.article-back {
  margin-bottom: 20px;
}

.article-back a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  transition: background .2s ease, transform .2s ease;
}

.article-back a:hover {
  background: #fff;
  transform: translateX(-2px);
}

.article-header.card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 26px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(79, 121, 240, .12), transparent 70%),
    rgba(255, 255, 255, .9);
}

.article-header h1 {
  max-width: 18ch;
  font-size: clamp(35px, 6vw, 62px);
  line-height: 1.01;
  letter-spacing: -.045em;
}

.article-body.card {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 26px;
}

.article-body h2 {
  margin-top: 44px;
  color: #171a24;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.14;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin-top: 28px;
  color: #1c2130;
  font-size: 19px;
}

.article-body p,
.article-body li {
  font-size: 17px;
  line-height: 1.76;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(176, 194, 245, .28);
  border-radius: 24px;
  background: linear-gradient(135deg, #121a2c, #1d2943);
  box-shadow: 0 18px 44px rgba(13, 20, 35, .18);
  color: #fff;
}

.article-cta div {
  display: grid;
  gap: 5px;
}

.article-cta strong {
  font-size: 21px;
}

.article-cta span {
  color: #cdd7ef;
}

.article-cta .btn {
  flex: none;
}

.site-footer,
footer.container,
footer.footer {
  margin-top: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--line);
  background: transparent;
}

.site-footer__inner,
.footer-row,
footer.container > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
  max-width: var(--container);
  margin: 0 auto;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #5d6273;
  font-size: 13px;
  font-weight: 700;
}

.site-footer__links a:hover {
  color: var(--accent);
}

/* Tighten the hand-off from app preview into product explanation. */
.inside-app {
  padding-bottom: clamp(44px, 5vw, 64px);
}

@media (min-width: 980px) {
  .how-it-works {
    padding-top: 42px;
  }
}

@media (min-width: 900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
  }

  .site-header nav ul {
    gap: clamp(16px, 2vw, 24px);
  }

  .site-header nav a {
    font-size: 14px;
  }
}

@media (max-width: 899px) {
  .site-header {
    top: 8px;
    justify-content: center;
    padding: 9px 10px;
  }

  .site-header .header-bar {
    width: 100%;
    min-height: 44px;
  }

  .site-header nav {
    margin-top: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  .site-header nav a[aria-current="page"]::after,
  .site-header nav a#active::after,
  .site-header nav li#active > a::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 18px;
    transform: translateY(-50%);
  }

  .site-header nav a.btn-mini {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }

  .about-lead,
  .moments-panel,
  .principles-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .about-lead__visual {
    min-height: 300px;
    order: -1;
  }

  .moment-checks {
    grid-template-columns: 1fr;
  }

  .final-cta,
  .support-contact,
  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .btn,
  .support-contact .btn {
    width: 100%;
    text-align: center;
  }

  .article-cta .btn {
    width: 100%;
    text-align: center;
  }

  .article-header h1 {
    max-width: none;
  }

  .site-footer__inner,
  .footer-row,
  footer.container > div {
    align-items: flex-start !important;
    flex-direction: column;
  }
}

/* Give the home page a calmer, more consistent vertical rhythm. */
.home-main > .moments-strip {
  padding-bottom: clamp(32px, 3.5vw, 40px);
}

.home-main > .inside-app {
  padding-top: clamp(76px, 8.5vw, 112px);
  padding-bottom: clamp(62px, 6vw, 76px);
}

.home-main > .how-it-works {
  padding-top: clamp(52px, 5vw, 64px);
}

.home-main > .transform-section {
  padding-top: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(44px, 4vw, 52px);
}

.home-main > .brainz-section {
  padding-top: clamp(44px, 5vw, 60px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.home-main > .faq-section {
  padding-top: clamp(58px, 6vw, 72px);
  padding-bottom: clamp(86px, 8vw, 104px);
}

.home-main > .home-blog-section {
  padding-top: clamp(66px, 6vw, 78px);
  padding-bottom: clamp(64px, 6vw, 76px);
}

/* Keep the preview rail intentional on ultra-wide screens. */
@media (min-width: 980px) {
  .home-main .download-rail {
    --rail-side: 20px;
    --rail-start: var(--rail-side);
    width: min(100vw, var(--container));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================================
   Mobile-first resilience pass
   The audio preview rail is the only intentional x-scroller.
   ========================================================= */
html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

main,
article,
section,
header,
footer,
nav,
.page,
.content-shell,
.content-panel,
.card {
  min-width: 0;
}

.page-content,
.article-body,
.legal-main,
.support-card,
.blog-card {
  overflow-wrap: anywhere;
}

button,
a {
  touch-action: manipulation;
}

@media (max-width: 899px) {
  .site-header nav {
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .site-header nav a.btn-mini {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .container {
    padding-top: 16px;
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: 16px;
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    min-height: 60px;
    margin-bottom: clamp(30px, 9vw, 42px);
    padding: 8px;
    border-radius: 16px;
  }

  .site-header .header-bar {
    gap: 10px;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: clamp(142px, 44vw, 166px);
  }

  .nav-toggle {
    flex: none;
    min-height: 44px;
    padding: 9px 11px;
    font-size: 14px;
  }

  .site-header nav {
    padding: 8px;
  }

  .site-header nav ul {
    gap: 4px;
  }

  .site-header nav a {
    padding: 10px 12px;
  }

  .eyebrow,
  .page .eyebrow {
    letter-spacing: .18em;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    text-align: center;
  }

  .hero-home {
    gap: 28px;
    padding-top: 10px;
    padding-bottom: 54px;
  }

  .hero-home h1 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.08;
  }

  .hero-home .sub {
    font-size: 17px;
    line-height: 1.55;
  }

  .cta-row {
    width: 100%;
    margin-top: 20px;
  }

  .cta-row .btn {
    width: min(100%, 340px);
  }

  .moments-strip {
    padding-top: 28px;
  }

  .moments-band {
    gap: 11px;
    padding: 24px 18px;
  }

  .moments-list {
    gap: 8px;
  }

  .moment-jump {
    min-height: 44px;
    padding: 8px 9px;
    font-size: 12px;
  }

  .home-main > .inside-app {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .inside-app__heading {
    margin-bottom: 20px;
  }

  .inside-app__heading h2,
  .faq-intro h2 {
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.06;
  }

  .download-rail {
    --rail-side: max(16px, env(safe-area-inset-right));
    --rail-start: max(16px, env(safe-area-inset-left));
    padding-top: 12px;
    padding-bottom: 56px;
  }

  .rail-status {
    margin-top: -32px;
  }

  .home-main > .how-it-works {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .how-layout {
    gap: 28px;
  }

  .how-grid {
    gap: 14px;
  }

  .how-step {
    padding: 44px 18px 18px;
  }

  .how-step::before {
    left: 18px;
  }

  .home-main > .transform-section {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .transform-line {
    gap: 20px;
    padding: 24px 20px;
  }

  .transform-copy {
    max-width: 100%;
  }

  .transform-main {
    font-size: clamp(23px, 7.5vw, 30px);
  }

  .transform-cta {
    width: 100%;
  }

  .reviews-section,
  .home-main > .reviews-section {
    margin-top: 20px;
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .reviews-heading h2 {
    font-size: clamp(25px, 8vw, 31px);
    line-height: 1.08;
  }

  .review-card {
    padding: 22px 18px;
  }

  .reviews-cta {
    margin-top: 38px;
  }

  .reviews-cta .btn {
    width: min(100%, 340px);
  }

  .home-main > .brainz-section {
    padding-top: 44px;
    padding-bottom: 68px;
  }

  .brainz-partnership {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 20px;
    border-radius: 22px;
    text-align: center;
  }

  .brainz-partnership__copy {
    margin: 0 auto;
  }

  .brainz-partnership__mark {
    order: -1;
  }

  .brainz-partnership__mark img {
    width: min(66vw, 220px);
  }

  .brainz-partnership h2 {
    max-width: none;
    margin-top: 8px;
    font-size: clamp(30px, 9vw, 40px);
  }

  .home-main > .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .faq-list summary {
    min-height: 60px;
    padding: 18px 40px 18px 0;
    font-size: 17px;
  }

  .faq-list summary::after {
    top: 15px;
  }

  .faq-list details p {
    margin-right: 18px;
  }

  .home-main > .home-blog-section {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .home-blog-section .section-heading .btn,
  .final-cta .btn,
  .support-contact .btn,
  .article-cta .btn {
    width: 100%;
  }

  .blog-grid {
    gap: 14px;
  }

  .blog-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .blog-card h3 {
    font-size: 20px;
  }

  .page-hero,
  .page > .page-hero {
    padding: 16px 0 32px;
  }

  .page .page-hero h1,
  .blog-hero h1 {
    max-width: none;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.06;
  }

  .page-hero .meta,
  .page-hero .sub,
  .page-hero > p:last-child {
    font-size: 16px;
  }

  .content-shell {
    gap: 16px;
    padding-bottom: 72px;
  }

  .page-content,
  .page > .card:not(.article-header),
  .legal-main > .card,
  .article-header.card,
  .article-body.card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .page .card {
    margin-bottom: 14px;
  }

  .page p,
  .page li,
  .article-body p,
  .article-body li {
    font-size: 16px;
    line-height: 1.72;
  }

  .page .card ul,
  .article-body ul,
  .article-body ol,
  .page-content ul,
  .page-content ol {
    padding-left: 1.15rem;
  }

  .support-grid {
    gap: 14px;
  }

  .support-card,
  .principle-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .support-card__icon,
  .principle-card__number {
    margin-bottom: 20px;
  }

  .support-contact,
  .final-cta,
  .article-cta {
    gap: 20px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .about-lead__copy,
  .moments-panel {
    padding: 24px 20px;
  }

  .about-lead__visual {
    min-height: 240px;
  }

  .article-back {
    margin-bottom: 14px;
  }

  .article-back a,
  .support-card > a,
  .blog-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .article-header h1 {
    max-width: none;
    font-size: clamp(29px, 8.5vw, 36px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .article-body h2 {
    margin-top: 36px;
    font-size: clamp(22px, 7vw, 27px);
  }

  .article-body h3 {
    margin-top: 24px;
    font-size: 18px;
  }

  .site-footer,
  footer.container,
  footer.footer {
    margin-top: 56px;
    padding: 28px 0 max(40px, env(safe-area-inset-bottom));
  }

  .site-footer__inner,
  .footer-row,
  footer.container > div {
    gap: 18px !important;
  }

  .site-footer__links {
    gap: 4px 16px;
  }

  .site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: 138px;
  }

  .nav-toggle {
    padding-right: 9px;
    padding-left: 9px;
  }

  .hero-home h1 {
    font-size: 31px;
  }

  .moments-band {
    padding-right: 15px;
    padding-left: 15px;
  }

  .moment-jump {
    font-size: 11px;
  }
}
