:root {
  --green: #18a957;
  --green-dark: #0e7a3d;
  --green-soft: #e9f8ef;
  --red: #ef233c;
  --ink: #10261a;
  --charcoal: #111c16;
  --muted: #4f5f55;
  --line: #e2ebe5;
  --paper: #ffffff;
  --wash: #f6faf8;
  --shadow: 0 24px 64px rgba(16, 38, 26, 0.16);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #36463c;
  font-size: 15px;
  font-weight: 700;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff !important;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(24, 169, 87, 0.26);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(720px, calc(100svh - 92px));
  padding: 90px 32px 76px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.52) 58%, rgba(255, 255, 255, 0.12) 100%),
    url("assets/hero-buy-and-bye.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 86%);
  content: "";
}

.hero-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: #34483b;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 18px 30px rgba(24, 169, 87, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 235, 229, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 38, 26, 0.08);
}

.hero-stats dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-section,
.features-section,
.download-section {
  padding: 88px 32px;
}

.intro-section {
  background: #ffffff;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.14;
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p + p {
  margin-top: 18px;
}

.features-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--wash) 100%);
  border-top: 1px solid #eef4f0;
  border-bottom: 1px solid #eef4f0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.feature-card {
  min-height: 236px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 38, 26, 0.07);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--charcoal);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  background: var(--red);
}

.feature-card h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.download-section {
  background: #ffffff;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 38px;
  color: #ffffff;
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-panel .section-kicker,
.download-panel h2 {
  color: #ffffff;
}

.download-panel p:not(.section-kicker) {
  max-width: 640px;
  margin: 16px 0 0;
  color: #cdd8d1;
  font-size: 18px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  min-height: 66px;
  padding: 11px 18px;
  color: #ffffff;
  background: #0b110d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

.store-badge small {
  display: block;
  margin-bottom: 3px;
  color: #cdd8d1;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
}

.store-icon {
  width: 32px;
  height: 32px;
}

.store-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.play-green {
  fill: #34d27b;
}

.play-yellow {
  fill: #ffd24c;
}

.play-red {
  fill: #ff5b5b;
}

.play-blue {
  fill: #34a5ff;
}

.site-footer {
  padding: 58px 32px 28px;
  color: #cdd8d1;
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 46px;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 160px;
  padding: 8px;
  background: #ffffff;
  border-radius: 8px;
}

.site-footer p {
  max-width: 320px;
  margin: 18px 0 0;
  color: #9fb0a6;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer a {
  color: #9fb0a6;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding-top: 24px;
  color: #829389;
  font-size: 14px;
}

.legal-main {
  padding: 56px 32px 80px;
  background: #ffffff;
}

.legal-document {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.legal-document h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.legal-meta {
  margin: 10px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.legal-section p,
.legal-section li {
  color: #34483b;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.legal-section a {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 52px;
  }

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

  .section-grid,
  .download-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .store-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .brand img {
    width: 136px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(16, 38, 26, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-contact {
    justify-content: center;
    margin-top: 4px;
  }

  .hero {
    min-height: auto;
    padding: 78px 20px 66px;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 54%, rgba(255, 255, 255, 0.74) 100%),
      url("assets/hero-buy-and-bye.png");
    background-position: 64% center;
  }

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

  .hero-copy {
    font-size: 17px;
  }

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

  .intro-section,
  .features-section,
  .download-section {
    padding: 64px 20px;
  }

  h2 {
    font-size: 32px;
  }

  .section-grid {
    gap: 24px;
  }

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

  .download-panel {
    padding: 26px;
  }

  .store-badge {
    width: 100%;
  }

  .site-footer {
    padding: 48px 20px 24px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-main {
    padding: 42px 20px 64px;
  }

  .legal-document h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
