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

:root {
  color-scheme: dark;
  --bg: #07140e;
  --bg-2: #0c2118;
  --surface: rgba(10, 32, 24, 0.76);
  --surface-strong: rgba(15, 48, 36, 0.9);
  --line: rgba(218, 247, 209, 0.18);
  --line-strong: rgba(218, 247, 209, 0.34);
  --text: #f4f7ee;
  --muted: rgba(244, 247, 238, 0.72);
  --faint: rgba(244, 247, 238, 0.52);
  --court: #79c84f;
  --clay: #db653a;
  --ball: #f2ef34;
  --purple: #b798ff;
  --sky: #ff9d89;
  --ink: #06100c;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 157, 137, 0.14) 0, transparent 24rem),
    linear-gradient(135deg, #07140e 0%, #0b1e16 46%, #07110d 100%);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(218, 247, 209, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 247, 209, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ball);
  outline-offset: 3px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 1rem;
  padding: 0.8rem 1rem;
  z-index: 40;
  color: var(--ink);
  background: var(--text);
  border-radius: 6px;
}

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: 0.85rem clamp(0.85rem, 2.4vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 14, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 8px;
}

.brand span {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
}

.brand strong {
  font-size: 1.06rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.nav-panel nav {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-panel a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--ball);
}

.language-switcher {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.24rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 10, 7, 0.5);
}

.language-switcher button {
  appearance: none;
  border: 0;
  min-width: 2.2rem;
  min-height: 2rem;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: 800 0.76rem/1 "Inter", sans-serif;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: var(--ink);
  background: var(--ball);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(2, 10, 7, 0.62);
  align-items: center;
  justify-content: center;
}

.menu-toggle-lines {
  display: grid;
  gap: 0.28rem;
}

.menu-toggle-lines span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  min-height: calc(100svh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2rem, 4vw, 3.4rem);
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: 38rem;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(3.7rem, 7vw, 6.2rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.38rem;
  line-height: 1.08;
}

.hero-lead,
.section-copy p,
.career-copy p,
.store-section p,
.seo-section p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}

.hero-lead {
  width: 100%;
  max-width: 36rem;
  margin-bottom: 1.55rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #17200a;
  background: linear-gradient(135deg, var(--ball), var(--court));
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(2, 10, 7, 0.55);
}

.hero-media {
  position: relative;
  min-height: clamp(22rem, 45vw, 34rem);
}

.phone-shot {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #020806;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.34);
}

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

.phone-shot-main {
  right: 0;
  top: 0;
  width: min(42%, 16.5rem);
  aspect-ratio: 1320 / 2868;
}

.phone-shot-secondary {
  left: 24%;
  top: 18%;
  width: min(34%, 13.25rem);
  aspect-ratio: 1320 / 2868;
  opacity: 0.82;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 1.1rem;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  color: var(--ball);
  font-size: 1rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-section,
.shots-section,
.career-section,
.screenshots-section,
.seo-section,
.store-section,
.faq-section {
  margin-bottom: clamp(4.5rem, 9vw, 7.25rem);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 3rem;
  align-items: start;
}

.section-copy {
  max-width: 45rem;
  min-width: 0;
}

.section-copy.compact {
  max-width: 56rem;
  margin-bottom: 2rem;
}

.open-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.open-list article {
  padding: 1.25rem 1.35rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.open-list article:nth-child(even) {
  padding-left: 1.35rem;
  border-left: 1px solid var(--line);
}

.open-list span {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 800;
}

.open-list p,
.shot-list span,
.career-rail span,
.faq-list p,
.screenshot-strip figcaption {
  color: var(--muted);
}

.shots-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.52fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.wide-shot {
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #020806;
  aspect-ratio: 1320 / 2868;
  max-height: 34rem;
}

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

.shot-list {
  display: grid;
  gap: 0;
  margin-top: 1.65rem;
  border-top: 1px solid var(--line);
}

.shot-list p {
  display: grid;
  grid-template-columns: minmax(7rem, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.shot-list strong {
  color: var(--ball);
}

.career-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.7fr);
  gap: 3rem;
  align-items: start;
}

.career-rail {
  border-top: 1px solid var(--line);
}

.career-rail div {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.career-rail strong {
  color: var(--court);
}

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11.5rem, 15rem);
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scroll-snap-type: x mandatory;
}

.screenshot-strip figure {
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #020806;
}

.screenshot-strip figcaption {
  margin-top: 0.7rem;
  font-size: 0.94rem;
}

.seo-section {
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.store-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 0.75fr);
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 239, 52, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--surface);
}

.store-section h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.store-links {
  display: grid;
  gap: 0.85rem;
}

.store-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 10, 7, 0.5);
}

.store-link.is-disabled {
  cursor: default;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 8px;
  color: var(--ink);
  background: var(--text);
}

.store-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.store-link span:last-child {
  display: grid;
  gap: 0.1rem;
}

.store-link strong {
  font-size: 1.05rem;
}

.store-link small {
  color: var(--ball);
  font-size: 0.92rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list article {
  display: grid;
  grid-template-columns: minmax(14rem, 0.62fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .hero,
  .why-section,
  .shots-section,
  .career-section,
  .store-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 28rem;
  }

  .phone-shot-main {
    width: min(42vw, 15.5rem);
  }

  .phone-shot-secondary {
    width: min(34vw, 12rem);
  }

  .wide-shot {
    max-width: min(18rem, 100%);
    max-height: 34rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .brand small {
    white-space: normal;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    display: none;
    padding: 0.9rem clamp(0.85rem, 2.4vw, 1.25rem) 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 20, 14, 0.96);
  }

  .site-header.is-open .nav-panel {
    display: grid;
  }

  .nav-panel nav {
    display: grid;
    gap: 0.2rem;
  }

  .nav-panel a {
    min-height: 2.7rem;
    display: flex;
    align-items: center;
  }

  .language-switcher {
    width: max-content;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(3.05rem, 13vw, 4.2rem);
  }

  .hero-media {
    min-height: 22rem;
  }

  .phone-shot-main {
    width: min(44vw, 13.5rem);
  }

  .phone-shot-secondary {
    left: 4%;
    width: min(36vw, 11rem);
  }

  .proof-strip,
  .open-list {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div,
  .open-list article:nth-child(even) {
    border-left: 0;
  }

  .open-list article,
  .open-list article:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .shot-list p,
  .faq-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 460px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100vw - 1.1rem));
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero-media {
    min-height: 19rem;
  }

  .screenshot-strip {
    grid-auto-columns: minmax(9.75rem, 58vw);
  }

  .store-section {
    padding: 1rem;
  }
}
