/* WhaleWorlds — simple, static, responsive homepage */
:root {
  color-scheme: dark;
  --ink: #e9fbff;
  --muted: #96b6bf;
  --line: #17323a;
  --page: #071216;
  --page-alt: #0b1820;
  --panel: #0d1b23;
  --panel-2: #11232d;
  --header: #09151b;
  --white: #ffffff;
  --accent: #16e5f0;
  --accent-soft: rgba(22, 229, 240, 0.16);
  --accent-dark: #0aa3ae;
  --radius: 9px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 134px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(22,229,240,.08), transparent 38%),
    linear-gradient(180deg, #081217 0%, #071216 100%);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; z-index: 999; left: 16px; top: -60px; background: white; color: black; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 21, 27, .92);
  color: #fff;
  border-bottom: 1px solid rgba(22, 229, 240, .2);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 116px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; flex: 0 0 auto; }
.brand-icon { width: 119px; height: 90px; display: block; flex: 0 0 auto; }
.brand-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark { width: 286px; height: auto; display: block; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.main-nav a { text-decoration: none; color: #c8e6ee; }
.main-nav a:hover { color: var(--accent); }
.hero {
  background:
    linear-gradient(180deg, rgba(11,24,32,.92), rgba(7,18,22,.98));
  border-bottom: 1px solid var(--line);
}
.hero-inner { min-height: 490px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 54px; padding-block: 52px 62px; }
.eyebrow, .section-kicker { color: #83f4fb; font-size: 11px; font-weight: 800; letter-spacing: 2.1px; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; }
.eyebrow-line { width: 22px; height: 3px; background: var(--accent); display: inline-block; box-shadow: 0 0 16px rgba(22,229,240,.45); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(37px, 4.2vw, 58px); letter-spacing: -2.3px; line-height: 1.10; margin: 0 0 23px; font-weight: 780; }
.hero-description { font-size: 17px; color: var(--muted); max-width: 510px; line-height: 1.75; margin-bottom: 27px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 16px; text-decoration: none;
  font-weight: 700; line-height: 1.2; padding: 13px 21px; border-radius: 6px; font-size: 14px;
  border: 1px solid transparent; min-height: 48px; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--accent);
  color: #05252c;
  box-shadow: 0 10px 22px rgba(22,229,240,.18);
}
.button-primary:hover { background: #46ecf5; }
.button-outline {
  border-color: rgba(22,229,240,.28);
  color: var(--ink);
  background: rgba(255,255,255,.015);
}
.button-outline:hover { background: rgba(22,229,240,.08); border-color: rgba(22,229,240,.4); }
.hero-note { color: #7fa2ac; font-size: 12px; margin: 17px 0 0; }
.hero-art {
  background: linear-gradient(180deg, rgba(15,27,35,.95), rgba(10,21,28,.95));
  border: 1px solid rgba(22,229,240,.16);
  border-radius: 14px;
  min-height: 410px;
  display: grid; place-items: center;
  padding: 22px 24px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.015);
}
.hero-art img {
  display: block; width: min(100%, 440px); height: auto;
  filter: drop-shadow(0 0 18px rgba(22,229,240,.14));
}
.downloads-section { padding-block: 74px 78px; }
.section-heading { margin-bottom: 27px; }
.section-kicker { margin: 0 0 9px; }
h2 { font-size: 31px; line-height: 1.18; letter-spacing: -1px; margin-bottom: 10px; }
.section-heading p:not(.section-kicker) { color: var(--muted); margin-bottom: 0; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.download-card {
  background: linear-gradient(180deg, rgba(17,35,45,.88), rgba(12,25,33,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  min-height: 323px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 23px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  border: 1px solid rgba(22,229,240,.14);
}
.status { background: rgba(255,255,255,.06); color: #aac0c8; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .4px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status.available { color: #8ef8d0; background: rgba(34,183,118,.14); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.4px; margin-bottom: 9px; }
.download-card > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.card-bottom { margin-top: auto; }
.release-meta { font-size: 12px; color: #7fa2ac; margin-bottom: 11px; }
.button-download, .button-unavailable { display: flex; width: 100%; }
.button-download {
  background: var(--accent);
  color: #05252c;
  box-shadow: 0 10px 22px rgba(22,229,240,.16);
}
.button-download:hover { background: #46ecf5; }
.button-unavailable {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.06);
  color: #6f8d97;
  cursor: default;
}
.download-footnote { font-size: 12px; color: #7d9aa4; margin: 16px 0 0; }
.about-section {
  background: linear-gradient(180deg, rgba(11,24,32,.96), rgba(9,19,25,.96));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 60px;
}
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.about-inner h2 { max-width: 350px; }
.about-body p { color: #b8d3da; line-height: 1.8; margin: 0 0 15px; }
.about-body p:last-child { margin-bottom: 0; }
.future-section { padding-block: 55px 67px; }
.future-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.resource-links { border-top: 1px solid var(--line); }
.resource-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 63px; border-bottom: 1px solid var(--line); }
.resource-label { font-weight: 650; font-size: 14px; }
.resource-soon { font-size: 12px; color: #89a6af; }
.resource-item a { color: #83f4fb; font-size: 13px; font-weight: 750; text-decoration: none; }
.resource-item a:hover { text-decoration: underline; }
.site-footer {
  background: #071218;
  color: #9db8c1;
  border-top: 1px solid rgba(22,229,240,.14);
}
.footer-inner { padding-block: 22px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; }
@media (max-width: 900px) {
  .header-inner { min-height: 104px; gap: 18px; }
  .brand-icon { width: 101px; height: 77px; }
  .brand-wordmark { width: 236px; }
  .main-nav { gap: 18px; }
  .hero-inner { gap: 24px; }
  .hero-art { min-height: 320px; padding: 10px; }
  .download-card { padding: 19px; }
  .about-inner, .future-inner { gap: 35px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 34px, 560px); }
  .header-inner { min-height: 0; padding-block: 8px 10px; flex-wrap: wrap; gap: 3px 10px; }
  .brand { width: 100%; gap: 12px; }
  .brand-icon { width: 78px; height: 60px; }
  .brand-wordmark { width: min(216px, calc(100vw - 132px)); }
  .main-nav { width: 100%; gap: 20px; font-size: 12px; padding-left: 3px; min-height: 26px; }
  html { scroll-padding-top: 126px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 40px 44px; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; min-height: 0; max-width: 480px; width: 100%; margin-inline: auto; padding: 8px 12px; }
  .hero-art img { width: min(100%, 360px); }
  h1 { font-size: 41px; }
  .downloads-section { padding-block: 54px; }
  .download-grid { grid-template-columns: 1fr; gap: 14px; }
  .download-card { min-height: 0; padding: 22px; }
  .download-card > p { margin-bottom: 16px; }
  .card-top { margin-bottom: 14px; }
  .about-inner, .future-inner { grid-template-columns: 1fr; gap: 13px; }
  .about-section, .future-section { padding-block: 44px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
