/* American comic style: bright pop colors, bold comic fonts, speech bubbles and SFX accents */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Comic+Neue:wght@700&family=Anton&family=Roboto:wght@400;700&display=swap');

/* Check banner above complete table */
.check-banner{
  text-align:center;
  font-family: 'Anton', 'Comic Neue', sans-serif;
  font-size:72px;
  line-height:1;
  color:#ffcc00;
  text-transform:uppercase;
  margin: 0 0 18px;
  padding:12px 10px;
  letter-spacing:3px;
  -webkit-text-stroke: 2px #000;
  text-shadow:
    0 0 8px rgba(255,204,0,0.9),
    0 0 20px rgba(255,204,0,0.55),
    6px 6px 0 #fff,
    8px 8px 18px rgba(0,0,0,0.25);
  background: linear-gradient(90deg, rgba(255,204,0,0.08), rgba(230,57,70,0.05));
  border-radius:8px;
  border:4px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

@media (max-width:720px){
  .check-banner{ font-size:40px; padding:10px 6px; }
}

/* Big neon question banner sitting above the masthead */
.neon-question{
  position:relative;
  width:100%;
  text-align:center;
  font-family: 'Anton', 'Comic Neue', sans-serif;
  font-size:84px;
  line-height:0.9;
  color:#0ffbff;
  text-transform:uppercase;
  margin: -22px 0 8px;
  padding:6px 10px;
  letter-spacing:2px;
  -webkit-text-stroke: 2px #001a1a;
  text-shadow:
    0 0 6px rgba(0,255,255,0.9),
    0 0 18px rgba(0,255,255,0.55),
    6px 6px 0 #fff,
    8px 8px 18px rgba(0,0,0,0.25);
  background: linear-gradient(90deg, rgba(0,255,255,0.06), rgba(255,0,255,0.03));
  border-radius:8px;
  border:4px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 36px rgba(0,0,0,0.32);
}

/* scale down on smaller viewports so it stays prominent but not overflow */
@media (max-width:720px){
  .neon-question{ font-size:40px; margin-top:-6px; padding:8px 6px; }
}

:root{
  --bg: #fff6e6;
  --panel: #fff;
  --ink: #111;
  --muted: #555;
  --accent: #ffcc00; /* classic comic yellow for SFX */
  --accent-2: #e63946; /* red pop */
  --dot: url('/old-newspaper-background-blank-brown-vintage-grunge-paper-texture-textured-newsprint-pattern-with-space-text-wallpaper-design_1028938-332702.avif');
}

/* reset and base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background: linear-gradient(180deg,#fff6e6 0%, #ffecc9 60%);
  font-family: 'Special Elite', 'Roboto', system-ui, -apple-system, sans-serif;
  color:var(--ink);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:20px;
}

/* paper container: comic page with thick border and subtle paper texture */
.paper{
  width:100%;
  max-width:1300px;
  background:var(--panel);
  border:10px solid var(--ink);
  padding:28px;
  position:relative;
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
  line-height:1.35;
  overflow:hidden;
  border-radius:6px;
  /* soften paper texture by layering a semi-opaque white gradient over the image */
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), var(--dot);
  background-size: 100%, 140%;
  background-blend-mode: normal, multiply;
  background-color: var(--panel);
}

/* masthead as bold American comic title with starburst accent */
.masthead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border-bottom:8px solid var(--accent-2);
  background: linear-gradient(90deg, rgba(255,204,0,0.06), transparent);
}
.paper-name{
  font-family:'Special Elite', 'Anton','Comic Neue', 'Permanent Marker', sans-serif;
  font-size:56px;
  color:var(--accent-2);
  text-transform:uppercase;
  padding:6px 12px;
  border-radius:6px;
  text-shadow: 6px 6px 0 #fff, 0 4px 0 rgba(0,0,0,0.12);
  letter-spacing:1px;
}
.strap{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
  font-family:'Special Elite','Comic Neue',sans-serif;
}

/* index: colorful badge buttons like comic sound-bites */
.index{
  display:flex;
  gap:12px;
  padding:10px;
  margin-top:12px;
}
.index-list{display:flex;gap:8px;list-style:none}
.index-list a{
  display:inline-block;
  padding:8px 12px;
  border:3px solid var(--ink);
  font-weight:700;
  background:linear-gradient(180deg,#fff,#ffe);
  color:var(--ink);
  text-decoration:none;
  border-radius:10px;
  font-family:'Special Elite','Comic Neue', sans-serif;
  transform:translateY(0);
  transition:transform .12s;
}
.index-list a:hover{transform:translateY(-4px)}

/* main title: big comic SFX style */
.title{
  font-family:'Special Elite','Anton','Comic Neue',sans-serif;
  font-size:88px;
  color:var(--accent);
  line-height:0.85;
  margin:6px 0 12px;
  transform: rotate(-2deg);
  display:inline-block;
  padding:8px 14px;
  border-radius:6px;
  box-shadow: 10px 10px 0 #fff, 4px 4px 0 rgba(0,0,0,0.12);
  border:6px solid var(--ink);
  text-transform:uppercase;
}

/* instruction: narration box with comic border and drop shadow */
.instruction{
  background:linear-gradient(180deg,#fff,#fff8e6);
  border:4px dashed var(--ink);
  padding:12px;
  font-size:15px;
  color:var(--muted);
  border-radius:10px;
  max-width:100%;
  margin-bottom:14px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.06);
}

/* headline panels: grid that reads like comic panels */
.headline-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
  gap:28px;
  margin-top:18px;
}

/* each headline is a pop-art panel with bold border and inner stroke */
.headline{
  background:linear-gradient(180deg,#fff,#fff8f0);
  border:8px solid var(--ink);
  padding:18px;
  position:relative;
  overflow:visible;
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  box-shadow: 14px 14px 0 rgba(0,0,0,0.06);
}

/* comic-style page-number badge */
.section-number{
  position:absolute;
  right:-20px;
  top:-20px;
  width:64px;height:64px;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-2);
  color:#fff;
  font-weight:900;
  border-radius:12px;
  border:6px solid #fff;
  box-shadow:6px 8px 0 rgba(0,0,0,0.15);
  font-family:'Special Elite','Comic Neue',sans-serif;
  font-size:18px;
}

/* headline number small label */
.headline-number{
  font-size:14px;
  color:var(--ink);
  font-weight:900;
  margin-bottom:8px;
  font-family:'Special Elite','Comic Neue',sans-serif;
  letter-spacing:0.6px;
}

/* headline text: bold, bright SFX box and optional burst */
.headline-text{
  font-family:'Special Elite','Comic Neue','Anton', sans-serif;
  font-size:26px;
  color:#000;
  line-height:1.02;
  text-transform:uppercase;
  letter-spacing:0.6px;
  padding:10px 12px;
  background: linear-gradient(180deg, #fff, #fff2c2);
  border:6px solid var(--accent);
  border-radius:6px;
  display:inline-block;
  box-shadow: 8px 8px 0 #fff, 6px 6px 0 rgba(0,0,0,0.06);
}

/* definitions as speech or caption bubbles */
.definitions{
  font-size:13px;
  color:var(--ink);
  padding:12px;
  margin-top:12px;
  border-radius:14px;
  background: linear-gradient(180deg,#fff,#ffe);
  border:3px solid var(--ink);
  font-family:'Special Elite','Roboto',sans-serif;
  position:relative;
  align-self:flex-start;
  max-width:90%;
}
/* small triangular tail for bubble */
.definitions:after{
  content:'';
  position:absolute;
  left:18px;
  bottom:-12px;
  width:0;height:0;
  border-top:12px solid var(--panel);
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  filter:drop-shadow(0 2px 0 rgba(0,0,0,0.05));
}

/* small SFX badge for dramatic headlines (added via class if needed) */
.sfx{
  display:inline-block;
  background:var(--accent);
  color:#111;
  padding:6px 10px;
  border-radius:8px;
  font-weight:900;
  margin-left:8px;
  border:4px solid #fff;
  box-shadow:4px 6px 0 rgba(0,0,0,0.12);
  font-family:'Anton',sans-serif;
}

/* table: keep readable but with comic accents */
.clarity-table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
}
.clarity-table thead th{
  background:var(--accent-2);
  color:#fff;
  padding:10px;
  font-weight:900;
  font-family:'Special Elite','Comic Neue',sans-serif;
  border:6px solid #fff;
}
.clarity-table tbody td{
  padding:16px;
  border:4px solid var(--ink);
  background:#fff;
  color:var(--ink);
  font-family:'Special Elite','Roboto',sans-serif;
  vertical-align:top;
}

/* Larger, clearer reasons list and small example items */
.reasons-ol{
  margin-top:10px;
  color:var(--muted);
  font-size:20px;            /* much bigger letters for readability */
  line-height:1.5;
  padding-left:20px;
}
.reasons-ol li{
  margin-bottom:14px;
  font-weight:700;
}
.reason-examples{
  margin-top:6px;
  margin-left:12px;
  color:var(--muted);
  font-size:14px;            /* examples are smaller but still readable */
  font-weight:400;
  line-height:1.4;
}
.reason-examples span{display:block}

/* Print-friendly: simplified B/W comic look */
@media print{
  body{background:#fff}
  .paper{box-shadow:none;border:none;padding:6mm;background: #fff}
  .section-number{display:none}
  .headline{border:2px solid #000}
  .clarity-table thead th{background:#000;color:#fff}
}

/* responsive tweaks */
@media (max-width:720px){
  .title{font-size:48px;padding:8px;border-width:4px}
  .paper{padding:12px}
  .masthead{flex-direction:column;align-items:flex-start;gap:8px}
  .index-list{flex-wrap:wrap}
}