:root {
  color-scheme: light;
  --ink: #14241d;
  --forest: #0b3d2e;
  --forest-deep: #061f18;
  --green: #13a66a;
  --green-bright: #63e6a6;
  --mint: #b9e8d2;
  --mint-pale: #e2f3ea;
  --paper: #f4f6f2;
  --white: #ffffff;
  --muted: #688076;
  --line: #dce5df;
  --shadow: 0 28px 70px rgba(3, 30, 21, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid rgba(20, 36, 29, 0.08);
}

.brand {
  display: inline-flex;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta):hover,
.site-footer a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 10px 18px;
  color: var(--white);
  background: var(--forest);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  min-height: min(820px, calc(100vh - 84px));
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%, rgba(19, 166, 106, 0.22), transparent 32%),
    linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(185, 232, 210, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 48%, black);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 76px 6vw 90px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #08784a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--green-bright);
}

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

h1,
h2,
h3 {
  line-height: 1.04;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 7.2vw, 7.2rem);
  letter-spacing: -0.07em;
}

h1 span {
  color: var(--green-bright);
}

.hero-lede {
  max-width: 630px;
  margin-bottom: 25px;
  color: #d8e7df;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
}

.download-prompt {
  margin-bottom: 13px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 54px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.store-badge img {
  width: auto;
  max-width: none;
  height: 54px;
}

.store-badge-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
  user-select: none;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 720px;
  padding: 56px 5vw 0 0;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(390px, 74%);
  height: 650px;
  overflow: hidden;
  border: 9px solid #183a30;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #071a14;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  width: 70px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #081611;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.pitch-orbit {
  position: absolute;
  border: 1px solid rgba(99, 230, 166, 0.28);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 710px;
  height: 710px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 13px 15px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
}

.floating-card strong {
  display: block;
  font-size: 0.88rem;
}

.floating-card-top {
  top: 24%;
  right: 4%;
}

.floating-card-bottom {
  right: 12%;
  bottom: 13%;
}

.floating-icon,
.status-dot {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--green);
  font-size: 1rem;
  font-weight: 900;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin: 0 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--mint-pale);
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 27px clamp(22px, 6vw, 92px);
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(20px, 4vw, 54px);
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 850;
}

.section {
  padding: 110px clamp(22px, 6vw, 92px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: end;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto 54px;
}

.section-heading h2,
.safety h2,
.matchday h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  min-height: 380px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.feature-card-primary {
  background: var(--mint-pale);
  border-color: var(--mint);
}

.feature-card-dark {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.feature-number {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.feature-card-dark .feature-number {
  color: var(--mint);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 96px 0 24px;
  place-items: center;
  border-radius: 18px;
  color: #08784a;
  background: var(--mint-pale);
}

.feature-card-primary .feature-icon {
  color: var(--white);
  background: var(--green);
}

.feature-card-dark .feature-icon {
  color: var(--green-bright);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin-bottom: 13px;
  font-size: 1.45rem;
}

.feature-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card-dark p {
  color: #c7d9d0;
}

.matchday {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 130px);
  min-height: 840px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 50%, rgba(19, 166, 106, 0.35), transparent 28%),
    var(--forest-deep);
}

.matchday-copy {
  align-self: center;
  max-width: 580px;
}

.matchday h2 {
  margin-bottom: 46px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(185, 232, 210, 0.2);
}

.steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(99, 230, 166, 0.55);
  border-radius: 50%;
  color: var(--green-bright);
  font-size: 0.8rem;
  font-weight: 900;
}

.steps strong {
  font-size: 1.05rem;
}

.steps p {
  margin: 4px 0 0;
  color: #a8c0b5;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  align-items: start;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
  padding-top: 18px;
}

.app-shot {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0;
  overflow: hidden;
  border: 7px solid #16362c;
  border-radius: 34px;
  background: #071a14;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.app-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}

.app-shot-back {
  transform: rotate(-5deg);
}

.app-shot-front {
  z-index: 2;
  margin-top: 72px;
  transform: rotate(4deg);
}

.safety {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(50px, 10vw, 160px);
  max-width: 1460px;
  margin: 0 auto;
}

.safety-intro {
  align-self: start;
  position: sticky;
  top: 40px;
}

.safety-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 27px 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  color: #08784a;
  font-weight: 850;
  text-underline-offset: 5px;
}

.safety-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.safety-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.safety-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: #08784a;
  background: var(--mint-pale);
  font-size: 1.5rem;
  font-weight: 800;
}

.safety-list h3 {
  margin: 2px 0 10px;
  font-size: 1.28rem;
}

.safety-list p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 34px;
  padding: 54px clamp(22px, 6vw, 92px) 34px;
  background: var(--white);
}

.footer-brand p {
  margin: 13px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.copyright,
.trademark {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.trademark {
  max-width: 900px;
  margin-top: 8px;
  font-size: 0.69rem;
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

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

  .store-badge {
    transition: none;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
  }

  .hero-copy {
    padding-right: 2vw;
  }

  .floating-card {
    display: none;
  }

  .feature-card {
    min-height: 350px;
  }

  .feature-icon {
    margin-top: 76px;
  }

  .matchday {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

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

  .hero-copy {
    padding-bottom: 36px;
  }

  .hero-visual {
    min-height: 580px;
    padding: 20px 0 0;
  }

  .phone-frame {
    width: min(370px, 72vw);
    height: 560px;
  }

  .trust-strip,
  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .trust-strip {
    flex-direction: column;
  }

  .trust-strip div {
    justify-content: flex-start;
  }

  .section-heading {
    gap: 20px;
  }

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

  .feature-card {
    min-height: 300px;
  }

  .feature-icon {
    margin-top: 48px;
  }

  .matchday,
  .safety {
    grid-template-columns: 1fr;
  }

  .app-shot {
    max-width: 340px;
  }

  .safety-intro {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding: 15px 18px;
  }

  .brand img {
    width: 120px;
    height: auto;
  }

  .nav-cta {
    padding: 8px 14px;
  }

  .hero-copy {
    padding: 62px 22px 28px;
  }

  h1 {
    font-size: clamp(3.45rem, 16vw, 4.7rem);
  }

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

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    width: min(330px, 82vw);
    height: 490px;
  }

  .orbit-one {
    width: 370px;
    height: 370px;
  }

  .orbit-two {
    width: 490px;
    height: 490px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading h2,
  .safety h2,
  .matchday h2 {
    font-size: 2.85rem;
  }

  .feature-card {
    padding: 23px;
  }

  .matchday {
    min-height: 0;
  }

  .app-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 300px);
    align-items: start;
    gap: 18px;
    margin-right: -22px;
    padding: 18px 22px 38px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .app-gallery::-webkit-scrollbar {
    display: none;
  }

  .app-shot {
    width: 100%;
    max-width: none;
    scroll-snap-align: start;
    transform: none;
  }

  .app-shot-front {
    margin-top: 0;
  }

  .safety-list article {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .safety-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

}
