/* MakeBullshit.com: one small stylesheet, no framework. --accent is set per page. */
:root {
  --accent: #2f7fd1;
  --ink: #16181d;
  --muted: #5b6270;
  --bg: #f6f5f1;
  --card: #ffffff;
  --line: #e4e2db;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Top bar */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand-badge { background: var(--accent); color: #fff; border-radius: 8px; padding: 2px 7px; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: #d7dae0; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.site-nav .nav-all { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 15px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .site-nav.open { display: flex; }
}

/* Hero + generator */
.hero { background: radial-gradient(1200px 400px at 50% -10%, color-mix(in srgb, var(--accent) 55%, #fff) 0%, transparent 70%), linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #0b0d12)); background-color: var(--accent); color: #fff; padding: 28px 0 44px; text-align: center; }
.crumbs { font-size: 14px; opacity: .85; margin-bottom: 8px; }
.crumbs a { color: #fff; }
.hero h1 { font-size: clamp(30px, 5.5vw, 52px); line-height: 1.1; margin: 8px 0 8px; letter-spacing: -.02em; font-weight: 900; }
.tagline { font-size: clamp(16px, 2.2vw, 20px); max-width: 720px; margin: 0 auto 24px; opacity: .95; }
.gen { background: var(--card); color: var(--ink); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); max-width: 820px; margin: 0 auto; padding: 24px; text-align: left; }
.output { margin: 0; min-height: 120px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); line-height: 1.4; padding: 16px 8px 20px; white-space: pre-line; overflow-wrap: anywhere; }
.output-long { display: block; text-align: left; font-family: var(--font); font-size: clamp(16px, 2vw, 19px); line-height: 1.5; padding: 8px 4px 20px; }
.output.pop { animation: pop .28s ease-out; }
@keyframes pop { from { opacity: .2; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { font: inherit; font-weight: 700; font-size: 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); padding: 12px 18px; cursor: pointer; transition: transform .08s ease, background .15s; }
.btn:hover { background: #f3f2ee; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 18px; padding: 14px 28px; text-transform: uppercase; letter-spacing: .03em; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn:focus-visible, .site-nav a:focus-visible, .card:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, #fff); outline-offset: 2px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.share-row[hidden] { display: none; }
.share-row a, .linklike { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #f1f0eb; color: var(--ink); text-decoration: none; border: 0; cursor: pointer; }
.share-row a:hover, .linklike:hover { background: #e6e4dc; }
.hint { color: var(--muted); font-size: 14px; text-align: center; margin: 14px 0 0; }
@media (hover: none) { .hint { display: none; } }
.history { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.history[hidden] { display: none; }
.history h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.history ol { margin: 0; padding-left: 20px; font-size: 15px; }
.history li { margin: 4px 0; }
.history a { color: var(--ink); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history a:hover { text-decoration: underline; }

/* Ads */
.ad { margin: 24px auto; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9a9ea8; margin-bottom: 4px; }

/* Content */
.content { padding-bottom: 32px; }
.content section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.content h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
.content p { margin: 0 0 12px; }
.content p:last-child { margin-bottom: 0; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 6px 0; }
.examples { list-style: none; margin: 0; padding: 0; }
.examples li { padding: 12px 14px; border-left: 4px solid var(--accent); background: #faf9f6; margin: 10px 0; border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faq details p { margin: 8px 0 0; color: #30343c; }

/* Word lists */
.wordlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.wordlist h3 { margin: 0 0 6px; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wordlist ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; font-size: 15px; }
.wordlist li { break-inside: avoid; padding: 1px 0; }

/* Cards grid */
.more h2 { margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { --c: var(--accent); display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); border-top: 4px solid var(--c); transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card strong { font-size: 17px; line-height: 1.3; }
.card span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; }
.card-emoji { font-size: 26px; line-height: 1; }

/* Plain pages (press, privacy, dictionary, hub) */
.page-hero { padding: 36px 0 28px; }
.page-hero h1 { font-size: clamp(28px, 5vw, 46px); margin: 0 0 8px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; }

/* Jargon dictionary */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.az a { display: inline-block; min-width: 34px; text-align: center; padding: 4px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.terms dt { font-weight: 800; font-size: 20px; margin-top: 18px; scroll-margin-top: 72px; }
.terms dd { margin: 4px 0 0; }
.terms .means { color: var(--muted); font-style: italic; }

/* Bingo */
.bingo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 680px; margin: 0 auto; }
.bingo-head { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 680px; margin: 0 auto 6px; text-align: center; font-weight: 900; font-size: clamp(22px, 5vw, 38px); color: var(--accent); }
.cell { aspect-ratio: 1; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 700; font-size: clamp(9px, 2.5vw, 15px); line-height: 1.15; padding: 3px; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.cell.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cell.free { background: #fff6d6; border-color: #f0c94a; }
.cell.free.on { background: #f0c94a; color: var(--ink); }
.bingo-banner { text-align: center; font-size: 28px; font-weight: 900; color: var(--accent); min-height: 42px; margin: 12px 0 0; }

/* Footer */
.footer { background: var(--ink); color: #c9ccd3; margin-top: 40px; padding: 36px 0 16px; font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 4px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 16px; font-size: 13px; color: #8d929c; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media print {
  .topbar, .footer, .ad, .no-print, .hero .tagline, .crumbs { display: none !important; }
  body { background: #fff; }
  .cell { border-color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
