/* TeenChorez — site styles
   Two sides of one street: homeowners are coral, teens are grape.
   Type: SF Pro Rounded, the face the app is set in (ui-rounded on Apple
   devices). Nunito stands in on devices that do not ship it. */

:root {
  --grape: #6B3FC4;
  --grape-deep: #45228F;
  --gum: #C45FC4;
  --coral: #E2456F;
  --tang: #F5923A;
  --star: #F5C842;
  --ink: #1A1235;
  --paper: #FFF8EE;
  --card: #FFFFFF;
  --muted: #6A6283;
  --line: #EBDFD3;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --a1: var(--grape);
  --a2: var(--gum);
}
body.home-side { --a1: var(--coral); --a2: var(--tang); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 900; line-height: 1; letter-spacing: -0.015em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons: flat stickers that press down ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff;
  box-shadow: 0 5px 0 rgba(26, 18, 53, 0.28);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(26, 18, 53, 0.28); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(26, 18, 53, 0.28); }
.btn-light { background: #fff; color: var(--ink); }
.btn-star { background: var(--star); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 8px 14px; border-radius: 999px;
}
.nav-links a:hover { background: rgba(26, 18, 53, 0.07); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 15px; box-shadow: 0 4px 0 rgba(26,18,53,.28); }
.nav .long { display: inline; }
@media (max-width: 720px) {
  .nav-in { gap: 6px; height: 60px; }
  .brand span { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 10px; font-size: 15px; }
  .nav .long { display: none; }
  .nav .btn { padding: 9px 14px; }
}

/* ── Home hero: the street splits in two ──────────────────── */
.hero { position: relative; }
.hero-main { position: relative; --seam: 50%; }
.hero-line {
  display: grid; grid-template-rows: 1fr; background: var(--ink); color: #fff;
  transition: grid-template-rows .35s ease;
}
.hero-line > div { overflow: hidden; min-height: 0; position: relative; }
.hero-line p { text-align: center; padding: 17px 56px; font-weight: 800; font-size: 17px; }
.hero-line p span { color: var(--star); }
.bar-x {
  position: absolute; right: 12px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease, transform .2s ease;
}
.bar-x:hover { background: var(--star); color: var(--ink); transform: rotate(90deg); }
.hero-line.closing, html.bar-closed .hero-line { grid-template-rows: 0fr; }
html.bar-closed .hero-line { display: none; }
.sides { display: flex; min-height: min(84vh, 760px); }
.side {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 72px clamp(24px, 5vw, 72px); color: #fff; position: relative; overflow: hidden;
  transition: flex-grow .5s cubic-bezier(.2,.8,.2,1);
}
.side-home { background: var(--coral); align-items: flex-start; text-align: left; padding-right: 180px; }
.side-teen { background: var(--grape); align-items: flex-end; text-align: right; padding-left: 180px; }
.side > *:not(.blob) { position: relative; }
.side .display { font-size: clamp(52px, 6.6vw, 100px); }
.side p.sub { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; max-width: 17em; margin: 20px 0 30px; line-height: 1.4; }
@media (hover: hover) and (min-width: 901px) {
  .hero-main:has(.side-home:hover) { --seam: 54.5%; }
  .hero-main:has(.side-teen:hover) { --seam: 45.5%; }
  .hero-main:has(.side-home:hover) .side-home,
  .hero-main:has(.side-teen:hover) .side-teen { flex-grow: 1.2; }
}

/* The flyer pinned across the seam */
.flyer-spot {
  position: absolute; left: var(--seam); bottom: 0; top: 0;
  width: 0; display: flex; align-items: center; justify-content: center; z-index: 5;
  transition: left .5s cubic-bezier(.2,.8,.2,1);
}
.flyer {
  width: 272px; flex: none; background: #fff; color: var(--ink); border-radius: 6px 6px 0 0;
  box-shadow: 0 26px 50px rgba(26, 18, 53, 0.35);
  transform: rotate(-3deg); transform-origin: 50% 0; position: relative;
  animation: pin-drop 1s cubic-bezier(.3,1.4,.5,1) both .15s;
}
@keyframes pin-drop {
  0% { transform: translateY(-40px) rotate(9deg); opacity: 0; }
  55% { transform: translateY(0) rotate(-6deg); opacity: 1; }
  78% { transform: rotate(-1.5deg); }
  100% { transform: rotate(-3deg); }
}
.flyer::before { /* pushpin */
  content: ""; position: absolute; top: -13px; left: 50%; margin-left: -13px;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE58A, var(--star) 55%, #D9A514);
  box-shadow: 0 5px 8px rgba(26,18,53,.35);
}
.flyer-body { padding: 30px 22px 18px; text-align: left; position: relative; overflow: hidden; }
.flyer-top { display: flex; align-items: center; gap: 11px; }
.tile {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center; font-size: 26px; line-height: 1;
  background: linear-gradient(135deg, var(--coral), var(--tang));
}
.flyer h2 { font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1; white-space: nowrap; }
.flyer .when { font-weight: 600; color: var(--muted); font-size: 15px; margin-top: 3px; }
.flyer-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; border-top: 2px dashed var(--line); padding-top: 14px; }
.flyer-price b { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; color: var(--grape); }
.flyer-price span { font-weight: 700; font-size: 15px; color: var(--muted); }
.flyer .by { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px dashed var(--ink); }
.tab {
  height: 84px; background: #fff; border: 0; border-left: 2px dashed var(--line); padding: 0; cursor: pointer;
  writing-mode: vertical-rl; text-orientation: mixed; font-size: 12.5px; font-weight: 800; letter-spacing: .02em;
  color: var(--grape); border-radius: 0 0 5px 5px;
  transform-origin: 50% 0; transition: transform .2s ease, background .2s ease;
}
.tab:first-child { border-left: 0; }
.tab:hover { background: #F3ECFF; transform: rotate(4deg); }
.tab.torn { animation: tear .7s cubic-bezier(.5,0,.8,.4) forwards; pointer-events: none; }
@keyframes tear {
  20% { transform: rotate(-10deg) translateY(4px); opacity: 1; }
  100% { transform: rotate(38deg) translate(30px, 220px); opacity: 0; }
}
.taken-stamp {
  position: absolute; right: 14px; top: 96px; padding: 4px 12px; border: 4px solid var(--coral); border-radius: 10px;
  font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--coral); letter-spacing: .04em;
  transform: rotate(14deg) scale(1.7); opacity: 0; pointer-events: none; background: rgba(255,255,255,.7);
}
.flyer.taken .taken-stamp { animation: stamp .35s cubic-bezier(.2,1.2,.4,1) forwards .25s; }
@keyframes stamp { to { transform: rotate(14deg) scale(1); opacity: 1; } }
.flyer-hint {
  position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); width: 280px; text-align: center;
  font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(26,18,53,.5);
}

@media (max-width: 900px) {
  .hero-main { display: flex; flex-direction: column; }
  .hero-main .sides { display: contents; }
  .side-home { order: 1; } .flyer-spot { order: 2; } .side-teen { order: 3; }
  .hero-line p { font-size: 15.5px; padding: 13px 52px 13px 20px; }
  .side, .side-home, .side-teen { flex: none; padding: 48px 24px 56px; align-items: flex-start; text-align: left; }
  .side-teen { padding-top: 36px; }
  .side .display { font-size: clamp(50px, 15vw, 84px); }
  .flyer-spot {
    position: relative; left: auto; top: auto; bottom: auto; width: auto; flex-direction: column; gap: 18px;
    padding: 0 0 6px; background: linear-gradient(var(--coral) 46%, var(--grape) 46%);
  }
  .flyer-hint { position: static; transform: none; width: auto; padding: 0 24px; }
}

/* ── Section basics ───────────────────────────────────────── */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head .display { font-size: clamp(40px, 5.6vw, 72px); }
.sec-head p { margin-top: 16px; font-size: 20px; color: var(--muted); max-width: 34em; font-weight: 500; }

/* ── The story of one chore (sticky stage + beats) ────────── */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.stage {
  position: sticky; top: 96px; height: calc(100vh - 130px); max-height: 640px; min-height: 480px;
  display: grid; place-items: center;
}
.stage-in { position: relative; width: 300px; --blob: var(--coral); }
.stage-in::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; margin: -235px 0 0 -235px;
  border-radius: 50%; background: var(--blob); opacity: .16; transition: background .6s ease;
}
.stage-in.on-2 { --blob: var(--grape); }
.stage-in.on-4 { --blob: var(--tang); }
.stage-in.on-5 { --blob: var(--star); }
.chit {
  position: relative; background: #fff; border-radius: 22px; padding: 22px; border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink); transform: rotate(-2deg);
}
.chit h3 { font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1; white-space: nowrap; }
.chit .when { font-weight: 600; color: var(--muted); font-size: 15px; margin-top: 3px; }
.chit-row { display: flex; align-items: center; gap: 12px; }
.chit-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--line); }
.chit-meta b { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--grape); }
.chit-meta span { font-weight: 700; color: var(--muted); font-size: 15px; }
.status {
  position: absolute; top: -16px; left: 18px; padding: 5px 14px; border-radius: 999px;
  background: var(--coral); color: #fff; font-weight: 800; font-size: 14px; border: 2px solid var(--ink);
  transition: background .4s ease;
}
.on-2 .status { background: var(--grape); }
.on-4 .status { background: var(--tang); color: var(--ink); }
.on-5 .status { background: var(--star); color: var(--ink); }
.pop { opacity: 0; transition: opacity .35s ease, transform .5s cubic-bezier(.2,1.4,.4,1); }
.sticker {
  position: absolute; left: -52px; bottom: -82px; width: 214px; padding: 12px 14px; border-radius: 16px;
  background: var(--grape); color: #fff; border: 2px solid var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35;
  transform: rotate(-14deg) scale(.4);
}
.sticker b { display: block; font-size: 17px; font-weight: 800; }
.on-2 .sticker { opacity: 1; transform: rotate(5deg) scale(1); }
.bub {
  position: absolute; max-width: 190px; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; font-weight: 600; line-height: 1.3;
  border: 2px solid var(--ink); transform: translateY(14px) scale(.7);
}
.bub-a { right: -104px; top: -96px; background: #fff; border-bottom-left-radius: 4px; }
.bub-b { right: -128px; top: -30px; background: var(--grape); color: #fff; border-bottom-right-radius: 4px; transition-delay: .25s; }
.on-3 .bub { opacity: 1; transform: none; }
.on-4 .bub { opacity: 0; transform: translateY(-10px) scale(.8); transition-delay: 0s; }
.done {
  position: absolute; right: -44px; top: 84px; padding: 6px 16px; border: 5px solid var(--coral); border-radius: 12px;
  font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--coral); background: rgba(255,255,255,.8);
  transform: rotate(-12deg) scale(2.6); transition: opacity .15s ease, transform .3s cubic-bezier(.2,1.3,.4,1);
}
.on-4 .done { opacity: 1; transform: rotate(-12deg) scale(1); }
.stars { position: absolute; left: 0; right: 0; top: -78px; display: flex; justify-content: center; gap: 6px; }
.stars i { font-style: normal; font-size: 40px; line-height: 1; color: var(--star); -webkit-text-stroke: 2px var(--ink); transform: scale(0) rotate(-40deg); }
.on-5 .stars i { opacity: 1; transform: none; }
.on-5 .stars i:nth-child(2) { transition-delay: .1s; } .on-5 .stars i:nth-child(3) { transition-delay: .2s; }
.on-5 .stars i:nth-child(4) { transition-delay: .3s; } .on-5 .stars i:nth-child(5) { transition-delay: .4s; }

.beat { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s ease; }
.beat.now { opacity: 1; }
.beat .n { font-family: var(--display); font-weight: 900; font-size: 84px; line-height: .9; color: var(--coral); }
.beat:nth-child(n+2) .n { color: var(--grape); }
.beat h3 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.8vw, 48px); line-height: 1.02; margin: 10px 0 14px; }
.beat p { font-size: 20px; max-width: 26em; color: #3A3257; font-weight: 500; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { top: 60px; height: 318px; min-height: 0; z-index: 4; background: var(--paper); border-bottom: 2px solid var(--ink); margin-inline: -20px; overflow: hidden; }
  .stage-in { transform: scale(.62); }
  .beat { min-height: 62vh; }
  .beat .n { font-size: 64px; }
}

/* ── Receipt: what a chore costs ──────────────────────────── */
.pay { background: var(--grape); color: #fff; }
.pay .sec-head p { color: #E9DDFF; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.chip {
  background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; padding: 14px 10px 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; line-height: 1.15; text-align: center;
  box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.chip .tile { width: 46px; height: 46px; font-size: 23px; border-radius: 14px; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.chip[aria-pressed="true"] { background: var(--star); transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.hours { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hours .lbl { font-weight: 800; font-size: 20px; margin-right: auto; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 28px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 4px 0 var(--ink);
}
.stepper button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.stepper output { font-family: var(--display); font-weight: 900; font-size: 44px; min-width: 3.4ch; text-align: center; line-height: 1; }
.receipt {
  background: #fff; color: var(--ink); padding: 30px 28px 44px; transform: rotate(2deg);
  box-shadow: 0 24px 50px rgba(20, 8, 60, 0.45); font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 100% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 100% repeat-x;
}
.receipt h3 { font-family: var(--display); font-weight: 900; font-size: 28px; text-align: center; }
.receipt .addr { text-align: center; color: var(--muted); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.rl { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-weight: 600; font-size: 17px; border-bottom: 2px dashed var(--line); }
.rl b { font-weight: 800; }
.rl.big { font-size: 20px; border-bottom: 0; padding-top: 16px; }
.rl.big b { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; color: var(--grape); }
.rl.zero b { color: var(--coral); }
.receipt .thanks { text-align: center; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--muted); }
.tick { display: inline-block; }
.tick.bump { animation: bump .28s ease; }
@keyframes bump { 40% { transform: translateY(-5px) scale(1.12); } }
@media (max-width: 900px) {
  .pay-grid { grid-template-columns: 1fr; gap: 44px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .receipt { max-width: 380px; margin-inline: auto; }
}

/* ── Checks: who gets in ──────────────────────────────────── */
.checks { background: var(--ink); color: #fff; }
.checks .sec-head p { color: #C9C2E0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.check { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 2px solid rgba(255,255,255,.16); }
.check .mark {
  width: 56px; height: 56px; border-radius: 18px; background: var(--star); color: var(--ink);
  display: grid; place-items: center; font-size: 30px; font-weight: 800; transform: rotate(-6deg);
}
.check:nth-child(even) .mark { transform: rotate(5deg); }
.check h3 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.05; margin-bottom: 8px; }
.check p { color: #D6D0EA; font-size: 18px; max-width: 26em; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr; } }

/* ── Closing call ─────────────────────────────────────────── */
.close { background: var(--star); text-align: center; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.close .display { font-size: clamp(44px, 7vw, 96px); max-width: 12em; margin-inline: auto; }
.close p { font-size: 21px; font-weight: 600; margin: 20px auto 30px; max-width: 30em; }
.close .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
.foot { padding: 44px 0 52px; }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot .brand { margin-right: auto; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { font-weight: 700; font-size: 16px; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot small { display: block; width: 100%; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ── Side pages (teens / homeowners) ──────────────────────── */
.phero { background: var(--a1); color: #fff; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.phero::before {
  content: ""; position: absolute; right: -180px; top: -240px; width: 620px; height: 620px; border-radius: 50%;
  background: var(--a2); opacity: .55;
}
.phero .wrap { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.phero .display { font-size: clamp(46px, 7.4vw, 104px); max-width: 10.5em; }
.phero p { font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; max-width: 30em; margin: 22px 0 30px; line-height: 1.4; }

.path { position: relative; padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.path::before { /* the walking route down the middle */
  content: ""; position: absolute; left: 50%; top: 120px; bottom: 120px; width: 0; border-left: 4px dashed var(--a1); opacity: .35;
}
.step { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.step:last-child { margin-bottom: 0; }
.step .txt { grid-column: 1; grid-row: 1; }
.step .num { grid-column: 2; grid-row: 1; justify-self: center; }
.step .shot { grid-column: 3; grid-row: 1; justify-self: center; }
.step:nth-child(even) .txt { grid-column: 3; }
.step:nth-child(even) .shot { grid-column: 1; }
.num {
  width: 76px; height: 76px; border-radius: 50%; background: var(--star); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; position: relative; z-index: 1;
}
.step h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.03; margin-bottom: 14px; }
.step .txt p { font-size: 20px; color: #3A3257; font-weight: 500; max-width: 24em; }
.step:nth-child(odd) .txt { justify-self: end; text-align: right; }
.step:nth-child(odd) .txt p { margin-left: auto; }
@media (max-width: 900px) {
  .path::before { left: 37px; top: 60px; bottom: 60px; }
  .step, .step:nth-child(even) { grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; row-gap: 26px; align-items: start; }
  .step .num, .step:nth-child(even) .num { grid-column: 1; grid-row: 1; }
  .step .txt, .step:nth-child(even) .txt { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; }
  .step:nth-child(odd) .txt { justify-self: start; text-align: left; }
  .step:nth-child(odd) .txt p { margin-left: 0; }
  .step .shot, .step:nth-child(even) .shot { grid-column: 1 / -1; grid-row: 2; }
  .num { width: 64px; height: 64px; font-size: 34px; margin-left: 6px; }
}

/* ── Mock app screens (hand-built, no device frame) ───────── */
.mock {
  width: min(340px, 100%); background: #FBF7FF; border-radius: 30px; padding: 20px; border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--a1); font-size: 14.5px; line-height: 1.35; text-align: left; transform: rotate(1.5deg);
}
body.home-side .mock { background: #FFF9F4; }
.step:nth-child(even) .mock { transform: rotate(-1.5deg); }
.mock .mk-h { font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1.05; }
.mock .mk-sub { color: var(--muted); font-weight: 600; margin-top: 2px; }
.mk-banner { border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); margin: 14px 0; position: relative; overflow: hidden; }
.mk-banner::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.16); }
.mk-banner small { font-weight: 800; letter-spacing: .06em; font-size: 11.5px; opacity: .9; }
.mk-banner b { display: block; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1.05; }
.mk-banner span { font-weight: 600; }
.mk-field { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 9px 13px; margin-top: 9px; }
.mk-field small { display: block; color: var(--muted); font-weight: 700; font-size: 11.5px; }
.mk-field b { font-weight: 700; font-size: 15px; }
.mk-field b.ph { color: #A79FBC; font-weight: 600; }
.mk-btn { margin-top: 14px; border-radius: 16px; padding: 13px; text-align: center; color: #fff; font-weight: 800; font-size: 15.5px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.mk-note { text-align: center; color: var(--muted); font-weight: 600; font-size: 12.5px; margin-top: 10px; }
.mk-row { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 16px; padding: 10px 12px; margin-top: 9px; border: 1.5px solid var(--line); }
.mk-row .tile { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.mk-row div { flex: 1; min-width: 0; }
.mk-row b { display: block; font-weight: 800; font-size: 15px; }
.mk-row small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.mk-row em { font-style: normal; font-weight: 800; font-size: 17px; color: var(--a1); }
.mk-row em.ok { color: #2E8B4E; }
.mk-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.mk-chips span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 12.5px; }
.mk-chips span.on { background: var(--a1); border-color: var(--a1); color: #fff; }
.mk-search { background: #fff; border-radius: 999px; padding: 10px 15px; color: #A79FBC; font-weight: 600; border: 1.5px solid var(--line); margin-top: 12px; }
.mk-list { list-style: none; padding: 0; margin: 12px 0 0; }
.mk-list li { display: flex; gap: 10px; align-items: center; padding: 9px 0; font-weight: 700; border-bottom: 1.5px dashed var(--line); }
.mk-list li:last-child { border-bottom: 0; }
.mk-list i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; flex: none; background: #2E8B4E; color: #fff; }
.mk-list li.wait i { background: var(--star); color: var(--ink); }
.mk-list li.todo { color: #A79FBC; } .mk-list li.todo i { background: #E7E1F1; color: #A79FBC; }
.mk-chat { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mk-chat p { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.mk-chat p.me { background: linear-gradient(90deg, var(--a1), var(--a2)); color: #fff; border: 0; border-radius: 18px; border-bottom-right-radius: 5px; align-self: flex-end; }
.mk-who { display: flex; align-items: center; gap: 11px; }
.mk-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; background: linear-gradient(135deg, var(--grape), var(--gum)); }
.mk-av.h { background: linear-gradient(135deg, var(--coral), var(--tang)); }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mk-stats div { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 9px 4px; text-align: center; }
.mk-stats b { display: block; font-weight: 800; font-size: 17px; color: var(--a1); }
.mk-stats small { color: var(--muted); font-weight: 700; font-size: 11px; }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px 8px; margin-top: 9px; }
.mk-bars i { flex: 1; border-radius: 7px; background: linear-gradient(180deg, var(--a1), var(--a2)); min-height: 6px; }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mk-tiles div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px; font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.mk-tiles div.on { border: 2px solid var(--a1); background: #FFF1F4; }
.mk-tiles .tile { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.mk-upload { margin-top: 9px; border: 2px dashed var(--a1); border-radius: 16px; padding: 16px; text-align: center; font-weight: 700; background: #fff; }
.mk-upload small { display: block; color: var(--muted); font-weight: 600; }
.mk-badge { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: #E4F6EA; color: #1E6B3A; font-weight: 800; font-size: 12.5px; margin-top: 10px; }
.mk-stars { font-size: 34px; letter-spacing: 4px; color: var(--star); text-align: center; margin: 12px 0 2px; -webkit-text-stroke: 1.5px var(--ink); }
.mk-quote { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; font-weight: 600; margin-top: 8px; }
.t-blue { background: linear-gradient(135deg, #2F7BE5, #58A6F2); } .t-coral { background: linear-gradient(135deg, #E8507A, #F5923A); }
.t-grape { background: linear-gradient(135deg, #6B3FC4, #B55FD0); } .t-gold { background: linear-gradient(135deg, #DDA51E, #F2C84B); }
.t-green { background: linear-gradient(135deg, #3E9B5B, #8FCB8F); } .t-leaf { background: linear-gradient(135deg, #2E8B4E, #55B06A); }
.t-pink { background: linear-gradient(135deg, #8E4FD6, #D46BC8); } .t-ice { background: linear-gradient(135deg, #2D9BD3, #86DDE8); }

.swap { background: var(--ink); color: #fff; }
.swap .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 44px 0; }
.swap p { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding: clamp(56px, 8vw, 104px) 0; }
.contact-grid .display { font-size: clamp(52px, 7.5vw, 104px); }
.contact-grid .lead { font-size: 21px; font-weight: 500; color: #3A3257; margin: 20px 0 34px; max-width: 24em; }
.who { border-top: 2px solid var(--ink); padding: 18px 0; }
.who h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.who p { color: var(--muted); font-weight: 500; max-width: 26em; }
.form { background: #fff; border: 2px solid var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 10px 10px 0 var(--grape); }
.form label { display: block; font-weight: 800; font-size: 16px; margin: 18px 0 7px; }
.form label:first-child { margin-top: 0; }
.form input, .form textarea {
  width: 100%; font: inherit; font-weight: 500; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--grape); background: #fff; }
.form .btn { width: 100%; margin-top: 22px; background: var(--grape); padding: 16px; font-size: 18px; }
.cf-status { min-height: 1.5em; margin-top: 14px; font-weight: 700; text-align: center; }
.cf-status.ok { color: #1E6B3A; } .cf-status.err { color: #C22B55; }
.form .fine { text-align: center; color: var(--muted); font-size: 15px; font-weight: 500; margin-top: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-hero { background: var(--ink); color: #fff; padding: clamp(52px, 7vw, 88px) 20px; text-align: center; }
.legal-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; }
.legal-hero p { margin-top: 12px; color: #C9C2E0; font-weight: 600; }
.disclaimer { width: min(760px, 100% - 40px); margin: 36px auto 0; background: #FFF1C9; border: 2px solid var(--ink); border-radius: 18px; padding: 18px 22px; font-size: 16px; }
.legal-body { width: min(760px, 100% - 40px); padding: 28px 0 88px; }
.legal-body h2 { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 44px 0 12px; }
.legal-body h3 { font-size: 19px; font-weight: 800; margin: 24px 0 8px; }
.legal-body p, .legal-body li { font-size: 17.5px; line-height: 1.65; color: #332B4F; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 8px; }
.inline-link { color: var(--grape); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal], html.js .check .mark, html.js .receipt[data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .tape-run { transform: none; }
  html.arriving::after { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .taken-stamp { transform: rotate(14deg); }
  .flyer.taken .taken-stamp { opacity: 1; }
  .tab.torn { visibility: hidden; }
  .beat { opacity: 1; }
}

/* ══ Round two: blobs, motion, tape, questions, page wipes ══ */

/* ── Blobs: soft shapes that slowly change form ───────────── */
.blob {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  animation: morph 13s ease-in-out infinite alternate, drift 17s ease-in-out infinite alternate;
  translate: calc(var(--mx, 0) * var(--pull, 0px)) calc(var(--my, 0) * var(--pull, 0px));
  transition: translate .6s cubic-bezier(.2,.8,.2,1);
}
@keyframes morph {
  0%   { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
  50%  { border-radius: 61% 39% 37% 63% / 58% 63% 37% 42%; }
  100% { border-radius: 34% 66% 56% 44% / 39% 53% 47% 61%; }
}
@keyframes drift { to { transform: translate(var(--dx, 26px), var(--dy, -20px)) rotate(var(--rot, 14deg)); } }
.has-blobs { position: relative; overflow: clip; } /* clip, not hidden: hidden would break the sticky stage */
.has-blobs > .wrap { position: relative; z-index: 1; }

.side-home .b1 { width: 560px; height: 520px; left: -210px; bottom: -250px; background: var(--tang); opacity: .62; --pull: 26px; }
.side-home .b2 { width: 150px; height: 140px; right: 26%; top: 9%; background: var(--star); opacity: .9; --pull: -40px; --dx: -18px; --dy: 22px; animation-duration: 9s, 12s; }
.side-home .b3 { width: 84px; height: 80px; left: 46%; bottom: 13%; background: #fff; opacity: .2; --pull: 60px; animation-duration: 8s, 10s; }
.side-teen .b1 { width: 560px; height: 540px; right: -200px; top: -270px; background: var(--gum); opacity: .58; --pull: -26px; --dx: -30px; --dy: 24px; }
.side-teen .b2 { width: 170px; height: 160px; left: 30%; bottom: 8%; background: var(--grape-deep); opacity: .75; --pull: 40px; animation-duration: 10s, 13s; }
.side-teen .b3 { width: 76px; height: 72px; left: 36%; top: 7%; background: var(--star); opacity: .95; --pull: -64px; --dx: 16px; --dy: 26px; animation-duration: 8s, 11s; }

.story .b1 { width: 420px; height: 400px; right: -150px; top: 60px; background: var(--coral); opacity: .1; }
.story .b2 { width: 300px; height: 290px; left: -130px; bottom: 120px; background: var(--grape); opacity: .1; --dx: 30px; --dy: 30px; }
.pay .b1 { width: 520px; height: 480px; right: -170px; top: -190px; background: var(--gum); opacity: .5; }
.pay .b2 { width: 380px; height: 360px; left: -150px; bottom: -170px; background: var(--grape-deep); opacity: .8; --dx: 34px; --dy: -26px; }
.pay .b3 { width: 110px; height: 104px; left: 46%; top: 70px; background: var(--star); opacity: .9; animation-duration: 9s, 12s; }
.checks .b1 { width: 460px; height: 440px; right: -160px; bottom: -200px; background: var(--grape); opacity: .45; }
.checks .b2 { width: 130px; height: 124px; right: 12%; top: 90px; background: var(--coral); opacity: .85; animation-duration: 9s, 12s; }
.faq .b1 { width: 380px; height: 360px; left: -160px; top: 40px; background: var(--star); opacity: .28; }
.close .b1 { width: 420px; height: 400px; left: -150px; top: -160px; background: var(--tang); opacity: .55; }
.close .b2 { width: 360px; height: 340px; right: -130px; bottom: -160px; background: #fff; opacity: .5; --dx: -28px; }
.phero::before { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; animation: morph 13s ease-in-out infinite alternate, drift 17s ease-in-out infinite alternate; --dx: -30px; --dy: 26px; }
.phero .b2 { width: 200px; height: 190px; right: 30%; bottom: -90px; background: var(--star); opacity: .9; animation-duration: 10s, 13s; }
.phero .b3 { width: 90px; height: 86px; right: 9%; bottom: 20%; background: #fff; opacity: .28; animation-duration: 8s, 11s; }
@media (max-width: 900px) {
  .side-home .b2 { right: 6%; top: 5%; width: 96px; height: 90px; }
  .side-home .b3, .side-teen .b3 { display: none; }
  .side-teen .b2 { left: auto; right: -40px; bottom: -50px; }
  .pay .b3 { left: auto; right: 24px; top: 26px; width: 70px; height: 66px; }
  .phero .b2 { right: -40px; }
}

/* ── Home hero entrance ───────────────────────────────────── */
html.js .side .display, html.js .side .sub, html.js .side .btn { animation: rise .8s cubic-bezier(.2,.9,.2,1) both; }
html.js .side .sub { animation-delay: .14s; }
html.js .side .btn { animation-delay: .26s; }
html.js .side-teen .display { animation-delay: .1s; }
html.js .side-teen .sub { animation-delay: .24s; }
html.js .side-teen .btn { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } }

/* ── Things that arrive as you reach them ─────────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.9,.2,1); transition-delay: var(--d, 0s); }
html.js [data-reveal="left"] { transform: translateX(-44px) rotate(-3deg); }
html.js [data-reveal="right"] { transform: translateX(44px) rotate(3deg); }
html.js [data-reveal="pop"] { transform: scale(.6); transition: opacity .3s ease, transform .5s cubic-bezier(.2,1.6,.4,1); transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .step:nth-child(odd) .shot[data-reveal].in .mock, html.js .step:nth-child(even) .shot[data-reveal].in .mock { transition: transform .3s ease; }
/* the receipt prints out of its slot */
html.js .receipt[data-reveal] { opacity: 1; transform: rotate(2deg) translateY(-26px); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s steps(11, end), transform 1.1s ease-out; }
html.js .receipt[data-reveal].in { transform: rotate(2deg); clip-path: inset(0 0 0 0); }
/* check marks stamp in */
html.js .check .mark { transition: transform .5s cubic-bezier(.2,1.7,.4,1) calc(var(--d, 0s) + .15s); }
html.js .check[data-reveal]:not(.in) .mark { transform: scale(0) rotate(-60deg); }
.check:hover .mark { transform: rotate(8deg) scale(1.08); }
.mock { transition: transform .3s ease, box-shadow .3s ease; }
.shot:hover .mock { transform: rotate(0deg) translateY(-6px); box-shadow: 14px 16px 0 var(--a1); }

/* ── Chore tape ───────────────────────────────────────────── */
.tape { background: var(--star); border-block: 2px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); margin: -18px 0 0; position: relative; z-index: 6; }
.tape-run { display: flex; width: max-content; animation: tape 34s linear infinite; }
.tape:hover .tape-run { animation-play-state: paused; }
.tape span { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; font-weight: 900; font-size: 19px; white-space: nowrap; }
.tape span::after { content: "★"; margin-left: 22px; color: var(--coral); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ── Scroll progress ──────────────────────────────────────── */
.progress { position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; background: linear-gradient(90deg, var(--coral), var(--tang), var(--star), var(--gum), var(--grape)); transform: scaleX(0); transform-origin: 0 50%; }

/* ── Questions ────────────────────────────────────────────── */
.faq-list { max-width: 860px; }
.faq details { border: 2px solid var(--ink); border-radius: 22px; background: #fff; margin-bottom: 14px; box-shadow: 0 5px 0 var(--ink); transition: box-shadow .15s ease, transform .15s ease; }
.faq details[open] { box-shadow: 8px 8px 0 var(--grape); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-weight: 900; font-size: 21px; line-height: 1.25; position: relative; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--star); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 24px; line-height: 1;
  transition: transform .3s cubic-bezier(.2,1.5,.4,1), background .2s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--coral); color: #fff; }
.faq details p { padding: 0 24px 22px; font-size: 18.5px; color: #3A3257; max-width: 38em; font-weight: 500; }
.faq details[open] p { animation: rise .35s ease both; }

/* ── Confetti from a torn tab ─────────────────────────────── */
.cf { position: fixed; z-index: 900; width: 11px; height: 11px; border-radius: 3px; pointer-events: none; animation: cf .9s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes cf {
  to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
}

/* ── Page-to-page wipe ────────────────────────────────────── */
.wipe { position: fixed; inset: 0; z-index: 1000; clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%)); transition: clip-path .46s cubic-bezier(.6,0,.3,1); }
.wipe.go { clip-path: circle(150vmax at var(--cx, 50%) var(--cy, 50%)); }
html.arriving::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--wipe, #1A1235); animation: lift .6s cubic-bezier(.7,0,.2,1) .06s forwards; }
@keyframes lift { to { transform: translateY(-101%); } }
html.arriving .phero .display, html.arriving .contact-grid .display, html.arriving .legal-hero h1 { animation: rise .7s cubic-bezier(.2,.9,.2,1) .3s both; }
html.arriving .phero p, html.arriving .phero .btn, html.arriving .contact-grid .lead, html.arriving .form { animation: rise .7s cubic-bezier(.2,.9,.2,1) .42s both; }

/* Tilted and sliding pieces must never widen the page */
html, body { overflow-x: hidden; overflow-x: clip; }
.path, .hero { overflow-x: hidden; overflow-x: clip; }
