/*! Helicorn © 2026 Turbo Pudding. All rights reserved. Made with ♥ by Turbo Pudding — https://turbopudding.com
 * Copying, mirroring or embedding this game on other sites (frames included) is not permitted. */
/* Shared base for every Turbo Pudding site. A site's theme.css follows it and sets the tokens. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/fredoka-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/nunito-latin.woff2) format('woff2'); }

:root {
  --head: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.6 var(--body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; margin: 0.2em 0 0.3em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 0 0 0.45em; }
h3 { font-size: 22px; line-height: 1.2; margin: 0.9em 0 0.3em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 20px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 26px/1 var(--head); text-decoration: none; color: var(--brand, var(--ink)); }
.brand img { width: 34px; height: 34px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.95em 1.7em; border-radius: 999px; border: 0;
  font: 600 19px/1 var(--head); text-decoration: none; cursor: pointer; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 5px 0 var(--accent-shade), 0 12px 24px -10px var(--accent-shade); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--accent-shade), 0 16px 28px -10px var(--accent-shade); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-shade); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }
.btn.small { padding: 0.62em 1.15em; font-size: 16px; box-shadow: 0 3px 0 var(--accent-shade); }
.btn.soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.btn.soon:hover, .btn.soon:active { transform: none; box-shadow: inset 0 0 0 2px var(--line); }

/* hero */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 12px 20px 72px; position: relative; min-height: min(88vh, 820px); }
.hero > * { min-width: 0; }
.eyebrow { display: inline-block; font: 600 14px/1 var(--head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--eyebrow, var(--muted)); }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2, var(--ink)); max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.note { font-size: 15px; color: var(--muted); margin-top: 16px; }

/* screenshot frames */
.phone { justify-self: center; width: min(340px, 78vw); padding: 11px; border-radius: 48px; background: var(--frame, #0e0a24);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06), 0 40px 80px -30px rgba(0,0,0,0.55); position: relative; }
.phone img { border-radius: 38px; width: 100%; }
.screen { padding: 8px; border-radius: 24px; background: var(--frame, #fff); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.35); }
.screen img { border-radius: 17px; width: 100%; }

/* sections */
.sec { padding: 84px 0; }
.sec.tight { padding: 56px 0; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 36em; margin: 0 auto 40px; font-size: 19px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--card-shadow, 0 1px 0 rgba(0,0,0,0.04)); }
.card p { color: var(--muted); margin: 0; font-size: 17px; }
.card h3 { margin-top: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 28px 0 0; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--card); font: 500 16px/1.2 var(--head); }

/* footer */
.foot { max-width: 1120px; margin: 0 auto; padding: 36px 20px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.tp { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--head); color: var(--ink); }
.tp img { width: 30px; height: 30px; transition: transform 0.3s; }
.tp:hover img { transform: rotate(-8deg) scale(1.08); }

/* text pages (privacy, support, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 24px; margin-top: 1.6em; }
.page p, .page li { color: var(--ink-2, var(--ink)); }
.page a { color: var(--link, var(--ink)); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; min-height: 0; padding-top: 4px; }
  .lead { margin-left: auto; margin-right: auto; }
  .ctas { justify-content: center; }
  .grid3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .sec { padding: 60px 0; }
  .foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* contact form (Turbo Pudding hub widget, data-tp-contact): a "Write to us" button opens the form in a dialog; site colours, buttons look like .btn */
.contact-box { --tp-bg: var(--bg); --tp-ink: var(--ink); --tp-accent: var(--accent); --tp-accent-ink: var(--accent-ink); --tp-field: var(--card); --tp-border: var(--line); --tp-radius: 14px;
  margin: 18px 0 0; text-align: left; }
.center .contact-box { margin: 26px auto 0; text-align: center; }
.contact-box[data-no-button] { margin: 0; }
.contact-box .tp-dlg { border-radius: 24px; padding: 16px 26px 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55); text-align: left; }
.contact-box .tp-dlg::backdrop { background: rgba(20, 12, 8, 0.6); }
.contact-box .tp-dlg h2 { font-family: var(--head); font-weight: 600; }
.contact-box .tp-contact input, .contact-box .tp-contact select, .contact-box .tp-contact textarea { font-size: 17px; border-width: 2px; }
.contact-box .tp-contact input:focus, .contact-box .tp-contact select:focus, .contact-box .tp-contact textarea:focus { outline: none; border-color: var(--accent); }
.contact-box .tp-contact option { color: #222; background: #fff; }
.contact-box .tp-contact a { color: inherit; }
.contact-box .tp-open, .contact-box .tp-contact button { font: 600 19px/1 var(--head); padding: 0.95em 1.7em; border-radius: 999px;
  box-shadow: 0 5px 0 var(--accent-shade), 0 12px 24px -10px var(--accent-shade); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.contact-box .tp-open:hover, .contact-box .tp-contact button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--accent-shade), 0 16px 28px -10px var(--accent-shade); }
.contact-box .tp-open:active, .contact-box .tp-contact button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-shade); }
.contact-box p.tp-contact { padding: 18px 22px; border-radius: 14px; background: var(--card); font-weight: 600; }
/* Helicorn: rangers against the Paver. The palette and the wordmark come from the game (heli-game: dawn over the ranger
   station, meadow green, signal orange, gold horn; headline font Fira Sans Extra Condensed Black, OFL). */
@font-face { font-family: 'Helicorn Head'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/helicorn-head.woff2) format('woff2'); }
:root {
  color-scheme: light;
  --logo: 'Helicorn Head', 'Arial Narrow', 'Fredoka', system-ui, sans-serif;
  --bg: #f4efe2; --ink: #1f2a22; --ink-2: #2c3a2f; --muted: #5d6a5f; --line: rgba(31,42,34,0.14);
  --card: #fffbf1; --card-shadow: 0 2px 0 rgba(31,42,34,0.08), 0 18px 36px -22px rgba(31,58,42,0.45);
  --accent: #ff7b24; --accent-ink: #1f2a22; --accent-shade: #b8501a; --focus: #1f6b3c;
  --eyebrow: #2a7a45; --brand: #1f2a22; --frame: #1f2a22; --link: #1f6b3c;
}
body { min-height: 100vh; background: #f4efe2 no-repeat
  linear-gradient(180deg, #d9d2e6 0, #f3dcc8 330px, #f4efe2 760px, #f4efe2 100%); }   /* drawn once: a short page (404) has no bands */

/* the bar: the game icon and the name in the game's headline font */
.brand { font: 900 30px/1 var(--logo); letter-spacing: .04em; text-transform: uppercase; }
.btn, .eyebrow, h1, h2, h3 { font-family: var(--logo); font-weight: 900; }
.btn { letter-spacing: .03em; font-size: 21px; }
.btn.small { font-size: 18px; }
h2 { letter-spacing: 0; font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 26px; letter-spacing: .01em; }
.eyebrow { font-size: 17px; letter-spacing: .14em; }

/* the wordmark: white letters with a dark outline and drop, the gold horn-rotor stands on the I (as on the game's title) */
.wm { margin: 1.02em 0 0; font: 900 clamp(70px, 10.4vw, 132px)/0.9 var(--logo); letter-spacing: .04em; color: #fff;
  -webkit-text-stroke: 0.034em #1f2a22; paint-order: stroke fill; text-shadow: 0 0.06em 0 #1f2a22, 0 0 0.3em rgba(255,210,58,0.35); }
.l-i { position: relative; display: inline-block; }
.l-horn { position: absolute; left: 50%; bottom: 0.9em; width: 1.7em; height: auto; transform: translateX(-50%);
  overflow: visible; filter: drop-shadow(0 0.05em 0 #1f2a22); pointer-events: none; }
.l-horn .hr-a, .l-horn .hr-b { transform-box: fill-box; transform-origin: center; animation: blade 0.36s linear infinite; }
.l-horn .hr-b { animation-delay: -0.18s; }
@keyframes blade { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.06); } }
@media (prefers-reduced-motion: reduce) { .l-horn .hr-b { transform: scaleX(0.4); } }
.tagline { margin: 0.45em 0 0.55em; font: 900 clamp(26px, 2.8vw, 34px)/1.1 var(--logo); letter-spacing: .03em; color: #b8501a; }

.phone { box-shadow: 0 0 0 2px rgba(31,42,34,0.2), 0 40px 80px -30px rgba(31,58,42,0.6); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
.note b { color: var(--ink); }
.note span, .nw { white-space: nowrap; }   /* "No downloads" and "2–6" never break on a phone */

/* three frames from the game */
.shots { align-items: stretch; }   /* the three cards end on one line */
.shot { padding: 0; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { padding: 4px 22px 24px; }
.shot h3 { margin-top: 14px; }

/* the story beside the ranger station */
.story { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.story .screen { background: var(--frame); }
.story p { color: var(--ink-2); font-size: 19px; }

/* six worlds: the first is free, the rest are coming */
.worlds { background: #1f3a2a; color: #f4efe2; }
.worlds .eyebrow { color: #ffd23a; }
.worlds h2 { color: #fff; }
.wl { list-style: none; margin: 34px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.wl li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 18px 18px 20px; border-radius: 22px;
  background: rgba(244,239,226,0.07); box-shadow: inset 0 0 0 2px rgba(244,239,226,0.12); }
.wl .n { grid-row: span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #34373d; color: #ffd23a;
  font: 900 26px/1 var(--logo); box-shadow: inset 0 0 0 2px #ffd23a; }
.wl strong { font: 900 24px/1.1 var(--logo); letter-spacing: .02em; color: #fff; }
.wl span { color: rgba(244,239,226,0.78); font-size: 16px; line-height: 1.45; }
.wl em { justify-self: start; margin-top: 6px; padding: 4px 11px; border-radius: 999px; font: 900 14px/1.2 var(--logo); letter-spacing: .1em;
  text-transform: uppercase; font-style: normal; color: rgba(244,239,226,0.8); box-shadow: inset 0 0 0 2px rgba(244,239,226,0.25); }
.wl li.open { background: #2f9a52; box-shadow: 0 6px 0 #1b5e32; }
.wl li.open .n { background: #ffd23a; color: #1f2a22; box-shadow: none; }
.wl li.open span { color: #eafbe9; }
.wl li.open em { background: #ffd23a; color: #1f2a22; box-shadow: none; }
.worlds .sub { color: rgba(244,239,226,0.75); margin-bottom: 0; }

.screen img { aspect-ratio: auto; }
.sub.after { margin-top: 28px; margin-bottom: 0; }
.page .btn { color: var(--accent-ink); }   /* .page a would paint the button's label link-green */

@media (max-width: 880px) {
  .wm { font-size: clamp(64px, 18vw, 104px); }
  .story { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .wl { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 881px) and (max-width: 1060px) { .wl { grid-template-columns: repeat(2, 1fr); } }
