/* Helios Arcade: daytime sky, a rising sun and outlined "sticker" shapes, matching the games' art. */
@font-face {
  font-family: "Lilita One";
  src: url("fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --sky-top: #4fb6e8;
  --sky-bottom: #c8ecfa;
  --sun: #ffc94a;
  --sun-hot: #ff8a3d;
  --grass: #7cc95a;
  --grass-dark: #5fae45;
  --dirt: #dfc08a;
  --ink: #2b1f14;
  --ink-soft: #5e4c3b;
  --page: #f4f9fc;
  --card: #ffffff;
  --link: #1a6a9e;
  --footer-text: #f3eadf;
  --font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --outline: 3px solid var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--font-body);
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--sun-hot); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.site-header { background: var(--sky-top); border-bottom: var(--outline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.55rem; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; background: linear-gradient(var(--sky-top), var(--sky-bottom)); overflow: hidden; }
.hills { position: absolute; left: 0; bottom: 64px; width: 100%; height: clamp(56px, 9vw, 110px); display: block; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px; padding-block: 56px 0; }
.hero-text { position: relative; z-index: 1; display: grid; gap: 18px; padding-bottom: 120px; min-width: 0; }
.outlined {
  color: #fff;
  text-shadow:
    3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
    0 7px 0 var(--ink);
}
.hero h1 { font-size: clamp(3rem, 9vw, 5.6rem); }
.hero .tagline { font-size: clamp(1.15rem, 2.4vw, 1.4rem); max-width: 32ch; font-weight: 600; }
.hero-art { min-width: 0; align-self: end; }
.hero-art svg { display: block; width: 100%; height: auto; }

.ground {
  height: 64px;
  border-top: var(--outline);
  background:
    repeating-linear-gradient(115deg, var(--grass) 0 22px, var(--grass-dark) 22px 44px) top / 100% 20px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 20px / 100% 3px no-repeat,
    var(--dirt);
}

/* Sections */
section { padding-block: 64px; }
.section-head { display: grid; gap: 8px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 2.6rem); }
.section-head p { color: var(--ink-soft); max-width: 60ch; }

.game-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: center;
  max-width: 720px;
  padding: 24px;
  background: var(--card);
  border: var(--outline);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.game-card img { width: 112px; height: 112px; display: block; }
.game-card > div { display: grid; gap: 10px; min-width: 0; }
.game-card h3 { font-size: 2rem; }
.game-card p { color: var(--ink-soft); }
.pill {
  justify-self: start;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
}

.about { background: var(--card); border-block: var(--outline); }
.about .wrap { display: grid; gap: 16px; }
.about h2 { font-size: clamp(2rem, 5vw, 2.6rem); }
.about p { max-width: 64ch; }

.contact p { max-width: 64ch; }
.email { font-weight: 700; overflow-wrap: anywhere; }

/* Policy pages */
.doc { padding-block: 48px 72px; }
.doc .wrap { max-width: 780px; display: grid; gap: 14px; }
.doc h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.doc h2 { font-size: 1.7rem; margin-top: 22px; }
.doc .meta { color: var(--ink-soft); }
.doc ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.doc p, .doc li { max-width: 68ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--footer-text); padding-block: 28px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--footer-text); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-text { padding-bottom: 8px; }
  .hills { height: 64px; }
  .hero-art { max-width: 420px; justify-self: center; }
  .game-card { grid-template-columns: 1fr; }
  .game-card img { width: 96px; height: 96px; }
}
