/* Mama's Duty: police navy from Mama's cap, signal amber and orange from the icon. */
:root {
  color-scheme: dark;
  --navy: #0f1838;
  --navy-2: #1c2b5e;
  --ink: #ffffff;
  --muted: #c8d2ee;
  --amber: #ffc21a;
  --orange: #ff8a00;
  --sky: #5bb4f0;
  --on-amber: #0f1838;
  --display: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --body: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --focus: 0 0 0 3px var(--navy), 0 0 0 6px var(--amber);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--navy);
  color: var(--ink);
  font: 18px/1.55 var(--body);
}

::selection {
  background: var(--amber);
  color: var(--navy);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

a {
  color: var(--amber);
}
a:hover {
  color: #ffd75e;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--amber);
  color: var(--navy);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  z-index: 20;
}
.skip:focus {
  top: 1rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  position: relative;
  z-index: 2;
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
}
.brand:hover {
  color: inherit;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* No href while "store": "soon": the pill is a label, not a link. */
.top-play {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber);
  border: 2px solid var(--amber);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
a.top-play[href] {
  color: var(--navy);
  background: var(--amber);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(calc(100svh - 4.5rem), 640px);
  display: grid;
  align-items: center;
  background: var(--amber);
  color: var(--on-amber);
}

.hero-room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  pointer-events: none;
}

/* Keeps the copy on plain amber where Mama would reach under it. */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--amber) 0%,
    rgba(255, 194, 26, 0.85) 38%,
    rgba(255, 194, 26, 0) 56%
  );
  pointer-events: none;
}

/* A zebra crossing along the foot of the hero. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #fff 0 34px,
    var(--navy) 34px 60px
  );
  z-index: 2;
}

.floaters {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  max-width: 9ch;
}

.lede {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.9rem;
  max-width: 22ch;
}

.sub {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  color: color-mix(in srgb, var(--on-amber) 82%, var(--amber));
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--navy);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem 0.85rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
}
a.play[href]:hover {
  color: var(--ink);
  background: var(--navy-2);
}
.play svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--amber);
}

/* Mama is the hero picture itself; the phone slot waits for real screenshots. */
.phones {
  display: none;
}

.how {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 3rem auto 0;
  color: var(--muted);
}
.how p {
  margin: 0 0 1.1rem;
}
.how strong {
  color: var(--ink);
  font-weight: 600;
}

.foot {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 2.4rem auto 0;
  padding: 1.4rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--navy-2);
}
.foot a {
  color: var(--muted);
}
.foot a:hover {
  color: var(--amber);
}

.policy {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}
.policy h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.05;
  margin: 0 0 0.3rem;
}
.policy h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
  color: var(--amber);
}
.policy p,
.policy li {
  color: var(--muted);
}
.updated {
  font-size: 0.9rem;
}

/* Wide screens have room beside the copy: fade only up to Mama's glove. */
@media (min-width: 1100px) {
  .hero-veil {
    background: linear-gradient(
      90deg,
      var(--amber) 0%,
      var(--amber) calc(50% - 190px),
      rgba(255, 194, 26, 0) calc(50% - 110px)
    );
  }
}

/* Mid widths: Mama takes the right half, so nothing sits behind the copy. */
@media (min-width: 761px) and (max-width: 1099px) {
  .hero-room {
    left: auto;
    width: 52%;
    object-position: 86% 100%;
    mask-image: linear-gradient(90deg, transparent, #000 14%);
  }
  .hero-veil {
    display: none;
  }
  .hero-inner > div {
    max-width: 46%;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    display: block;
  }
  .hero-room {
    position: static;
    display: block;
    height: auto;
    aspect-ratio: 5 / 4;
    object-position: 88% 100%;
  }
  .hero-veil {
    display: none;
  }
  .hero-inner {
    padding: 1.4rem 0 3rem;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }
  .sub {
    font-size: 0.98rem;
    margin-bottom: 1.3rem;
  }
  .brand {
    font-size: 1.25rem;
  }
  .top-play {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }
}
