/* WritersBox. One stylesheet, no framework.

   The look comes from the art pack: flat colour, rounded chunky shapes, a
   little tilt and bounce, paper grain over everything, and a different
   coloured ground for every section. Every word meets 4.5:1 against what is
   really behind it, in both themes; tools/site-gate.py measures it. */

@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  font-stretch: 75% 100%;
  src: url('/vendor/fonts/BricolageGrotesque-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('/vendor/fonts/Figtree-var.woff2') format('woff2');
}

:root {
  --ink: #1c1530;            /* text, outlines and hard shadows */
  --ink-2: #463d5c;          /* quieter text */
  --line: #1c1530;           /* the cartoon outline */
  --card: #fffaf0;
  --paper: #fbf1df;
  --paper2: #f6e6c8;
  --navy: #0b1023;
  --coral: #f6604c;
  --green: #17774d;
  --yellow: #f5b915;
  --orange: #f06a1e;
  --mint: #3cc49a;
  --lilac: #8f7be0;
  --blue: #2563eb;
  --link: #1d4fc4;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --text: 'Figtree', system-ui, sans-serif;
  --r: 28px;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --grain: .08;
  color-scheme: light;
}
/* Night: the paper goes dark; every coloured ground stays as it is. */
:root[data-theme="dark"] {
  --ink: #f6eedd;
  --ink-2: #d9d0e8;
  --line: #05030c;
  --card: #231c3f;
  --paper: #120e24;
  --paper2: #1a1533;
  --navy: #070a18;
  --link: #9db8ff;
  --grain: .07;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 500 18px/1.6 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* paper grain over everything, the way the art has it */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-theme="dark"] body::after { mix-blend-mode: screen; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[data-theme="dark"] :focus-visible { outline-color: #9db8ff; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--card); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1; letter-spacing: -.03em; font-weight: 800; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h3 { font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.55; margin-top: 1.2rem; max-width: 34em; }
.lede.strong { font-weight: 700; font-size: 1.25rem; }
.fine { font-size: .95rem; margin-top: 1.2rem; }
.kicker { font: 800 .82rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .row { justify-content: center; }
.note { display: inline-block; margin-top: 2.6rem; font-weight: 700; padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--card); border: 2px dashed var(--line); transform: rotate(-1deg); color: var(--ink); }

/* a word picked out with a hand drawn highlighter stroke */
.hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em;
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--yellow) 80%, transparent) 60% 90%, transparent 90%); }
.hl.pink { background: linear-gradient(transparent 60%, #ff9cc3 60% 90%, transparent 90%); }
.hl.coral { background: linear-gradient(transparent 60%, #ff9a90 60% 90%, transparent 90%); }
[data-theme="dark"] .g-paper .hl, [data-theme="dark"] .g-paper2 .hl {
  background: linear-gradient(transparent 86%, var(--yellow) 86% 97%, transparent 97%); }

.tag { display: inline-block; font: 800 .92rem/1 var(--text); letter-spacing: .01em; padding: .58rem 1rem;
  border-radius: 999px; background: var(--tag, var(--yellow)); color: #1c1530; transform: rotate(-2deg);
  box-shadow: 0 4px 0 var(--line); margin-bottom: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { display: inline-block; font: 800 .82rem/1 var(--text); padding: .45rem .8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--fg, #fff) 22%, transparent); color: inherit; }
.chip.on { background: #c9f2dc; color: #0f5133; }
.chip.soon { background: #ffe08a; color: #5c3b00; }
.chip.light { background: #fbf1df; color: #1c1530; }

/* ── buttons: chunky stickers that press ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px;
  font: 800 1.06rem/1.1 var(--display); letter-spacing: -.01em; text-decoration: none;
  padding: .9rem 1.5rem; border-radius: 999px; border: 3px solid #1c1530; cursor: pointer;
  background: var(--yellow); color: #1c1530; box-shadow: 0 6px 0 #1c1530;
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce); }
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 #1c1530; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #1c1530; }
.btn.alt { background: #fbf1df; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.small { min-height: 42px; padding: .55rem 1rem; font-size: .95rem; box-shadow: 0 4px 0 #1c1530; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  box-shadow: 0 3px 0 var(--line); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sun, [data-theme="dark"] .ic-moon { display: none; }
[data-theme="dark"] .ic-sun { display: block; }

/* ── header ───────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 3px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 1.2rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink);
  font: 800 1.55rem/1 var(--display); letter-spacing: -.03em; }
.brand img { width: 42px; height: auto; transition: transform .4s var(--bounce); filter: drop-shadow(0 3px 0 var(--line)); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand b { color: #1d4fc4; }
[data-theme="dark"] .brand b { color: #7fa5ff; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav a { display: block; font-weight: 750; text-decoration: none; color: var(--ink); padding: .55rem .9rem;
  border-radius: 999px; transition: background .2s, transform .25s var(--bounce); }
.nav li:nth-child(1) a:hover, .nav li:nth-child(1) a[aria-current] { background: #ffe08a; color: #1c1530; }
.nav li:nth-child(2) a:hover, .nav li:nth-child(2) a[aria-current] { background: #b9f0d4; color: #1c1530; }
.nav li:nth-child(3) a:hover, .nav li:nth-child(3) a[aria-current] { background: #ffc0b8; color: #1c1530; }
.nav li:nth-child(4) a:hover, .nav li:nth-child(4) a[aria-current] { background: #c9d8ff; color: #1c1530; }
.nav li:nth-child(5) a:hover, .nav li:nth-child(5) a[aria-current] { background: #ffd3b0; color: #1c1530; }
.nav a:hover { transform: rotate(-2deg); }
.hdr-act { display: flex; align-items: center; gap: .6rem; }
.menu-btn, .ic-close { display: none; }
.hdr.open .ic-close { display: block; } .hdr.open .ic-open { display: none; }
@media (min-width: 981px) { .nav-extra { display: none; } }
@media (max-width: 980px) {
  .menu-btn { display: inline-grid; }
  .hdr-cta { display: none; }
  .hdr-act { margin-left: auto; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; margin: 0; background: var(--paper);
    border-bottom: 3px solid var(--line); display: none; }
  .hdr.open .nav { display: block; }
  .nav ul { flex-direction: column; padding: .8rem 20px 1.4rem; gap: .3rem; }
  .nav a { font-size: 1.3rem; font-family: var(--display); font-weight: 800; padding: .75rem 1rem; }
}

/* ── sections and their grounds ───────────────────────────────────────── */
.sec { position: relative; padding: clamp(84px, 11vw, 132px) 0; }
.hero { padding-top: clamp(56px, 7vw, 90px); }
.g-paper { background: var(--paper); color: var(--ink); }
.g-paper2 { background: var(--paper2); color: var(--ink); }
.g-navy { background: var(--navy); color: #fbf1df; }
.g-coral { background: var(--coral); color: #1c1530; }
.g-green { background: var(--green); color: #fff; }
.g-yellow { background: var(--yellow); color: #1c1530; }
.g-orange { background: var(--orange); color: #1c1530; }
.g-mint { background: var(--mint); color: #1c1530; }
.g-lilac { background: var(--lilac); color: #1c1530; }
.g-navy a:not(.btn), .g-green a:not(.btn) { color: #ffe08a; }
.g-coral a:not(.btn), .g-yellow a:not(.btn), .g-orange a:not(.btn), .g-mint a:not(.btn), .g-lilac a:not(.btn) { color: #1c1530; }
.g-navy .c1 { color: var(--yellow); }
.c1 { color: var(--yellow); } .c2 { color: #ff8ab4; } .c3 { color: #74dcae; }
.wave { position: absolute; top: -1px; left: 0; width: 100%; height: 64px; display: block; }
.wave path { fill: var(--above); }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.flip { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } }
.head { max-width: 760px; margin-bottom: 3.2rem; }
.head.center { margin-inline: auto; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.head-row > div { max-width: 720px; }

/* an illustration in a chunky tilted frame */
.frame { position: relative; }
.frame img { border-radius: 32px; border: 4px solid var(--line); box-shadow: 10px 12px 0 var(--line); width: 100%; }
.g-navy .frame img { border-color: #fbf1df; box-shadow: 10px 12px 0 #000; }
.tilt-r img { transform: rotate(2deg); }
.tilt-l img { transform: rotate(-2deg); }
.frame.wide { max-width: 1000px; margin: 3rem auto 0; }
.js .float img { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(1deg) translateY(-10px); } }

/* stickers and the mascot */
.sticker { width: 96px; height: auto; flex: 0 0 auto; }
.mascot { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 8px 0 rgba(0,0,0,.12)); }
.mascot.small { width: 120px; }
.spot.big { width: min(380px, 80vw); margin-inline: auto; }
.js .mascot { animation: hop 4s var(--bounce) infinite; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-14px) rotate(-3deg); } 90% { transform: translateY(0) rotate(2deg); } }

/* confetti */
.confetti i { position: absolute; display: block; width: var(--s, 14px); height: var(--s, 14px); border-radius: 50%;
  background: var(--c); animation: float var(--d, 7s) ease-in-out infinite; z-index: 0; }
.confetti i.sq { border-radius: 4px; transform: rotate(20deg); }
.confetti i.line { width: 34px; height: 9px; border-radius: 9px; }
@keyframes float { 50% { transform: translateY(-16px) rotate(25deg); } }
.hero-in { position: relative; z-index: 1; }

/* the moving strip of app names */
.marquee { background: var(--yellow); color: #1c1530; border-block: 3px solid var(--line); overflow: hidden;
  transform: rotate(-1.5deg); margin: -30px -20px 0; position: relative; z-index: 3; }
.marquee div { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee span { font: 800 1.45rem/1 var(--display); letter-spacing: -.02em; padding: 1.05rem 0; white-space: nowrap; }
.marquee b { display: inline-block; width: .8em; height: .8em; margin: 0 .8rem; background: #b3261b; vertical-align: -.05em;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes slide { to { transform: translateX(-50%); } }

/* a real screen in a cartoon window */
.win { margin: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 4px solid var(--line);
  box-shadow: 10px 12px 0 var(--line); }
.win-bar { display: flex; gap: 7px; padding: 10px 12px; background: #1c1530; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e8483b; }
.win-bar i:nth-child(2) { background: #f5b915; }
.win-bar i:nth-child(3) { background: #4ad08c; }
.win img { width: 100%; }
.g-navy .win { border-color: #fbf1df; box-shadow: 10px 12px 0 #000; }

.collage { position: relative; }
.collage .win { transform: rotate(1.5deg); }
.collage .mascot.peek { position: absolute; left: -40px; bottom: -70px; width: 190px; }
@media (max-width: 900px) { .collage .mascot.peek { left: -6px; bottom: -60px; width: 140px; } }
.app-collage { padding-bottom: 60px; }
.app-collage .frame img { box-shadow: 10px 12px 0 var(--g); }
.app-collage .win { position: absolute; right: -14px; bottom: 0; width: 58%; transform: rotate(3deg);
  box-shadow: 8px 10px 0 var(--line); }
.split.flip .app-collage .win { right: auto; left: -14px; transform: rotate(-3deg); }
@media (max-width: 900px) { .app-collage .win { right: 0; } .split.flip .app-collage .win { left: 0; } }

/* steps with a sticker each */
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1rem; align-items: center; }
.steps .sticker { width: 84px; transform: rotate(-4deg); }
.steps li:nth-child(2) .sticker { transform: rotate(5deg); }
.steps b { font: 800 1.25rem/1.15 var(--display); display: block; }
.steps p { color: var(--ink-2); }

/* ticks */
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2.2rem; font-weight: 650; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .1em; width: 1.5rem; height: 1.5rem; border-radius: 8px;
  background: #4ad08c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231c1530' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
  transform: rotate(-6deg); box-shadow: 0 2px 0 var(--line); }

/* ── app cards ────────────────────────────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .app-grid { grid-template-columns: 1fr; } }
.app-card { display: block; text-decoration: none; background: var(--g); color: var(--fg); border-radius: var(--r);
  padding: 12px 12px 22px; border: 3px solid var(--line); box-shadow: 0 8px 0 var(--line); transform: rotate(var(--t));
  transition: transform .35s var(--bounce), box-shadow .35s var(--bounce); }
.app-card:hover, .app-card:focus-visible { transform: rotate(0) translateY(-8px) scale(1.03); box-shadow: 0 16px 0 var(--line); }
.app-card .pic { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; border: 3px solid var(--line); }
.app-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--bounce); }
.app-card:hover .pic img { transform: scale(1.06); }
.app-card h3 { margin: 1rem .4rem .35rem; }
.app-card .chip { margin: 0 .4rem .4rem; background: #fbf1df; color: #1c1530; }
.app-card p { margin: 0 .4rem; font-size: .98rem; line-height: 1.45; }

/* ── the screen tabs ──────────────────────────────────────────────────── */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 2.4rem; }
.tab-list button { font: 800 .95rem/1 var(--text); padding: .65rem 1.05rem; border-radius: 999px; cursor: pointer;
  border: 3px solid #fbf1df; background: transparent; color: #fbf1df; transition: transform .25s var(--bounce); }
.tab-list button:hover { transform: rotate(-2deg) translateY(-2px); }
.tab-list button[aria-selected="true"] { background: #fbf1df; color: #1c1530; box-shadow: 0 4px 0 #000; }
@media (max-width: 700px) { .tab-list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 4px 20px 10px; scrollbar-width: none; } .tab-list button { flex: 0 0 auto; } }
.tab-panel .win { max-width: 1000px; margin: 0 auto; transform: rotate(-.6deg); }
.tab-cap { text-align: center; margin-top: 2rem; }

/* ── bundle cards ─────────────────────────────────────────────────────── */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 1000px) { .bundle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle-card { background: var(--card); color: var(--ink); border: 3px solid var(--line); border-radius: 32px; overflow: hidden;
  box-shadow: 0 10px 0 var(--g); transform: rotate(var(--t)); transition: transform .35s var(--bounce); }
.bundle-card:hover { transform: rotate(0) translateY(-6px); }
.bundle-card .pic { aspect-ratio: 3 / 2; border-bottom: 3px solid var(--line); overflow: hidden; }
.bundle-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.bundle-card .body { padding: 1.3rem 1.5rem 1.6rem; }
.bundle-card .kicker { margin-bottom: .5rem; }
.bundle-card .body > p:not(.kicker) { color: var(--ink-2); margin-top: .45rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1.1rem 0 0; }
.pills li { font-weight: 750; font-size: .88rem; padding: .38rem .8rem; border-radius: 999px; color: var(--ink);
  background: color-mix(in srgb, var(--g, var(--yellow)) 16%, var(--card)); border: 2px solid color-mix(in srgb, var(--g, var(--yellow)) 55%, var(--line)); }

/* ── join band ────────────────────────────────────────────────────────── */
.join-card { background: #fbf1df; color: #1c1530; border: 3px solid #1c1530; border-radius: 40px; padding: clamp(32px, 6vw, 64px);
  box-shadow: 0 14px 0 #1c1530; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.join-card .mascot { margin-inline: auto; }
@media (max-width: 800px) { .join-card { grid-template-columns: 1fr; } }

.stamp { display: inline-block; margin-top: 1.8rem; background: #fbf1df; color: #1c1530;
  font: 800 1.7rem/1 var(--display); padding: .9rem 1.3rem; border-radius: 18px; transform: rotate(-2deg); box-shadow: 0 6px 0 #1c1530; }
.noai h2 { font-size: clamp(3rem, 9vw, 7rem); }

/* ── the apps page ────────────────────────────────────────────────────── */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; position: relative; z-index: 1; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem .5rem .6rem; border-radius: 999px;
  background: var(--card); color: var(--ink); border: 2px solid var(--line); font-weight: 750; font-size: .92rem; text-decoration: none;
  transition: transform .25s var(--bounce); }
.jump a:hover { transform: rotate(-2deg) translateY(-2px); }
.dot { display: inline-block; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; border-radius: 6px; background: var(--g);
  border: 2px solid var(--line); transform: rotate(-8deg); }
.app-name { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.app-name::after { content: ''; display: block; width: 3.2rem; height: .55rem; border-radius: 9px; background: var(--g);
  margin-top: .8rem; transform: rotate(-2deg); border: 2px solid var(--line); }
.app-sec .chip.on { background: #c9f2dc; }

/* ── the shop ─────────────────────────────────────────────────────────── */
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
@media (max-width: 520px) { .mini-cards { grid-template-columns: 1fr; } }
.mini { display: grid; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: 22px; background: var(--g); color: var(--fg);
  text-decoration: none; border: 3px solid var(--line); box-shadow: 0 6px 0 var(--line); transition: transform .3s var(--bounce); }
.mini:nth-child(1) { transform: rotate(-1.5deg); } .mini:nth-child(2) { transform: rotate(1.2deg); }
.mini:hover { transform: rotate(0) translateY(-4px); }
.mini b { font: 800 1.25rem/1.1 var(--display); }

.addon-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .addon-grid { grid-template-columns: 1fr; max-width: 520px; } }
.addon { background: var(--g); color: var(--fg, #fff); border: 3px solid var(--line); border-radius: 30px; overflow: hidden;
  box-shadow: 0 10px 0 var(--line); transform: rotate(var(--t)); }
.addon:nth-child(1) { --fg: #1c1530; } .addon:nth-child(2) { --fg: #1c1530; } .addon:nth-child(3) { --fg: #fff; }
.addon .pic { aspect-ratio: 3 / 2; border-bottom: 3px solid var(--line); overflow: hidden; }
.addon .pic img { width: 100%; height: 100%; object-fit: cover; }
.addon .body { padding: 1.3rem 1.5rem 1.6rem; }
.addon .body p { margin-top: .6rem; }
.addon .chip { margin-top: .7rem; }

.own-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 980px) { .own-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .own-list { grid-template-columns: 1fr; } }
.own-list a { display: flex; align-items: center; gap: .85rem; padding: .95rem 1.1rem; border-radius: 20px; background: var(--card);
  border: 2px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--bounce), box-shadow .25s; }
.own-list a:hover { transform: rotate(-1deg) translateY(-3px); box-shadow: 0 6px 0 var(--line); }
.own-list a > span:last-child { display: grid; line-height: 1.35; }
.own-list b { font-family: var(--display); font-size: 1.12rem; }
.own-list a span span { color: var(--ink-2); font-size: .92rem; }
.own-list .dot { width: 1.6rem; height: 1.6rem; border-radius: 9px; }

.build-head { margin-bottom: 3rem; }
.build-head .frame { max-width: 520px; justify-self: end; }
.builder { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .builder { grid-template-columns: 1fr; } }
.pick fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.pick legend { font: 800 .82rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-bottom: .9rem; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 640px) { .pick-grid { grid-template-columns: 1fr; } }
.pick-tile { position: relative; display: flex; align-items: center; gap: .85rem; cursor: pointer; padding: .9rem 1rem;
  border-radius: 22px; background: #fffaf0; color: #1c1530; border: 3px solid #1c1530; box-shadow: 0 5px 0 #1c1530;
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce), background .2s; }
.pick-tile:hover { transform: translateY(-3px) rotate(-.6deg); }
.pick-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-tile:has(input:focus-visible) { outline: 3px solid #1c1530; outline-offset: 3px; }
.pick-tile:has(input:checked) { background: color-mix(in srgb, var(--g) 22%, #fffaf0); transform: rotate(-1deg); }
.pick-tile .dot { width: 1.6rem; height: 1.6rem; border-radius: 9px; border-color: #1c1530; }
.pt { display: grid; line-height: 1.3; padding-right: 2rem; }
.pt b { font: 800 1.08rem/1.15 var(--display); }
.pt span { color: #463d5c; font-size: .88rem; }
.tick-box { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 9px;
  border: 3px solid #1c1530; background: #fff; }
.pick-tile:has(input:checked) .tick-box { background: #4ad08c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231c1530' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.summary { position: sticky; top: 96px; background: #fbf1df; color: #1c1530; border: 3px solid #1c1530; border-radius: 30px;
  padding: 1.6rem; box-shadow: 0 10px 0 #1c1530; }
.summary .mascot.small { margin: -70px auto .6rem; }
.summary h3 { margin-bottom: .2rem; }
.summary .fine { color: #463d5c; }
.summary .row { margin-top: 1.4rem; }
.summary .btn.blue { width: 100%; }
.summary [data-sum-clear] { margin-top: .8rem; width: 100%; }
.summary .pills li { --g: var(--li, #f5b915); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 800px) { .pair { grid-template-columns: 1fr; } }
.soft-card { display: flex; gap: 1.2rem; align-items: center; padding: 1.4rem 1.6rem; border-radius: 30px; background: var(--card);
  color: var(--ink); border: 3px solid var(--line); box-shadow: 0 8px 0 var(--line); }
.soft-card .sticker { width: 120px; }
.soft-card h3 { margin-bottom: .4rem; }
.soft-card.wide { margin-top: 2.4rem; }
@media (max-width: 520px) { .soft-card { flex-direction: column; text-align: center; } }

/* ── school and contact cards with a sticker on top ───────────────────── */
.spot-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.spot-grid.four { grid-template-columns: repeat(4, 1fr); }
.spot-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .spot-grid.four, .spot-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spot-grid.four, .spot-grid.three { grid-template-columns: 1fr; } }
.spot-card { position: relative; background: var(--card); color: var(--ink); border: 3px solid var(--line); border-radius: 30px;
  padding: 1.2rem 1.4rem 1.6rem; box-shadow: 0 8px 0 var(--line); transform: rotate(var(--t));
  transition: transform .35s var(--bounce); }
.spot-card:hover { transform: rotate(0) translateY(-5px); }
.spot-card .sticker { width: 150px; margin: -.4rem auto .4rem; }
.spot-card h3 { margin-bottom: .45rem; }
.spot-card p { color: var(--ink-2); font-size: .98rem; }
.spot-card p + p { margin-top: .7rem; }
.num { position: absolute; top: -14px; left: -10px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; background: var(--coral); color: #1c1530; font: 800 1.3rem/1 var(--display);
  border: 3px solid var(--line); transform: rotate(-8deg); }

/* ── sign in and legal: the two doors ─────────────────────────────────── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
.door { display: grid; gap: .8rem; padding: clamp(28px, 4vw, 44px); border-radius: 34px; background: var(--g); color: var(--fg);
  text-decoration: none; border: 3px solid var(--line); box-shadow: 0 10px 0 var(--line); min-height: 220px; align-content: end;
  transition: transform .35s var(--bounce), box-shadow .35s var(--bounce); }
.door:nth-child(1) { transform: rotate(-1.2deg); } .door:nth-child(2) { transform: rotate(1deg); }
.door:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 16px 0 var(--line); }
.door h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.door .kicker { margin: 0; }
.door .go { font-weight: 800; }
.doors.small { margin: 2.4rem 0; }
.doors.small .door { min-height: 0; }
.doors.small h2 { font-size: 1.6rem; }

/* ── words pages ──────────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.9rem; margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: .8rem; }
.big-mail { font: 800 clamp(1.4rem, 3.4vw, 2.3rem)/1.2 var(--display); word-break: break-word; }

/* ── the waitlist form ────────────────────────────────────────────────── */
.wl { align-items: start; }
.wl .frame { margin-top: 2.6rem; max-width: 560px; }
.wl-form { position: relative; }
.form, .form .label, .form legend, .form .consent, .form summary + * { color: #1c1530; }
.form { background: #fbf1df; color: #1c1530; border: 3px solid #1c1530; border-radius: 34px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 0 #1c1530; min-width: 0; }
.wl-form > .fine { margin-top: 2rem; }
.wl-form .mascot.cheer { margin: 1.6rem auto 0; }
.field { margin-bottom: 1.3rem; }
.label { display: block; font: 800 1.05rem/1.2 var(--display); margin-bottom: .55rem; }
.hint { font: 600 .85rem var(--text); color: #463d5c; }
.input { width: 100%; font: 600 1.05rem/1.4 var(--text); color: #1c1530; background: #fff; border: 3px solid #1c1530;
  border-radius: 18px; padding: .85rem 1.1rem; }
.input::placeholder { color: #6b6280; }
.input:focus { outline: none; box-shadow: 0 0 0 4px #9db8ff; }
.field-bad .input { border-color: #b3261b; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; }
.chips-in { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-in { position: relative; }
.chip-in input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-in span { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 2px solid #1c1530; font-weight: 700;
  font-size: .92rem; background: #fff; color: #1c1530; transition: transform .2s var(--bounce); }
.chip-in input:checked + span { background: #ffe08a; transform: rotate(-2deg); box-shadow: 0 3px 0 #1c1530; }
.chip-in input:focus-visible + span { outline: 3px solid #2563eb; outline-offset: 2px; }
.more { margin-bottom: 1.3rem; border-top: 2px dashed #1c1530; padding-top: 1rem; }
.more summary { cursor: pointer; font-weight: 800; color: #1d4fc4; }
.more[open] summary { margin-bottom: 1rem; }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.3rem; cursor: pointer; font-size: .95rem; }
.consent input { margin-top: .2rem; width: 1.3rem; height: 1.3rem; flex: 0 0 auto; accent-color: #2563eb; }
#wb-turnstile { margin: 0 0 1.3rem; min-height: 65px; max-width: 100%; min-width: 0; overflow: hidden; border-radius: 10px; }
#wb-turnstile.ts-focus { outline: 3px solid #2563eb; outline-offset: 3px; }
.form .btn { width: 100%; }
.said { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 18px; display: grid; gap: .3rem; border: 2px solid #1c1530; }
.said b { font: 800 1.1rem/1.2 var(--display); }
.said span { color: #463d5c; }
.said-good { background: #c9f2dc; }
.said-bad { background: #ffd8d3; }
.said:focus { outline: none; }

/* ── footer ───────────────────────────────────────────────────────────── */
.ftr { position: relative; background: #0b1023 url('/img/art/pattern-doodles-512.webp') 0 0 / 360px repeat; color: #fbf1df;
  padding: 90px 0 40px; border-top: 3px solid var(--line); }
.ftr::before { content: ''; position: absolute; inset: 0; background: rgba(8, 10, 26, .82); }
.ftr .wrap { position: relative; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; }
@media (max-width: 800px) { .ftr-in { grid-template-columns: 1fr; } }
.ftr .brand { color: #fbf1df; }
.ftr .brand b { color: #7fa5ff; }
.ftr-brand p { margin: 1rem 0 1.4rem; max-width: 22em; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 480px) { .ftr-cols { grid-template-columns: 1fr 1fr; } }
.ftr h2 { font: 800 1.05rem/1 var(--display); color: var(--yellow); margin-bottom: 1rem; letter-spacing: -.01em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ftr ul a { color: #fbf1df; text-decoration: none; font-weight: 650; }
.ftr ul a:hover { color: #ffe08a; text-decoration: underline; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem;
  border-top: 2px dashed rgba(251, 241, 223, .3); font-size: .92rem; }
.ftr-base a { color: #fbf1df; }

/* ── motion ───────────────────────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(26px) rotate(-1deg); transition: opacity .7s ease, transform .8s var(--bounce); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print { .hdr, .ftr, .join, .marquee, body::after { display: none; } }
.center > img, .center .mascot, .center .spot { margin-inline: auto; }
@media (max-width: 700px) { .confetti i:nth-child(1), .confetti i:nth-child(3) { display: none; } }
