:root {
  --bg: #f49e0b;
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --line: rgba(18, 18, 18, 0.18);
  --max: 1080px;
  --radius: 28px;
  --font-display: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  opacity: 0.9;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  overflow: visible;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__lead {
  margin: 0.9rem auto 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__visual {
  margin: 1.6rem auto 0;
  width: min(100%, 340px);
}

.hero__visual img,
.feature__visual img {
  width: 100%;
  height: auto;
  /* Keep the full phone sharp — no blur, masks, or soft edges */
  filter: none;
  -webkit-filter: none;
  image-rendering: auto;
}

@media (min-height: 800px) {
  .hero__visual {
    width: min(100%, 300px);
  }

  .hero__visual img {
    max-height: min(62vh, 620px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }
}

.features {
  padding: 1rem 0 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.feature {
  margin: 0;
  text-align: center;
}

.feature__visual {
  margin: 0 auto;
  width: min(100%, 520px);
}

.feature__visual--wide {
  width: min(100%, 760px);
}

.support,
.stores {
  width: min(100% - 2rem, 760px);
  margin: 0 auto 2rem;
  padding: 0.25rem 0 0.5rem;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

.stores {
  margin-bottom: 2.5rem;
}

.support h2,
.stores h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.stores h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.support p {
  margin: 0 0 0.7rem;
}

.support p:last-child {
  margin-bottom: 0;
}

.support strong {
  font-weight: 700;
}

.stores__lead {
  margin: 0.45rem 0 1.25rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: min(100%, 220px);
  min-height: 64px;
  padding: 0.65rem 1.1rem 0.65rem 0.9rem;
  border-radius: 10px;
  background: #000;
  border: 0;
  text-align: left;
  text-decoration: none;
  color: #e8e8e8;
  box-shadow: none;
}

.store-badge__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.store-badge__mark--play {
  width: 30px;
  height: 30px;
}

.store-badge__copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
}

.store-badge__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #d0d0d0;
}

.store-badge__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: #e8e8e8;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: var(--bg);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legal pages — same orange background */
body.legal-page {
  background: var(--bg);
}

.legal-top {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.legal {
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
  color: var(--ink);
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal .updated {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.legal p,
.legal li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.legal p {
  margin: 0 0 0.9rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin: 0 0 0.45rem;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 3.8rem;
  }

  .brand__name {
    font-size: 1rem;
  }

  .nav {
    gap: 0.8rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 1.8rem;
  }

}
