:root {
  --ink: #211447;
  --muted: #625b75;
  --purple: #5e2bbd;
  --purple-dark: #35106f;
  --purple-soft: #f2edff;
  --gold: #ffc72c;
  --gold-dark: #9c6400;
  --green: #2fac53;
  --paper: #fffdf8;
  --line: #e7def5;
  --shadow: 0 18px 50px rgba(42, 18, 88, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid #1688ff; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.92); border-bottom: 1px solid rgba(94,43,189,.12); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 900; white-space: nowrap; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 14px; }
.brand span { font-size: .9rem; letter-spacing: .02em; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .94rem; }
.nav-links a[aria-current="page"] { color: var(--purple); }
.nav-toggle { display: none; margin-left: auto; border: 0; background: var(--purple-soft); color: var(--ink); padding: .65rem .85rem; border-radius: 12px; font: inherit; font-weight: 800; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; padding: .72rem 1.25rem; border: 2px solid transparent; border-radius: 999px; background: var(--purple); color: white; text-decoration: none; font-weight: 900; box-shadow: 0 9px 22px rgba(73,30,153,.22); cursor: pointer; }
.button:hover { color: white; background: var(--purple-dark); transform: translateY(-1px); }
.button-gold { background: var(--gold); color: #3c2600; box-shadow: 0 9px 22px rgba(179,116,0,.2); }
.button-gold:hover { background: #ffda68; color: #2d1b00; }
.button-light { background: white; color: var(--purple); border-color: var(--line); box-shadow: none; }
.button-light:hover { color: var(--purple-dark); background: #faf7ff; }
.button-small { min-height: 42px; padding: .55rem 1rem; font-size: .9rem; }
.nav-links a.button,
.nav-links a.button:hover,
.nav-links a.button:focus-visible { color: #fff; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: #173f2c url('/captainblast/assets/captain-blast-hero-desktop.jpg') center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,35,26,.9) 0%, rgba(16,35,26,.75) 34%, rgba(16,35,26,.08) 64%, rgba(16,35,26,0) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 720px; }
.hero-copy { width: min(570px, 52%); color: white; padding: 90px 0 72px; }
.hero-logo { width: min(390px, 85%); max-height: 210px; object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 16px rgba(0,0,0,.26)); }
.eyebrow { display: inline-block; margin: 0 0 1rem; color: var(--gold); font-weight: 950; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.hero h1 { max-width: 560px; margin: .2rem 0 1rem; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 3px 16px rgba(0,0,0,.25); }
.hero p { max-width: 560px; margin: 0 0 1.5rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; font-weight: 800; }
.hero-facts li::before { content: "✓"; color: var(--gold); margin-right: .45rem; }

.section { padding: 92px 0; }
.section-compact { padding: 64px 0; }
.section-tint { background: var(--purple-soft); }
.section-dark { color: white; background: var(--purple-dark); }
.section-head { max-width: 730px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { margin: 0 0 .6rem; font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.2rem; }
.section-dark .lead { color: #e6dcff; }
.kicker { color: var(--purple); font-weight: 950; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }

.fact-grid, .card-grid, .platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact, .card, .platform-card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(42,18,88,.07); }
.fact, .card, .platform-card { color: var(--ink); }
.fact strong { display: block; color: var(--purple); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.fact span { color: var(--muted); font-weight: 700; }
.card img { width: 100%; height: auto; object-fit: contain; border-radius: 16px; margin-bottom: 22px; }
.card p, .platform-card p { color: var(--muted); }
.visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visual-grid .card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: center; gap: 30px; }
.visual-grid .card-wide img { margin-bottom: 0; }
.platform-card { display: flex; flex-direction: column; }
.platform-card .button { margin-top: auto; align-self: flex-start; }
.platform-label { display: inline-flex; align-self: flex-start; margin-bottom: 1rem; padding: .2rem .65rem; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: .76rem; font-weight: 900; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 7vw, 90px); }
.split.reverse .media { order: 2; }
.media { display: block; width: 100%; min-width: 0; margin: 0; }
.media img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.media figcaption { margin-top: .7rem; color: var(--muted); font-size: .84rem; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .55rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; color: white; background: var(--green); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.note { padding: 20px 22px; border-left: 5px solid var(--gold); border-radius: 10px; background: #fff7d9; color: #4b3500; }

.page-hero { padding: 82px 0 70px; color: white; background: radial-gradient(circle at 82% 20%, #8b55f0 0, transparent 30%), linear-gradient(135deg, #35106f, #5e2bbd 60%, #7b42df); }
.page-hero h1 { max-width: 850px; margin: 0 0 1rem; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.page-hero p { max-width: 740px; color: #eee6ff; font-size: 1.22rem; }
.breadcrumbs { margin-bottom: 1.4rem; font-size: .84rem; color: #ddd0ff; }
.breadcrumbs a { color: white; }
.answer-box { margin-top: -34px; position: relative; z-index: 2; padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.answer-box h2 { font-size: 1.55rem; }
.meta { color: var(--muted); font-size: .88rem; }

.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding: 26px 26px 26px 76px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 23px; display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--purple); border-radius: 50%; font-weight: 950; }
.booster-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.booster { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); align-items: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.booster img { width: 100%; height: auto; object-fit: contain; }
.booster-body { padding: 24px; }
.recipe { display: inline-flex; padding: .25rem .65rem; border-radius: 999px; background: #fff1b8; color: var(--gold-dark); font-weight: 950; font-size: .82rem; }

.faq-list { display: grid; gap: 14px; }
details { background: white; border: 1px solid var(--line); border-radius: 16px; }
summary { cursor: pointer; padding: 20px 54px 20px 22px; list-style: none; font-weight: 900; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 13px; color: var(--purple); font-size: 1.8rem; }
details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

.legal h2 { margin-top: 2.5rem; font-size: 1.65rem; }
.legal h3 { margin-top: 1.7rem; }
.legal li { margin-bottom: .6rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .93rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--purple-soft); }

.cta { padding: 44px; border-radius: 32px; color: white; background: linear-gradient(135deg, var(--purple-dark), var(--purple)); box-shadow: var(--shadow); }
.cta h2 { margin-bottom: .7rem; }
.cta p { color: #e9e0ff; max-width: 720px; }

.site-footer { padding: 54px 0 28px; color: #ddd3f6; background: #1c1039; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1rem; }
.site-footer a { color: #eee8ff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .45rem 0; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.text-button { padding: 0; border: 0; background: none; color: #eee8ff; text-decoration: underline; font: inherit; cursor: pointer; }

.cookie-banner { position: fixed; z-index: 100; left: 18px; right: 18px; bottom: 18px; display: none; max-width: 960px; margin: auto; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 70px rgba(20,8,47,.28); }
.cookie-banner.is-open { display: block; }
.cookie-banner h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.cookie-banner p { color: var(--muted); font-size: .92rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* PC readability baseline: every meaningful text element is at least 24px. */
@media (min-width: 901px) {
  body { font-size: 24px; }
  .shell { width: min(1440px, calc(100% - 56px)); }
  .narrow { width: min(1040px, calc(100% - 56px)); }
  .nav { gap: 16px; }
  .nav-links { gap: 16px; }
  .brand span,
  .nav-links a,
  .button-small,
  .eyebrow,
  .hero p,
  .lead,
  .kicker,
  .platform-label,
  .media figcaption,
  .page-hero p,
  .breadcrumbs,
  .meta,
  .recipe,
  .legal table,
  .site-footer h2,
  .site-footer h3,
  .footer-bottom,
  .cookie-banner h2,
  .cookie-banner p { font-size: 24px; }
  h3 { font-size: 30px; }
  .hero, .hero-inner { min-height: clamp(600px, calc(100vh - 78px), 720px); }
  .hero-copy { width: min(690px, 52%); padding: 24px 0 20px; }
  .hero-copy p { max-width: 680px; line-height: 1.45; }
  .hero-logo { width: min(260px, 66%); max-height: 120px; }
  .hero h1 { font-size: clamp(50px, 3.7vw, 62px); line-height: 1.02; margin-bottom: .65rem; }
  .hero p { margin-bottom: .8rem; }
  .hero-facts { margin-top: .75rem; gap: 6px 18px; line-height: 1.35; }
  .button { min-height: 58px; padding: .8rem 1.35rem; }
  .nav .button-small { min-height: 52px; padding: .55rem 1rem; }
  .fact-grid, .platform-grid { gap: 28px; }
  .fact, .card, .platform-card { padding: 32px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 52px; }
  .cookie-banner { max-width: 1500px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 30px; padding: 20px 28px; }
  .cookie-banner.is-open { display: grid; }
  .cookie-banner h2 { grid-column: 1; grid-row: 1; margin-bottom: .25rem; }
  .cookie-banner p { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .cookie-actions { grid-column: 2; grid-row: 1 / 3; flex-direction: column; min-width: 270px; }
  .cookie-actions .button { width: 100%; }
}

@media (min-width: 901px) and (max-width: 1320px) {
  .nav-toggle { display: inline-flex; font-size: 24px; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 24px 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links .button { justify-self: start; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links .button { justify-self: start; }
  .hero, .hero-inner { min-height: 760px; }
  .hero-copy { width: 65%; }
  .fact-grid, .card-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .brand span { display: none; }
  .hero { min-height: 820px; background-image: url('/captainblast/assets/captain-blast-hero-mobile.jpg'); background-position: center top; }
  .hero::after { background: linear-gradient(180deg, rgba(12,29,21,.16) 0, rgba(12,29,21,.12) 42%, rgba(12,29,21,.88) 68%, rgba(12,29,21,.96) 100%); }
  .hero-inner { min-height: 820px; align-items: flex-end; }
  .hero-copy { width: 100%; padding: 360px 0 42px; text-align: center; }
  .hero-logo { width: 260px; height: 130px; margin: 0 auto; object-position: center; }
  .hero h1 { font-size: 2.65rem; }
  .actions, .hero-facts { justify-content: center; }
  .actions .button { width: 100%; }
  .section { padding: 68px 0; }
  .fact-grid, .card-grid, .platform-grid, .booster-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .visual-grid .card-wide, .booster { grid-template-columns: 1fr; }
  .visual-grid .card-wide img { margin-bottom: 22px; }
  .split.reverse .media { order: initial; }
  .page-hero { padding: 60px 0 64px; }
  .answer-box { padding: 24px; }
  .cta { padding: 30px 24px; }
  .legal table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
