:root {
  --bg-1: #fffef6;
  --bg-2: #fde9e3;
  --bg-3: #fcd7d4;
  --text: #1b1b1b;
  --muted: #4f4f4f;
  --surface: #ffffff;
  --border: #e9d8d2;
  --accent: #DA2F2F;
  --accent-strong: #b82626;
  --shadow: 0 10px 30px rgba(34, 34, 34, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: #ffffff;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 111, 93, 0.45);
  outline-offset: 2px;
}

.container {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: none;
  background-color: #ffffff;
  border-bottom: 1px solid #f1e4de;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(233, 216, 210, 0.8);
  box-shadow: 0 6px 18px rgba(34, 34, 34, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-title {
  height: 28px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.9rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #2a2a2a;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a {
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0.4rem;
  padding: 2.9rem 0 2.1rem;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(90px, 10vw, 128px);
  margin-inline: auto;
  border-radius: 30px;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.12);
}

.hero-kicker {
  margin: 1rem 0 0;
  color: #e04d3b;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4.9vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 1.2rem;
}

.subtitle {
  margin: 1.1rem auto 0;
  max-width: 60ch;
  color: var(--muted);
}

.hero-subtitle {
  margin: 0.95rem auto 0;
  max-width: 44ch;
  font-size: clamp(1.03rem, 1.35vw, 1.26rem);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #efd8d2;
  background: #fff8f5;
  color: #5c5c5c;
  font-weight: 600;
  font-size: 0.95rem;
}

.star-icon {
  color: #f0a11f;
  margin-left: 0.1rem;
}

.proof-sep {
  color: #a7a7a7;
}

.hero-cta {
  margin-top: 0.9rem;
  margin-inline: auto;
  border-radius: 12px;
  padding: 0.84rem 1.28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--accent);
  box-shadow: 0 8px 20px rgba(240, 111, 93, 0.36);
}

.btn-primary:hover {
  background-color: var(--accent-strong);
}

.screenshots {
  scroll-margin-top: 86px;
  padding: 4rem 0 4.4rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(1.3rem, 4vw, 4rem);
}

.screenshots-copy {
  max-width: 520px;
}

.shots-kicker {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
}

.screenshots h2 {
  font-size: clamp(1.6rem, 4vw, 3.3rem);
  margin: 0;
  letter-spacing: -0.015em;
}

.section-copy {
  text-align: left;
  max-width: 40ch;
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
}

.screenshots-visual {
  width: min(88vw, 460px);
  justify-self: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 360px) auto;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-inline: auto;
}

.carousel-viewport {
  width: min(88vw, 360px);
  margin-inline: auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 280ms ease;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  padding: 0;
}

.slide-card {
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  transform: none;
  transition: none;
}

.slide.active .slide-card {
  transform: none;
}

.slide img {
  border-radius: 18px;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.carousel-arrow {
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.96);
  color: #363636;
  cursor: pointer;
}

.carousel-arrow:hover {
  background-color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(27, 27, 27, 0.2);
  cursor: pointer;
}

.dot.active {
  width: 24px;
  background-color: var(--accent);
}

.download-cta {
  padding: 0.35rem 0 4rem;
}

.download-panel {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(252, 215, 212, 0.42), transparent 42%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(254, 239, 235, 0.86) 100%);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 3vw, 2.2rem) clamp(1rem, 3.3vw, 2.8rem);
}

.download-panel h2 {
  margin: 0;
  margin-inline: auto;
  max-width: 20ch;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.download-rating {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.download-rating span {
  letter-spacing: 0.03em;
}

.download-play-btn {
  display: inline-flex;
  margin-top: 1rem;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.12);
}

.download-play-badge {
  height: clamp(46px, 5vw, 58px);
  width: auto;
  display: block;
  border-radius: 10px;
}

.page-content {
  padding: 3rem 0 4rem;
}

.content-card {
  background-color: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

.content-card h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--muted);
}

.policy section + section {
  margin-top: 1.25rem;
}

.policy h2 {
  margin-bottom: 0.4rem;
  font-size: 1.22rem;
}

.policy h3 {
  margin: 0.95rem 0 0.35rem;
  font-size: 1.06rem;
}

.policy h4 {
  margin: 0.8rem 0 0.3rem;
  font-size: 0.98rem;
}

.policy ul {
  margin: 0.35rem 0 0.9rem;
  padding-left: 1.2rem;
}

.policy li + li {
  margin-top: 0.35rem;
}

.policy li > ul {
  margin-top: 0.4rem;
}

/* Tab-like hierarchy for policy readability */
.policy section {
  --tab: 1.15rem;
}

.policy section > h2 {
  margin-left: 0;
}

.policy section > h3 {
  margin-left: var(--tab);
}

.policy section > h4 {
  margin-left: calc(var(--tab) * 2);
}

.policy section > p {
  margin-left: var(--tab);
}

.policy section > h4 + p,
.policy section > h4 + ul {
  margin-left: calc(var(--tab) * 2);
}

.policy section > ul {
  margin-left: calc(var(--tab) * 1.2);
}

.policy section > ul > li > ul {
  margin-left: var(--tab);
}

.policy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy a:hover {
  color: var(--accent-strong);
}

.contact-email {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1rem 0 1.4rem;
}

.contact-email a {
  font-weight: 600;
  color: var(--accent-strong);
}

.btn-secondary {
  background-color: #fff;
  border-color: var(--border);
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

.copy-icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
}

.copy-icon-btn svg {
  width: 20px;
  height: 20px;
}

.copy-status {
  font-size: 0.92rem;
  color: var(--muted);
}

form {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.78rem;
  background-color: #fff;
}

textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(233, 216, 210, 0.72);
  background-color: rgba(255, 254, 246, 0.66);
}

.footer-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .nav-wrap {
    position: relative;
    min-height: 62px;
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 0 1rem;
    font-size: 1rem;
    border-top: 1px solid #f1e4de;
    background: #ffffff;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .brand-title {
    height: 26px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    margin-top: 0.3rem;
    padding: 1.8rem 0 1.3rem;
  }

  .hero-copy {
    text-align: center;
    max-width: 100%;
  }

  .hero-logo {
    width: clamp(84px, 24vw, 108px);
    border-radius: 26px;
  }

  .hero-kicker {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.85rem);
  }

  .hero-subtitle {
    margin-inline: auto;
    font-size: 1rem;
  }

  .hero-proof {
    margin-top: 0.85rem;
    font-size: 0.88rem;
  }

  .screenshots {
    padding-top: 2.4rem;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .screenshots-copy {
    text-align: center;
    max-width: 100%;
  }

  .shots-kicker {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
  }

  .screenshots h2 {
    font-size: clamp(1.5rem, 7.5vw, 2.1rem);
  }

  .section-copy {
    text-align: center;
    margin-inline: auto;
  }

  .carousel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .carousel-arrow {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .carousel-arrow.prev {
    left: 0.2rem;
  }

  .carousel-arrow.next {
    right: 0.2rem;
  }

  .download-cta {
    padding-bottom: 3.3rem;
  }

  .download-panel {
    padding: 1.2rem 0.95rem 1.55rem;
  }

  .download-panel h2 {
    font-size: clamp(1.55rem, 8.2vw, 2.2rem);
  }

  .download-rating {
    font-size: 0.98rem;
    margin-top: 0.7rem;
  }

  .download-play-badge {
    height: 44px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }
}


.mobile-install-banner {
  display: none;
}

@media (max-width: 760px) {
  .landing-page {
    padding-bottom: 112px;
  }

  .mobile-install-banner {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
  }

  .mobile-install-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #20283a 0%, #1a2130 100%);
    box-shadow: 0 16px 34px rgba(10, 14, 24, 0.28);
  }

  .mobile-install-banner__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
  }

  .mobile-install-banner__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .mobile-install-banner__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #ffffff;
  }

  .mobile-install-banner__text strong {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .mobile-install-banner__text span {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .mobile-install-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 0.82rem 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #e34b4b 0%, #DA2F2F 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex: 0 0 auto;
  }
}
