:root {
  --bg: #f7f8f2;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #5d6a72;
  --line: #dfe5dd;
  --leaf: #2f8a67;
  --teal: #277c8e;
  --sun: #ffd84d;
  --berry: #c94f64;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--berry);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sun), #ffffff 55%, #8bd17d);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
  background: #e8f3ed;
  color: #14543f;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(23, 33, 43, 0.2) 0%, rgba(23, 33, 43, 0.64) 92%),
    url("/assets/media/airrow-board.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 56px;
  color: #fffdf4;
  position: relative;
}

.hero h1 {
  font-size: 64px;
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: 0;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.hero p {
  max-width: 670px;
  margin: 0 0 26px;
  color: #fffbe8;
  font-size: 20px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  color: var(--ink);
}

.button.secondary {
  background: #fff;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.74);
  color: #fff;
  box-shadow: none;
}

.sprite-strip {
  position: absolute;
  right: 0;
  bottom: 40px;
  display: grid;
  grid-template-columns: repeat(5, 72px);
  align-items: center;
  justify-content: end;
  opacity: 0.98;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.sprite-strip img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.sprite-strip .tail {
  width: 94px;
  height: 94px;
  transform: rotate(-18deg);
}

.sprite-strip .coin {
  width: 46px;
  height: 56px;
  justify-self: center;
}

.section {
  padding: 58px 0;
}

.section.compact {
  padding: 34px 0;
}

.eyebrow {
  color: var(--berry);
  font-weight: 800;
  margin: 0 0 8px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 42px;
  margin: 0 0 16px;
}

h2 {
  font-size: 30px;
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
}

.page-hero-art {
  min-height: 180px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 216, 77, 0.2)),
    url("/assets/media/airrow-board.png");
  background-size: cover;
  background-position: center;
  box-shadow: 6px 6px 0 var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page-hero-art img {
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.25));
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.notice,
.legal-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.06);
}

.card p:last-child,
.notice p:last-child,
.legal-block p:last-child {
  margin-bottom: 0;
}

.card-link {
  color: var(--ink);
  text-decoration: none;
}

.card-link:hover,
.card-link:focus {
  color: var(--ink);
  border-color: var(--teal);
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--sun);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}

.legal-content {
  min-width: 0;
}

.legal-block {
  padding: 26px;
  margin-bottom: 18px;
}

.legal-block h2 {
  font-size: 24px;
}

.side-nav {
  position: sticky;
  top: 92px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-nav a {
  display: block;
  margin: 9px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--muted);
}

.meta-list strong {
  color: var(--ink);
}

.status-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.status-list li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.site-footer {
  background: #17212b;
  color: #eef4ee;
  margin-top: 40px;
}

.footer-inner {
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a,
.site-footer a {
  color: #fff6bf;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.site-footer .small {
  color: #b9c8c4;
}

.lang-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .sprite-strip {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    grid-template-columns: repeat(5, 54px);
    justify-content: start;
  }

  .sprite-strip img {
    width: 64px;
    height: 64px;
  }

  .sprite-strip .tail {
    width: 72px;
    height: 72px;
  }

  .page-hero .section,
  .legal-layout,
  .grid,
  .grid.two,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section,
  .footer-inner,
  .hero-inner {
    width: min(100% - 24px, 1120px);
  }

  .nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .button {
    width: 100%;
  }
}
