:root {
  color-scheme: dark;
  --bg: #071119;
  --bg-2: #0a151e;
  --surface: rgba(16, 27, 37, 0.72);
  --surface-strong: rgba(20, 33, 44, 0.9);
  --line: rgba(197, 225, 255, 0.15);
  --line-strong: rgba(210, 232, 255, 0.28);
  --text: #f5f9ff;
  --muted: #aab6c4;
  --soft: #738191;
  --blue: #248eed;
  --blue-2: #1d73d2;
  --cyan: #36d9f0;
  --green: #51da63;
  --rose: #d951d9;
  --yellow: #ffd42a;
  --orange: #ff8f3d;
  --shadow: 0 28px 110px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --header-h: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(1200px 740px at 76% 16%, rgba(42, 78, 126, 0.24), transparent 58%),
    linear-gradient(180deg, #050c12 0%, var(--bg) 42%, #08141c 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.28;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(20px, 4.2vw, 58px);
  border-bottom: 1px solid rgba(210, 232, 255, 0.13);
  background: rgba(5, 12, 18, 0.72);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(210, 232, 255, 0.22);
  background: rgba(5, 12, 18, 0.88);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
}

.brand-mark,
.app-icon {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.app-icon {
  background: linear-gradient(135deg, #16d5ef 0%, #267de6 62%, #2650a4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 14px 34px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  mask: url("assets/jumpcmd-command-glyph.svg") center / contain no-repeat;
}

.brand-mark img {
  display: none;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
  color: #dce7f4;
  font-size: 14px;
  font-weight: 560;
}

.nav-links a,
.site-footer a {
  color: rgba(231, 239, 249, 0.76);
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 690;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(54, 217, 240, 0.48);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(180deg, #2797f8 0%, var(--blue) 55%, #1877d4 100%);
  color: white;
  box-shadow: 0 14px 34px rgba(36, 142, 237, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button-primary:hover {
  box-shadow: 0 17px 42px rgba(36, 142, 237, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-secondary {
  border-color: rgba(210, 232, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  color: #edf5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: rgba(210, 232, 255, 0.4);
  background: rgba(255, 255, 255, 0.075);
}

.icon,
.feature-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.download-icon,
.cart-icon {
  width: 18px;
  height: 18px;
}

.download-icon {
  background: linear-gradient(currentColor, currentColor) 3px 15px / 12px 2px no-repeat;
}

.download-icon::before {
  position: absolute;
  left: 8px;
  top: 2px;
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.download-icon::after {
  position: absolute;
  left: 5px;
  top: 7px;
  width: 7px;
  height: 7px;
  content: "";
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cart-icon::before {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 13px;
  height: 9px;
  border: 1.8px solid currentColor;
  border-top: 0;
  transform: skewX(-8deg);
  content: "";
}

.cart-icon::after {
  position: absolute;
  left: 4px;
  bottom: 1px;
  width: 12px;
  height: 3px;
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 2.2px) left center / 6px 3px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 2.2px) right center / 6px 3px no-repeat;
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  width: min(var(--max), calc(100% - 56px));
  min-height: min(660px, calc(100vh - var(--header-h) - 6px));
  margin: 0 auto;
  padding: clamp(50px, 7vh, 74px) 0 clamp(38px, 5vh, 56px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7vw, 100px);
  font-weight: 780;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  max-width: 490px;
  margin: 26px 0 0;
  color: rgba(229, 238, 248, 0.78);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 430;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .button {
  min-width: 250px;
}

.shortcut-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 420px;
  margin-top: 34px;
  color: rgba(226, 236, 248, 0.64);
  font-size: 15px;
  line-height: 1.5;
}

.keycap {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  border: 1px solid rgba(210, 232, 255, 0.27);
  border-radius: 5px;
  color: rgba(237, 247, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.window-ghost {
  position: absolute;
  border: 1px solid rgba(224, 240, 255, 0.15);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.window-ghost::before {
  position: absolute;
  top: 16%;
  left: 7%;
  width: 82%;
  height: 14%;
  border-radius: 7px;
  background: currentColor;
  content: "";
}

.window-ghost::after {
  position: absolute;
  left: 8%;
  right: 12%;
  bottom: 18%;
  height: 34%;
  border-radius: 4px;
  content: "";
}

.ghost-left {
  left: -4%;
  bottom: 7%;
  width: 44%;
  height: 46%;
  color: rgba(43, 214, 228, 0.72);
}

.ghost-left::after {
  background: repeating-linear-gradient(
    180deg,
    rgba(210, 235, 244, 0.28) 0 10px,
    transparent 10px 28px
  );
}

.ghost-right {
  top: 7%;
  right: -1%;
  width: 48%;
  height: 66%;
  color: rgba(255, 141, 65, 0.72);
}

.ghost-right::after {
  background:
    linear-gradient(var(--green), var(--green)) 0 66% / 100% 28% no-repeat,
    repeating-linear-gradient(180deg, rgba(210, 225, 246, 0.3) 0 8px, transparent 8px 26px);
}

.switcher-shot {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin-left: auto;
  border-radius: 7px;
  object-fit: cover;
  filter: drop-shadow(0 32px 90px rgba(0, 0, 0, 0.44));
}

.hero-shot {
  aspect-ratio: 2560 / 1664;
  border: 1px solid rgba(210, 232, 255, 0.14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-top: 1px solid rgba(210, 232, 255, 0.14);
  border-bottom: 1px solid rgba(210, 232, 255, 0.14);
  background: rgba(5, 13, 18, 0.6);
}

.feature-item {
  min-height: 260px;
  padding: 54px clamp(24px, 4.2vw, 58px);
  border-right: 1px solid rgba(210, 232, 255, 0.13);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 18%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.keyboard-icon {
  color: var(--cyan);
}

.search-icon {
  color: var(--blue);
}

.tune-icon {
  color: var(--green);
}

.keyboard-icon::before {
  position: absolute;
  inset: 15px 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
  content: "";
}

.keyboard-icon::after {
  position: absolute;
  inset: 20px 17px 21px;
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px);
  content: "";
}

.search-icon::before {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
}

.search-icon::after {
  position: absolute;
  left: 31px;
  top: 31px;
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
  content: "";
}

.tune-icon::before,
.tune-icon::after {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.tune-icon::before {
  top: 19px;
  box-shadow: 0 16px 0 currentColor;
}

.tune-icon::after {
  top: 15px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 17px 16px 0 -2px var(--bg), 17px 16px 0 0 currentColor;
}

.feature-item h2,
.showcase h2,
.download-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-item p,
.section-copy p,
.download-copy p {
  margin: 16px 0 0;
  color: rgba(226, 236, 248, 0.69);
  font-size: 17px;
  line-height: 1.56;
}

.feature-item p {
  max-width: 330px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 108px) 0;
  border-bottom: 1px solid rgba(210, 232, 255, 0.12);
}

.section-label {
  margin: 0 0 26px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-copy > p:not(.section-label) {
  max-width: 430px;
  font-size: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: #38c7ff;
  font-size: 17px;
  font-weight: 650;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 2560 / 1664;
  object-fit: cover;
}

.customize-showcase {
  grid-template-columns: minmax(260px, 0.66fr) minmax(500px, 0.96fr);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(235, 244, 253, 0.78);
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 850;
  content: "✓";
}

.settings-panel {
  align-self: stretch;
  min-height: 436px;
  padding: 27px 30px 22px;
  border: 1px solid rgba(219, 236, 255, 0.25);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 31, 0.85);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.panel-title {
  margin-bottom: 22px;
  color: #f5f9ff;
  font-size: 17px;
  font-weight: 720;
}

.settings-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  gap: 16px;
  color: rgba(238, 246, 255, 0.85);
  font-size: 15px;
}

.select-preview,
.shortcut-preview {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(221, 236, 255, 0.17);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(246, 251, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.select-preview::after {
  margin-left: auto;
  color: rgba(231, 239, 249, 0.62);
  content: "⌄";
}

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

.swatch {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.swatch.is-active {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.swatch.blue { background: var(--blue); }
.swatch.cyan { background: #27b9cf; }
.swatch.green { background: var(--green); }
.swatch.yellow { background: var(--yellow); }
.swatch.orange { background: var(--orange); }
.swatch.rose { background: var(--rose); }

.swatch.add {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(241, 248, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.slider-row {
  grid-template-columns: 170px minmax(100px, 1fr) 48px;
}

.slider-preview {
  position: relative;
  height: 24px;
}

.slider-preview::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0 42%, rgba(255, 255, 255, 0.16) 42% 100%);
  content: "";
}

.slider-preview span {
  position: absolute;
  top: 5px;
  left: 42%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.38);
}

.mono {
  color: rgba(228, 238, 249, 0.78);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  text-align: right;
}

.divider {
  height: 1px;
  margin: 24px 0 20px;
  background: rgba(210, 232, 255, 0.14);
}

.panel-help {
  margin: 4px 0 0 186px;
  color: rgba(226, 236, 248, 0.54);
  font-size: 12px;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 68px) 0;
}

.download-copy {
  display: flex;
  align-items: center;
  gap: 28px;
}

.app-icon {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  border-radius: 24px;
}

.app-icon img {
  width: 74px;
  height: 74px;
}

.download-copy p {
  margin-top: 6px;
  max-width: 390px;
}

.download-copy strong {
  color: var(--text);
  font-size: 22px;
}

.download-actions {
  display: grid;
  justify-items: stretch;
  gap: 14px;
  min-width: 310px;
}

.manage-license-link {
  justify-self: center;
  color: #38c7ff;
  font-size: 14px;
  font-weight: 660;
  line-height: 1.2;
}

.manage-license-link:hover {
  color: var(--text);
}

.system-note {
  color: rgba(226, 236, 248, 0.56);
  font-size: 14px;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 0 clamp(20px, 4.2vw, 58px);
  border-top: 1px solid rgba(210, 232, 255, 0.12);
  background: rgba(5, 12, 18, 0.58);
}

.site-footer nav {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-art {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .hero-shot {
    transform: none;
    clip-path: none;
  }

  .feature-strip,
  .showcase {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(210, 232, 255, 0.13);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .showcase,
  .customize-showcase {
    grid-template-columns: 1fr;
  }

  .settings-panel {
    min-height: 0;
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    font-size: 18px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .header-cta .icon {
    display: none;
  }

  .hero,
  .showcase,
  .download-panel {
    width: min(100% - 36px, var(--max));
  }

  .hero h1 {
    font-size: clamp(56px, 17vw, 84px);
  }

  .hero p {
    font-size: 22px;
  }

  .hero-actions,
  .download-actions {
    width: 100%;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
    min-width: 0;
  }

  .window-ghost {
    display: none;
  }

  .feature-item {
    padding: 40px 24px;
  }

  .settings-panel {
    padding: 22px;
  }

  .settings-row,
  .slider-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 8px 0;
  }

  .select-preview,
  .shortcut-preview,
  .swatches {
    width: 100%;
  }

  .panel-help {
    margin-left: 0;
  }

  .download-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p {
    font-size: 20px;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
