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

:root {
  --ink: #10101a;
  --paper: #f6f3ea;
  --peach: #ff7657;
  --pink: #ff4f9a;
  --cyan: #48e6df;
  --acid: #d8ff62;
  --muted: #5e5d68;
  --line: rgba(16, 16, 26, .16);
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255,118,87,.22), transparent 24rem),
    radial-gradient(circle at 92% 42%, rgba(72,230,223,.2), transparent 27rem),
    var(--paper);
  font-family: "Space Grotesk", system-ui, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image: linear-gradient(rgba(16,16,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16,16,26,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { padding: 24px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 30px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; background: var(--peach); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-5deg); }
.brand-mark::after { content: "P"; font-family: "Chivo Mono", monospace; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-family: "Chivo Mono", monospace; font-size: 13px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline 3px var(--pink); text-underline-offset: 5px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); border: 1px solid var(--ink); box-shadow: 0 0 0 4px rgba(216,255,98,.3); animation: pulse 2s ease-in-out infinite; }

.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(48px, 8vw, 110px); padding: 72px 0 108px; }
.eyebrow { display: inline-flex; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--acid); font: 700 12px/1 "Chivo Mono", monospace; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-1deg); }
h1 { margin: 25px 0 22px; font-size: clamp(60px, 8.6vw, 124px); line-height: .82; letter-spacing: -.085em; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--cyan); }
.hero-copy { max-width: 640px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; letter-spacing: -.02em; }
.hero-copy strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 10px; background: var(--peach); box-shadow: 5px 5px 0 var(--ink); font: 700 14px "Chivo Mono", monospace; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: transparent; box-shadow: none; }
.button.secondary:hover { background: var(--cyan); transform: none; }

.game-window { position: relative; padding: 13px; border: 2px solid var(--ink); border-radius: 24px; background: var(--ink); box-shadow: 13px 13px 0 var(--pink); transform: rotate(2.5deg); }
.window-bar { display: flex; justify-content: space-between; align-items: center; height: 34px; color: var(--paper); padding: 0 7px 10px; font: 11px "Chivo Mono", monospace; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }
.dots i:nth-child(2) { background: var(--acid); }
.dots i:nth-child(3) { background: var(--cyan); }
.game-card { overflow: hidden; min-height: 500px; padding: 28px; border-radius: 13px; background: var(--cyan); display: flex; flex-direction: column; }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font: 10px "Chivo Mono", monospace; text-transform: uppercase; }
.meter { padding: 9px; border: 1.5px solid var(--ink); background: rgba(246,243,234,.75); }
.meter b { display: block; margin-top: 5px; height: 5px; background: var(--ink); }
.meter:nth-child(2) b { width: 72%; background: var(--pink); }
.meter:nth-child(3) b { width: 41%; background: var(--peach); }
.mission { margin: auto 0; }
.mission-label { font: 700 12px "Chivo Mono", monospace; text-transform: uppercase; letter-spacing: .09em; }
.mission h2 { margin: 12px 0; font-size: clamp(34px, 4vw, 52px); line-height: .95; letter-spacing: -.06em; }
.mission p { max-width: 30ch; font-size: 16px; line-height: 1.45; }
.swipe-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.swipe { font: 700 12px "Chivo Mono", monospace; text-transform: uppercase; }
.swipe:last-child { text-align: right; }
.swipe span { display: block; font-family: "Space Grotesk"; font-size: 31px; }
.floating-tag { position: absolute; right: -22px; top: 18%; padding: 10px 12px; border: 2px solid var(--ink); background: var(--acid); font: 700 11px "Chivo Mono", monospace; transform: rotate(8deg); }

.manifesto { padding: 110px 0; border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.section-code { color: var(--cyan); font: 12px "Chivo Mono", monospace; text-transform: uppercase; letter-spacing: .09em; }
.manifesto h2, .game-section h2 { margin: 14px 0 0; font-size: clamp(42px, 6vw, 78px); line-height: .96; letter-spacing: -.06em; }
.manifesto-text { margin: 0; font-size: clamp(22px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.manifesto-text em { color: var(--peach); font-style: normal; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 60px; }
.principle { min-height: 170px; padding: 20px; border: 1px solid rgba(246,243,234,.4); border-radius: 12px; }
.principle span { color: var(--acid); font: 12px "Chivo Mono", monospace; }
.principle h3 { margin: 36px 0 8px; font-size: 22px; }
.principle p { margin: 0; color: #bcbac3; line-height: 1.5; }
.game-section { padding: 120px 0; }
.game-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.game-intro p { max-width: 480px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.feature { min-height: 210px; padding: 23px; background: var(--paper); border-right: 2px solid var(--ink); }
.feature:last-child { border-right: 0; background: var(--peach); }
.feature b { display: block; font: 12px "Chivo Mono", monospace; }
.feature h3 { margin: 45px 0 8px; font-size: 24px; letter-spacing: -.04em; }
.feature p { margin: 0; color: var(--muted); line-height: 1.45; }

.site-footer { padding: 38px 0; border-top: 2px solid var(--ink); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; font: 12px "Chivo Mono", monospace; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-underline-offset: 4px; }

.privacy-page .site-header { border-bottom: 2px solid var(--ink); }
.privacy-main { width: min(920px, calc(100% - 40px)); margin: 64px auto 110px; }
.privacy-kicker { color: var(--pink); font: 700 12px "Chivo Mono", monospace; text-transform: uppercase; }
.privacy-content { padding: clamp(28px, 6vw, 70px); border: 2px solid var(--ink); border-radius: 18px; background: rgba(246,243,234,.92); box-shadow: var(--shadow); color: var(--muted); font-size: 16px; line-height: 1.7; }
.privacy-content h1, .privacy-content h2, .privacy-content h3 { color: var(--ink); }
.privacy-content h1 { margin: 0; font-size: clamp(42px, 7vw, 74px); line-height: .92; letter-spacing: -.07em; }
.privacy-content h1 + * { margin-top: 14px; color: var(--pink); font: 700 12px "Chivo Mono", monospace; }
.privacy-content h2 { margin: 48px 0 16px; font-size: 27px; line-height: 1.1; letter-spacing: -.04em; }
.privacy-content h3 { margin: 30px 0 12px; font-size: 21px; line-height: 1.2; }
.privacy-content div { line-height: inherit; }
.privacy-content ul, .privacy-content ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.privacy-content li { margin: .45rem 0; }
.privacy-content a { color: #007c78; font: 14px "Chivo Mono", monospace; text-underline-offset: 3px; word-break: break-word; }
.privacy-spacer { height: 1.2rem; }

@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(216,255,98,0); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { max-width: 35ch; }
  .game-window { max-width: 520px; margin: 0 auto; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 38px; }
  .principles { grid-template-columns: 1fr; }
  .game-intro { align-items: start; flex-direction: column; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav-links .status { display: none; }
  .hero { padding-bottom: 80px; }
  h1 { font-size: clamp(54px, 20vw, 84px); }
  .game-card { min-height: 420px; padding: 20px; }
  .floating-tag { right: -6px; }
  .manifesto, .game-section { padding: 80px 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 2px solid var(--ink); }
  .feature:last-child { border-bottom: 0; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .privacy-main { width: min(100% - 24px, 920px); margin-top: 30px; }
  .privacy-content { padding: 24px; box-shadow: 5px 5px 0 var(--ink); }
}
