/* coolposts.co: playful, outlined, bright. Built by src/build.py into assets/site.css. */
:root {
  --ink: #14121f;
  --muted: #55526a;
  --line: #14121f;
  --paper: #ffffff;
  --cream: #fffaf0;
  --blue: #3155e0;
  --blue-dark: #2443b8;
  --orange: #ff8a2a;
  --yellow: #ffcd3c;
  --pink: #ff5a7e;
  --sky: #49b6ff;
  --green: #2fc37a;
  --lilac: #b8a6ff;
  --radius: 14px;
  --shadow: 5px 5px 0 var(--ink);
  --wide: 1160px;
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .display { font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--pink); border: 2px solid var(--ink); border-radius: 50%; }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2.5px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; background: var(--paper); color: var(--ink); white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 2.5px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 23px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav > a, .nav summary { font-weight: 700; font-size: 16px; text-decoration: none; padding: 8px 12px; border-radius: 10px; cursor: pointer; list-style: none; }
.nav > a:hover, .nav summary:hover { background: var(--cream); }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: "▾"; margin-left: 6px; font-size: 12px; }
.nav details { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 0; width: 330px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.menu a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; }
.menu a:hover { background: var(--cream); }
.menu .ico { grid-row: span 2; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 10px; }
.menu b { font-size: 16px; }
.menu small { color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 800; font-size: 14px; text-decoration: none; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 8px; }
.burger { display: none; }

/* Sections */
section { padding: 88px 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 16px; font-size: 15px; color: var(--muted); font-style: italic; }
.art { width: 100%; height: auto; overflow: visible; }

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--paper); }
.chip svg { width: 18px; height: 18px; }
.chip.soon { border-style: dashed; color: var(--muted); }

.band { border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.band.yellow { background: var(--yellow); }
.band.cream { background: var(--cream); }
.band.blue { background: var(--blue); color: #fff; }
.band.blue .lead { color: #dfe6ff; }

/* Feature cards (homepage "where to start") */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card { text-align: left; display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.card .ico { width: 54px; height: 54px; border: 2.5px solid var(--ink); border-radius: 14px; display: grid; place-items: center; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 15px; }
.card .more::after { content: " →"; }

/* Split rows (feature highlights) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip .art-box { order: 2; }
.art-box { padding: 10px; }
.points { display: grid; gap: 14px; margin-top: 26px; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.points li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--ink); border-radius: 8px; background: var(--green); font-weight: 900; font-size: 15px; }
.points b { display: block; font-size: 17px; }
.points span { color: var(--muted); font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; counter-reset: step; }
.step { border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px; background: var(--paper); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -20px; left: 22px; width: 40px; height: 40px; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--orange); font-weight: 900; font-size: 18px; }
.step h3 { margin-top: 10px; font-size: 21px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Big quote / numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.stat { border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.stat .n { font-size: 40px; font-weight: 800; line-height: 1; }
.stat p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* CTA box */
.cta-box { border: 2.5px solid var(--ink); border-radius: 22px; background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-box .lead { color: var(--ink); margin-top: 14px; }
.cta-box .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Pricing */
.toggle { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px; background: var(--paper); margin-top: 28px; }
.toggle button { border: 0; background: none; font: inherit; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle .save { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.plan.pop { box-shadow: 8px 8px 0 var(--ink); background: var(--cream); position: relative; }
.plan .badge { position: absolute; top: -16px; left: 20px; padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); font-weight: 800; font-size: 13px; }
.plan h3 { font-size: 26px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 44px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-size: 50px; font-weight: 800; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .billed { color: var(--muted); font-size: 13.5px; min-height: 20px; margin-top: 4px; }
.plan select { margin-top: 14px; width: 100%; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); }
.plan .btn { margin-top: 18px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li::before { content: "✓"; font-weight: 900; color: var(--blue); }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { content: "◌"; color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { border: 2.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Feature page grid of small items */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.mini { border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.mini h3 { font-size: 20px; }
.mini p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.mini .dot { width: 16px; height: 16px; border: 2.5px solid var(--ink); border-radius: 50%; margin-bottom: 14px; }

.crumbs { font-weight: 700; font-size: 15px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Legal pages */
.doc-page { padding: 56px 0 80px; }
.doc { max-width: 720px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .date { color: var(--muted); font-size: 14px; margin-top: 8px; }
.doc .intro { font-size: 18px; margin-top: 22px; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc ul { margin-top: 10px; color: #2b2840; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc a { color: var(--blue); }

/* Footer */
.foot { border-top: 2.5px solid var(--ink); padding: 56px 0 40px; background: var(--cream); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .small { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Centred hero with the wide collage below */
.hero-c { padding: 64px 0 24px; text-align: center; }
.hero-c .lead { margin: 22px auto 0; max-width: 46ch; }
.hero-c .ctas, .hero-c .channels { justify-content: center; }
.hero-c .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-c .note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.hero-c .board { margin: 44px auto 0; max-width: 1060px; }
.sticker { color: var(--ink); display: inline-block; padding: 6px 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--yellow); font-weight: 800; font-size: 15px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }

/* Ticker */
.ticker { overflow: hidden; background: var(--ink); color: var(--yellow); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); padding: 14px 0; }
.ticker .row { display: flex; gap: 34px; width: max-content; animation: tick 38s linear infinite; font-weight: 800; font-size: 24px; white-space: nowrap; }
.ticker .row span::after { content: "✦"; margin-left: 34px; color: var(--pink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Bento grid of features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; margin-top: 44px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; border: 2.5px solid var(--ink); border-radius: 22px; padding: 24px; text-decoration: none; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 7px 7px 0 var(--ink); }
.tile h3 { font-size: 26px; }
.tile p { font-size: 16px; max-width: 34ch; }
.tile .go { margin-top: auto; font-weight: 800; font-size: 15px; }
.tile .go::after { content: " →"; }
.tile .art { pointer-events: none; }
.tile:not(.big):not(.wide):not(.tall) .art { display: none; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.big .art { position: absolute; right: -16px; bottom: -14px; width: 78%; max-width: 440px; }
.tile.wide { grid-column: span 2; }
.tile.wide p, .tile.wide h3 { max-width: 52%; }
.tile.wide .art { position: absolute; right: -10px; bottom: -12px; width: 44%; }
.tile.tall { grid-row: span 2; }
.tile.tall .go { margin-top: 10px; }
.tile.tall .art { margin: auto -10px -12px; width: calc(100% + 20px); }

/* Tinted panels for the highlights */
.panel { border: 2.5px solid var(--ink); border-radius: 28px; padding: 44px; }
.panel + .panel { margin-top: 28px; }
.panel .split { gap: 48px; }
.panel .art-box { transform: rotate(-2deg); }
.panel.flip .art-box { transform: rotate(2deg); }

/* Dark band */
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: #c9c6dc; }
.dark .kicker::before { background: var(--yellow); border-color: #fff; }
.dark .btn { border-color: #fff; }

/* FAQ in two columns */
.faq2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq2 .faq { margin: 0; max-width: none; }

/* Closing band */
.cta-band { background: var(--blue); color: #fff; text-align: center; border-top: 2.5px solid var(--ink); overflow: hidden; }
.cta-band .lead { color: #e0e7ff; margin: 18px auto 0; }
.cta-band .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta-band .btn { border-color: var(--ink); }
.cta-band .btn-primary { background: var(--yellow); color: var(--ink); }
.cta-band .stickers { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.cta-band .sticker:nth-child(2) { background: var(--pink); transform: rotate(2.5deg); }
.cta-band .sticker:nth-child(3) { background: var(--green); transform: rotate(-1.5deg); }

/* Steps along a hand-drawn line */
.steps.line { position: relative; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .cta-box, .faq2 { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: span 2; grid-row: span 1; }
  .panel { padding: 28px; }
  .split.flip .art-box { order: 0; }
  .cards, .steps, .minis { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav, .top .actions { display: none; }
  .burger { display: block; margin-left: auto; }
  .burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 12px; }
  .burger summary::-webkit-details-marker { display: none; }
  .burger .sheet { position: absolute; left: 12px; right: 12px; top: 80px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: grid; gap: 4px; }
  .burger .sheet a { text-decoration: none; font-weight: 700; padding: 10px; border-radius: 10px; }
  .burger .sheet a:hover { background: var(--cream); }
  .burger .sheet .btn { margin-top: 6px; color: #fff; }
  .top .actions { margin-left: 0; }
  .cards, .steps, .minis, .plans, .stats, .foot .wrap, .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: span 1; }
  .tile.tall { grid-row: span 1; }
  .tile .art, .tile.big .art, .tile.wide .art { position: static; width: 70%; margin: 10px 0 -10px auto; }
  .tile.wide p, .tile.wide h3 { max-width: none; }
  .ticker .row { font-size: 19px; }
  .cta-box { padding: 28px; }
  .split + .split { margin-top: 64px; }
  .menu { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .ticker .row { animation: none; } }
