:root {
  --primary: #143a1b;
  --primary-action: #064621;
  --bg: #f6f0eb;
  --header-bg: #e9e4e3;
  --timeline: #dfd7d5;
  --text-primary: #2f3a33;
  --text-secondary: #4a5b4f;
  --text-tertiary: #6e7f72;
  --surface: #ffffff;
  --shadow-heavy: 0 28px 54px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 14px 26px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 18% 4%, rgba(73, 91, 79, 0.2), transparent 44%),
    radial-gradient(circle at 92% 78%, rgba(20, 58, 27, 0.12), transparent 44%),
    linear-gradient(180deg, var(--header-bg) 0%, var(--bg) 36%, #f8f4f1 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.8rem 0 2.6rem;
}

.hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 0.9rem;
}

.logo {
  width: min(320px, 78vw);
  height: auto;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.14));
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.lead {
  margin: 0.8rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  max-width: 760px;
  margin-inline: auto;
}

.urgency {
  margin: 0.75rem 0 0;
  color: var(--primary-action);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.showcase {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 1.1rem 0 0.6rem;
  perspective: 1600px;
}

.showcase-single {
  padding-top: 0.8rem;
}

.phone-card {
  position: relative;
  width: min(41vw, 295px);
  transform-style: preserve-3d;
}

.phone-card-single {
  transform: rotateY(-18deg) rotateZ(1.9deg);
  z-index: 2;
  transition: transform 0.45s ease;
  filter: drop-shadow(26px 26px 34px rgba(0, 0, 0, 0.26));
}

.showcase:hover .phone-card-single {
  transform: rotateY(-11deg) rotateZ(1.3deg) translateY(-5px);
}

.phone-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 0.48rem 0.2rem;
}

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  border: 11px solid #17191a;
  background: linear-gradient(165deg, #15181a 0%, #090b0d 100%);
  padding: 7px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transform-style: preserve-3d;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.phone::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 48px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.phone-android {
  border-radius: 30px;
}

.screen {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: cover;
  border-radius: 30px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.phone-android .screen {
  border-radius: 20px;
}

.screen.active {
  opacity: 1;
  transform: scale(1);
}

.glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(28px);
}

.glow-pink {
  width: 300px;
  height: 170px;
  background: rgba(20, 58, 27, 0.17);
  left: 18%;
  top: 35%;
}

.glow-green {
  width: 300px;
  height: 170px;
  background: rgba(74, 91, 79, 0.2);
  right: 18%;
  bottom: 8%;
}

.store-links {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-btn {
  min-width: 195px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.06rem;
  align-items: flex-start;
  text-decoration: none;
  background: linear-gradient(180deg, var(--primary-action) 0%, var(--primary) 100%);
  color: #fff;
  padding: 0.82rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.store-small {
  font-size: 0.7rem;
  opacity: 0.82;
}

.store-main {
  font-size: 1.02rem;
}

.store-btn:hover,
.store-btn:focus-visible {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 18px 28px rgba(20, 58, 27, 0.26);
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.footer {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer a {
  color: var(--primary-action);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--primary);
}

.socials {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.benefits {
  margin: 1.35rem auto 0;
  max-width: 860px;
}

.story {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  margin-top: 1.2rem;
}

.story-block {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(47, 58, 51, 0.14);
  text-align: center;
}

.story-block:last-child {
  border-bottom: 0;
}

.story-block h2,
.story-block h3 {
  margin: 0 0 0.45rem;
  line-height: 1.2;
  color: var(--primary-action);
}

.story-block h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.story-block h3 {
  font-size: clamp(1.12rem, 2vw, 1.44rem);
}

.story-block p {
  margin: 0.32rem 0 0;
  color: var(--text-secondary);
  font-size: 1.01rem;
  line-height: 1.55;
  max-width: 68ch;
  margin-inline: auto;
}

.story-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.36rem;
  justify-items: center;
  width: min(100%, 68ch);
  margin-inline: auto;
}

.story-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 58, 27, 0.12);
}

.story-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  justify-content: center;
}

.story-list-inline li {
  padding-left: 0.9rem;
}

.activity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.7rem;
}

.activity-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-action);
  background: rgba(20, 58, 27, 0.08);
  border: 1px solid rgba(20, 58, 27, 0.16);
}

.activity-strip img {
  width: 15px;
  height: 15px;
}

.quick-links {
  margin-top: 1.35rem;
  margin-bottom: 1.45rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.quick-links a {
  color: var(--primary-action);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  color: var(--primary);
}

.legal-page {
  max-width: 860px;
}

.legal-header {
  text-align: center;
  margin-bottom: 1rem;
}

.legal-home-link {
  display: inline-block;
}

.legal-logo {
  width: min(280px, 72vw);
  height: auto;
}

.legal-header h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legal-header p {
  margin-top: 0.3rem;
  color: var(--text-secondary);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(47, 58, 51, 0.14);
  border-radius: 14px;
  padding: 1rem;
}

.legal-content h2 {
  margin: 1rem 0 0.35rem;
  font-size: 1.1rem;
  color: var(--primary-action);
}

.legal-content h2:first-of-type {
  margin-top: 0.2rem;
}

.legal-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.legal-note {
  font-size: 0.9rem;
  color: var(--text-tertiary) !important;
  margin-bottom: 0.7rem !important;
}

.legal-footer {
  margin-top: 1rem;
}

.legal-bottom {
  margin-top: 0.9rem;
  text-align: center;
  padding-bottom: 0.4rem;
}

.legal-bottom a {
  color: var(--text-tertiary);
  font-weight: 400;
  text-decoration: none;
  font-size: 0.82rem;
}

.legal-bottom a:hover,
.legal-bottom a:focus-visible {
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .showcase {
    padding-top: 0.8rem;
  }

  .phone-card {
    width: min(44vw, 250px);
  }

  .phone-card-single {
    transform: rotateY(-7deg) rotateZ(1deg);
  }

  .showcase:hover .phone-card-single {
    transform: rotateY(-5deg) rotateZ(0.8deg) translateY(-3px);
  }

  .store-links {
    margin-top: 0.4rem;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 1.2rem, 1120px);
    padding-top: 1.3rem;
  }

  .showcase {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .phone-card {
    width: min(72vw, 286px);
  }

  .phone-card-android,
  .phone-card-ios,
  .phone-card-single {
    transform: none;
  }

  .store-btn {
    width: min(100%, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .screen,
  .showcase:hover .phone-card-single {
    opacity: 1;
    transform: none;
  }
}
