/* generated by build.mjs from brand/brand.js: do not edit the values here */
:root {
  --indigo: #3E4372;
  --navy: #526881;
  --cream: #EDE6D8;
  --white: #FBF8F1;
  --orange: #D9743F;
  --pink: #DC619C;
  --mustard: #E9B53A;
  --teal: #2E9B8E;
  --grey: #9AA0B3;
  --ink: #24264A;
  --red: #D2483B;
  --blue: #2F68B4;
  --green: #3B9A57;
  --plum: #5A2A4C;
}
/* bitlessbaffled.com: the riso zine look for the web. Inks come from brand/brand.js (variables above).
   Contrast pairs follow brand/BRAND.md, "Readable text": text on cream is ink, indigo or navy; on indigo it is cream, white or mustard;
   on mustard it is indigo. Pink, orange and teal are for marks and shadows only. */
@font-face { font-family: "Archivo Black"; src: url(/assets/fonts/archivo-black.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; color: var(--ink); background-color: var(--cream);
  /* paper grain: a tiny turbulence tile, under 1 KB */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .15 0 0 0 0 .29 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font: 400 1.125rem/1.6 "Figtree", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--pink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }
.band-indigo :focus-visible, .foot :focus-visible { outline-color: var(--mustard); }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--indigo); color: var(--white); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

/* type */
h1, h2, h3 { line-height: 1.1; margin: 0 0 .6em; }
h3 { font-size: 1.3rem; font-weight: 800; color: var(--indigo); }
.slam {
  font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  color: var(--indigo); font-size: clamp(2rem, 4.6vw, 3.4rem);
  text-shadow: .06em .06em 0 var(--pink); /* the misregistered second ink */
}
h1.slam { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.slam-light { color: var(--cream); text-shadow: .06em .06em 0 var(--orange); }
.lede { font-size: 1.25rem; max-width: 40em; }
.small { font-size: 1rem; color: var(--navy); }
.side { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.35rem; }
.tape { display: inline-block; background: var(--white); color: var(--indigo); padding: .3rem .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; transform: rotate(-1.5deg); box-shadow: 3px 3px 0 var(--mustard); }

/* header and footer */
.top { padding: 1rem 0; }
.top-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--indigo); }
.wordmark { font-family: "Archivo Black", sans-serif; font-size: .95rem; line-height: 1; letter-spacing: .02em; }
.nav, .langs, .foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.top nav { margin-left: auto; }
.nav a, .langs a { font-weight: 700; text-decoration: none; color: var(--indigo); padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav a:hover, .langs a[aria-current] { border-bottom-color: var(--pink); }
.foot { background: var(--ink); color: var(--cream); padding: 3rem 0 2.5rem; margin-top: 0; }
.foot a { color: var(--cream); }
.foot-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-note { grid-column: 1 / -1; } }
.foot-name { font-family: "Archivo Black", sans-serif; margin: 0; font-size: 1.3rem; }
.foot-note { font-size: .95rem; margin: 0; color: var(--cream); }

/* buttons */
.btn { display: inline-block; background: var(--indigo); color: var(--white); font: 800 1.05rem/1 "Figtree", sans-serif; padding: 1rem 1.4rem; border: 3px solid var(--indigo); border-radius: 4px; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--pink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--pink); color: var(--white); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pink); }
.btn-ghost { background: transparent; color: var(--indigo); box-shadow: 4px 4px 0 var(--mustard); }
.btn-ghost:hover { color: var(--indigo); box-shadow: 6px 6px 0 var(--mustard); }
.btn-light { background: var(--cream); color: var(--indigo); border-color: var(--cream); box-shadow: 4px 4px 0 var(--orange); }
.btn-light:hover { color: var(--indigo); box-shadow: 6px 6px 0 var(--orange); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* sections */
.band { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band-indigo { background-color: var(--indigo); color: var(--cream); }
.band-indigo h3 { color: var(--mustard); }
.band-indigo a { color: var(--cream); }
.band-mustard { background-color: var(--mustard); color: var(--indigo); }
.band-mustard .slam { text-shadow: .06em .06em 0 var(--white); }
.band-mustard .small, .band-mustard h3 { color: var(--indigo); }
.band-paper { background-color: var(--white); }
.torn-top::before { /* a torn paper edge in the section's own ink */
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px; background-color: inherit;
  -webkit-mask: url(/assets/torn.svg) repeat-x 0 0 / 240px 18px; mask: url(/assets/torn.svg) repeat-x 0 0 / 240px 18px;
}
.two { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .two { grid-template-columns: 1.2fr 1fr; } }

/* hero */
.hero { padding: clamp(1.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.kicker { margin: 0 0 1.2rem; }
.hero-art { position: relative; min-height: 420px; }
.disc { position: absolute; inset: 8% 4% 4% 10%; border-radius: 50%; background: radial-gradient(circle, var(--orange) 34%, transparent 36%) 0 0 / 14px 14px, var(--mustard); opacity: .9; }
.hero-cover { position: absolute; width: 46%; border: 10px solid var(--white); box-shadow: 6px 8px 0 rgba(36, 38, 74, .25); }
.hc1 { left: 6%; top: 6%; transform: rotate(-6deg); }
.hc2 { right: 4%; top: 14%; transform: rotate(5deg); }
.hero-mark { position: absolute; left: 30%; bottom: 0; width: 40%; background: var(--white); padding: .8rem; transform: rotate(-2deg); box-shadow: 4px 5px 0 rgba(36, 38, 74, .25); }
@media (max-width: 600px) { .hero-art { min-height: 340px; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .num { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; background: var(--mustard); color: var(--indigo); font: 1.6rem "Archivo Black", sans-serif; border-radius: 50%; margin-bottom: 1rem; box-shadow: 4px 4px 0 var(--pink); }

/* formats */
.cards { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--white); border: 3px solid var(--indigo); border-radius: 6px; padding: 1.3rem 1.4rem 1.2rem; box-shadow: 6px 6px 0 var(--indigo); }
.card:nth-child(3n+2) { box-shadow: 6px 6px 0 var(--pink); }
.card:nth-child(3n) { box-shadow: 6px 6px 0 var(--orange); }
.card p { margin: 0; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--navy); font-weight: 700; margin-bottom: .6rem !important; }
.len { font-family: "Archivo Black", sans-serif; font-weight: 400; color: var(--indigo); white-space: nowrap; }

/* examples */
.examples { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ex-wide { grid-column: 1 / -1; display: grid; gap: 0 2rem; align-items: start; }
@media (min-width: 820px) { .ex-wide { grid-template-columns: 1.6fr 1fr; } .ex-wide .yt { grid-row: span 4; } }
.ex h3 { font-size: 1.15rem; margin: .2rem 0 .4rem; }
.ex p { margin: 0; font-size: 1rem; }
.ex-kind { font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem !important; margin-top: .9rem !important; }
.yt { position: relative; display: block; border: 6px solid var(--ink); background: var(--ink); aspect-ratio: 9 / 16; overflow: hidden; }
.ex-wide .yt { aspect-ratio: 16 / 9; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--indigo); border: 4px solid var(--white); box-shadow: 4px 4px 0 var(--pink); transition: transform .12s; }
.yt-play::after { content: ""; position: absolute; left: 28px; top: 20px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--white); }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.1); }

/* note card */
.note-card { background: var(--white); border: 3px solid var(--indigo); padding: 1.5rem; transform: rotate(1deg); box-shadow: 6px 6px 0 var(--mustard); }
.note-card p:last-child { margin-bottom: 0; }

/* founding offers */
.offers { display: grid; gap: 1.5rem; margin: 2rem 0 2.5rem; }
@media (min-width: 820px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer { background: var(--cream); color: var(--ink); padding: 1.5rem 1.6rem; border-radius: 6px; box-shadow: 6px 6px 0 var(--indigo); }
.offer ul { padding-left: 1.2rem; }
.offer li { margin-bottom: .4rem; }

/* forms */
.form { background: var(--white); color: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); border: 3px solid var(--indigo); border-radius: 6px; max-width: 900px; }
.form h3 { color: var(--indigo); font-size: 1.5rem; }
.form-dark { background: var(--cream); border-color: var(--cream); }
.grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .2rem; }
.form-dark .field { margin-bottom: 1rem; }
label { font-weight: 700; color: var(--ink); }
.hint { margin: 0; font-size: .95rem; color: var(--navy); }
input[type=text], input[type=email], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--navy); border-radius: 4px; padding: .65rem .75rem; width: 100%; min-height: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
[aria-invalid=true] { border-color: var(--red) !important; border-width: 3px !important; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0 .5rem; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: .2rem; flex: none; accent-color: var(--indigo); }
.check label { font-weight: 400; font-size: 1rem; }
.check a { color: var(--indigo); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.6em; font-weight: 700; margin: .5rem 0 1rem; }
.form-msg.err { color: #9C2A20; }       /* a darker red for text: 6.3:1 on white */
.form-msg.ok { color: var(--indigo); }

/* prose pages */
.prose { max-width: 46rem; }
.prose h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; color: var(--indigo); font-size: 1.4rem; margin-top: 2.2rem; }
.prose li { margin-bottom: .5rem; }
.draft-flag { background: var(--mustard); color: var(--indigo); padding: .7rem 1rem; border-radius: 4px; }

@media print { .top nav, .hero-art, .form, .foot { display: none; } body { background: none; } }
