/* Hueshot — hueshot.app
   Plain CSS, no build step. Colors and type follow the App Store screenshots. */

:root {
  --ink: #17151F;
  --ink-75: rgba(23, 21, 31, .78);
  --ink-eyebrow: rgba(23, 21, 31, .68);
  --line: rgba(23, 21, 31, .12);
  --card: rgba(255, 255, 255, .62);
  --shadow: 0 40px 80px rgba(60, 20, 90, .28);
  --shadow-sm: 0 18px 40px rgba(60, 20, 90, .18);
  --spectrum: linear-gradient(100deg, #FF5C8A, #B65CFF 55%, #4D7CFF);
  --focus: #4D2BD9;
  --radius: 24px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* The gradient sits on its own layer pinned to the screen, so every screenful shows the
   whole range. (iOS Safari ignores background-attachment: fixed, which used to stretch
   the gradient down the whole page and leave phones on its pale yellow top.) */
html { background: #D9C2FF; }
body::before {
  content: ""; position: fixed; z-index: -1; inset: 0; min-height: 100lvh; pointer-events: none;
  background-image:
    radial-gradient(900px 600px at 15% 8%, rgba(255, 255, 255, .75), transparent 70%),
    linear-gradient(125deg, #FFE9B8, #FFC9D6 25%, #F5B8F0 50%, #C9B8FF 75%, #B6DEFF);
}
/* Phones and narrow windows: a tall screen turns the diagonal into top-to-bottom, so lead
   with the purples and blues, and keep the warm colors as soft accents. */
@media (max-width: 860px) {
  body::before {
    background-image:
      radial-gradient(70% 38% at 0% 0%, rgba(255, 201, 214, .9), transparent 70%),
      radial-gradient(60% 30% at 100% 62%, rgba(245, 184, 240, .75), transparent 70%),
      radial-gradient(80% 26% at 50% 4%, rgba(255, 255, 255, .5), transparent 70%),
      linear-gradient(170deg, #E9C4F5, #C9B8FF 40%, #B9C6FF 70%, #B6DEFF);
  }
}

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

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: #B65CFF; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none;
}
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 6px 12px rgba(60, 20, 90, .2)); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-weight: 650; font-size: .95rem; text-decoration: none;
}
.site-nav a:hover { background: rgba(255, 255, 255, .55); }
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, .7); }
.site-nav .store-soon.sm { margin-left: 8px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; white-space: nowrap; }

main { flex: 1; }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-eyebrow);
}

.display {
  margin: 0;
  font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1.0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.display em, .h2 em {
  font-style: italic;
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .08em; /* keeps the italic overhang from being clipped */
}

.h2 {
  margin: 0;
  font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; color: var(--ink-75);
}

.kbd {
  display: inline-block;
  font: inherit; font-weight: 700; font-style: normal; font-size: .9em; line-height: 1.25;
  padding: 1px 10px; margin: 0 1px; border-radius: 9px; white-space: nowrap;
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(23, 21, 31, .1);
}

/* ---------- Hero ---------- */

.hero { padding: 56px 0 80px; text-align: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 52px; }
.hero .copy { max-width: 760px; }
.hero .display { font-size: clamp(2.7rem, 7vw, 5.4rem); }
.hero .lead { max-width: 34ch; margin-left: auto; margin-right: auto; }
.hero .cta { justify-content: center; }
.hero .media { width: 100%; max-width: 1000px; }
.hero-logo { width: 88px; height: 88px; margin-bottom: 26px; filter: drop-shadow(0 14px 26px rgba(60, 20, 90, .22)); }

.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta .meta { margin: 0; font-size: .95rem; color: var(--ink-75); }

/* Placeholder until the app is live. Replace with Apple's official badge (see DEPLOY.md). */
.store-soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
}
.store-soon small { display: block; font-weight: 500; font-size: .78rem; opacity: .8; }
.store-soon svg { width: 22px; height: 22px; flex: none; }
/* A live store link (Elgato Marketplace) and a not-yet-available item next to it. */
a.store-link { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.store-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(60,20,90,.22); }
a.store-link:focus-visible { outline: 3px solid #4D7CFF; outline-offset: 3px; }
.store-pending { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(23,21,31,.12); }
@media (prefers-reduced-motion: reduce) { a.store-link { transition: none; } a.store-link:hover { transform: none; } }

/* Official badge, once added. Apple asks for clear space around it of at least ¼ of its height. */
.store-badge { display: inline-block; padding: 0; line-height: 0; border-radius: 10px; }
.store-badge img { height: 54px; width: auto; }

.shot {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(23, 21, 31, .06);
}
.shot img { width: 100%; }

.window { filter: drop-shadow(0 30px 50px rgba(60, 20, 90, .18)); }
/* The window captures already include a macOS shadow, so they sit straight on the background. */

/* ---------- Picker demo (js/picker.js) ---------- */

.stage { position: relative; }
.stage canvas { display: block; width: 100%; aspect-ratio: 1600 / 979; cursor: none; touch-action: pan-y; }
.stage canvas:focus-visible { outline: none; }
.stage:has(canvas:focus-visible) { outline: 3px solid var(--focus); outline-offset: 5px; }
.stage.live img { display: none; }

.loupe, .bubble { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.loupe {
  width: 124px; height: 124px; margin: -62px 0 0 -62px; border-radius: 50%;
  padding: 9px; background: var(--c, #8C6BFF);
  box-shadow: 0 10px 26px rgba(30, 10, 60, .35), inset 0 0 0 1px rgba(255, 255, 255, .35);
  transition: background-color .12s;
}
.loupe canvas { width: 100%; height: 100%; border-radius: 50%; display: block; cursor: none; aspect-ratio: 1; box-shadow: 0 0 0 3px #fff; }
.bubble {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 8px 14px 8px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 12px 30px rgba(60, 20, 90, .25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .8rem; line-height: 1.15; white-space: nowrap;
}
.bubble i { width: 30px; height: 30px; border-radius: 8px; background: var(--c, #8C6BFF); box-shadow: inset 0 0 0 1px rgba(23, 21, 31, .12); }
.bubble b { display: block; font-family: var(--mono); font-size: .95rem; font-weight: 700; }
.bubble span { color: var(--ink-75); font-weight: 600; }
.bubble.pop { animation: pop .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { scale: .7; } 100% { scale: 1; } }
.stage.idle .loupe, .stage.idle .bubble { transition: none; }
.stage.off .loupe, .stage.off .bubble { opacity: 0; }
.try { margin: 18px 0 0; font-size: .95rem; color: var(--ink-75); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .bubble.pop { animation: none; } }

.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Your picks */
.picks { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.picks-label { margin: 0; font-size: .9rem; font-weight: 700; color: var(--ink-75); }
.picks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pk {
  display: block; width: 34px; height: 34px; padding: 0; border-radius: 10px; cursor: pointer;
  background: var(--c); border: 1px solid rgba(23, 21, 31, .14);
  box-shadow: 0 6px 14px rgba(60, 20, 90, .16), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .15s;
}
.pk:hover { transform: translateY(-2px); }
.pk.new { animation: drop .45s cubic-bezier(.3, 1.6, .5, 1); }
.pk.tap { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes drop { 0% { transform: translateY(-14px) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* The headline takes on the picked color (js/picker.js sets --g1 to --g3). */
@property --g1 { syntax: '<color>'; inherits: true; initial-value: #FF5C8A; }
@property --g2 { syntax: '<color>'; inherits: true; initial-value: #B65CFF; }
@property --g3 { syntax: '<color>'; inherits: true; initial-value: #4D7CFF; }
.hero .display em {
  background-image: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  transition: --g1 .7s, --g2 .7s, --g3 .7s;
}

/* The ⌃⌘C keycap presses down with each pick. */
.kbd.press, .wd-key.press { animation: keypress .4s ease-out; }
@keyframes keypress {
  0%, 100% { transform: none; }
  30% { transform: translateY(2px); box-shadow: 0 0 0 rgba(23, 21, 31, .1); background: #fff; }
}

/* Copy it your way: values are buttons once the script runs. */
.fv {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: 6px;
  font: inherit; color: inherit; overflow-wrap: anywhere; position: relative; padding-right: 64px;
}
.fv:hover { color: var(--ink); }
.fv:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.fv::after {
  content: "Copy"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  font-family: var(--font); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px; background: rgba(23, 21, 31, .07); color: var(--ink-75);
  opacity: 0; transition: opacity .15s;
}
.fv:hover::after, .fv:focus-visible::after { opacity: 1; }
.fv.ok::after { content: "Copied"; opacity: 1; background: var(--ink); color: #fff; animation: fade-out 1.6s forwards; }
@keyframes fade-out { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.formats.changed dd { animation: flashrow .9s ease-out; }
@keyframes flashrow { 0% { background: rgba(255, 255, 255, .95); } 100% { background: transparent; } }
.formats-note { margin: 14px 0 0; font-size: .95rem; color: var(--ink-75); }

@media (prefers-reduced-motion: reduce) {
  .kbd.press, .pk.new, .pk.tap, .formats.changed dd { animation: none; }
  .hero .display em { transition: none; }
}

/* ---------- Motion: the hero arrives, then sections rise in as they scroll into view ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero .copy > *, .hero .media { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .copy > :nth-child(2) { animation-delay: .06s; }
  .hero .copy > :nth-child(3) { animation-delay: .12s; }
  .hero .copy > :nth-child(4) { animation-delay: .2s; }
  .hero .copy > :nth-child(5) { animation-delay: .28s; }
  .hero .media { animation-delay: .36s; animation-duration: 1s; }
  .closing .hero-logo { animation-name: rise-logo; }

  @supports (animation-timeline: view()) {
    .reveal, .steps li, .feature .copy, .feature .media, .facts li, .closing .wrap > * {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 28%;
    }
    .feature .media { animation-name: rise-media; animation-range: entry 10% cover 35%; }
    .steps li:nth-child(2), .facts li:nth-child(2) { animation-range: entry 10% cover 32%; }
    .steps li:nth-child(3), .facts li:nth-child(3) { animation-range: entry 15% cover 36%; }
    .facts li:nth-child(4) { animation-range: entry 20% cover 40%; }
    .facts li:nth-child(5) { animation-range: entry 25% cover 44%; }
    .feature .media img.window, .feature .media .shot, .feature .media .wd { animation: float linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes rise-media { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rise-logo { 0% { opacity: 0; transform: translateY(20px) scale(.6) rotate(-14deg); } 70% { transform: scale(1.06) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes float { from { translate: 0 30px; } to { translate: 0 -30px; } }

/* ---------- Welcome window demo (js/welcome.js) ----------
   A copy of the app's "Try it now" step, 520 × 452 points, scaled with the column. */

.wd { container-type: inline-size; width: 100%; max-width: 500px; margin: 0 auto; }
.wd-window {
  --u: calc(100cqw / 520);
  position: relative; aspect-ratio: 520 / 452; overflow: hidden;
  background: #fff; color: #1d1d1f; border-radius: calc(20 * var(--u));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 30px 60px rgba(60, 20, 90, .22), 0 8px 18px rgba(0, 0, 0, .08);
  font-family: var(--font); font-size: calc(15 * var(--u)); line-height: 1.2; font-weight: 400;
  -webkit-user-select: none; user-select: none;
}
.wd-lights { position: absolute; left: calc(16 * var(--u)); top: calc(16 * var(--u)); display: flex; gap: calc(8 * var(--u)); }
.wd-lights i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #e3e3e6; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.wd-lights i:first-child { background: #ff5f57; }
.wd-title, .wd-sub, .wd-swatches, .wd-status, .wd-dots { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; }
.wd-title { top: calc(104 * var(--u)); font-size: calc(27 * var(--u)); font-weight: 700; letter-spacing: -.01em; }
.wd-sub { top: calc(146 * var(--u)); gap: calc(7 * var(--u)); font-size: calc(18 * var(--u)); color: #86868b; }
.wd-key {
  display: inline-block; color: #1d1d1f; font-weight: 600; font-size: calc(17 * var(--u));
  padding: calc(2 * var(--u)) calc(8 * var(--u)); border-radius: calc(6 * var(--u));
  background: rgba(0, 0, 0, .035); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.wd-swatches { top: calc(193 * var(--u)); gap: calc(16 * var(--u)); }
.wd-sw { position: relative; width: calc(68 * var(--u)); height: calc(68 * var(--u)); border-radius: calc(12 * var(--u)); background: #7F77DD; }
.wd-sw:nth-child(2) { background: #ED93B1; }
.wd-sw:nth-child(3) { background: #5DCAA5; }
.wd-sw:nth-child(4) { background: #EF9F27; }
.wd-sw::after {
  content: ""; position: absolute; inset: calc(-5 * var(--u)); border-radius: calc(16 * var(--u));
  border: calc(2.5 * var(--u)) solid #1d1d1f; opacity: 0; scale: .9; transition: opacity .2s, scale .25s;
}
.wd-sw.on::after { opacity: 1; scale: 1; }
.wd-status { top: calc(286 * var(--u)); height: calc(40 * var(--u)); }
.wd-tip, .wd-copied { position: absolute; transition: opacity .25s; }
.wd-tip { font-size: calc(14 * var(--u)); color: #aeaeb2; }
.wd-copied {
  display: inline-flex; align-items: center; gap: calc(10 * var(--u)); white-space: nowrap;
  padding: calc(9 * var(--u)) calc(14 * var(--u)); border-radius: calc(10 * var(--u));
  background: #f0f0f2; font-size: calc(16 * var(--u)); opacity: 0;
}
.wd-copied code { font-family: var(--mono); font-size: .95em; }
.wd-check { position: relative; flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: #34c759; }
.wd-check::after {
  content: ""; position: absolute; left: 34%; top: 22%; width: 26%; height: 44%;
  border: solid #fff; border-width: 0 calc(2.4 * var(--u)) calc(2.4 * var(--u)) 0; rotate: 45deg;
}
.wd-check.pop { animation: pop .4s cubic-bezier(.3, 1.8, .5, 1); }
.wd-window.picked .wd-copied { opacity: 1; }
.wd-window.picked .wd-tip { opacity: 0; }
.wd-foot { position: absolute; left: calc(40 * var(--u)); right: calc(40 * var(--u)); top: calc(381 * var(--u)); height: calc(28 * var(--u)); display: flex; align-items: center; justify-content: space-between; }
.wd-back { color: #86868b; font-size: calc(16 * var(--u)); }
.wd-btn {
  display: inline-flex; align-items: center; height: 100%; padding: 0 calc(14 * var(--u)); border-radius: 999px;
  font-size: calc(16 * var(--u)); background: rgba(0, 0, 0, .07); color: #1d1d1f; transition: background-color .2s, color .2s;
}
.wd-window.picked .wd-btn { background: #3478f6; color: #fff; }
.wd-dots { top: calc(424 * var(--u)); gap: calc(7 * var(--u)); }
.wd-dots i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #d1d1d6; }
.wd-dots i.on { background: #1d1d1f; }
.wd-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wd-loupe {
  --lc: #fff; --cell: calc(64 * var(--u) / 9);
  position: absolute; left: 0; top: 0; width: calc(64 * var(--u)); height: calc(64 * var(--u));
  margin: calc(-32 * var(--u)) 0 0 calc(-32 * var(--u)); border-radius: 50%; pointer-events: none;
  background-color: var(--lc);
  background-image:
    repeating-linear-gradient(90deg, rgba(120, 120, 130, .28) 0 1px, transparent 1px var(--cell)),
    repeating-linear-gradient(0deg, rgba(120, 120, 130, .28) 0 1px, transparent 1px var(--cell));
  background-position: calc(50% - var(--cell) / 2) 0, 0 calc(50% - var(--cell) / 2);
  box-shadow: inset 0 0 0 calc(3 * var(--u)) #fff, 0 0 0 calc(6 * var(--u)) var(--lc), 0 0 0 calc(7 * var(--u)) rgba(0, 0, 0, .18), 0 calc(10 * var(--u)) calc(22 * var(--u)) rgba(0, 0, 0, .28);
  opacity: 0; transition: transform .95s cubic-bezier(.45, 0, .2, 1), opacity .25s, background-color .15s, box-shadow .15s;
}
.wd-loupe::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: var(--cell); height: var(--cell); translate: -50% -50%;
  box-shadow: 0 0 0 calc(1.5 * var(--u)) #fff, 0 0 0 calc(2.5 * var(--u)) rgba(0, 0, 0, .35);
}
.wd-loupe.show { opacity: 1; }
.wd-loupe.jump { transition: opacity .25s; }
.wd-loupe.click { animation: click .3s ease-out; }
@keyframes click { 40% { scale: .86; } 100% { scale: 1; } }

/* ---------- Steps ---------- */

.steps { padding: 8px 0 88px; }
.steps ol {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
  font-weight: 800; color: #fff; background: var(--spectrum);
}
.steps h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-75); }

/* ---------- Feature rows ---------- */

.feature { padding: 64px 0; }
.feature .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.feature.flip .copy { order: 2; }
.feature .media { display: flex; justify-content: center; }
.feature .media .shot { max-width: 470px; }
.feature .media .window { max-width: 520px; }

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 1.12rem; font-weight: 600; }
.ticks li::before {
  content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, #FF5C8A, #7B61FF);
  transform: translateY(-1px);
}

.formats {
  margin: 26px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.formats dt, .formats dd { margin: 0; padding: 10px 16px; border-top: 1px solid rgba(23, 21, 31, .07); }
.formats dt:first-of-type, .formats dt:first-of-type + dd { border-top: 0; }
.formats dt { font-weight: 800; font-size: .85rem; letter-spacing: .06em; }
.formats dd { font-family: var(--mono); font-size: .9rem; color: var(--ink-75); overflow-wrap: anywhere; }
.swatch {
  display: inline-block; width: .9em; height: .9em; border-radius: 4px; vertical-align: -1px; margin-right: 6px;
  background: var(--pick, #7B61FF); box-shadow: inset 0 0 0 1px rgba(23, 21, 31, .15);
  transition: background-color .3s;
}

/* ---------- Facts ---------- */

.facts { padding: 56px 0 24px; }
.facts ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.facts li {
  background: var(--card); border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px;
  padding: 18px 18px 20px; text-align: center;
}
.facts strong { display: block; font-size: 1.25rem; font-weight: 850; letter-spacing: -.01em; }
.facts span { display: block; margin-top: 2px; font-size: .92rem; color: var(--ink-75); }

/* ---------- Closing ---------- */

.closing { padding: 72px 0 96px; text-align: center; }
.closing .hero-logo { margin: 0 auto 24px; }
.closing .lead { max-width: 36ch; margin-left: auto; margin-right: auto; }
.closing .cta { justify-content: center; }
.later {
  max-width: 60ch; margin: 44px auto 0; font-size: .98rem; color: var(--ink-75);
}
.later.also { margin-top: 10px; }

/* ---------- Text pages (privacy, support) ---------- */

.doc { padding: 24px 0 88px; }
.doc .paper {
  max-width: 760px; margin: 0 auto;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.doc h1 {
  margin: 0 0 10px;
  font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.doc h1 em {
  font-style: italic; background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
}
.doc h2 { margin: 2.2em 0 .5em; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.doc h3 { margin: 1.6em 0 .3em; font-size: 1.08rem; font-weight: 750; }
.doc p, .doc li { color: rgba(23, 21, 31, .85); }
.doc p { margin: .6em 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .35em 0; }
.doc li::marker { color: #9B4DDB; font-weight: 700; }
.doc code {
  font-family: var(--mono); font-size: .9em;
  background: rgba(23, 21, 31, .06); padding: 1px 6px; border-radius: 6px;
}
.doc .effective { margin: 0 0 1.4em; font-weight: 700; color: var(--ink-75); }
.doc .summary {
  margin: 1.2em 0 0; padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 233, 184, .55), rgba(245, 184, 240, .45), rgba(182, 222, 255, .55));
}
.doc .release { margin-top: 2em; }
.doc .release + .release { padding-top: 1.4em; border-top: 1px solid var(--line); }
.doc .release h2 { margin: 0; }
.doc .release .when { margin: .2em 0 .8em; font-weight: 700; color: var(--ink-75); }
.doc .contact {
  margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line);
}


/* ---------- Footer ---------- */

.site-footer { padding: 28px 0 40px; font-size: .92rem; color: var(--ink-75); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  border-top: 1px solid rgba(23, 21, 31, .1); padding-top: 24px;
}
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { font-weight: 650; }

/* ---------- Stream Deck page ---------- */

.sd-hero { padding-bottom: 24px; }
.feature .media .shot:has(img[src*="streamdeck"]) { max-width: 520px; }
.sd-compare { padding-top: 56px; }

/* ---------- 404 ---------- */

.lost { padding: 72px 0 120px; text-align: center; }
.lost .lead { margin-left: auto; margin-right: auto; max-width: 34ch; }
.button {
  display: inline-block; margin-top: 30px; padding: 12px 22px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero { padding-top: 16px; }
  .hero .wrap, .feature .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature.flip .copy { order: 0; }
  .site-nav .wide { display: none; }
  .feature { padding: 48px 0; }
  .steps ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .site-header { padding: 16px 0; }
  .brand span { font-size: 1.1rem; }
  .site-nav a { padding: 8px 10px; }
  .site-nav .nav-privacy { display: none; }
  .site-nav .store-soon.sm { margin-left: 2px; padding: 7px 12px; }
  .loupe { width: 96px; height: 96px; margin: -48px 0 0 -48px; padding: 7px; }
  .hero-logo { width: 72px; height: 72px; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:last-child { grid-column: 1 / -1; }
  .formats { grid-template-columns: 1fr; }
  .formats dd { border-top: 0; padding-top: 0; }
}

@media (forced-colors: active) {
  .display em, .h2 em, .doc h1 em { color: CanvasText; background: none; }
}

@media print {
  body { background: #fff; }
  .site-nav, .skip { display: none; }
  .doc .paper { box-shadow: none; border: 0; }
}
