:root {
  --bg: #ffffff;
  --bg-1: rgba(15, 23, 42, 0.04);
  --bg-2: rgba(15, 23, 42, 0.03);
  --bg-3: #ffffff;
  --bg-4: #f8fafc;
  --bg-5: #f1f5f9;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #0f172a;
  --muted: #475569;
  --accent: #0f172a;
  --accent-2: #334155;
  --accent-tint: rgba(15, 23, 42, 0.06);
  --accent-overlay: rgba(15, 23, 42, 0.08);
  --accent-shadow: 0 10px 24px rgba(15, 23, 42, 0.18), 0 26px 70px rgba(15, 23, 42, 0.12);
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 40px 110px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --nav-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.72));
  --surface-1: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(248, 250, 252, 0.96);
  --experience-grad: linear-gradient(140deg, rgba(15, 23, 42, 0.06), rgba(255, 255, 255, 0.94));
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

body {
  margin: 0;
  font-family: inherit;
  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;
}

h1,
h2,
h3,
.brand,
.eyebrow,
.badge,
.preview-title,
.portfolio-name {
  font-family: "Saira", "DM Sans", sans-serif;
}

::selection {
  background: rgba(15, 23, 42, 0.16);
  color: var(--text);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-radius: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

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

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

.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;
  padding: 8px 10px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

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

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

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

.btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--stroke);
}

.btn.secondary:hover {
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.05);
}

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

.btn.ghost:hover {
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.03);
}

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

.btn:focus-visible,
.nav-links a:focus-visible,
.portfolio-item:focus-visible,
.app-actions a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.22);
  outline-offset: 3px;
}

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(--accent-tint);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.meta-chip.small {
  padding: 7px 10px;
  font-size: 13px;
}

.apps-panel {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, var(--shadow);
  position: relative;
  z-index: 1;
}

.apps-panel-title {
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.apps-panel-list {
  display: grid;
  gap: 10px;
}

.app-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.app-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.app-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.03);
  object-fit: cover;
  flex: 0 0 auto;
}

.app-row-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.app-row-name {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.app-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.apps {
  margin-top: 36px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 14px;
}

.app-card {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--stroke);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 22px 70px rgba(15, 23, 42, 0.1);
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.app-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.03);
  object-fit: cover;
  flex: 0 0 auto;
}

.app-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.app-pill {
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-card {
  padding: 18px;
}

.portfolio-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.portfolio-list {
  display: grid;
  gap: 10px;
}

.portfolio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.portfolio-item:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.18);
  background: var(--panel-strong);
}

.portfolio-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.03);
  object-fit: cover;
  flex: 0 0 auto;
}

.portfolio-meta {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.portfolio-name {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-cta {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.03);
}

.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: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 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: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(10px);
  min-height: 180px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 45px rgba(15, 23, 42, 0.08);
}

.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);
}

.icon-chip.app-chip {
  background: rgba(15, 23, 42, 0.06);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: 0.4px;
  font-size: 14px;
  padding: 0;
  overflow: hidden;
}

.icon-chip.app-chip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

.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: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 180px;
  display: grid;
  gap: 8px;
  align-content: start;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 45px rgba(15, 23, 42, 0.08);
}

.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 {
  height: 44px;
  width: auto;
  max-width: 100%;
}

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

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--stroke);
  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;
}

.caption a {
  color: var(--accent);
  text-decoration: none;
}

.caption a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.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: 36px;
  width: 36px;
}

.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);
}

.footer-note {
  grid-column: 1 / -1;
}

.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: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

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

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

  .apps-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .app-row {
    flex-direction: column;
  }

  .app-row-actions {
    justify-content: flex-start;
  }

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

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

  .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;
  }

  .brand {
    font-size: 21px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


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