:root {
  --bg-0: #f4efe6;
  --bg-1: #fff7ea;
  --ink: #172022;
  --muted: #495c60;
  --card: rgba(255, 255, 255, 0.72);
  --stroke: rgba(16, 24, 27, 0.1);
  --accent-green: #1f8f70;
  --accent-coral: #ea5b3d;
  --shadow: 0 18px 40px rgba(13, 28, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #ffe0c4 0%, transparent 32%),
    radial-gradient(circle at 85% 20%, #d6f6e8 0%, transparent 35%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 100%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: 12px;
  z-index: 20;
  background: #101416;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.background-glow {
  position: fixed;
  inset: auto -12% -18% auto;
  width: min(45vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(234, 91, 61, 0.44), rgba(234, 91, 61, 0));
  pointer-events: none;
  filter: blur(6px);
}

.hero {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 80px 0 30px;
  animation: rise 600ms ease both;
}

.hero-compact {
  padding-bottom: 18px;
}

.eyebrow {
  font-family: Sora, Manrope, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green);
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 14px;
  max-width: 14ch;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 58ch;
}

.store-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: #0f7c60;
  text-decoration: none;
  font-weight: 700;
}

.policy-back:hover {
  text-decoration: underline;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 230px;
  min-height: 86px;
  padding: 14px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  color: #ffffff;
  font-family: Sora, Manrope, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.store-btn span {
  margin-top: 5px;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.88;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(11, 20, 22, 0.2);
  filter: saturate(1.03);
}

.appstore {
  background: linear-gradient(135deg, #15191e 0%, #2c3440 100%);
}

.playstore {
  background: linear-gradient(135deg, #1f8f70 0%, #34a47f 100%);
}

.content {
  width: min(1100px, 92%);
  margin: 10px auto 65px;
  display: grid;
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  padding: clamp(1rem, 2vw, 1.8rem);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(16, 24, 27, 0.08);
  animation: rise 650ms ease both;
}

.card h2 {
  font-family: Sora, Manrope, sans-serif;
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-note {
  margin: 0 0 12px;
  color: var(--muted);
}

.app-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  justify-items: center;
}

.phone {
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(135deg, #111c1f, #2a3b42);
  box-shadow: var(--shadow);
  width: min(260px, 100%);
  height: clamp(420px, 72vh, 620px);
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

.copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 100%;
}

video {
  width: min(340px, 100%);
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 30px rgba(16, 24, 27, 0.14);
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
}

.gallery-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 16px;
  cursor: zoom-in;
}

.gallery-trigger:focus-visible {
  outline: 3px solid #0f7c60;
  outline-offset: 3px;
}

.gallery-trigger img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 460px);
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  box-shadow: 0 6px 18px rgba(18, 31, 35, 0.12);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 16, 18, 0.78);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-dialog {
  position: relative;
  width: min(92vw, 900px);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #eef4f6;
  background: rgba(13, 22, 24, 0.8);
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(13, 22, 24, 0.95);
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list li + li {
  margin-top: 8px;
}

.policy-stack {
  max-width: 860px;
}

.policy-stack h2 + p,
.policy-stack p + p,
.policy-stack p + ul,
.policy-stack ul + p,
.policy-stack ul + h2,
.policy-stack p + h2 {
  margin-top: 0;
}

.policy-stack p,
.policy-stack ul {
  color: var(--muted);
  line-height: 1.7;
}

.policy-stack h2 {
  margin-top: 28px;
}

.policy-stack h2:first-of-type {
  margin-top: 10px;
}

.policy-date {
  margin: 0 0 18px;
  color: #0f7c60;
  font-weight: 700;
}

.policy-list {
  margin-top: 10px;
  margin-bottom: 0;
}

.site-footer {
  width: min(1100px, 92%);
  margin: 0 auto 44px;
  padding: 0 4px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.site-footer a {
  color: #0f7c60;
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .copy {
    text-align: center;
  }

  .store-btn {
    flex: 1;
    min-width: 190px;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 901px) {
  .app-overview {
    grid-template-columns: minmax(230px, 320px) 1fr;
    gap: 24px;
    align-items: start;
    justify-items: stretch;
  }

  .phone {
    width: min(300px, 100%);
    height: clamp(480px, 70vh, 720px);
  }

  .copy {
    align-self: start;
    text-align: left;
  }

  .copy p {
    max-width: 52ch;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 56px;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
  }
}
