:root {
  color-scheme: light dark;
  --bg-a: #eef4f8;
  --bg-b: #f9f3e9;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #142238;
  --muted: #4a617b;
  --line: rgba(22, 49, 79, 0.16);
  --accent: #186f76;
  --shadow-soft: 0 18px 44px rgba(13, 31, 52, 0.14);
  --shadow-image: 0 14px 36px rgba(6, 24, 44, 0.32);
  --checker-a: rgba(26, 64, 98, 0.08);
  --checker-b: rgba(26, 64, 98, 0.03);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-a: #071321;
    --bg-b: #0c1d2f;
    --surface: rgba(11, 29, 47, 0.78);
    --surface-strong: rgba(16, 36, 57, 0.92);
    --text: #e5f2ff;
    --muted: #a3bad0;
    --line: rgba(154, 184, 214, 0.22);
    --accent: #53cbc5;
    --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.36);
    --shadow-image: 0 18px 38px rgba(0, 0, 0, 0.56);
    --checker-a: rgba(138, 180, 216, 0.13);
    --checker-b: rgba(138, 180, 216, 0.05);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--text);
  line-height: 1.45;
  background:
    radial-gradient(64rem 38rem at 6% -16%, rgba(80, 173, 181, 0.22), transparent 65%),
    radial-gradient(52rem 30rem at 100% -20%, rgba(244, 175, 79, 0.2), transparent 62%),
    linear-gradient(165deg, var(--bg-a), var(--bg-b));
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2.4rem;
}

.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 10;
  margin-bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

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

.app-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.brand-label {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.05rem, 2.8vw, 2rem);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--accent);
}

h1 {
  margin: 0.42rem 0 0;
  font-size: clamp(1.62rem, 2.2vw + 1rem, 2.85rem);
  line-height: 1.08;
  max-width: 21ch;
}

.hero p {
  margin: 0.75rem 0 0;
  max-width: 70ch;
  color: var(--muted);
}

.lead {
  color: var(--text);
  font-size: clamp(1.02rem, 0.36vw + 0.94rem, 1.16rem);
}

.meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 0.3rem 0.62rem;
  font-size: 0.81rem;
}

.highlights {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 1rem;
}

.card h2 {
  margin: 0;
  font-size: 1.18rem;
}

.card p {
  margin: 0.42rem 0 0;
  color: var(--muted);
}

.gallery {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.shot-wrap {
  --shot-pad: clamp(0.7rem, 1.8vw, 1.2rem);
  padding: 0;
  width: 100%;
  aspect-ratio: 7 / 5;
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 58%),
    repeating-linear-gradient(
      45deg,
      var(--checker-a) 0 14px,
      var(--checker-b) 14px 28px
    );
}

.shot {
  position: absolute;
  left: var(--shot-pad);
  right: var(--shot-pad);
  top: var(--shot-pad);
  bottom: var(--shot-pad);
  width: calc(100% - (var(--shot-pad) * 2));
  height: calc(100% - (var(--shot-pad) * 2));
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(var(--shadow-image));
}

.shot-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .shot-light {
    display: none;
  }

  .shot-dark {
    display: block;
  }
}

.feature-body {
  padding: 0.88rem 1rem 1rem;
  min-height: 9.2rem;
}

.feature-range .feature-body,
.feature-stats .feature-body {
  height: 12rem;
  min-height: 12rem;
}

.feature-body h3 {
  margin: 0;
  font-size: 1.12rem;
}

.feature-body p {
  margin: 0.34rem 0 0;
  color: var(--muted);
  font-size: 0.99rem;
}

.footer-note {
  margin: 0.95rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .highlights {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 0.72rem 0.68rem 1.9rem;
  }

  .site-header {
    top: 0.45rem;
    padding: 0.42rem 0.5rem;
  }

  .brand-label {
    font-size: 0.98rem;
  }
}
