@font-face {
  font-family: "League Gothic";
  src: url("assets/league-gothic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --green: #173f35;
  --deep-green: #0c2923;
  --cream: #f5efdf;
  --paper: #ebe2cd;
  --rust: #a13e2c;
  --bronze: #a57a53;
  --ink: #17211e;
  --muted: #66706b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(255,255,255,.75), transparent 28rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  color: var(--cream);
}

.brand {
  width: 128px;
  filter: brightness(0) invert(1);
}

.nav { display: flex; gap: 24px; font-size: .92rem; }
.nav a { text-decoration: none; opacity: .86; }
.nav a:hover { opacity: 1; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  color: var(--cream);
  background: var(--deep-green);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,18,15,.42), rgba(5,18,15,.08) 42%, rgba(5,18,15,.9)),
    url("assets/magic-hour-treeline.png") center bottom / cover no-repeat,
    url("assets/magic-hour-sky.png") center 68% / cover no-repeat;
  transform: scale(1.015);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  padding: 170px 0 88px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  font-family: "League Gothic", Impact, sans-serif;
  font-size: clamp(4.4rem, 11vw, 8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy {
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(245,239,223,.88);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(245,239,223,.58);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(10px);
  background: rgba(12,41,35,.42);
}

.button:hover { background: rgba(12,41,35,.7); }

.app-store-link {
  display: inline-block;
  line-height: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.app-store-link:hover { transform: translateY(-2px); opacity: .92; }
.app-store-link img { width: 168px; height: auto; }

.section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.section h2, .page h1 {
  color: var(--green);
  font-family: "League Gothic", Impact, sans-serif;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lead { font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height: 1.45; }

.showcase {
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 20%, rgba(165,122,83,.26), transparent 36rem),
    var(--deep-green);
}

.showcase-inner { padding-bottom: 0; }
.showcase-copy { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.showcase-copy h2 { color: var(--cream); }
.showcase-copy .lead { color: rgba(245,239,223,.78); }

.screen-stage {
  display: grid;
  grid-template-columns: .82fr 1fr .82fr;
  align-items: end;
  gap: clamp(16px, 3vw, 38px);
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(229,200,158,.68);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #050807;
  box-shadow: 0 -8px 50px rgba(0,0,0,.34);
}

.screen-card img { display: block; width: 100%; height: auto; }
.screen-card-primary { position: relative; z-index: 2; }
.screen-card-secondary { transform: translateY(56px); opacity: .86; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23,63,53,.2);
  border-radius: 24px;
  background: rgba(23,63,53,.2);
}

.feature { padding: 34px; background: rgba(255,252,244,.78); }
.feature h3 { color: var(--rust); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.feature p { margin-bottom: 0; color: #3f4945; }

.artifact {
  background: var(--green);
  color: var(--cream);
}

.artifact .section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: center;
}

.app-icon { width: 180px; border-radius: 38px; box-shadow: 0 26px 60px rgba(0,0,0,.28); }
.artifact h2 { color: var(--cream); margin-bottom: 16px; }
.artifact p { max-width: 650px; color: rgba(245,239,223,.76); }

.final-callout {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 32px;
  align-items: center;
}

.final-callout h2 { margin-bottom: 10px; font-size: clamp(2.8rem, 5vw, 4.5rem); }
.final-callout p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.final-icon { width: 96px; border-radius: 22px; box-shadow: 0 14px 34px rgba(23,33,30,.18); }

.page-header {
  background: var(--green);
  color: var(--cream);
  border-bottom: 1px solid rgba(165,122,83,.75);
}

.page-header .site-header { position: static; }

.page {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 110px;
}

.page h1 { margin-bottom: 18px; }
.page h2 { margin-top: 46px; color: var(--green); font-size: 1.3rem; }
.page .meta { margin: -6px 0 38px; color: var(--muted); }
.page a { color: var(--rust); text-underline-offset: 3px; }
.page ul { padding-left: 1.2rem; }

footer {
  border-top: 1px solid rgba(23,63,53,.16);
  color: var(--muted);
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: .85rem;
}

.footer-links { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .site-header { padding-top: 18px; }
  .brand { width: 104px; }
  .nav { gap: 14px; font-size: .82rem; }
  .hero { min-height: 680px; }
  .intro, .artifact .section { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .showcase-copy { margin-bottom: 42px; }
  .screen-stage { width: 138%; margin-left: -19%; gap: 12px; padding: 0; }
  .screen-card { border-radius: 26px 26px 0 0; }
  .screen-card-secondary { transform: translateY(34px); }
  .artifact .section { text-align: center; }
  .app-icon { margin: 0 auto; }
  .final-callout { grid-template-columns: 72px 1fr; gap: 22px; }
  .final-icon { width: 72px; border-radius: 17px; }
  .final-callout .app-store-link { grid-column: 1 / -1; margin: 8px auto 0; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
