:root {
  --bg: #1c212c;
  --bg-1: rgba(240, 243, 247, 0.16);
  --bg-2: rgba(255, 255, 255, 0.12);
  --bg-3: #242a36;
  --bg-4: #1c2230;
  --bg-5: #161b26;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fb;
  --muted: #ced3dd;
  --accent: #e9ecf3;
  --accent-2: #ffffff;
  --accent-tint: rgba(240, 243, 247, 0.2);
  --accent-overlay: rgba(240, 243, 247, 0.3);
  --accent-shadow: 0 12px 30px rgba(240, 243, 247, 0.24);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --nav-bg: rgba(64, 70, 82, 0.86);
  --surface-1: rgba(88, 94, 108, 0.92);
  --surface-2: rgba(56, 62, 76, 0.94);
  --experience-grad: linear-gradient(140deg, rgba(240, 243, 247, 0.14), rgba(42, 48, 60, 0.92));
  font-family: "Saira", "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, var(--bg-1), transparent 30%),
    radial-gradient(circle at 80% 0%, var(--bg-2), transparent 32%),
    linear-gradient(135deg, var(--bg-3), var(--bg-4) 52%, var(--bg-5));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 22px 60px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  letter-spacing: 0.4px;
  font-size: 36px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  height: 46px;
  width: 46px;
}

.brand span {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041018;
  border-color: transparent;
  box-shadow: var(--accent-shadow);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}

main {
  margin-top: 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 28px 14px 0;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  margin: 10px 0 16px;
}

.hero-copy .lede {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 40% 40%, var(--accent-overlay), transparent 40%),
    radial-gradient(circle at 80% 0%, var(--accent-tint), transparent 46%);
  filter: blur(18px);
  z-index: 0;
}

.preview-card {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
  box-shadow: var(--shadow);
  z-index: 1;
}

.preview-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.preview-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.preview-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.preview-tab:hover {
  color: var(--text);
}

#preview-tvos:checked ~ .preview-head .preview-tab[for="preview-tvos"],
#preview-macos:checked ~ .preview-head .preview-tab[for="preview-macos"],
#preview-ios:checked ~ .preview-head .preview-tab[for="preview-ios"] {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041018;
}

.preview-frame {
  position: relative;
  height: clamp(240px, 34vw, 360px);
  max-height: 52vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.2));
  padding: 10px;
}

#preview-ios:checked ~ .preview-frame {
  height: clamp(320px, 62vw, 560px);
  max-height: 72vh;
}

.preview-carousel {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

#preview-tvos:checked ~ .preview-frame .preview-carousel[data-platform="tvos"],
#preview-macos:checked ~ .preview-frame .preview-carousel[data-platform="macos"],
#preview-ios:checked ~ .preview-frame .preview-carousel[data-platform="ios"] {
  display: block;
}

.carousel-viewport {
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 12px;
  padding-bottom: 42px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport {
  scrollbar-width: none;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 16, 0.38);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.03);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-btn:disabled:hover {
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.22);
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 16, 0.32);
  backdrop-filter: blur(12px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-dot[aria-current="true"] {
  width: 18px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  opacity: 0.95;
}

.preview-carousel.is-single .carousel-btn,
.preview-carousel.is-single .carousel-dots,
.preview-carousel.is-empty .carousel-btn,
.preview-carousel.is-empty .carousel-dots {
  display: none;
}

.carousel-empty {
  min-width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.gallery-empty {
  width: 100%;
  margin: 0;
  padding: 24px 10px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 20, 0.55);
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 96vw;
  max-height: 92vh;
}

.lightbox-image {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 16, 0.55);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.section-head {
  max-width: 720px;
  margin: 70px auto 24px;
  text-align: center;
  padding: 0 12px;
}

.section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 4vw, 38px);
}

.section-lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.features {
  margin-top: 30px;
}

.gallery {
  padding: 0 14px;
}

.gallery-card {
  position: relative;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(56, 62, 76, 0.96));
  box-shadow: var(--shadow);
}

.gallery-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery-tabs {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  margin: 0 auto 14px;
  justify-content: center;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-tab:hover {
  color: var(--text);
}

#gallery-tvos:checked ~ .gallery-tabs .gallery-tab[for="gallery-tvos"],
#gallery-macos:checked ~ .gallery-tabs .gallery-tab[for="gallery-macos"],
#gallery-ios:checked ~ .gallery-tabs .gallery-tab[for="gallery-ios"] {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041018;
}

.gallery-rail {
  position: relative;
}

.gallery-grid {
  display: none;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

#gallery-tvos:checked ~ .gallery-rail .gallery-grid[data-platform="tvos"],
#gallery-macos:checked ~ .gallery-rail .gallery-grid[data-platform="macos"],
#gallery-ios:checked ~ .gallery-rail .gallery-grid[data-platform="ios"] {
  display: flex;
}

.gallery-rail:not(.is-scrollable) .gallery-scroll {
  opacity: 0;
  pointer-events: none;
}

.gallery-scroll {
  z-index: 2;
}

.gallery-shot {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  flex: 0 0 clamp(220px, 34vw, 420px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-grid[data-platform="tvos"] .gallery-shot {
  aspect-ratio: 16 / 9;
}

.gallery-grid[data-platform="macos"] .gallery-shot {
  aspect-ratio: 16 / 10;
}

.gallery-grid[data-platform="ios"] .gallery-shot {
  aspect-ratio: 3 / 4;
  flex-basis: clamp(190px, 26vw, 300px);
}

.gallery-shot picture,
.gallery-shot img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-shot img {
  object-fit: contain;
  transition: transform 0.25s ease;
}

.gallery-shot:hover img {
  transform: scale(1.01);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(10px);
  min-height: 180px;
}

.feature-card h3 {
  margin: 10px 0 6px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.icon-chip {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-overlay), var(--accent-tint));
  border-radius: 12px;
  border: 1px solid var(--stroke);
  color: var(--text);
}

.icon-chip img {
  width: 22px;
  height: 22px;
  display: block;
  filter: invert(1) brightness(1.1);
}

.experience {
  margin: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px;
}

.experience-card {
  background: var(--experience-grad);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.experience-card h2 {
  margin: 6px 0 12px;
  font-size: clamp(24px, 4vw, 34px);
}

.experience-card p {
  color: var(--muted);
  line-height: 1.6;
}

.experience-card ul {
  padding-left: 18px;
  color: var(--text);
  line-height: 1.7;
}

.experience-card li {
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stat {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
}

.label {
  margin: 4px 0 0;
  color: var(--muted);
}

.experience-visual {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.experience-visual::after {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 38%);
  filter: blur(28px);
  z-index: 0;
}

.experience-visual .glass {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--stroke);
}

.video-ui {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 1;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    padding: 4px 44px;
  }

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

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

  .gallery-grid {
    padding: 4px 42px;
  }
}

.video-frame {
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.video-timeline {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.video-progress {
  position: relative;
  height: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.video-progress .bar {
  position: absolute;
  inset: 0;
  width: 52%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-radius: 10px;
}

.video-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.video-controls button {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.platforms {
  margin-bottom: 60px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 14px;
}

.platform-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 180px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.platform-card .label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0;
}

.platform-card h3 {
  margin: 4px 0;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

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

.cta {
  margin: 40px 0 60px;
  padding: 0 14px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: linear-gradient(135deg, var(--accent-overlay), var(--surface-2));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 3.6vw, 32px);
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-form label {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.input-row input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
}

.input-row input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.caption {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.footer {
  margin-top: 50px;
  padding: 20px 14px;
  border-top: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

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

.footer-brand img {
  height: 32px;
  width: 32px;
}

.footer .name {
  margin: 0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-card .legal-updated {
  margin: 2px 0 8px;
  color: var(--muted);
}

.legal-text {
  background: none;
  border: none;
  padding: 0 6px 20px;
}

.legal-text pre {
  white-space: pre-wrap;
  font-family: "DM Sans", "Saira", sans-serif;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 980px) {
  .nav {
    position: static;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .experience {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 10px 6px 0;
  }

  .preview-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .preview-tab {
    flex: 1;
  }

  .preview-frame {
    height: clamp(220px, 56vw, 320px);
    max-height: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 16px 40px;
  }

  .nav {
    border-radius: 16px;
  }

  #preview-ios:checked ~ .preview-frame {
    height: clamp(360px, 120vw, 540px);
    max-height: none;
  }

  .feature-card,
  .platform-card {
    padding: 16px;
  }
}


.video-ui {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 1;
}
