/* Argh!: Scream Phone. Comic brutalism on the Max-Q Studio palette.
   Tokens are shared with the Android app: keep them in sync. */
:root {
  --paper: #F3EEE3;   /* cream, page background */
  --ink: #111111;     /* text, borders, hard shadows */
  --orange: #C64E1E;  /* burnt orange, primary action */
  --yellow: #FFD23F;  /* comic pop, highlights */
  --white: #FFFFFF;   /* panels */
  --muted: #4A4540;   /* secondary text on paper */
  --border: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(17, 17, 17, .09) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.display, h1, h2 {
  font-family: Bangers, "Impact", "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}
h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.2; }

/* Header */
.app-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--border) solid var(--ink); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: Bangers, Impact, sans-serif; font-size: 28px; letter-spacing: .03em; }
.nav { display: flex; gap: 6px; font-size: 14px; font-weight: 800; }
.nav a { text-decoration: none; padding: 6px 10px; border: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border: var(--border) solid var(--ink); box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: 16px; text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
  background: var(--white); color: var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.button.primary { background: var(--orange); color: var(--white); }
.button.pop { background: var(--yellow); }
.button.is-static { cursor: default; }
.button.is-static:hover, .button.is-static:active { transform: none; box-shadow: var(--shadow-sm); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; margin-bottom: 18px; transform: rotate(-2deg); }
.hero h1 { font-size: clamp(64px, 12vw, 132px); }
.hero h1 .bang { color: var(--orange); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero h1 small { display: block; font-size: .36em; margin-top: 8px; }
.lead { font-size: 19px; max-width: 520px; margin-top: 20px; }
.burst { position: relative; justify-self: center; width: min(360px, 100%); }
.burst img { width: 100%; height: auto; border: var(--border) solid var(--ink); border-radius: 22%; box-shadow: 8px 8px 0 var(--ink); }
.bubble {
  position: absolute; left: -8px; top: 6%;
  background: var(--white); border: var(--border) solid var(--ink); box-shadow: var(--shadow-sm);
  font-family: Bangers, Impact, sans-serif; font-size: 28px; padding: 6px 14px; transform: rotate(-6deg);
}

/* Panels */
.section { padding: 56px 0; }
.section + .section { padding-top: 8px; }
.section h2 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 8px; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.panel { background: var(--white); border: var(--border) solid var(--ink); box-shadow: var(--shadow); padding: 24px; }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.panel .tag { display: inline-block; font-family: Bangers, Impact, sans-serif; font-size: 34px; line-height: 1; margin-bottom: 10px; color: var(--orange); -webkit-text-stroke: 1.5px var(--ink); }
.panel p, .panel li { color: var(--muted); }
.panel ul { margin: 10px 0 0; padding-left: 20px; }
.panel.yellow { background: var(--yellow); }
.panel.yellow p, .panel.yellow li { color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Legal / text pages */
.legal-page { padding: 44px 0 80px; }
.legal-card { max-width: 820px; }
.legal-card h1 { font-size: clamp(52px, 8vw, 80px); margin-bottom: 10px; }
.legal-card h2 { font-size: 32px; margin: 40px 0 10px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card strong { color: var(--ink); }
.legal-card p + p { margin-top: 12px; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--ink); font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.meta { display: inline-block; background: var(--white); border: 2px solid var(--ink); font-size: 14px; font-weight: 700; padding: 4px 10px; margin-bottom: 8px; }
.summary { margin: 24px 0 8px; }
details { background: var(--white); border: var(--border) solid var(--ink); box-shadow: var(--shadow-sm); padding: 14px 18px; margin-top: 14px; }
summary { cursor: pointer; font-weight: 800; }
details p { margin-top: 8px; }

/* Rate Us */
.stars { display: flex; gap: 8px; margin: 22px 0 6px; font-size: 44px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); }

/* Footer */
.site-footer { border-top: var(--border) solid var(--ink); background: var(--ink); color: var(--paper); padding: 26px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner a { text-decoration: none; font-weight: 700; }
.footer-inner a:hover { color: var(--yellow); }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .burst { width: min(260px, 70%); grid-row: 1; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .nav { gap: 2px; font-size: 13px; }
  .nav a { padding: 5px 7px; }
  .nav .hide-sm { display: none; }
  .hero { padding-top: 32px; }
  .lead { font-size: 17px; }
  .button { width: 100%; }
}
