/* Brain Gym landing page. Colours, type and shapes follow the app's Room theme (src/design/theme.ts). */
:root {
  --bg: #fff6ea;
  --dot: #f4d9bd;
  --ink: #2b1b3d;
  --muted: #6b5a78;
  --surface: #ffffff;
  --track: #f2e6da;
  --accent: #f45b4b;
  --accent-text: #c2410c;
  --butter: #ffd45c;
  --butter-soft: #ffe58f;
  --memory: #ff9eb5;
  --focus: #7cc8f2;
  --speed: #ffd45c;
  --logic: #5cd6a9;
  --memory-text: #b4385a;
  --focus-text: #1f6fa0;
  --speed-text: #a16207;
  --logic-text: #1f8a63;
  --lilac: #b9a3f5;
  --water: #bdebf5;
  --water-deep: #8ed6ec;
  --sand: #ffe9b8;

  --stroke: 3px;
  --lift: 5px;
  --radius: 24px;
  --display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --body: 'Nunito', ui-rounded, system-ui, sans-serif;
  --wrap: 1160px;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 2.4px, transparent 2.8px);
  background-size: 30px 30px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 12px;
}

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

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

.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Sticker primitives ---------- */
.sticker {
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 var(--lift) 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 var(--lift) 0 var(--ink);
  cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background-color 150ms;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 calc(var(--lift) + 2px) 0 var(--ink);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}
.btn--accent {
  background: var(--accent);
}
.btn--butter {
  background: var(--butter);
}
.btn--sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 14px;
}

/* Store buttons look like store badges: dark, two lines. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 20px 8px 16px;
  color: #fff;
  background: var(--ink);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 var(--lift) 0 #000;
  text-decoration: none;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
a.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 calc(var(--lift) + 2px) 0 #000;
}
a.store:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #000;
}
.store .i {
  width: 28px;
  height: 28px;
}
.store small {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.store strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}
.store--soon {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 var(--lift) 0 var(--ink);
  cursor: default;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 520px) {
  .stores .store {
    flex: 1 1 100%;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--body);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
}
.eyebrow .i {
  width: 18px;
  height: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 14px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
}
.chip .i {
  width: 16px;
  height: 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  transition: background-color 200ms, box-shadow 200ms;
}
.header.is-stuck {
  background: rgba(255, 246, 234, 0.94);
  box-shadow: 0 3px 0 var(--ink);
}
@supports (backdrop-filter: blur(8px)) {
  .header.is-stuck {
    background: rgba(255, 246, 234, 0.82);
    backdrop-filter: blur(8px);
  }
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: var(--stroke) solid var(--ink);
}
.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 150ms;
}
.nav a:hover {
  background: var(--surface);
}
.header .btn {
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .header .btn {
    margin-left: 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 28px 0 72px;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 9vw, 76px);
  letter-spacing: -0.01em;
}
.hero h1 .mark {
  position: relative;
  white-space: nowrap;
}
.hero h1 .mark::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.32em;
  z-index: -1;
  background: var(--butter);
  border-radius: 8px;
}
.hero h1 .mark--pink::after {
  background: var(--memory);
}
.lede {
  max-width: 34em;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
}
.lede strong {
  color: var(--ink);
}
.hero .stores {
  margin: 30px 0 22px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 20px;
}
.hero-art .phone {
  transform: rotate(3deg);
}
.hero-inky {
  position: absolute;
  left: max(0px, calc(50% - 250px));
  bottom: 0;
  width: 170px;
  z-index: 3;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
.hero-inky svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 0 rgba(43, 27, 61, 0.12));
}
.bubble {
  position: absolute;
  left: 4%;
  bottom: 96%;
  width: max-content;
  max-width: 190px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 4px 0 var(--ink);
  font-family: var(--body);
  font-weight: 800;
  color: var(--ink);
  transform-origin: bottom left;
}
.bubble.pop {
  animation: pop 320ms var(--ease-pop);
}
@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
.wiggle {
  animation: wiggle 600ms var(--ease-pop);
}
@keyframes wiggle {
  0% {
    transform: translateY(0) rotate(0);
  }
  30% {
    transform: translateY(-14px) rotate(-6deg);
  }
  60% {
    transform: translateY(0) rotate(4deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.float {
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@media (min-width: 900px) {
  .hero {
    padding: 48px 0 96px;
  }
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-inky {
    width: 190px;
    left: -10px;
  }
}

/* ---------- Phone mockups ---------- */
.phone {
  position: relative;
  width: 280px;
  flex: none;
  padding: 10px;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: 0 8px 0 #000, 0 30px 60px -20px rgba(43, 27, 61, 0.45);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 78px;
  height: 22px;
  margin-left: -39px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 560px;
  overflow: hidden;
  background: var(--bg);
  border-radius: 34px;
  font-size: 13px;
  line-height: 1.3;
}
.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 46px 16px 10px;
}
.screen-title {
  font-family: var(--display);
  font-size: 20px;
}
.screen .chip {
  font-size: 12px;
  padding: 2px 9px;
  border-width: 2px;
}
.screen .chip .i {
  width: 14px;
  height: 14px;
}
.tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: 10px 10px 18px;
  background: var(--surface);
  border-top: var(--stroke) solid var(--ink);
}
.tabbar span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 12px;
  color: var(--muted);
}
.tabbar .on {
  color: var(--ink);
  background: var(--butter);
  border: 2px solid var(--ink);
}
.map {
  margin: 0 12px;
  border: var(--stroke) solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--water);
}
.map svg text {
  font-family: var(--display);
  font-weight: 600;
}
.inky-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 12px 0;
  padding: 8px 10px;
}
.inky-card svg {
  width: 62px;
  flex: none;
}
.inky-card p {
  font-weight: 800;
  font-size: 12.5px;
}
.inky-card .play {
  margin-left: auto;
  flex: none;
  padding: 6px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  background: var(--accent);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
}

/* Game screen */
.game-head {
  padding: 46px 16px 6px;
}
.game-head .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bar {
  height: 12px;
  margin-top: 10px;
  background: var(--track);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--memory);
  border-right: 2.5px solid var(--ink);
}
.prompt {
  margin: 18px 16px 14px;
  padding: 10px;
  text-align: center;
  font-weight: 800;
  border-radius: 16px;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 18px;
}
.grid4 span {
  aspect-ratio: 1;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
}
.grid4 .lit {
  background: var(--memory);
}
.grid4 .hit {
  background: var(--logic);
}
.game-foot {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 16px 0;
}

/* Result screen */
.screen--result {
  background: var(--butter);
}
.rays {
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from 0deg at 50% 42%, var(--butter-soft) 0 10deg, transparent 10deg 20deg);
  opacity: 0.9;
}
.result {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 16px 18px;
  text-align: center;
  height: 100%;
}
.result h3 {
  font-size: 30px;
}
.result svg {
  width: 150px;
  margin: 8px 0 4px;
}
.score {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}
.score + small {
  font-weight: 800;
  color: var(--muted);
}
.rewards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.result .btn {
  margin-top: auto;
  width: 100%;
  min-height: 46px;
  font-size: 17px;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  margin: 16px 0 14px;
  font-size: clamp(32px, 5.5vw, 52px);
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
}

/* Skills */
.skills {
  display: grid;
  gap: 22px;
}
@media (min-width: 640px) {
  .skills {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1040px) {
  .skills {
    grid-template-columns: repeat(4, 1fr);
  }
}
.skill {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 200ms var(--ease-pop);
}
.skill:hover,
.js .skill.reveal.in:hover {
  transform: translateY(-4px) rotate(-0.6deg);
}
.skill-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
}
.skill-icon .i {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}
.skill h3 {
  font-size: 26px;
}
.skill .place {
  margin: 2px 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skill > p {
  color: var(--muted);
  margin-bottom: 16px;
}
.games {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.games li {
  padding: 7px 12px;
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
}
.games li span {
  display: block;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.games li .new {
  display: inline-block;
  margin-left: 6px;
  vertical-align: 1px;
}
.new {
  padding: 1px 7px;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em;
  color: var(--ink) !important;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.levels {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
}

/* Day loop */
.band {
  background: var(--surface);
  border-top: var(--stroke) solid var(--ink);
  border-bottom: var(--stroke) solid var(--ink);
}
.steps {
  display: grid;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  counter-increment: step;
}
.step .phone {
  width: 250px;
  margin-bottom: 30px;
}
.step .screen {
  height: 500px;
}
.step:nth-child(1) .phone {
  transform: rotate(-2deg);
}
.step:nth-child(3) .phone {
  transform: rotate(2deg);
}
.step > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
}
.step > h3::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 22px;
  background: var(--butter);
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
}
.step > p {
  max-width: 22em;
  margin-top: 10px;
  color: var(--muted);
}
@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Inky */
.inky {
  display: grid;
  gap: 48px;
  align-items: center;
}
.inky-stage {
  position: relative;
  padding: 36px 24px 28px;
  background: #d9f2ff;
  text-align: center;
}
.inky-stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: #a9ddf5;
  border-top: var(--stroke) solid var(--ink);
  border-radius: 0 0 calc(var(--radius) - 3px) calc(var(--radius) - 3px);
}
.inky-big {
  position: relative;
  z-index: 1;
  width: min(320px, 80%);
  margin: 0 auto;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.inky-big .bubble {
  left: auto;
  bottom: auto;
  right: -12%;
  top: -8%;
  border-radius: 18px 18px 4px 18px;
  transform-origin: bottom right;
}
.stages {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.stages .chip:nth-child(1) {
  background: var(--surface);
}
.stages .chip:nth-child(2) {
  background: var(--focus);
}
.stages .chip:nth-child(3) {
  background: var(--lilac);
}
.inky-copy h2 {
  margin: 16px 0 16px;
  font-size: clamp(32px, 5.5vw, 52px);
}
.inky-copy > p {
  color: var(--muted);
  font-size: 18px;
}
.ticks {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticks .dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
}
.ticks .dot .i {
  width: 18px;
  height: 18px;
}
.ticks b {
  display: block;
}
.ticks span {
  color: var(--muted);
}
.fact {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--butter);
  font-weight: 800;
}
@media (min-width: 900px) {
  .inky {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* Companions */
.pals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 700px) {
  .pals {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1040px) {
  .pals {
    grid-template-columns: repeat(6, 1fr);
  }
}
.pal {
  position: relative;
  padding: 16px 12px 14px;
  text-align: center;
}
.pal .blob {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
}
.pal .blob svg {
  width: 100%;
}
.pal .blob .i {
  width: 28px;
  height: 28px;
}
.pal b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
}
.pal span {
  color: var(--muted);
  font-size: 14px;
}
.pal .tag {
  position: absolute;
  top: -12px;
  right: 10px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--logic);
}
.pal .tag--pro {
  background: var(--butter);
}

/* Brain Age */
.boss {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 32px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 0 #000;
}
.boss .eyebrow {
  color: var(--ink);
  background: var(--butter);
}
.boss h2 {
  margin: 18px 0 14px;
  font-size: clamp(32px, 5.5vw, 52px);
}
.boss p {
  color: #e3d8ee;
  font-size: 18px;
}
.boss .note {
  margin-top: 14px;
  font-size: 14px;
  color: #c9bad8;
}
.age-card {
  padding: 22px;
  color: var(--ink);
  max-width: 420px;
  width: 100%;
  justify-self: center;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 0 #000;
  border-color: #000;
}
.age-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.age-card .label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.age-num {
  font-family: var(--display);
  font-size: 76px;
  line-height: 1;
}
.crown {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--butter);
  border: var(--stroke) solid var(--ink);
  border-radius: 16px;
}
.crown .i {
  width: 30px;
  height: 30px;
}
.meters {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.meter {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
}
.meter .bar {
  margin: 0;
  height: 16px;
}
.age-card small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 900px) {
  .boss {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 56px;
    gap: 56px;
  }
}

/* Pricing */
.plans {
  display: grid;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.plan {
  padding: 28px;
}
.plan--pro {
  background: var(--butter);
}
.plan h3 {
  font-size: 30px;
}
.plan .price {
  margin: 4px 0 18px;
  font-weight: 800;
  color: var(--muted);
}
.plan--pro .price {
  color: var(--ink);
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan li .i {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 2px;
  color: var(--ink);
  background: var(--logic);
  border: 2px solid var(--ink);
  border-radius: 7px;
  stroke-width: 3.2;
}
.plan--pro li .i {
  background: var(--surface);
}

/* FAQ */
.faq {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  padding: 0;
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  min-height: 56px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  transition: transform 200ms ease-out;
}
.faq details[open] summary .i {
  transform: rotate(180deg);
}
.faq details > div {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq details > div p + p {
  margin-top: 10px;
}
.faq a {
  color: var(--accent-text);
  font-weight: 800;
}

/* Final CTA */
.final {
  position: relative;
  padding: 48px 24px;
  text-align: center;
  background: var(--accent);
  border-radius: 32px;
  overflow: hidden;
}
.final h2 {
  font-size: clamp(34px, 6vw, 60px);
  margin: 0 auto 14px;
  max-width: 14em;
}
.final p {
  max-width: 30em;
  margin: 0 auto;
  font-size: 18px;
}
.final .stores {
  justify-content: center;
  margin-top: 28px;
}
.final .store--soon {
  background: var(--surface);
}
.final svg.inky-peek {
  width: 150px;
  margin: 0 auto 8px;
}
@media (min-width: 900px) {
  .final {
    padding: 64px 48px;
  }
}

/* Footer */
.footer {
  padding: 40px 0 56px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer a {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.footer small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* Sticky mobile CTA */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  transform: translateY(140%);
  transition: transform 260ms var(--ease-pop);
}
.dock.show {
  transform: none;
}
.dock img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2.5px solid var(--ink);
}
.dock div {
  line-height: 1.2;
}
.dock b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
}
.dock small {
  color: var(--muted);
  font-size: 13px;
}
.dock .btn {
  margin-left: auto;
}
@media (min-width: 900px) {
  .dock {
    display: none;
  }
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 600ms var(--ease-pop);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

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

/* ---------- Privacy page ---------- */
.doc {
  max-width: 780px;
  margin: 20px auto 60px;
  padding: 32px 24px;
}
.doc h1 {
  font-size: clamp(34px, 6vw, 48px);
  margin-bottom: 12px;
}
.doc h2 {
  font-size: 26px;
  margin: 34px 0 12px;
}
.doc h3 {
  font-size: 20px;
  margin: 22px 0 8px;
}
.doc p,
.doc li {
  color: #4a3a5a;
}
.doc p + p {
  margin-top: 12px;
}
.doc ul {
  padding-left: 22px;
  margin: 10px 0;
}
.doc li + li {
  margin-top: 8px;
}
.doc hr {
  border: 0;
  border-top: 2.5px dashed var(--dot);
  margin: 28px 0;
}
.doc a {
  color: var(--accent-text);
}
@media (min-width: 700px) {
  .doc {
    padding: 48px 56px;
  }
}
