/* ==========================================================================
   Coolbot — "a walk with Coolbot" (index2 experiment)
   One idea per screen. Coolbot does the talking. You do the doing.
   ========================================================================== */

@font-face {
  font-family: "Komika Text";
  src: url("../assets/fonts/KomikaText.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Komika Text";
  src: url("../assets/fonts/KomikaText-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Komika Text";
  src: url("../assets/fonts/KomikaText-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Aktiv Grotesk";
  src: url("../assets/fonts/AktivGrotesk-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Aktiv Grotesk";
  src: url("../assets/fonts/AktivGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ease-out: cubic-bezier(0.075, 0.82, 0.165, 1);
  --ease-inout: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --ink: #1044c7;
  --ink-deep: #18398c;
  --paper: #f0f5fc;
  --bubble: #e4eaf7;
  --font-comic: "Komika Text", "Comic Sans MS", cursive;
  --font-body: "Aktiv Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--font-body);
  font-weight: 500;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--ink); color: #fff; }

/* ---------- chrome: big friendly masthead, nav underneath ---------- */
.mini-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 22px 6px;
  z-index: 50;
  position: relative;
}
.mini-header .logo img { width: clamp(180px, 18vw, 250px); }
.grownups {
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.grownups:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
/* outranks the .top-links link color so the label + star actually go white */
.mini-header .top-links a.grownups:hover { background: var(--ink); color: #fff; }


/* ---------- scenes ---------- */
.scene {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 13vh 24px;
  overflow: hidden;
}

/* giant comic type */
.mega {
  font-family: var(--font-comic);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.92;
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
  filter: drop-shadow(3px 4px 0 rgba(16, 68, 199, 0.22));
}
.mega::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-text-stroke: 10px #fff;
}
.mega.xl { font-size: clamp(72px, 17vw, 240px); }
.mega.lg { font-size: clamp(46px, 9vw, 120px); }
.mega.md { font-size: clamp(30px, 5vw, 62px); }

/* speech bubble */
.say {
  position: relative;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--ink-deep);
  max-width: 340px;
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.18);
}
.say::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 42px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: skewX(35deg) rotate(45deg);
}
.say.tail-right::after { left: auto; right: 46px; transform: skewX(-35deg) rotate(45deg); }

/* entrances */
.pop {
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.scene.on .pop { opacity: 1; transform: none; }

/* ---------- scene 1: hello ---------- */
.s-hello { min-height: calc(100vh - 170px); }
.s-hello .duo {
  display: flex;
  align-items: center;
  gap: clamp(10px, 4vw, 60px);
  flex-wrap: wrap;
  justify-content: center;
}
.s-hello .robot-wrap { position: relative; }
.s-hello .robot {
  width: clamp(200px, 26vw, 350px);
  animation: bob 4.5s var(--ease-inout) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.75deg); }
}
.s-hello .say { position: absolute; top: -46px; right: -120px; }
.scroll-cue {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  transition: opacity 0.4s var(--ease-out);
  text-align: center;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink);
  opacity: 0.85;
}
/* must outrank `.scene.on .pop`, which also sets opacity on this element */
.scene.on .scroll-cue.gone,
.scroll-cue.gone { opacity: 0; pointer-events: none; }
.scroll-cue .arrow {
  display: block;
  font-size: 24px;
  line-height: 1;
  animation: dip 1.6s var(--ease-inout) infinite;
}
@keyframes dip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- scene 2: big feelings ---------- */
.s-feel .stack { display: grid; gap: 0.5vw; justify-items: center; }
.s-feel .stack .pop:nth-child(1) { --d: 0.05s; }
.s-feel .stack .pop:nth-child(2) { --d: 0.22s; }
.s-feel .stack .pop:nth-child(3) { --d: 0.39s; }
.s-feel .aside-bot {
  position: absolute;
  right: clamp(8px, 6vw, 120px);
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  --d: 0.65s;
}
/* wider than the old standing pose, so it needs more width for the same
   visual weight — and it must NOT be mirrored: Coolbot points at his chart */
.s-feel .aside-bot img { width: clamp(150px, 16vw, 220px); }
.s-feel .aside-bot .say { margin-bottom: 110px; max-width: 240px; }
.s-feel .aside-bot .say::after {
  left: -10px;
  right: auto;
  bottom: auto;
  top: 62%;
  width: 16px;
  height: 16px;
  border: none;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-50%) rotate(45deg) skewY(6deg);
}
/* corner hatching, like an inked page edge */
.s-feel::before, .s-try::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: repeating-linear-gradient(-45deg, transparent 0 7px, rgba(16, 68, 199, 0.16) 7px 9px);
  pointer-events: none;
}
.s-feel::before { top: -60px; left: -60px; border-radius: 0 0 100% 0; }
.s-try::after { bottom: -60px; right: -60px; border-radius: 100% 0 0 0; }

/* ---------- scene 3: hold the pause ---------- */
.s-try .lead { margin-bottom: 8px; }
.hold-zone { margin-top: 42px; position: relative; }
.hold-btn {
  position: relative;
  width: clamp(170px, 22vw, 230px);
  height: clamp(170px, 22vw, 230px);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 6px 8px 0 rgba(16, 68, 199, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.6px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.hold-btn:hover { transform: scale(1.03); }
.hold-btn.holding { transform: scale(0.96); background: var(--bubble); }
.hold-btn svg {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.hold-btn .ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 8 7;              /* dashed, hand-ticked ring */
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.hold-btn.holding .ring, .hold-btn.done .ring { opacity: 1; }
.hold-count {
  position: absolute;
  top: -6px;
  right: -22px;
  font-family: var(--font-comic);
  font-weight: 700;
  font-size: 42px;
  color: var(--ink);
  min-width: 40px;
  text-align: center;
}
.hold-msg { margin-top: 34px; min-height: 96px; display: flex; justify-content: center; }
.hold-msg .quip { opacity: 0; transform: translateY(10px) scale(0.95); transition: 0.5s var(--ease-out); }
.hold-msg.show .quip { opacity: 1; transform: none; }
.s-try .burst {
  position: absolute;
  font-family: var(--font-comic);
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
  animation: fly 1s var(--ease-out) forwards;
}
@keyframes fly {
  from { opacity: 1; transform: translate(0, 0) scale(0.6) rotate(0deg); }
  to { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(1.4) rotate(var(--fr)); }
}

/* ---------- scene 4: stories marquee ---------- */
.s-comics { padding-left: 0; padding-right: 0; }
.marquee {
  width: 100vw;
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee .lane {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: drift 42s linear infinite;
  padding: 24px 0 30px;
}
.marquee:hover .lane { animation-play-state: paused; }
.marquee img {
  width: clamp(150px, 17vw, 230px);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(16, 68, 199, 0.18);
  transition: transform 0.4s var(--ease-out);
}
.marquee img:nth-child(odd) { transform: rotate(-2.2deg); }
.marquee img:nth-child(even) { transform: rotate(1.8deg); }
.marquee img:hover { transform: rotate(0deg) scale(1.05); }
@keyframes drift { to { transform: translateX(-50%); } }
.s-comics .after-line { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* comic outline button */
.btn-line {
  display: inline-block;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--ink);
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 12px 22px;
  box-shadow: 4px 5px 0 rgba(16, 68, 199, 0.2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.btn-line:hover { transform: translate(2px, 2px); box-shadow: 1px 2px 0 rgba(16, 68, 199, 0.25); }
.btn-line.fill { background: var(--ink); color: #fff; }

/* ---------- scene 5: talk ---------- */
.s-talk .float-qs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 34px;
  max-width: 820px;
}
.s-talk .float-qs a {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-deep);
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.16);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
  animation: bob 5s var(--ease-inout) infinite;
}
.s-talk .float-qs a:nth-child(2) { animation-delay: 0.8s; }
.s-talk .float-qs a:nth-child(3) { animation-delay: 1.6s; }
.s-talk .float-qs a:hover { background: var(--bubble); transform: translateY(-4px); }
.talk-form { display: flex; gap: 12px; width: min(560px, 92vw); }
.talk-form input {
  flex: 1;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 15px 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-deep);
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.16);
  transition: box-shadow 0.3s var(--ease-out);
}
.talk-form input:focus { outline: none; box-shadow: 0 0 0 5px rgba(16, 68, 199, 0.18); }
.talk-form input::placeholder { color: rgba(24, 57, 140, 0.45); }

/* ---------- scene 6: outro ---------- */
.s-out { min-height: 72vh; }
.s-out .robot { width: clamp(140px, 15vw, 200px); margin-bottom: 8px; }
.s-out .links {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.s-out .links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.s-out .fine {
  margin-top: 34px;
  font-size: 12.5px;
  opacity: 0.7;
  text-align: center;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .pop { opacity: 1; transform: none; }
  .marquee .lane { animation: none; }
}

/* ==========================================================================
   Hybrid additions — shared shell for subpages + extra index scenes
   ========================================================================== */

/* full nav variant of the floating header (subpages + index) */
.mini-header .top-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  flex-wrap: wrap;
  justify-content: center;
}
.mini-header .top-links a {
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--ink);
  position: relative;
}
.mini-header .top-links a:not(.grownups)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.mini-header .top-links a:not(.grownups):hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .mini-header .top-links { gap: 12px 16px; }
}

/* subpage opening: big title + Coolbot has a word */
.page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px 34px;
  gap: 26px;
}
.page-head .say { max-width: 420px; }
.page-head .head-sub {
  font-weight: 700;
  max-width: 560px;
  color: var(--ink-deep);
}
.page-body { max-width: 1276px; margin: 0 auto; padding: 10px 24px 40px; }
.page-body .story-grid { margin-top: 10px; }
.page-body .info-grid { margin-top: 10px; }

/* airy outro used everywhere */
.outro-lite {
  text-align: center;
  padding: 70px 24px 46px;
}
.outro-lite .links {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.outro-lite .links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.outro-lite .fine { margin-top: 26px; font-size: 12.5px; opacity: 0.7; }
.outro-lite .fine a { text-decoration: underline; }

/* ---------- index: how it works ---------- */
.s-steps .step-lines { display: grid; gap: clamp(20px, 4vh, 40px); margin-top: 44px; justify-items: center; }
.step-line {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
}
.step-line .n {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-comic);
  font-weight: 700;
  font-size: 24px;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.2);
}
.step-line .t {
  font-family: var(--font-comic);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 44px);
  letter-spacing: 0.5px;
}
.step-line .d { font-weight: 700; font-size: 15px; max-width: 250px; text-align: left; }
.s-steps .btn-3d-lite { margin-top: 50px; }

/* big friendly subscribe */
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.6px;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--ink-deep);
  border-radius: 16px;
  padding: 18px 34px;
  box-shadow: 7px 8px 0 rgba(16, 68, 199, 0.22);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-big:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 3px 0 rgba(16, 68, 199, 0.28);
  background: #fff;
  color: var(--ink);
}
.btn-line.fill:hover { background: #fff; color: var(--ink); }
/* comic 3D buttons (subpage CTAs) invert on hover too */
.btn-3d:hover .plate { background: #fff !important; color: var(--ink) !important; }

/* ---------- index: kids draw me ---------- */
.s-draw .fan {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 46px;
}
.s-draw .fan figure { transition: transform 0.4s var(--ease-out); }
.s-draw .fan img {
  width: clamp(150px, 19vw, 250px);
  border-radius: 6px;
  box-shadow: 5px 6px 0 rgba(16, 68, 199, 0.16);
}
.s-draw .fan > :nth-child(1) figure, .s-draw .fan > figure:nth-child(1) { transform: rotate(-3deg); }
.s-draw .fan > :nth-child(2) figure, .s-draw .fan > figure:nth-child(2) { transform: rotate(2deg) translateY(12px); }
.s-draw .fan > :nth-child(3) figure, .s-draw .fan > figure:nth-child(3) { transform: rotate(-1.5deg); }
.s-draw .fan > :nth-child(4) figure, .s-draw .fan > figure:nth-child(4) { transform: rotate(2.5deg) translateY(10px); }
.s-draw .fan figure:hover { transform: rotate(0) scale(1.06); }
.s-draw .after-line { margin-top: 44px; }

/* ---------- index: a word from my human ---------- */
.s-quote .quote-wrap {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.s-quote .qmark { width: 64px; }
.s-quote blockquote {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  font-style: italic;
  color: var(--ink-deep);
  line-height: 1.5;
}
.s-quote .who {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.s-quote .who img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 60% 20%;
  border: 2.5px solid var(--ink);
}
.s-quote .trust {
  display: flex;
  gap: 12px 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.s-quote .trust a { border-bottom: 2px solid rgba(16, 68, 199, 0.35); }
.s-quote .trust a:hover { border-color: var(--ink); }

/* Tighten the run-out of the homepage on desktop. These scenes are shorter than
   their content allows, so their height is set by min-height and the slack is
   split evenly above and below the centred content — taking 200px off each
   scene closes 100px of gap on either side of it. Content still sets the
   height on short windows, so nothing can collide. */
@media (min-width: 701px) {
  .s-quote, .s-talk { min-height: calc(92vh - 200px); }
}

/* ---------- index: outro on the hill ---------- */
.s-out {
  display: block;
  padding: 13vh 0 0;
  min-height: 0;
}
/* the hill flows in the page */
.s-out .hill {
  width: 100%;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
  pointer-events: none;
}
/* links + copyright live below the drawing, on plain paper */
.s-out .out-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 26px 24px 44px;
}


/* subpage entrances */
@keyframes rise-in2 { from { opacity: 0; transform: translateY(22px); } }
.page-head .mega { animation: rise-in2 0.7s var(--ease-out) both; }
.page-head .say { animation: rise-in2 0.7s var(--ease-out) 0.15s both; }
.page-head .head-sub { animation: rise-in2 0.7s var(--ease-out) 0.25s both; }
@media (prefers-reduced-motion: reduce) {
  .page-head .mega, .page-head .say, .page-head .head-sub { animation: none; }
}

/* ==========================================================================
   Small screens — nothing gets cut off
   ========================================================================== */
@media (max-width: 700px) {
  .scene { padding: 54px 18px; min-height: 86vh; }
  .mega.xl { font-size: clamp(54px, 21vw, 96px); }
  .mega.lg { font-size: clamp(33px, 10.5vw, 58px); }
  .mega.md { font-size: clamp(24px, 7vw, 40px); }
  .mega::before { -webkit-text-stroke: 7px #fff; }

  .s-hello { min-height: calc(96vh - 150px); }
  .s-hello .duo { flex-direction: column; gap: 4px; }
  .s-hello .robot-wrap { display: flex; flex-direction: column; align-items: center; }
  .s-hello .robot-wrap .say { position: static; order: -1; margin-bottom: 18px; }
  .s-hello .robot { width: clamp(170px, 48vw, 230px); }

  .s-feel .aside-bot {
    position: static;
    margin-top: 44px;
    align-items: flex-end;
    justify-content: center;
  }
  .s-feel .aside-bot .say { margin-bottom: 70px; }
  .s-feel::before, .s-try::after { width: 140px; height: 140px; }

  .hold-count { right: -6px; top: -14px; font-size: 34px; }

  .step-line { flex-direction: column; gap: 10px; text-align: center; }
  .step-line .d { text-align: center; }

  .talk-form { flex-direction: column; }
  .talk-form .btn-line { text-align: center; }

  .page-head { padding: 26px 18px 22px; }
  .page-body { padding: 6px 18px 30px; }

  .marquee img { width: 44vw; }
  .s-out { min-height: 0; padding-top: 30px; }
  .s-quote .quote-wrap { gap: 18px; }
}

/* ==========================================================================
   The trail of stops (parents / teachers / about)
   ========================================================================== */
.path-flow { max-width: 960px; margin: 14px auto 0; display: flex; flex-direction: column; }
.path-stop { display: flex; justify-content: flex-start; }
.path-stop.right { justify-content: flex-end; }
.path-stop .info-card {
  width: min(560px, 100%);
  position: relative;
  transform: rotate(-1.3deg);
  transition: transform 0.45s var(--ease-out);
}
.path-stop.right .info-card { transform: rotate(1.3deg); }
.path-stop .info-card:hover { transform: rotate(0deg) translateY(-4px); }
.stop-num {
  position: absolute;
  top: -20px;
  left: -14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-comic);
  font-weight: 700;
  font-size: 21px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.22);
}
.path-stop.right .stop-num { left: auto; right: -14px; transform: rotate(8deg); }
.path-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
/* dotted ink hop between stops */
.path-hop { display: flex; justify-content: center; height: 78px; margin: 4px 0; }
.path-hop svg { height: 100%; overflow: visible; }
.path-hop .dots {
  stroke: var(--ink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 0.1 11;
  opacity: 0.65;
}
.path-hop .tip { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; opacity: 0.65; }
.path-hop.flip svg { transform: scaleX(-1); }
@media (max-width: 700px) {
  .path-stop .info-card, .path-stop.right .info-card { transform: rotate(0); width: 100%; }
  .stop-num { top: -16px; left: -6px; width: 40px; height: 40px; font-size: 18px; }
  .path-stop.right .stop-num { right: -6px; }
  .path-hop { height: 54px; }
}

/* ---------- kids' art captions ---------- */
figure.art { display: flex; flex-direction: column; gap: 9px; align-items: center; margin: 0; }
figure.art figcaption {
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

/* ==========================================================================
   About — a letter from Bram + values
   ========================================================================== */
.letter-wrap {
  display: flex;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 16px auto 0;
  padding: 0 10px;
}
.letter-wrap .pics { position: relative; flex: none; }
.letter-wrap .pics .photo {
  /* same scale as Oma's cutout on the team card below */
  width: clamp(250px, 26vw, 340px);
  transform: rotate(-2deg);
  border-radius: 10px;
  filter: drop-shadow(5px 7px 0 rgba(16, 68, 199, 0.14));
  transition: transform 0.4s var(--ease-out);
}
/* same little straighten-and-grow as Oma's photo */
.letter-wrap .pics .photo:hover { transform: rotate(-0.5deg) scale(1.02); }
.letter { max-width: 500px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.75; }
.letter p { margin-bottom: 14px; }
.letter .sig {
  font-family: var(--font-comic);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  font-size: 21px;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 940px;
  margin: 54px auto 0;
}
.value {
  width: 160px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.16);
  transition: transform 0.35s var(--ease-out);
}
.value:hover { transform: translateY(-4px) rotate(-1deg); }
.value .em { display: block; font-size: 28px; margin-bottom: 9px; }
.about-mini-title { text-align: center; margin: 120px 0 6px; }
/* the trail of stops starts lower than the sections above it */
.about-mini-title.nuts { padding-bottom: 60px; }

/* ==========================================================================
   Subscribe — plans + FAQ
   ========================================================================== */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 22px auto 0;
  align-items: stretch;
}
.tier { padding: 30px 26px 26px; display: flex; flex-direction: column; position: relative; }
.tier .hot-badge {
  position: absolute;
  top: -15px;
  right: 18px;
  transform: rotate(-2deg);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 2px 3px 0 rgba(16, 68, 199, 0.25);
  white-space: nowrap;
}
.tier h3 { font-size: 24px; color: var(--ink); letter-spacing: 0.6px; }
.tier .for { font-size: 13.5px; font-weight: 700; opacity: 0.75; margin-top: 4px; }
.tier .price {
  font-family: var(--font-comic);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  font-size: 42px;
  margin-top: 14px;
  line-height: 1;
}
.tier .price small { font-size: 15px; font-style: normal; letter-spacing: 0.5px; }
.tier ul { margin: 20px 0 24px; display: grid; gap: 10px; }
.tier li { list-style: none; position: relative; padding-left: 26px; font-size: 14.5px; }
.tier li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--ink); }
.tier .cta { margin-top: auto; text-align: center; }
.tier.hot { background: #fff; }
.tier.hot .price { font-size: 48px; }
.plans-note { text-align: center; margin-top: 48px; display: flex; justify-content: center; }
.faq { max-width: 720px; margin: 120px auto 0; }
.faq h2 { text-align: center; margin-bottom: 22px; }
.faq details {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 14px;
  box-shadow: 3px 4px 0 rgba(16, 68, 199, 0.14);
}
.faq summary {
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--ink);
  cursor: pointer;
}
.faq details p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; max-width: 480px; }
}

/* the trick's bubble when you've earned it */
.quip.won .say { border-color: var(--ink); box-shadow: 4px 5px 0 rgba(16, 68, 199, 0.24); }

/* ---------- a bubble with its speaker ---------- */
.quip { display: flex; align-items: center; justify-content: center; gap: 16px; }
.quip .quip-bot { width: clamp(76px, 8vw, 110px); flex: none; }
.quip .say { margin-bottom: 14px; }
/* tail comes out of the bubble's left side, at Coolbot's head height */
.quip .say::after {
  left: -10px;
  right: auto;
  bottom: auto;
  top: 50%;
  width: 16px;
  height: 16px;
  border: none;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-50%) rotate(45deg) skewY(6deg);
}
.page-head .quip { animation: rise-in2 0.7s var(--ease-out) 0.15s both; }
.page-head .quip .say { max-width: 400px; animation: none; }
@media (prefers-reduced-motion: reduce) { .page-head .quip { animation: none; } }

/* ---------- about: the team card (no photo needed) ---------- */
.team-card {
  max-width: 980px;
  margin: 44px auto 0;
  padding: 38px 470px 38px 42px;
  position: relative;
}
/* the cutout leans over the card, always above the sketch stroke */
.team-card .photo-big {
  position: absolute;
  right: -40px;
  top: -66px;
  width: clamp(250px, 26vw, 340px);
  z-index: 2;
  transform: rotate(3.5deg);
  transition: transform 0.4s var(--ease-out);
  filter: drop-shadow(5px 7px 0 rgba(16, 68, 199, 0.14));
}
.team-card .photo-big:hover { transform: rotate(1deg) scale(1.02); }

/* anything that overlaps a sketch-box edge sits above the drawn stroke */
.sketch-box::after { z-index: 0; }
.stop-num, .tier .hot-badge, .card .flag, .ai-badge { z-index: 2; }
.team-card h3 { font-size: 21px; color: var(--ink); letter-spacing: 0.6px; margin-bottom: 6px; }
.team-card .role { font-size: 13.5px; font-weight: 700; opacity: 0.75; margin-bottom: 16px; }
.team-card p { font-size: 15px; line-height: 1.7; margin-bottom: 13px; }
.team-card p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .team-card { padding: 30px 30px 30px 30px; max-width: 620px; }
  .team-card .photo-big {
    /* `static` would drop the z-index and let the card's drawn border
       (.sketch-box::after, a positioned element) paint over the photo */
    position: relative;
    z-index: 2;
    display: block;
    width: min(420px, 96%);
    margin: -70px auto 18px;
    transform: rotate(-2.5deg);
  }
}

/* ==========================================================================
   Readability pass — body text up to 18px, medium weight
   ========================================================================== */
.say { font-size: 18px; font-weight: 500; }
.say strong { font-weight: 700; }
.letter { font-size: 18px; font-weight: 500; }
.letter .sig { font-weight: 700; }
.head-sub { font-size: 18px; font-weight: 500; }
.team-card p { font-size: 18px; }
.team-card .role { font-size: 15px; }
.info-card p { font-size: 17px; }
.info-card li { font-size: 17px; }
.tier li { font-size: 16.5px; }
.tier .for { font-size: 15px; }
.faq details p { font-size: 17px; }
.step-line .d { font-size: 17px; font-weight: 500; max-width: 290px; }
.story-card p { font-size: 16px; }
.prose p, .prose li { font-size: 17px; }
.chat-intro { font-size: 17px !important; }
.msg { font-size: 17px; }
.chat-form input { font-size: 17px; }
.s-talk .float-qs a { font-size: 16.5px; }
figure.art figcaption { font-size: 14px; }
/* inner-page sections breathe (overrides component defaults from styles.css) */
.page-body .cta-band { margin-top: 120px; }
.page-body .themes { margin-top: 120px; }

/* ==========================================================================
   Bigger sub-headings (inner pages) + bigger secondary buttons (site-wide)
   ========================================================================== */
.info-card h3 { font-size: 26px; }
.story-card h3 { font-size: 25px; }
.team-card h3 { font-size: 27px; }
.tier h3 { font-size: 29px; }
.faq summary { font-size: 18px; }
.value { font-size: 14.5px; }
.btn-outline { font-size: 17px; padding: 11px 18px; }
.btn-line { font-size: 17px; padding: 14px 26px; }

/* ==========================================================================
   Plan buttons vs. Gumroad's overlay stylesheet
   Gumroad's script ships its own CSS for .gumroad-button (black button,
   pink hover). It's a cross-origin sheet we can't edit, so we take the
   visual back explicitly — !important is the right tool here, not laziness.
   ========================================================================== */
.tier .cta a.gumroad-button,
.tier .cta a.gumroad-button:link,
.tier .cta a.gumroad-button:visited,
.tier .cta a.gumroad-button:hover,
.tier .cta a.gumroad-button:focus,
.tier .cta a.gumroad-button:active {
  font-family: var(--font-comic) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 12px !important;
  padding: 14px 26px !important;
  border: 2.5px solid var(--ink) !important;
  text-decoration: none !important;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out) !important;
}

/* Starter and Classroom stay white — including on hover */
.tier .cta a.gumroad-button,
.tier .cta a.gumroad-button:link,
.tier .cta a.gumroad-button:visited,
.tier .cta a.gumroad-button:hover,
.tier .cta a.gumroad-button:focus,
.tier .cta a.gumroad-button:active {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: var(--ink) !important;
  box-shadow: 4px 5px 0 rgba(16, 68, 199, 0.2) !important;
}
.tier .cta a.gumroad-button:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 2px 0 rgba(16, 68, 199, 0.25) !important;
}

/* Coolbot+ keeps the weight of the page — solid cobalt, hover and all */
.tier.hot .cta a.gumroad-button,
.tier.hot .cta a.gumroad-button:link,
.tier.hot .cta a.gumroad-button:visited,
.tier.hot .cta a.gumroad-button:hover,
.tier.hot .cta a.gumroad-button:focus,
.tier.hot .cta a.gumroad-button:active {
  background: var(--ink) !important;
  background-color: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink-deep) !important;
  box-shadow: 5px 6px 0 rgba(16, 68, 199, 0.28) !important;
}
.tier.hot .cta a.gumroad-button:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 2px 3px 0 rgba(16, 68, 199, 0.32) !important;
}

/* ---------- plan tiers: trial flag + fine print ---------- */
.tier { position: relative; }
.tier-flag {
  position: absolute;
  top: -15px;
  right: 18px;
  background: var(--bubble);
  border: 2.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-comic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 rgba(16, 68, 199, 0.2);
  z-index: 2;
  white-space: nowrap;
}
.tier-note {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
  margin: -10px 0 20px;
}

/* ---------- currency disclosure ---------- */
.currency-note {
  max-width: 620px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}
.currency-note strong { font-weight: 700; opacity: 1; }
