:root {
  color-scheme: light;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);
  --canvas: #00695c;
  --primary: #00838f;
  --primary-light: #4fb3bf;
  --primary-dark: #005662;
  --accent: #26a69a;
  --card: rgba(0, 77, 64, 0.75);
  --shadow: 0 24px 60px rgba(0, 40, 35, 0.4);
  --radius: 26px;
  --stroke: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  background: linear-gradient(135deg, #00695c 0%, #004d40 50%, #00363a 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

.ambient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(79, 179, 191, 0.25), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 131, 143, 0.35), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(0, 77, 64, 0.6), transparent 50%);
  z-index: -2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw 16px;
  gap: 24px;
  position: sticky;
  top: 0;
  background: rgba(0, 77, 64, 0.95);
  backdrop-filter: blur(16px);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
}

.brand-icon {
  width: 48px;
  height: 48px;
}

.brand-logo {
  height: 52px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: block;
}

.brand-name {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--primary-light);
}

main {
  padding: 10px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-left h1 {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0 0 6px;
}

.hero-left {
  gap: 16px;
}

.hero-left .hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.hero-highlights {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.highlight {
  background: rgba(0, 77, 64, 0.8);
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--stroke);
}

.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.store-badges--center {
  justify-content: center;
}

.store-badge {
  height: 54px;
  width: auto;
}

@media (min-width: 600px) {
  .store-badge {
    height: 64px;
  }
}

.section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head h2 {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 680px;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: start;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-rail {
  display: block;
  align-self: start;
}

.feature-rail .cap-shot {
  position: sticky;
  top: 90px;
  width: 100%;
}

.cap-shot {
  padding: 0;
}

.cap-carousel {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 20;
  max-height: 78vh;
  border-radius: 28px;
  overflow: hidden;
  background: #1b2b2b;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.2),
    0 18px 40px rgba(0, 0, 0, 0.35);
  --phone-pad: 0px;
}

.cap-carousel picture {
  position: absolute;
  inset: var(--phone-pad);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cap-carousel picture.is-active {
  opacity: 1;
}

.cap-carousel picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
}

.cap-carousel::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.card.wide {
  max-width: 980px;
}

.card.wide p {
  color: var(--muted);
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  position: absolute;
  left: 0;
  top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 179, 191, 0.2);
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
}

.site-footer {
  padding: 36px 6vw 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

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

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

.footer-links {
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 40;
}

.modal.is-hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 35, 0.8);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  padding: 28px 28px 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  max-width: 440px;
  width: min(90vw, 440px);
  text-align: left;
  z-index: 1;
}

.modal-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-card p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 77, 64, 0.9);
  border: 1px solid var(--stroke);
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--primary-light);
}

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

  .hero {
    padding-top: 10px;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-rail {
    order: -1;
  }

  .feature-rail .cap-shot {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
}
