:root {
  color-scheme: light;
  --ink: #1a1430;
  --ink-soft: #6b6390;
  --page: #f7f5fc;
  --page-deep: #f0ecf8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-strong: #ede9ff;
  --line: rgba(74, 32, 91, 0.11);
  --line-strong: rgba(124, 111, 240, 0.26);
  --violet: #7c6ff0;
  --violet-strong: #5847c7;
  --lavender: #b5aaf7;
  --sky: #6fb1f0;
  --mint: #5ccbb4;
  --blush: #f38fb6;
  --amber: #f6b964;
  --rose: #e879a5;
  --shadow: rgba(74, 32, 91, 0.15);
}

.launcher-site {
  background:
    radial-gradient(circle at 4% 7%, rgba(243, 143, 182, 0.18), transparent 27rem),
    radial-gradient(circle at 92% 9%, rgba(111, 177, 240, 0.2), transparent 31rem),
    radial-gradient(circle at 73% 51%, rgba(92, 203, 180, 0.12), transparent 34rem),
    linear-gradient(180deg, #fbfaff, var(--page-deep) 58%, #f9f7fd);
}

.launcher-site .button.primary {
  border-color: #4a205b;
  background: #4a205b;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(74, 32, 91, 0.22);
}

.launcher-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  background: linear-gradient(145deg, #4a205b, #24112f);
  box-shadow: 0 9px 24px rgba(74, 32, 91, 0.22);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 820;
}

.launcher-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
}

.launcher-hero h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 4.3vw, 3.9rem);
  line-height: 0.98;
}

.launcher-hero h1 span {
  color: #6d5ee2;
  padding-bottom: 0.08em;
}

.launcher-hero-art {
  min-height: min(74dvh, 720px);
  display: grid;
  align-content: center;
  gap: 14px;
}

.launcher-hero-art::before {
  inset: 4% -2% 7% 1%;
  border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 35% 20%, rgba(243, 143, 182, 0.48), transparent 35%),
    radial-gradient(circle at 78% 68%, rgba(92, 203, 180, 0.42), transparent 38%),
    radial-gradient(circle at 50% 48%, rgba(124, 111, 240, 0.5), transparent 58%);
  filter: blur(34px);
}

.launcher-demo {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 0.86;
  justify-self: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(124, 111, 240, 0.24);
  border-radius: 46px;
  background: #24112f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 42px 100px rgba(74, 32, 91, 0.2);
}

.demo-wallpaper {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.6), transparent 13%),
    radial-gradient(circle at 26% 74%, rgba(92, 203, 180, 0.8), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(243, 143, 182, 0.74), transparent 30%),
    linear-gradient(145deg, #8d7df4 0%, #6fb1f0 44%, #4a205b 100%);
  transform: scale(1.02);
}

.demo-wallpaper::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(140deg, rgba(36, 17, 47, 0.18), rgba(36, 17, 47, 0.48));
}

.demo-status {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 760;
  text-shadow: 0 1px 10px rgba(36, 17, 47, 0.35);
}

.demo-clock {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: 50%;
  display: grid;
  justify-items: center;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(36, 17, 47, 0.38);
  transform: translate(-50%, -50%);
}

.demo-clock strong {
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  font-weight: 310;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.demo-clock span {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 660;
}

.demo-dock {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 20px;
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(36, 17, 47, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(36, 17, 47, 0.3);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 220ms ease;
}

.launcher-demo[data-dock-mode="full"] .demo-dock {
  top: 48px;
  bottom: 0;
  left: 0;
  align-content: end;
  padding: 12px 11px 20px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 24px 0 0;
}

.demo-dock button,
.demo-app-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(36, 17, 47, 0.2);
  color: #24112f;
  font: 800 0.72rem/1 "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

.demo-dock button {
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.demo-dock button:hover {
  transform: translateX(3px) scale(1.05);
}

.demo-dock button:active {
  transform: scale(0.96);
}

.demo-dock .demo-portal {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, #5c2b6e, #24112f);
  color: #ffffff;
}

.demo-drawer {
  position: absolute;
  z-index: 6;
  inset: 46px 0 0 78px;
  padding: 26px;
  border-radius: 34px 0 0 0;
  background: rgba(247, 245, 252, 0.94);
  box-shadow: -18px 0 60px rgba(36, 17, 47, 0.24);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  animation: drawer-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.demo-drawer[hidden] {
  display: none;
}

.demo-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}

.demo-drawer-head strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.demo-drawer-head button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 720;
}

.demo-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.demo-app-grid span {
  width: 48px;
  height: 48px;
  justify-self: center;
  border-color: rgba(124, 111, 240, 0.18);
  background: linear-gradient(145deg, #ffffff, #ede9ff);
}

.demo-app-grid span:nth-child(3n + 1) {
  background: linear-gradient(145deg, #e6f7f2, #ffffff);
}

.demo-app-grid span:nth-child(3n + 2) {
  background: linear-gradient(145deg, #fdeaf2, #ffffff);
}

.demo-controls {
  justify-self: end;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.demo-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 720;
}

.demo-controls button[aria-pressed="true"] {
  background: #24112f;
  color: #ffffff;
}

.launcher-section-note {
  margin: 0 0 10px;
  color: var(--violet-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

.launcher-motion .new-features-header {
  grid-template-columns: 1fr;
}

.launcher-motion-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-areas:
    "wide curve curve"
    "wide haptic dock";
  gap: 12px;
}

.motion-feature {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.motion-feature-wide {
  grid-area: wide;
  min-height: 452px;
  background:
    radial-gradient(circle at 82% 14%, rgba(124, 111, 240, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(237, 233, 255, 0.82), rgba(255, 255, 255, 0.74));
}

.motion-feature-curve {
  grid-area: curve;
  background:
    radial-gradient(circle at 100% 50%, rgba(74, 32, 91, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.74);
}

.motion-feature-haptic {
  grid-area: haptic;
  background: linear-gradient(145deg, rgba(230, 247, 242, 0.94), rgba(255, 255, 255, 0.72));
}

.motion-feature-dock {
  grid-area: dock;
  background: linear-gradient(145deg, rgba(253, 234, 242, 0.92), rgba(255, 255, 255, 0.72));
}

.motion-feature h3 {
  max-width: 14ch;
  margin: 26px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.motion-feature p {
  max-width: 42ch;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.motion-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(74, 32, 91, 0.12);
  color: var(--violet-strong);
  font-size: 1.35rem;
  font-weight: 800;
}

.edge-curve-demo {
  width: 38px;
  height: 116px;
  display: block;
  margin-left: -26px;
  border-radius: 0 100% 100% 0;
  background: #24112f;
  box-shadow: 12px 0 30px rgba(36, 17, 47, 0.16);
}

.launcher-facts {
  grid-template-columns: 0.72fr 1.1fr 1.18fr 1fr;
}

.launcher-site .feature-item {
  grid-template-columns: 1fr;
}

.launcher-site .feature-index,
.launcher-site .category-sequence {
  display: none;
}

.launcher-principles-section {
  padding-top: 36px;
}

.launcher-principles {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 100%, rgba(92, 203, 180, 0.2), transparent 30rem),
    radial-gradient(circle at 100% 0, rgba(243, 143, 182, 0.18), transparent 28rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 90px rgba(74, 32, 91, 0.1);
}

.principles-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.principles-copy p {
  max-width: 50ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-list article {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.principle-list strong {
  font-size: 0.94rem;
}

.principle-list span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.launcher-release {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.launcher-release-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.launcher-release-copy p {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.launcher-release-state {
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 111, 240, 0.22), transparent 44%),
    rgba(255, 255, 255, 0.72);
  text-align: center;
}

.launcher-release-state strong {
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.launcher-release-state span {
  max-width: 34ch;
  margin-top: 10px;
  color: var(--ink-soft);
}

.launcher-release-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.launcher-finale {
  background:
    radial-gradient(circle at 8% 12%, rgba(243, 143, 182, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 80%, rgba(92, 203, 180, 0.18), transparent 28rem),
    rgba(255, 255, 255, 0.76);
}

.launcher-footer {
  border-top-color: var(--line);
}

@keyframes drawer-enter {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .launcher-hero {
    grid-template-columns: 1fr;
  }

  .launcher-hero-art {
    width: min(100%, 720px);
    min-height: auto;
    margin: 0 auto;
  }

  .launcher-demo {
    width: min(100%, 580px);
    justify-self: center;
  }

  .demo-controls {
    justify-self: center;
  }

  .launcher-motion-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "wide wide"
      "curve haptic"
      "dock dock";
  }

  .motion-feature-wide {
    min-height: 320px;
  }

  .launcher-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .launcher-principles,
  .launcher-release {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .launcher-site .nav-inner {
    gap: 12px;
  }

  .launcher-site .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .launcher-site .launcher-mark {
    width: 34px;
    height: 34px;
  }

  .launcher-site .nav-links {
    gap: 0;
  }

  .launcher-site .nav-download {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.76rem;
  }

  .launcher-hero h1 {
    max-width: 100%;
    font-size: 2.7rem;
    line-height: 1;
  }

  .launcher-hero-art {
    width: 100%;
  }

  .launcher-demo {
    border-radius: 32px;
  }

  .demo-app-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
  }

  .demo-drawer {
    left: 70px;
    padding: 20px;
  }

  .demo-controls {
    width: 100%;
  }

  .demo-controls button {
    flex: 1;
  }

  .launcher-motion-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "wide"
      "curve"
      "haptic"
      "dock";
  }

  .motion-feature,
  .motion-feature-wide {
    min-height: 230px;
  }

  .launcher-facts,
  .launcher-release-notes {
    grid-template-columns: 1fr;
  }

  .launcher-principles {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .launcher-release-state {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-dock,
  .demo-dock button,
  .demo-drawer {
    transition: none;
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .demo-dock,
  .demo-drawer,
  .demo-controls,
  .launcher-principles,
  .launcher-release-state {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .demo-dock {
    background: #24112f;
  }
}
