/* Colors follow the shipped Sky icon: background #5AB4FF, ink #1B6AD8. */
:root {
  color-scheme: light dark;
  --sky: #5ab4ff;
  --sky-soft: #bfe3ff;
  --ink-blue: #1b6ad8;
  --accent: var(--ink-blue);
  --page: #f5f9ff;
  --surface: #ffffff;
  --text: #0b1a2e;
  --muted: #52627a;
  --line: rgba(27, 106, 216, 0.14);
  --key: #ffffff;
  --key-edge: rgba(11, 26, 46, 0.16);
  --stage: linear-gradient(160deg, #d8eeff 0%, #8ecfff 48%, #3f8ff0 100%);
  --shadow: 0 30px 80px -30px rgba(27, 106, 216, 0.45);
  --fewer-violet: #5938ff;
  --fewer-violet-light: #765cff;
  --section: min(1160px, calc(100% - 40px));
  --radius: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: var(--sky);
    --page: #07111f;
    --surface: #0d1b2e;
    --text: #eef5ff;
    --muted: #9ab0cc;
    --line: rgba(90, 180, 255, 0.16);
    --key: #16273e;
    --key-edge: rgba(238, 245, 255, 0.18);
    --stage: linear-gradient(160deg, #1d4f8f 0%, #123a70 45%, #0a1f3d 100%);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

kbd {
  display: inline-block;
  min-width: 1.7em;
  margin: 0 0.1em;
  padding: 0.05em 0.45em;
  border: 1px solid var(--key-edge);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--key);
  color: var(--text);
  font: 600 0.82em/1.5 -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  vertical-align: 0.08em;
}

.section { width: var(--section); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.site-header nav { display: flex; gap: 24px; margin-left: auto; }
.site-header nav a { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
.site-header nav a:hover { color: var(--text); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 38px; padding: 0 16px; background: var(--accent); color: #fff; font-size: 0.92rem; }
.button-store { background: #000; color: #fff; padding: 0 24px 0 20px; }
.button-store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.05rem; text-align: left; }
.button-store small { font-size: 0.68rem; font-weight: 500; opacity: 0.85; }
.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 8px 24px -16px rgba(27, 106, 216, 0.5);
}
@media (prefers-color-scheme: dark) {
  .button-small { color: #04203f; }
  .button-store { background: #fff; color: #000; }
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--sky) 26%, transparent), transparent 70%);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-icon { width: 128px; margin-bottom: 28px; filter: drop-shadow(0 18px 30px rgba(27, 106, 216, 0.35)); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.lede { max-width: 640px; margin: 24px 0 34px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.availability { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 25%, transparent); }

/* Screenshot stage: a desktop-like gradient behind the real overlay */
.stage {
  margin: 0;
  padding: clamp(12px, 2.5vw, 32px);
  border-radius: var(--radius);
  background: var(--stage);
  box-shadow: var(--shadow);
}
.stage-hero { margin-top: 56px; padding: clamp(18px, 5vw, 72px); }

/* Sections */
.video-section, .features, .customize, .details, .faq { padding-top: 120px; }
.section-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.section-heading > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }

/* Video placeholder */
.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--stage);
  box-shadow: var(--shadow);
}
.video-frame video, .video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder img {
  position: absolute;
  inset: 8% 12%;
  width: 76%;
  height: 84%;
  object-fit: contain;
  filter: blur(2px) saturate(0.9);
  opacity: 0.6;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(4, 32, 63, 0.5);
}
.play {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-blue);
  box-shadow: 0 16px 40px -12px rgba(4, 32, 63, 0.6);
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 96px;
}
.feature-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-reverse .feature-copy { order: 2; }
.feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Light and dark comparison. --t is the split from 0 to 1 across the screenshot, so the backdrop
   stop adds the padding to line up with the clipped image. */
.compare {
  --t: 0.5;
  --pad: clamp(12px, 3vw, 40px);
  margin: 0 0 16px;
  padding: var(--pad) var(--pad) 20px;
  border-radius: var(--radius);
  background: linear-gradient(
    90deg,
    #bfe3ff 0%,
    #5ab4ff calc(var(--pad) + (100% - 2 * var(--pad)) * var(--t)),
    #123a70 calc(var(--pad) + (100% - 2 * var(--pad)) * var(--t)),
    #0a1f3d 100%
  );
  box-shadow: var(--shadow);
}
.compare-stack { position: relative; }
.compare-stack img { width: 100%; }
.compare-dark { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(var(--t) * 100%)); }
.compare-handle {
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: calc(var(--t) * 100%);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(4, 32, 63, 0.4);
  pointer-events: none;
}
.compare-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-blue);
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px -8px rgba(4, 32, 63, 0.6);
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-stack:has(.compare-range:focus-visible) .compare-handle::after { outline: 3px solid var(--sky); outline-offset: 2px; }
.compare-label {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
}
.compare-label-light { background: rgba(255, 255, 255, 0.92); color: var(--ink-blue); }
.compare-label-dark { background: rgba(4, 16, 32, 0.8); color: #fff; }
.compare figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: #fff;
  font-size: 0.92rem;
  text-align: center;
  text-shadow: 0 1px 8px rgba(4, 32, 63, 0.6);
}

/* Layout cards */
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.layout-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.layout-card picture {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--stage);
}
.layout-card img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}
.layout-card figcaption { padding: 16px 8px 6px; color: var(--muted); font-size: 0.95rem; }
.layout-card strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 1.15rem; }

/* Small features */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-grid li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.detail-grid h3 { margin: 18px 0 8px; font-size: 1.2rem; letter-spacing: -0.01em; }
.detail-grid p { color: var(--muted); font-size: 0.98rem; }
.detail-wide { grid-column: span 2; }
.detail-keys { display: flex; gap: 6px; min-height: 36px; align-items: center; }
.detail-keys kbd { display: inline-flex; align-items: center; justify-content: center; height: 2.1em; padding: 0 0.6em; font-size: 0.95rem; }
.detail-keys kbd:has(svg) { padding: 0 0.45em; }
.detail-keys kbd svg { display: block; width: 1.45em; height: 1.45em; }
.detail-shot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.detail-shot picture { display: block; padding: 8px; border-radius: 14px; background: var(--stage); }
.detail-shot h3 { margin-top: 0; }

.detail-performance { background: linear-gradient(160deg, var(--sky), var(--ink-blue)) !important; border: 0 !important; color: #fff; }
.detail-performance h3 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.detail-performance p { color: rgba(255, 255, 255, 0.88); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 16px; }
.stats div { padding: 16px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.16); text-align: center; }
.stats dt { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stats dt small { margin-left: 3px; font-size: 0.5em; font-weight: 600; opacity: 0.85; }
.stats dd { margin: 8px 0 0; font-size: 0.85rem; opacity: 0.9; }
.detail-performance .footnote { font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
@media (prefers-color-scheme: dark) {
  .detail-performance { background: linear-gradient(160deg, #1d4f8f, #0f2d57) !important; }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Closing */
.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 120px;
  padding: 72px 24px;
  border-radius: 36px;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, color-mix(in srgb, var(--sky) 30%, transparent), transparent 75%), var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.closing img { width: 112px; margin-bottom: 22px; filter: drop-shadow(0 16px 26px rgba(27, 106, 216, 0.35)); }
.closing h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.closing > p { margin: 14px 0 30px; color: var(--muted); }

/* Footer with the Fewer Steps mark: five dark steps and one violet step */
.site-footer { margin-top: 96px; padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; color: var(--muted); font-size: 0.92rem; }
.maker { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.maker span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.maker small { color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.copyright { margin-left: auto; }
.fewer-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  width: 30px;
  height: 30px;
}
.fewer-mark i { border-radius: 3px; background: linear-gradient(145deg, #202329, #0e1013); }
.fewer-mark i:nth-child(4) { grid-column: 1; grid-row: 2; }
.fewer-mark i:nth-child(5) { grid-column: 2; grid-row: 2; }
.fewer-mark i:nth-child(6) { grid-column: 1; grid-row: 3; background: linear-gradient(145deg, var(--fewer-violet-light), var(--fewer-violet)); }
@media (prefers-color-scheme: dark) {
  .fewer-mark i { background: linear-gradient(145deg, #f1f2f5, #c9ccd3); }
}

/* Small screens */
@media (max-width: 860px) {
  .feature, .feature-reverse { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feature-reverse .feature-copy { order: 0; }
  .detail-grid, .layout-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding-top: 48px; }
  .detail-grid, .layout-grid { grid-template-columns: 1fr; }
  .detail-wide { grid-column: auto; }
  .detail-shot { grid-template-columns: 1fr; }
  .compare figcaption > span:not(.compare-label) { display: none; }
  .video-section, .features, .customize, .details, .faq { padding-top: 88px; }
  .copyright { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary::after { transition: none; }
}

/* Lightbox for screenshots shown below their full size */
.zoomable { cursor: zoom-in; }
.lightbox {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 16, 32, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: 94vh; object-fit: contain; cursor: zoom-out; }
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-blue);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(4, 32, 63, 0.6);
}
