@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #17131f;
  --paper: #fffaf1;
  --muted: #6d6676;
  --coral: #ff6f61;
  --gold: #f8c85b;
  --lilac: #bda6f7;
  --line: #302939;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--ink); border: 2px solid var(--ink); border-radius: 8px 8px 8px 2px; font-size: 13px; letter-spacing: -.5px; box-shadow: 3px 3px 0 var(--coral); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-cta { padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-block: 66px 90px; }
.eyebrow { margin: 0 0 16px; color: #9c3d34; font-weight: 700; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.05; letter-spacing: -.04em; }
h1 { margin: 0; max-width: 700px; font-size: clamp(48px, 6vw, 80px); }
h1 span { color: var(--coral); }
.lede { max-width: 590px; margin: 26px 0 30px; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.primary { color: white; background: var(--ink); box-shadow: 4px 4px 0 var(--coral); }
.secondary { border: 1.5px solid var(--line); }
.microcopy { margin-top: 18px; color: var(--muted); font-size: 13px; }

.panel-stack { position: relative; height: 480px; }
.comic-panel { position: absolute; overflow: hidden; width: 315px; height: 350px; border: 3px solid var(--ink); background: white; box-shadow: 9px 9px 0 var(--ink); }
.panel-one { top: 0; left: 0; transform: rotate(-4deg); background: var(--gold); }
.panel-two { right: 0; bottom: 0; transform: rotate(4deg); background: var(--lilac); }
.panel-label { position: absolute; top: 14px; left: 14px; z-index: 4; padding: 5px 8px; color: white; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.bubble { position: absolute; z-index: 3; max-width: 210px; padding: 18px 22px; background: white; border: 2.5px solid var(--ink); border-radius: 50%; font-weight: 700; text-align: center; }
.bubble::after { content: ""; position: absolute; width: 18px; height: 18px; background: white; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.bubble-top { top: 72px; right: 24px; font-size: 17px; }
.bubble-top::after { right: 26px; bottom: -10px; }
.bubble-bottom { top: 80px; left: 26px; font-size: 16px; }
.bubble-bottom::after { left: 26px; bottom: -10px; }
.speed-lines { position: absolute; inset: 0; background: repeating-conic-gradient(from 10deg at 50% 105%, transparent 0 8deg, rgba(23,19,31,.15) 9deg 10deg); }
.sfx { position: absolute; right: 22px; bottom: 32px; font-family: "Space Grotesk", sans-serif; font-size: 58px; font-weight: 700; transform: rotate(-8deg); }
.moon { position: absolute; right: -35px; bottom: -45px; width: 245px; height: 245px; border: 3px solid var(--ink); border-radius: 50%; background: var(--coral); box-shadow: inset 30px 0 0 rgba(255,255,255,.18); }
.translated { position: absolute; left: 22px; bottom: 24px; z-index: 2; padding: 6px 11px; background: white; border: 2px solid var(--ink); font: 700 12px "Space Grotesk", sans-serif; text-transform: uppercase; transform: rotate(-3deg); }

.format-strip { color: white; background: var(--ink); }
.format-list { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font: 600 clamp(15px, 2vw, 20px) "Space Grotesk", sans-serif; }
.format-list i { width: 6px; height: 6px; background: var(--coral); transform: rotate(45deg); }
.features { padding-block: 110px 125px; }
.section-heading { max-width: 700px; margin-bottom: 44px; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 280px; padding: 30px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.feature-card.coral { background: #ffd8d1; }
.feature-card.gold { background: #ffe9a9; }
.feature-card.lilac { background: #ded2ff; }
.feature-number { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; font-weight: 700; }
.feature-card h3 { margin: 75px 0 12px; font-size: 26px; }
.feature-card p { margin: 0; color: #514a58; }
.closing { padding-block: 85px; color: white; background: var(--coral); border-block: 3px solid var(--ink); }
.closing .eyebrow { color: var(--ink); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.light { flex-shrink: 0; color: var(--ink); background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; }
.footer p { justify-self: end; color: var(--muted); font-size: 13px; }

.legal { max-width: 780px; padding-block: 70px 110px; }
.legal h1 { font-size: clamp(42px, 6vw, 64px); }
.legal .updated { margin-bottom: 44px; color: var(--muted); }
.legal h2 { margin-top: 40px; font-size: 25px; }
.legal p, .legal li { color: #514a58; }

@media (max-width: 850px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .panel-stack { width: min(100%, 520px); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .feature-card h3 { margin-top: 45px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer { grid-template-columns: 1fr; padding-block: 40px; }
  .footer p { justify-self: start; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { height: 72px; }
  .brand { font-size: 17px; }
  .hero { gap: 28px; padding-block: 40px 70px; }
  h1 { font-size: 46px; }
  .lede { font-size: 17px; }
  .panel-stack { height: 410px; }
  .comic-panel { width: 245px; height: 290px; }
  .panel-one { left: 4px; }
  .panel-two { right: 4px; }
  .bubble { max-width: 180px; padding: 14px 18px; }
  .sfx { font-size: 42px; }
  .format-list { overflow: hidden; justify-content: flex-start; }
  .format-list span:nth-of-type(n+4), .format-list i:nth-of-type(n+3) { display: none; }
  .features { padding-block: 80px 90px; }
}
