:root {
  color-scheme: light;
  --navy: #063a61;
  --navy-deep: #032b49;
  --blue: #2f719b;
  --gold: #f3ba32;
  --ink: #172a38;
  --muted: #60717d;
  --line: #e2e8ec;
  --surface: #f4f7f8;
  --white: #fff;
  --wrap: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -60px;
  left: 16px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  color: var(--white);
  background: var(--navy-deep);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img {
  border-radius: 50%;
}

.brand strong {
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a,
.back-to-top {
  text-decoration: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-to-top:hover {
  color: var(--gold);
}

.hero {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 78% 52%, rgba(35, 101, 142, 0.55), transparent 43%),
    linear-gradient(120deg, var(--navy-deep), var(--navy) 62%, #0c4b71);
}

.hero-grid {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 56px;
  padding-block: 64px;
}

.hero-copy {
  max-width: 610px;
  padding-block: 30px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-text {
  max-width: 52ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-store-actions {
  align-items: center;
  gap: 12px;
}

.hero-store-actions .store-badge {
  width: 164px;
}

.hero-features-link {
  display: inline-block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}

.hero-features-link:hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-deep);
  background: var(--gold);
}

.button-primary:hover {
  background: #ffd05a;
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 12px;
  list-style: none;
}

.hero-highlights li::before {
  margin-right: 8px;
  color: var(--gold);
  content: "\2022";
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-visual::before {
  width: 410px;
  aspect-ratio: 1;
}

.hero-visual::after {
  width: 500px;
  aspect-ratio: 1;
}

.hero-screen {
  position: relative;
  overflow: hidden;
  width: min(248px, 66%);
  max-height: 510px;
  border: 7px solid #102333;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.hero-screen img {
  width: 100%;
  height: 496px;
  object-fit: cover;
  object-position: top;
}

.hero-screen-cow {
  z-index: 1;
  transform: translate(-27%, 1%) rotate(-7deg);
}

.hero-screen-reposition {
  position: absolute;
  z-index: 2;
  transform: translate(29%, -2%) rotate(6deg);
}

.section {
  padding-block: 100px;
}

.intro {
  background: var(--surface);
}

.intro h2,
.markets h2,
.closing h2 {
  max-width: 20ch;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-lede {
  max-width: 64ch;
  margin-bottom: 50px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 44, 62, 0.045);
}

.feature-image {
  display: grid;
  height: 640px;
  place-items: center;
  overflow: hidden;
  background: #edf2f5;
}

.feature-image img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-copy {
  flex: 1;
  padding: 25px 28px 29px;
  border: 1px solid #c5d1d9;
  border-top: 3px solid var(--gold);
  background: #eaf1f5;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(243, 186, 50, 0.22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin-bottom: 9px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.feature-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.markets {
  padding-block: 92px;
  color: var(--white);
  background: var(--navy-deep);
}

.markets-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 90px;
}

.eyebrow-light {
  color: var(--gold);
}

.markets h2 {
  margin-bottom: 19px;
}

.markets-inner > div > p:last-child {
  max-width: 55ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.market-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.market-list li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 650;
}

.market-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.closing {
  text-align: center;
}

.closing-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.closing-inner > img {
  margin-bottom: 22px;
  border-radius: 50%;
}

.closing .eyebrow {
  margin-bottom: 11px;
}

.closing h2 {
  max-width: 19ch;
}

.closing-inner > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  overflow: hidden;
  width: 180px;
  border-radius: 7px;
  transition: transform 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  width: 100%;
}

.sponsor-link {
  margin-top: 21px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.sponsor-link:hover {
  text-decoration: underline;
}

.bmc-btn-container {
  padding-top: 8px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #021f35;
}

.footer-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
  font-size: 16px;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.back-to-top {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.document-main {
  min-height: calc(100vh - 178px);
  padding-block: clamp(56px, 9vw, 100px);
  background: var(--surface);
}

.document-content {
  max-width: 960px;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 44, 62, 0.045);
}

.document-content h1 {
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.document-content p {
  margin-bottom: 16px;
  color: var(--muted);
}

.document-content p:last-child {
  margin-bottom: 0;
}

.document-content a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 70px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
    padding-block: 45px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-screen img {
    height: 410px;
  }

  .hero-visual::before {
    width: 310px;
  }

  .hero-visual::after {
    width: 390px;
  }

  .markets-inner {
    gap: 45px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 110px;
  }

  .wrap {
    width: min(100% - 36px, var(--wrap));
  }

  .header-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 12px 0;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    width: calc(100% + 36px);
    gap: 23px;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 12px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 50px 38px;
  }

  .hero-copy {
    padding-block: 0;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-store-actions {
    gap: 9px;
  }

  .hero-store-actions .store-badge {
    width: 142px;
  }

  .hero-highlights {
    gap: 8px 14px;
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-screen {
    width: 190px;
    max-height: 340px;
    border-width: 5px;
    border-radius: 23px;
  }

  .hero-screen img {
    height: 330px;
  }

  .hero-screen-cow {
    transform: translate(-20%, 1%) rotate(-7deg);
  }

  .hero-screen-reposition {
    transform: translate(22%, -2%) rotate(6deg);
  }

  .hero-visual::before {
    width: 270px;
  }

  .hero-visual::after {
    width: 340px;
  }

  .section,
  .markets {
    padding-block: 68px;
  }

  .intro h2,
  .markets h2,
  .closing h2 {
    font-size: 34px;
  }

  .download-actions {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .section-lede {
    margin-bottom: 30px;
  }

  .feature-grid,
  .markets-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 16px;
  }

  .feature-image {
    height: 390px;
  }

  .feature-copy {
    padding: 21px 22px 24px;
  }

  .markets-inner {
    gap: 35px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-block: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
