:root {
  --ink: #10212f;
  --muted: #5f6f7c;
  --line: #d8e0e6;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --navy: #12395b;
  --blue: #2468a2;
  --teal: #147d7b;
  --green: #2f7d54;
  --gold: #c58b2a;
  --shadow: 0 18px 48px rgba(16, 33, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(18, 57, 91, 0.96);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a,
.download-link,
.primary-action,
.secondary-action,
.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a.active,
.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.download-link {
  padding: 8px 14px;
  background: #ffffff;
  color: var(--navy);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(32px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.hero-home {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(13, 31, 48, 0.9), rgba(13, 31, 48, 0.54), rgba(13, 31, 48, 0.18)),
    url("/assets/far-aim-pilots-2000x1333.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 720px;
}

.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.store-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-action {
  padding: 12px 18px;
  color: #ffffff;
  background: var(--blue);
}

.secondary-action {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.page-hero {
  padding: clamp(48px, 10vw, 116px) clamp(20px, 7vw, 112px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(13, 31, 48, 0.92), rgba(20, 125, 123, 0.62)),
    url("/assets/far-aim-pilots-2000x1333.jpg") center / cover no-repeat;
}

.intro-band,
.store-band,
.detail-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 8vw, 88px) clamp(20px, 7vw, 112px);
}

.intro-band {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  background: var(--soft);
}

.intro-band h2,
.store-band h2,
.detail-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-band img {
  justify-self: center;
  max-height: 620px;
  object-fit: contain;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 7vw, 112px);
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
}

.feature-card:nth-child(2) {
  border-top-color: var(--green);
}

.feature-card:nth-child(3) {
  border-top-color: var(--gold);
}

.feature-card:nth-child(4) {
  border-top-color: var(--blue);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.feature-card p,
.store-band p,
.detail-copy p,
.site-footer span {
  color: var(--muted);
}

.store-band {
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--navy);
  color: #ffffff;
}

.store-band p {
  color: rgba(255, 255, 255, 0.78);
}

.store-actions img {
  width: 188px;
  display: block;
}

.text-action {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.detail-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  border-bottom: 1px solid var(--line);
}

.detail-section-reverse {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 0.9fr);
}

.detail-section-reverse .detail-copy {
  order: 2;
}

.detail-section-reverse .detail-media {
  order: 1;
}

.detail-media {
  justify-self: center;
}

.detail-media img {
  display: block;
  max-height: 560px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 36px clamp(20px, 7vw, 112px);
  background: #0d1f30;
  color: #ffffff;
}

.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .store-band,
  .detail-section,
  .detail-section-reverse {
    grid-template-columns: 1fr;
  }

  .detail-section-reverse .detail-copy,
  .detail-section-reverse .detail-media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

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

  .download-link {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .store-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
