/*
 * ArMoWealth project page (dark-puzzle site). Wears ArMoWealth's own brand (brief §8):
 * light, violet → teal, Plus Jakarta Sans. Generated from the Next.js components
 * (phone frame "p-", mascot "m-", page), plus the top bar and site footer below.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #fbfaff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd {
  margin: 0;
}

ul[role="list"], ol[role="list"] {
  padding: 0;
  list-style: none;
}

img, svg {
  max-width: 100%;
}

:root {
  --font-jakarta: "Plus Jakarta Sans";
}

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

/* ── Top bar: back into the ARMO site ── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  padding-inline: max(4vw, 20px);
  background: rgb(251 250 255 / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ecebf5;
  font-family: var(--font-jakarta), system-ui, sans-serif;
  color: #14142b;
}

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

.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topbar .brand svg {
  width: 40px;
  height: 26px;
}

.topbar nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.topbar nav a:hover,
.topbar .back:hover {
  color: #5b3df5;
}

.topbar .back {
  font-size: 0.9rem;
  font-weight: 700;
}

.siteFoot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px max(4vw, 20px) 30px;
  background: #0b0e1a;
  color: #a3a9c7;
  font: 600 0.875rem var(--font-jakarta), system-ui, sans-serif;
}

.siteFoot a {
  color: #eef0fa;
}

@media (max-width: 760px) {
  .topbar nav {
    display: none;
  }
}

/* A modern slim-bezel phone. Sizes are in container units of the phone's own width. */
.p-phone {
  --pw: 300px;
  container-type: inline-size;
  width: var(--pw);
  max-width: 100%;
  margin: 0;
  flex: none;
}

.p-bezel {
  padding: 2.4cqi;
  border-radius: 14cqi;
  background: linear-gradient(150deg, #3a3e50 0%, #12141d 22%, #0b0c12 60%, #2c3042 100%);
  box-shadow:
    inset 0 0 0 0.35cqi rgb(255 255 255 / 0.22),
    inset 0 0 0 0.9cqi #07080d,
    0 40px 80px rgb(20 20 43 / 0.25),
    0 8px 18px rgb(20 20 43 / 0.12);
}

.p-screen {
  position: relative;
  overflow: hidden;
  border-radius: 11.6cqi;
  background: #fbfaff;
  /* Keeps the clip crisp while the phone tilts or floats. */
  isolation: isolate;
}

.p-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.p-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.4cqi;
  padding: 0 7.5cqi 0 8.5cqi;
  background: #fbfaff;
  color: #14142b;
  font: 700 3.5cqi/1 var(--font-jakarta), system-ui, sans-serif;
}

.p-camera {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.1cqi;
  height: 3.1cqi;
  border-radius: 50%;
  background: #0b0c12;
  translate: -50% -50%;
  box-shadow: inset 0 0 0 0.5cqi #1d2030;
}

.p-glyphs {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqi;
}

.p-glyphs svg {
  width: auto;
  height: 2.8cqi;
  fill: currentColor;
}

.m-mascot {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.m-mascot * {
  transform-box: fill-box;
}

.m-handText {
  font: 800 9px var(--font-jakarta), system-ui, sans-serif;
  fill: #fff;
  fill-opacity: 0.85;
}

.m-eyes {
  transform-origin: center;
}

/* The "Mo" hand pivots on its socket, on the body's right side. */
.m-handMo {
  transform-origin: 0% 50%;
}

.m-shadow {
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .m-body {
    animation: float 3s ease-in-out infinite;
  }

  .m-shadow {
    animation: shadow 3s ease-in-out infinite;
  }

  .m-eyes {
    animation: blink 4.6s ease-in-out infinite;
  }

  .m-sprout {
    transform-origin: 50% 100%;
    animation: sway 3s ease-in-out infinite;
  }

  .m-mascot:hover .m-handMo {
    animation: wave 0.9s ease-in-out 2;
  }
}

@keyframes float {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes shadow {
  50% {
    transform: scaleX(0.86);
    opacity: 0.09;
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.12);
  }
}

@keyframes sway {
  50% {
    transform: rotate(-6deg);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-28deg);
  }
  75% {
    transform: rotate(12deg);
  }
}

/*
 * ArMoWealth project page: the product's own design system (brief §8), scoped to this page.
 * Light theme; the "Private by design" section is dark. Contrast ≥ 4.5:1 for all body text.
 */
.page {
  --bg: #fbfaff;
  --surface: #ffffff;
  --field: #f3f2fb;
  --text: #14142b;
  --muted: #5e5e7a; /* #6B6B88 from the brief, nudged darker to keep 4.5:1 on tinted bands */
  --line: #ecebf5;
  --violet: #5b3df5;
  --teal: #13c2a3;
  --grad: linear-gradient(135deg, #5b3df5 0%, #13c2a3 100%);
  /* Text-safe gradient: its teal end still passes 3:1 for large text on white. */
  --grad-text: linear-gradient(120deg, #5b3df5 10%, #0e8f78 100%);
  --pos: #0b7d69;
  --neg: #c53a3a;
  --gold: linear-gradient(135deg, #ffd27a, #f5a524);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 24px 60px -24px rgb(20 20 43 / 0.28);
  --rowp: min(230px, 64vw);

  position: relative;
  background: var(--bg);
  /* A faint dotted texture for depth. */
  background-image: radial-gradient(rgb(91 61 245 / 0.07) 1px, transparent 1.3px);
  background-size: 26px 26px;
  color: var(--text);
  font-family: var(--font-jakarta), system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color-scheme: light;
  overflow-x: clip;
}

.page ::selection {
  background: #5b3df5;
  color: #fff;
}

.page :focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.page a {
  color: inherit;
}

.w {
  width: min(1180px, 100% - 2 * clamp(20px, 5vw, 56px));
  margin-inline: auto;
}

/* ── Type ── */
.eyebrow {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.h2Wide {
  max-width: 24ch;
}

.h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradText {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 38ch;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  font-weight: 500;
}

.body {
  max-width: 44ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 500;
}

.bodyWide {
  max-width: 60ch;
}

.small {
  color: var(--muted);
  font-size: 0.97rem;
}

.fine {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.example {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--field);
  color: #4a4a68;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nowrap {
  white-space: nowrap;
}

/* ── Sections ── */
.section {
  position: relative;
  padding-block: clamp(80px, 9vw, 130px);
}

.sectionTight {
  padding-block: 28px;
}

.tint {
  background: linear-gradient(180deg, rgb(243 242 251 / 0.85), rgb(243 242 251 / 0.4));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.splitFlip > :first-child {
  order: 2;
}

.stageCentre,
.stageCallout {
  position: relative;
  display: grid;
  justify-items: center;
}

.glowSoft {
  position: absolute;
  inset: 8% 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(91 61 245 / 0.3), transparent), radial-gradient(closest-side at 70% 70%, rgb(19 194 163 / 0.3), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.stageCentre > figure,
.stageCallout > figure,
.armoBig > svg {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 12vw, 150px) 0 clamp(70px, 8vw, 110px);
}

.glowA,
.glowB {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.glowA {
  right: 6%;
  top: 8%;
  width: 46vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: #5b3df5;
  opacity: 0.3;
}

.glowB {
  right: 22%;
  top: 36%;
  width: 34vw;
  max-width: 480px;
  aspect-ratio: 1;
  background: #13c2a3;
  opacity: 0.28;
}

.heroGrid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
}

.heroEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.75);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
}

.heroEyebrow img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  box-shadow: 0 10px 24px -12px rgb(20 20 43 / 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.page .store {
  color: #fff;
}

.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgb(91 61 245 / 0.55);
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
}

.storeSoon {
  cursor: default;
  opacity: 0.85;
}

.storeSoon:hover {
  transform: none;
}

.soon {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.howLink {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 2px;
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
}

.page .howLink {
  color: var(--violet);
}

.howLink:hover {
  text-decoration: underline;
}

.facts {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

/* The fan: centre phone upright and in front; the sides ~90%, ∓8°, lower and behind. */
.fan {
  --centre: clamp(200px, 20vw, 290px);
  --side: calc(var(--centre) * 0.9);
  --rx: 0deg;
  --ry: 0deg;
  --par: 0;
  position: relative;
  perspective: 1200px;
  min-height: calc(var(--centre) * 2.15);
}

.fanInner {
  position: relative;
  height: 100%;
  min-height: inherit;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.2s linear;
}

.fanPhone {
  position: absolute;
  top: 0;
  left: 50%;
}

.fanCentre {
  z-index: 3;
  translate: -50% 0;
}

.fanLeft {
  z-index: 1;
  translate: calc(-50% - var(--centre) * 0.62) calc(8% + var(--par) * -18px);
  rotate: -8deg;
}

.fanRight {
  z-index: 2;
  translate: calc(-50% + var(--centre) * 0.62) calc(8% + var(--par) * 18px);
  rotate: 8deg;
}

.fanPhone > div {
  animation: float 6s ease-in-out infinite;
}

.fanLeft > div {
  animation-delay: -2s;
}

.fanRight > div {
  animation-delay: -4s;
}

@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}

/* Specific enough to beat the mascot's own width: 100%. */
.fanInner .heroMascot {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: -2%;
  width: clamp(90px, 9vw, 130px);
}

/* Glass callout cards, lifted out of a screenshot and pinned back to it with a dot. */
.callout {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 0.85);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--shadow);
}

.callout::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1.5px;
  background: linear-gradient(90deg, rgb(91 61 245 / 0.6), rgb(91 61 245 / 0));
}

.heroCallout {
  left: -2%;
  top: 30%;
  justify-items: start;
}

.heroCallout::after {
  left: 100%;
  top: 50%;
}

.calloutKicker {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.calloutBig {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chipPaid {
  position: absolute;
  z-index: 5;
  padding: 7px 14px;
  border-radius: 999px;
  background: #dff7f1;
  color: var(--pos);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.heroPaid {
  right: 2%;
  top: 12%;
}

/* ── 2 · The big number ── */
.bigCard {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bigCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--grad);
}

.bigNumber {
  font-size: clamp(3.4rem, 2rem + 5vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bigLine {
  font-size: 1.15rem;
  font-weight: 700;
}

/* ── 3 · The house that builds itself ── */
.buildRow {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.house {
  width: 100%;
  height: auto;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
}

.step strong {
  display: block;
  font-weight: 800;
}

.step span span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.stepN {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.thenReveal {
  margin-top: 26px;
  font-size: 1.2rem;
  font-weight: 800;
}

.thenReveal span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 500;
}

/* ── 4 · Explained ── */
.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.terms li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
}

.honest {
  max-width: 46ch;
  margin-top: 22px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  font-style: italic;
}

.rentCallout {
  left: -6%;
  bottom: 8%;
  width: min(300px, 80vw);
}

.rentCallout::after {
  left: 100%;
  top: 30px;
}

.calloutTitle {
  font-weight: 800;
}

.calloutSub {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.rentBar {
  display: flex;
  gap: 3px;
  height: 10px;
  margin: 8px 0 6px;
}

.rentBar span {
  border-radius: 99px;
}

.rentList {
  display: grid;
  gap: 4px;
  margin: 0 0 8px;
  font-size: 0.85rem;
}

.rentList div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.rentList dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a3a58;
}

.rentList dt i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rentList dd {
  margin: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pos {
  color: var(--pos);
}

.neg {
  color: var(--neg);
}

/* ── 5 · Trio ── */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 54px;
}

.trioCard {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.trioCard > figure {
  margin-bottom: 14px;
}

.trioCard:nth-child(2) {
  translate: 0 36px;
}

.trioCard .small {
  max-width: 30ch;
}

/* ── 6 · Bento ── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  grid-template-areas:
    "p1 rent loans p2"
    "p1 proj proj p2"
    "people docs p3 tmpl"
    "search search p3 tmpl";
  gap: 16px;
  margin-top: 54px;
}

.aP1 { grid-area: p1; }
.aP2 { grid-area: p2; }
.aP3 { grid-area: p3; }
.aRent { grid-area: rent; }
.aLoans { grid-area: loans; }
.aProj { grid-area: proj; }
.aPeople { grid-area: people; }
.aDocs { grid-area: docs; }
.aTmpl { grid-area: tmpl; }
.aSearch { grid-area: search; }

.tile {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 30px -22px rgb(20 20 43 / 0.35);
}

.tilePhone {
  place-items: center;
  overflow: hidden;
  padding: 20px 12px 0;
  background: linear-gradient(160deg, rgb(91 61 245 / 0.12), rgb(19 194 163 / 0.14));
  border-color: transparent;
}

.tilePhone > figure {
  margin-bottom: -24%;
}

.tileTitle {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.icon {
  width: 28px;
  height: 28px;
  color: var(--violet);
}

/* ── 7 · Skyline pair ── */
.pair {
  margin: 0;
  display: grid;
  justify-items: center;
}

.pairPhones {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: flex-start;
}

.pairSecond {
  margin-top: 48px;
}

/* ── 8 · ArMo ── */
.armoIntro {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.armoBig {
  position: relative;
  max-width: 320px;
  justify-self: center;
  width: 100%;
}

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

.stages li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
}

.stages strong {
  font-weight: 800;
}

.stages li span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.3;
}

.stageLegend {
  border-color: #f5c46a !important;
  background: linear-gradient(180deg, #fff8e8, #fff) !important;
}

.stageHead {
  width: 58px;
  height: 58px;
}

/* Rows of phones: a staggered row on desktop, a snap carousel on phones. */
.row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: 56px;
}

.rowItem {
  margin: 0;
}

.row > :nth-child(even) {
  margin-top: 46px;
}

/* ── 9 · Private (dark) ── */
.dark {
  --text: #eef0fa;
  --muted: #a3a9c7;
  --line: #232a42;
  overflow: hidden;
  background: #0b0e1a;
  color: var(--text);
}

.dark .eyebrow {
  color: #2ee6c4;
}

.darkGlowA,
.darkGlowB {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.darkGlowA {
  left: -10%;
  top: -20%;
  width: 50vw;
  aspect-ratio: 1;
  background: #8c79ff;
  opacity: 0.22;
}

.darkGlowB {
  right: -10%;
  bottom: -30%;
  width: 46vw;
  aspect-ratio: 1;
  background: #2ee6c4;
  opacity: 0.16;
}

.dark .w {
  position: relative;
}

.privacy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.privacy li {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(20 26 44 / 0.7);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.privacy .icon {
  width: 34px;
  height: 34px;
  color: #2ee6c4;
}

.darkLine {
  max-width: 52ch;
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 700;
}

.darkSmall {
  margin-top: 10px;
  color: var(--muted);
}

/* ── 10 · Grow ── */
.subhead {
  margin-top: 80px;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── 11 · Tech ── */
.techChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 30px;
}

.techChips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #ece8ff;
  color: #3d23c9;
  font-size: 0.875rem;
  font-weight: 700;
}

.techGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

/* ── 12–13 · Plans, made by ── */
.plans {
  display: grid;
  gap: 8px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.plans::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--grad);
}

.plans p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.made {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0 50px;
}

.madeLogo {
  width: 110px;
  flex: none;
}

.logoText {
  font: 800 15px var(--font-jakarta), system-ui, sans-serif;
  fill: #fff;
}

.made a {
  color: var(--violet);
  font-weight: 700;
}

.disclaimer {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: #4a4a68;
  font-size: 0.9rem;
}

/* ── Motion: once, on arrival ── */
@media (prefers-reduced-motion: no-preference) {
  .page [data-rise] {
    opacity: 0;
    transform: translateY(24px);
  }

  .page [data-in] [data-rise],
  .page [data-in][data-rise] {
    animation: rise 0.7s var(--ease) calc(var(--i, 0) * 80ms) both;
  }

  .hero .heroCopy > *,
  .hero .fan {
    animation: rise 0.8s var(--ease) both;
  }

  .hero .heroCopy > :nth-child(2) { animation-delay: 80ms; }
  .hero .heroCopy > :nth-child(3) { animation-delay: 160ms; }
  .hero .heroCopy > :nth-child(4) { animation-delay: 240ms; }
  .hero .heroCopy > :nth-child(5),
  .hero .heroCopy > :nth-child(6) { animation-delay: 320ms; }
  .hero .fan { animation-delay: 120ms; }

  /* The house builds itself, one part per step. */
  .hStep {
    opacity: 0;
    transform: translateY(-10px);
    transform-box: fill-box;
  }

  [data-in] .hStep {
    animation: rise 0.5s var(--ease) calc(400ms + var(--s) * 420ms) both;
  }

  .step {
    opacity: 0.35;
  }

  [data-in] .step {
    animation: lit 0.4s ease-out calc(400ms + var(--s) * 420ms) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fanPhone > div,
  .fanInner {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lit {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .heroGrid,
  .split,
  .armoIntro {
    grid-template-columns: 1fr;
  }

  .splitFlip > :first-child {
    order: 0;
  }

  .fan {
    --centre: min(56vw, 270px);
    margin-top: 20px;
  }

  .heroCallout {
    left: 0;
    top: 58%;
  }

  .rentCallout {
    left: 50%;
    bottom: -6%;
    translate: -50% 0;
  }

  .rentCallout::after {
    display: none;
  }

  .trio,
  .privacy,
  .cards3,
  .techGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trioCard:nth-child(2) {
    translate: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "p1 rent"
      "p1 loans"
      "proj proj"
      "people p2"
      "docs p2"
      "tmpl tmpl"
      "p3 search"
      "p3 search";
  }

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

@media (max-width: 700px) {
  .trio,
  .privacy,
  .cards3,
  .techGrid,
  .bento {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-areas: none;
  }

  .bento > * {
    grid-area: auto !important;
  }

  .buildRow {
    grid-template-columns: 1fr;
  }

  .house {
    max-width: 240px;
  }

  .fanInner .heroMascot {
    right: 0;
    bottom: -4%;
  }

  .heroPaid {
    right: 0;
  }

  /* Phone rows become a horizontal snap carousel. */
  .row {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 20px 24px;
    margin-inline: calc(-1 * clamp(20px, 5vw, 56px));
    scrollbar-width: none;
  }

  .row > * {
    scroll-snap-align: center;
    margin-top: 0 !important;
  }

  .pairSecond {
    margin-top: 28px;
  }

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

  .made {
    flex-direction: column;
    align-items: flex-start;
  }
}

.body + .small {
  margin-top: 14px;
}
