:root {
  --ink: #171323;
  --paper: #fff8e9;
  --orange: #ff5a18;
  --yellow: #ffc928;
  --blue: #39c4e7;
  --cream: #fff0bf;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 76px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 5vw;
  background: rgba(255, 248, 233, .94); border-bottom: var(--line); backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 900 26px/1 Impact, Haettenschweiler, sans-serif; letter-spacing: 1px; }
.brand img { width: 50px; height: 50px; object-fit: cover; border: 2px solid var(--ink); border-radius: 10px; }
nav { display: flex; gap: 32px; }
nav a { position: relative; font-weight: 900; text-decoration: none; text-transform: uppercase; font-size: 14px; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 3px; background: var(--orange); transition: right .2s; }
nav a:hover::after { right: 0; }
.menu-toggle { display: none; background: var(--yellow); border: 2px solid var(--ink); padding: 8px 12px; font-weight: 900; text-transform: uppercase; }

.hero { min-height: 780px; padding: 140px 7vw 70px; position: relative; display: grid; grid-template-columns: 1fr .85fr; align-items: center; isolation: isolate; overflow: hidden; background: var(--orange); border-bottom: var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-conic-gradient(from 255deg at 72% 50%, rgba(255,255,255,.18) 0 7deg, transparent 7deg 15deg); }
.hero-backdrop { position: absolute; z-index: -3; inset: 0; opacity: .18; background: url("Assets/images/web/1.jpg") center/cover; filter: saturate(.5) contrast(1.3); }
.hero-copy { max-width: 750px; z-index: 2; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; font-weight: 900; letter-spacing: 3px; font-size: 13px; }
h1, h2, h3 { margin-top: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform: uppercase; letter-spacing: 1px; }
h1 { margin-bottom: 24px; font-size: clamp(66px, 8vw, 132px); line-height: .82; transform: skew(-3deg); text-shadow: 5px 5px 0 rgba(255,255,255,.25); }
h1 span { color: var(--yellow); -webkit-text-stroke: 2px var(--ink); text-shadow: 6px 6px 0 var(--ink); }
.hero-text { max-width: 620px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; font-weight: 700; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 26px; border: var(--line); box-shadow: 5px 5px 0 var(--ink); font-weight: 900; text-decoration: none; text-transform: uppercase; transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { background: var(--yellow); }
.button-ghost { background: var(--paper); }
.button-dark { background: var(--ink); color: white; box-shadow: 5px 5px 0 var(--orange); }
.hero-art { position: relative; justify-self: end; width: min(40vw, 540px); transform: rotate(3deg); }
.hero-art img { width: 100%; border: 7px solid var(--ink); border-radius: 28px; box-shadow: 16px 16px 0 var(--yellow); }
.comic-burst { position: absolute; z-index: 3; padding: 10px 18px; background: white; border: var(--line); box-shadow: 5px 5px 0 var(--ink); color: var(--orange); font: 900 32px/1 Impact, sans-serif; transform: rotate(-10deg); }
.burst-one { top: 130px; right: 42%; }
.burst-two { right: 4%; bottom: 75px; color: var(--blue); transform: rotate(8deg); }

.ticker { overflow: hidden; border-bottom: var(--line); background: var(--yellow); padding: 14px 0; font: 900 22px/1 Impact, sans-serif; text-transform: uppercase; white-space: nowrap; }
.ticker div { width: max-content; animation: marquee 22s linear infinite; }
.ticker span { padding: 0 24px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 100px 7vw; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: start; }
.section-heading h2, .support h2 { margin-bottom: 0; max-width: 850px; font-size: clamp(48px, 6vw, 92px); line-height: .95; }
.intro-copy { font-size: 20px; line-height: 1.65; }
.intro-copy p:first-child { margin-top: 0; font-weight: 800; }

.features { padding-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.feature-card { position: relative; min-height: 330px; padding: 40px 34px; border: var(--line); box-shadow: var(--shadow); overflow: hidden; }
.feature-card::after { content: ""; position: absolute; right: -40px; bottom: -65px; width: 180px; height: 180px; border: 22px solid rgba(23,19,35,.12); border-radius: 50%; }
.feature-card.orange { background: var(--orange); }
.feature-card.yellow { background: var(--yellow); transform: translateY(22px); }
.feature-card.blue { background: var(--blue); }
.feature-number { font: 900 17px/1 Arial; }
.feature-card h3 { margin: 70px 0 12px; font-size: 40px; line-height: .95; }
.feature-card p { position: relative; z-index: 1; margin-bottom: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }

.gallery { background: var(--ink); color: white; overflow: hidden; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.gallery-controls { display: flex; gap: 12px; }
.gallery-button { width: 55px; height: 55px; border: 2px solid white; background: transparent; color: white; font-size: 28px; cursor: pointer; }
.gallery-button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.gallery-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px 7px 28px; margin: 0 -7px; }
.gallery-track::-webkit-scrollbar { display: none; }
.screenshot { flex: 0 0 min(76vw, 900px); padding: 0; border: 4px solid white; background: none; box-shadow: 9px 9px 0 var(--orange); cursor: zoom-in; scroll-snap-align: start; overflow: hidden; }
.screenshot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s; }
.screenshot:hover img { transform: scale(1.025); }

.support { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; background: var(--yellow); border-bottom: var(--line); }
.support-copy { font-size: 19px; line-height: 1.6; }
.support-copy .button { margin-top: 18px; }
footer { padding: 45px 7vw; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; background: var(--paper); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 10px; }
.footer-brand strong { display: block; font: 900 26px/1 Impact, sans-serif; }
.footer-brand span { display: block; margin-top: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { display: flex; gap: 24px; font-weight: 800; }
footer > p { grid-column: 1 / -1; margin: 0; padding-top: 25px; border-top: 1px solid rgba(23,19,35,.2); font-size: 13px; }

.lightbox { width: min(94vw, 1400px); padding: 0; border: 4px solid white; background: var(--ink); box-shadow: 0 0 0 100vmax rgba(0,0,0,.86); overflow: visible; }
.lightbox::backdrop { background: transparent; }
.lightbox img { width: 100%; }
.lightbox-close { position: absolute; right: -4px; top: -54px; width: 48px; height: 48px; border: 3px solid white; background: var(--orange); color: white; font-size: 34px; cursor: pointer; }

.legal-page { max-width: 900px; margin: 0 auto; padding: 130px 24px 80px; line-height: 1.7; }
.legal-page h1 { font-size: clamp(52px, 8vw, 90px); }
.legal-page h2 { margin-top: 45px; font-size: 28px; }
.legal-page a { font-weight: 800; }
.legal-page ul { padding-left: 24px; }
.legal-page li { margin-bottom: 10px; }
.legal-meta { margin: 30px 0 55px; padding: 22px 25px; background: var(--cream); border: var(--line); box-shadow: 5px 5px 0 var(--ink); }
.legal-meta p { margin: 5px 0; }
.table-wrap { margin: 25px 0; overflow-x: auto; border: var(--line); }
.legal-page table { width: 100%; min-width: 620px; border-collapse: collapse; background: white; }
.legal-page th, .legal-page td { padding: 15px; border: 1px solid rgba(23,19,35,.3); text-align: left; vertical-align: top; }
.legal-page th { background: var(--yellow); font-family: Impact, Haettenschweiler, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.policy-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal-nav { position: static; display: flex; margin-top: 65px; padding-top: 28px; border-top: var(--line); gap: 24px; }
.legal-nav a { text-transform: uppercase; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: var(--line); }
  nav.open { display: flex; }
  nav a { padding: 18px 6vw; border-top: 1px solid rgba(23,19,35,.15); }
  .legal-nav { display: flex; position: static; flex-direction: row; background: transparent; border-bottom: 0; }
  .legal-nav a { padding: 0; border-top: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 120px; }
  .hero-art { justify-self: center; width: min(78vw, 500px); margin-top: 65px; }
  .burst-one { top: 88px; right: 5%; }
  .burst-two { display: none; }
  .intro, .support { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .feature-card { min-height: 260px; }
  .feature-card.yellow { transform: none; }
}

@media (max-width: 600px) {
  .section { padding: 72px 22px; }
  .site-header { padding: 0 20px; }
  .brand span { display: none; }
  .hero { padding: 115px 22px 65px; }
  h1 { font-size: 58px; }
  .hero-text { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .comic-burst { font-size: 23px; }
  .section-heading h2, .support h2 { font-size: 47px; }
  .intro-copy { font-size: 17px; }
  .gallery-heading { align-items: start; flex-direction: column; }
  .screenshot { flex-basis: 88vw; }
  footer { grid-template-columns: 1fr; padding: 38px 22px; }
  .footer-links { flex-wrap: wrap; }
  .legal-back { min-height: 42px; padding: 0 13px; box-shadow: 3px 3px 0 var(--ink); font-size: 12px; }
  .legal-page { padding-left: 20px; padding-right: 20px; }
  .legal-page h1 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
