/* Free lives. Light, bright, sticker-style: cream paper, ink outlines, one hot orange. */
:root {
  --cream: #FFF7EC;
  --paper: #FFFFFF;
  --ink: #1C1917;
  --soft: #57534E;
  --line: #EADFCF;
  --orange: #FF5C2B;
  --orange-d: #E64514;
  --blue: #2F6BFF;
  --yellow: #FFD23F;
  --mint: #19C37D;
  --pink: #FF7AB6;
  --radius: 22px;
  --shadow: 4px 4px 0 var(--ink);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--soft); margin-top: 14px; max-width: 40ch; }
section { padding: 72px 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 247, 236, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font: 800 18px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--soft); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 17px/1 var(--display); letter-spacing: -0.005em;
  color: #fff; background: var(--orange); border: 2px solid var(--ink); border-radius: 999px; padding: 16px 26px; box-shadow: var(--shadow);
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; }
.btn:hover { background: var(--orange-d); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.small { font-size: 15px; padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: var(--yellow); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { position: relative; padding: 34px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px;
  font: 700 14px/1.2 var(--body); box-shadow: 3px 3px 0 var(--ink); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(25, 195, 125, .25); }
.pill.live .dot { background: #ff2d2d; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero h1 { font-size: clamp(2.7rem, 8.4vw, 6.1rem); font-weight: 800; margin: 18px auto 0; max-width: 12.5ch; }
.hero h1 .talk { position: relative; white-space: nowrap; color: var(--orange); }
.hero h1 .talk::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--yellow); z-index: -1; border-radius: 4px; }
.when { margin-top: 18px; font: 700 clamp(1.05rem, 2.4vw, 1.25rem)/1.35 var(--body); }
.when small { display: block; font-weight: 500; font-size: 15px; color: var(--soft); margin-top: 3px; min-height: 1.4em; }
.hero .lede { margin: 10px auto 0; max-width: 34ch; }

/* Floating chips around the hero */
.chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 12px;
  font: 700 14px/1 var(--body); box-shadow: 3px 3px 0 var(--ink); animation: bob 6s ease-in-out infinite; }
.chip i { width: 20px; height: 20px; border-radius: 6px; display: inline-block; border: 2px solid var(--ink); }
.chip:nth-child(1) { left: 4%; top: 30%; transform: rotate(-6deg); animation-delay: -1s; }
.chip:nth-child(1) i { background: var(--yellow); }
.chip:nth-child(2) { right: 5%; top: 24%; transform: rotate(5deg); animation-delay: -3s; }
.chip:nth-child(2) i { background: var(--blue); }
.chip:nth-child(3) { left: 8%; top: 70%; transform: rotate(4deg); animation-delay: -2s; }
.chip:nth-child(3) i { background: var(--pink); }
.chip:nth-child(4) { right: 7%; top: 66%; transform: rotate(-5deg); animation-delay: -4s; }
.chip:nth-child(4) i { background: var(--mint); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; }
.blob.a { width: 420px; height: 420px; background: #FFD7B8; left: -120px; top: -80px; }
.blob.b { width: 380px; height: 380px; background: #FFE89A; right: -120px; top: 120px; }
@media (max-width: 1180px) { .chips { display: none; } }

/* Sign-up form */
.signup { margin: 26px auto 0; width: min(620px, 100%); }
.fields { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 8px; box-shadow: var(--shadow); }
.fields input { width: 100%; min-width: 0; border: 0; background: transparent; font: 500 17px/1.2 var(--body); color: var(--ink); padding: 14px 14px; border-radius: 16px; outline: none; }
.fields input:focus { background: #FFF3E4; }
.fields input + input { border-left: 1.5px solid var(--line); border-radius: 0 16px 16px 0; }
.fields .btn { box-shadow: none; border-width: 2px; }
.fields .btn:hover { box-shadow: none; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.under { margin-top: 12px; font-size: 15px; color: var(--soft); }
.err { margin-top: 10px; font-weight: 700; color: #C2410C; min-height: 1.2em; }
@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; border-radius: 22px; }
  .fields input + input { border-left: 0; border-top: 1.5px solid var(--line); border-radius: 0; }
  .fields .btn { width: 100%; padding: 17px; }
}

/* Thank-you card */
.done { margin: 26px auto 0; width: min(620px, 100%); background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: 26px 22px; text-align: center; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.done h3 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); }
.done .when { margin-top: 8px; }
.done .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.done .zoom { margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.done .zoom p { color: var(--soft); font-size: 15px; margin-top: 8px; }
.done .share { margin-top: 18px; font-size: 15px; color: var(--soft); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }

/* Video */
.video-sec { padding-top: 40px; }
.stage-wrap { position: relative; margin-top: 26px; border: 2px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; background: #FDEBD3; aspect-ratio: 16 / 9; }
.stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; font-family: var(--body); }
.vctl { position: absolute; z-index: 30; }
.vplay { inset: 0; display: grid; place-items: center; background: rgba(28, 25, 23, .25); border: 0; cursor: pointer; padding: 0; }
.vplay span { display: inline-flex; align-items: center; gap: 12px; background: var(--orange); color: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 16px 26px; font: 800 20px/1 var(--display); box-shadow: var(--shadow); }
.vplay span::before { content: ""; width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vsound { right: 14px; top: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 12px; font: 700 13px/1 var(--body); cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.vbar { left: 0; right: 0; bottom: 0; height: 6px; background: rgba(28, 25, 23, .12); }
.vbar i { display: block; height: 100%; width: 0; background: var(--orange); }
.vhidden { display: none !important; }

/* Before and after */
.pairs { display: grid; gap: 44px; margin-top: 40px; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.shot { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.shot .bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 2px solid var(--ink); background: #fff; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 1.5px solid var(--ink); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tag { position: absolute; top: 46px; left: 12px; background: var(--ink); color: #fff; font: 800 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; }
.tag { z-index: 2; }
.shot.before .tag { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.shot.after .tag { background: var(--mint); color: var(--ink); border: 2px solid var(--ink); }
.shot.before img { filter: grayscale(.35) contrast(.95); }
.cap { margin-top: 10px; font-size: 15px; color: var(--soft); text-align: center; }
.arrow { font: 800 40px/1 var(--display); color: var(--orange); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); justify-self: center; } }

/* A web page can be anything */
.toys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 1000px) { .toys { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .toys { grid-template-columns: 1fr; } }
.toy { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.toy .lab { display: inline-flex; align-self: flex-start; font: 800 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; border: 2px solid var(--ink); }
.toy:nth-child(1) .lab { background: var(--yellow); }
.toy:nth-child(2) .lab { background: #CFE0FF; }
.toy:nth-child(3) .lab { background: #FFD3E8; }
.toy:nth-child(4) .lab { background: #C8F3DF; }
.toy h3 { font-size: 1.2rem; }
.quiz button { display: block; width: 100%; text-align: left; margin-top: 8px; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 11px 12px; font: 600 15px/1.25 var(--body); cursor: pointer; color: var(--ink); }
.quiz button:hover { background: #FFE9C9; }
.quiz button.on { background: var(--yellow); }
.answer { font-weight: 700; min-height: 2.6em; }
.calc input[type=range] { width: 100%; accent-color: var(--orange); }
.calc .big { font: 800 2.2rem/1 var(--display); letter-spacing: -0.02em; }
.calc .sub { color: var(--soft); font-size: 14px; }
.game { position: relative; flex: 1; min-height: 170px; border: 2px dashed var(--line); border-radius: 14px; overflow: hidden; background: #FFF9F3; }
.word { position: absolute; padding: 7px 11px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font: 700 13px/1 var(--body); cursor: pointer; user-select: none; transition: transform .15s; animation: drift 5s ease-in-out infinite; }
.word:hover { transform: scale(1.08); }
.word.popped { animation: popout .35s forwards; pointer-events: none; }
@keyframes drift { 50% { translate: 0 -8px; } }
@keyframes popout { to { transform: scale(1.8); opacity: 0; } }
.score { font-weight: 700; font-size: 14px; }
.mini-video { flex: 1; min-height: 150px; border-radius: 14px; border: 2px solid var(--ink); background: linear-gradient(135deg, #FFB48A, #FFD23F); position: relative; overflow: hidden; cursor: pointer; }
.mini-video::before { content: ""; position: absolute; left: 50%; top: 50%; translate: -40% -50%; border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.mini-video i { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 5px; border-radius: 3px; background: rgba(28, 25, 23, .2); }
.mini-video i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--ink); border-radius: 3px; animation: prog 4s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.toys-foot { margin-top: 26px; text-align: center; color: var(--soft); }

/* Quote */
.quote { background: var(--ink); color: #fff; }
.quote blockquote { margin: 0; font: 800 clamp(1.8rem, 4.6vw, 3.3rem)/1.12 var(--display); letter-spacing: -0.02em; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 1.8em; line-height: .6; color: var(--orange); margin-bottom: 8px; }
.quote cite { display: block; margin-top: 20px; font: 600 16px/1.3 var(--body); color: #D6D3D1; font-style: normal; }

/* Sunday */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 3px 3px 0 var(--ink); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; border: 2px solid var(--ink); font: 800 16px/1 var(--display); margin-bottom: 12px; }
.step p { color: var(--soft); margin-top: 6px; font-size: 15.5px; }
.note { margin-top: 22px; font-weight: 600; text-align: center; }

/* Final */
.final { background: var(--yellow); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.final h2 { font-size: clamp(2.4rem, 6.6vw, 4.6rem); }
.next { margin: 28px auto 0; width: min(620px, 100%); background: rgba(255, 255, 255, .65); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; font-size: 15.5px; }
footer { padding: 34px 0 44px; color: var(--soft); font-size: 14px; text-align: center; }
footer p + p { margin-top: 6px; }

/* Plain pages (unsubscribe, 404) */
body.plain { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.plain-card { width: min(520px, 100%); background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); padding: 30px 26px; text-align: center; }
.plain-card h1 { font-size: 2rem; margin-bottom: 12px; }
.plain-card p { color: var(--soft); margin-top: 10px; }
.plain-card form { margin-top: 20px; }
.plain-card button { font: 800 16px/1 var(--display); color: #fff; background: var(--orange); border: 2px solid var(--ink); border-radius: 999px; padding: 14px 22px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.plain-card button.ghost { background: #fff; color: var(--ink); }
.plain-card .small { font-size: 14px; margin-top: 22px; }
