/* Custom Comic Books: use-case pages. Mobile-first, no external assets. */
:root {
  --blue: #1E7BFF;        /* brand blue: fills, borders, text on navy */
  --blue-ink: #0A55C8;    /* darker brand blue for text/links on light backgrounds (AA) */
  --blue-soft: #7FB0FF;   /* from the wordmark gradient: text on navy */
  --red: #E8121E;         /* brand red: primary buttons (white text passes AA) */
  --red-dark: #B80D17;
  --navy: #05081F;        /* brand navy: dark sections, body text */
  --ice: #E6EEFF;
  --paper: #F5F8FF;
  --white: #FFFFFF;
  --display: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 10;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--navy); border-bottom: 4px solid var(--red); }
.header-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.wordmark {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.35rem; text-decoration: none;
  color: var(--ice);
  background: linear-gradient(90deg, #E6EEFF, #7FB0FF 45%, #1E7BFF 75%, #E8121E);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nav-list a { color: var(--ice); text-decoration: none; font-size: 0.95rem; padding: 6px 0; display: inline-block; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Hero: navy with Ben-Day dots and diagonal speed lines */
.hero {
  color: var(--white);
  background-color: var(--navy);
  background-image:
    radial-gradient(rgba(30, 123, 255, 0.35) 1.6px, transparent 1.8px),
    repeating-linear-gradient(115deg, rgba(127, 176, 255, 0.07) 0 2px, transparent 2px 38px),
    linear-gradient(160deg, #0B1440 0%, var(--navy) 60%);
  background-size: 14px 14px, auto, auto;
  padding: 40px 0 48px;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; color: var(--blue-soft); margin-bottom: 12px;
}
.lede { font-size: 1.15rem; color: var(--ice); max-width: 38em; }
.risk { font-size: 0.95rem; color: var(--blue-soft); margin-top: 10px; }
.hero-art { margin: 0; }
.hero-art img {
  width: 100%; max-width: 420px; margin: 0 auto;
  border: 4px solid var(--white); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--red);
}

/* Buttons */
.cta-row { margin: 22px 0 0; }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--display);
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.2rem;
  padding: 14px 24px; border-radius: 8px; min-height: 48px;
  border: 3px solid var(--navy); transition: transform .1s ease;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 4px 4px 0 var(--navy); }
.hero .btn-primary, .final .btn-primary { border-color: var(--white); box-shadow: 4px 4px 0 var(--blue); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translate(-1px, -1px); }
.btn:focus-visible { outline-color: var(--blue-soft); }

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: var(--ice); }
.section-dots {
  background-color: var(--white);
  background-image: radial-gradient(rgba(30, 123, 255, 0.14) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
}

/* Comic callout box */
.callout {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: 6px 6px 0 var(--blue);
}
.callout h2 { color: var(--navy); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  position: relative; background: var(--white); border: 3px solid var(--navy);
  border-radius: var(--radius); padding: 22px 18px 16px 18px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 10px;
  font-family: var(--display); font-size: 1.5rem; color: var(--white);
  background: var(--blue-ink); border: 3px solid var(--navy); border-radius: 50%;
}

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.card { background: var(--white); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 0 rgba(5, 8, 31, 0.08); }
.card h3 { font-size: 1.15rem; }
.card p { margin: 0; }
.fine { font-size: 0.95rem; margin-top: 18px; }

/* FAQ */
.faq-item { background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); margin-bottom: 12px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 44px 16px 16px; position: relative; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 1.5rem; color: var(--red);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 16px 16px; margin: 0; }

/* Final CTA */
.final {
  color: var(--white); padding: 56px 0;
  background-color: var(--blue-ink);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.14) 1.6px, transparent 1.8px),
    repeating-linear-gradient(115deg, rgba(5, 8, 31, 0.12) 0 3px, transparent 3px 34px);
  background-size: 14px 14px, auto;
}
.final p { font-size: 1.1rem; }

/* Internal links */
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.link-card {
  display: block; height: 100%; text-decoration: none; color: var(--navy);
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius); padding: 18px;
  box-shadow: 4px 4px 0 var(--red); transition: transform .1s ease;
}
.link-card strong { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.15rem; line-height: 1.15; margin-bottom: 6px; color: var(--blue-ink); }
.link-card span { display: block; font-size: 0.98rem; }
.link-card:hover { transform: translate(-2px, -2px); color: var(--navy); }

/* Footer (navy, not flat black) */
.site-footer { background: var(--navy); color: var(--ice); padding: 32px 0; border-top: 4px solid var(--blue); font-size: 0.95rem; }
.site-footer a { color: var(--blue-soft); }
.site-footer p { margin: 0 0 6px; }

/* Tablet and up */
@media (min-width: 720px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .callout { padding: 32px; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
