:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #667085;
  --paper: #fffaf2;
  --warm: #f3dfbd;
  --gold: #d8a13a;
  --teal: #247c82;
  --rose: #b65456;
  --line: rgba(35, 44, 55, 0.14);
  --shadow: 0 24px 70px rgba(40, 31, 19, 0.18);
  font-family: ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-icon,
.hero-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.18);
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  color: #475467;
  font-weight: 700;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  min-width: 106px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 7px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
}

.small-download {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 7px;
  background: #1f2933;
  color: white;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(82svh, 760px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px clamp(22px, 7vw, 90px) 64px;
  background: #1b1d23;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.98) brightness(0.84);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.78), rgba(10, 14, 18, 0.46) 45%, rgba(10, 14, 18, 0.24)),
    linear-gradient(0deg, rgba(10, 14, 18, 0.55), rgba(10, 14, 18, 0.06) 58%);
}

.hero-content {
  position: relative;
  width: min(700px, 100%);
  color: white;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  margin-bottom: 20px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 10vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(1.12rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

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

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: #f7c45f;
  color: #1f2933;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.primary-button.dark {
  background: #1f2933;
  color: #fffaf2;
}

.android-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.dark-pill {
  color: #475467;
  border-color: var(--line);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  background: #fffdf8;
  padding: 24px clamp(20px, 4vw, 56px);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
}

.metric span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
}

.section,
.story-section,
.premium-section,
.download-section {
  padding: clamp(58px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.story-copy h2,
.premium-copy h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.story-copy p:not(.eyebrow),
.premium-copy p:not(.eyebrow),
.download-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.mode-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.mode-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.mode-card-body {
  padding: 20px;
}

.mode-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  background: #f0f7f4;
}

.story-copy {
  max-width: 620px;
}

.story-copy .text-button {
  margin-top: 18px;
  background: var(--teal);
  color: white;
}

.story-images {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
  align-items: end;
}

.story-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-images img:first-child {
  transform: translateY(8%);
}

.premium-section {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 620px);
  justify-content: center;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  background: #fffdf8;
}

.premium-image-wrap img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 24px;
}

.stars {
  color: #c98517;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.review-card blockquote {
  margin: 0;
  color: #344054;
  line-height: 1.65;
  font-weight: 650;
}

.review-card cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.download-section {
  text-align: center;
  background: #efd9b8;
}

.download-section p {
  margin-inline: auto;
  max-width: 660px;
}

.download-actions {
  justify-content: center;
}

.site-footer {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  color: #667085;
  background: #fffdf8;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.footer-main,
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal {
  color: #98a2b3;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-legal a {
  color: #667085;
}

.policy-page {
  background: #fffdf8;
}

.policy-main {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 44px);
}

.policy-card {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.policy-date {
  margin: 14px 0 32px;
  color: var(--muted);
  font-weight: 800;
}

.policy-section {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.policy-section + .policy-section {
  margin-top: 26px;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.policy-section p {
  margin: 0;
  color: #475467;
  line-height: 1.7;
  font-size: 1.04rem;
}

.policy-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .small-download {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding-top: 96px;
  }

  .intro-band,
  .mode-grid,
  .story-section,
  .premium-section,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .story-images {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 0.98rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .language-select {
    min-width: 92px;
  }

  .hero {
    padding: 92px 20px 44px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 17vw, 4.4rem);
  }

  .story-images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mode-card-body,
  .review-card {
    padding: 18px;
  }
}
