:root {
  color-scheme: dark;
  --bg: #121214;
  --panel: #19191c;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #fa9e40;
  --warm: #ff9f0a;
  --hot: #ff453a;
  --display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --ui: "Atkinson Hyperlegible", "Avenir Next", sans-serif;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 85% -5%, rgba(250, 158, 64, 0.13), transparent 70%),
    radial-gradient(50rem 30rem at 0% 20%, rgba(110, 80, 220, 0.1), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(250, 158, 64, 0.3);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 6px 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 560;
  font-synthesis: none;
}

h1 {
  font-size: clamp(3.4rem, 8.5vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 20, "opsz" 144, "wght" 560;
}

h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 20, "opsz" 96, "wght" 560;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 20, "opsz" 36, "wght" 560;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.wide {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Page header */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  font-size: 15px;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn:active {
  transform: none;
  background: #e4e4e7;
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
}

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

.gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease;
}

.gh:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.gh-mark {
  display: block;
  fill: currentColor;
}

/* Hero */

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.sub {
  max-width: 22em;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.35;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 1.4rem;
}

.fine {
  color: var(--muted);
  font-size: 0.875rem;
}

.hero .wide > .fine {
  margin-top: 1rem;
}

.hero-stage {
  display: flex;
  flex-direction: column;
}

.screen-hero {
  order: 1;
}

.hero-stage > noscript {
  order: 3;
}

.providers-band {
  order: 2;
  margin-top: 5.5rem;
}

.providers-title {
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 20, "opsz" 72, "wght" 560;
}

.providers-rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}

.providers-track {
  display: flex;
  width: max-content;
}

.providers-track.sliding {
  animation: providers-slide 56s linear infinite;
}

.providers {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3.6rem;
  margin: 0;
  padding: 0 1.8rem 0 0;
  list-style: none;
}

.providers li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.providers svg {
  display: block;
  width: 48px;
  height: 48px;
}

.providers svg path {
  fill: currentColor;
}

.providers svg path.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

@media (hover: hover) {
  .providers-track.sliding:hover {
    animation-play-state: paused;
  }

  .providers li:hover {
    color: var(--text);
  }
}

.providers-track:not(.sliding) .providers {
  flex-wrap: wrap;
  gap: 1.1rem 2.2rem;
  padding: 0;
}

.providers-rail:not(:has(.sliding)) {
  -webkit-mask-image: none;
  mask-image: none;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .providers-rail,
  .providers-track.sliding {
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
  }

  .providers {
    flex-wrap: wrap;
    gap: 1.1rem 2.2rem;
    padding: 0;
  }
}

@keyframes providers-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mac mockup */

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #1a1430;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 50px 120px -50px rgba(250, 158, 64, 0.35),
    0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

.screen-inner {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  container-type: inline-size;
  overflow: hidden;
  color: #fff;
  font-family: var(--mac);
  font-size: 13px;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, #ff9d4d 0%, rgba(255, 157, 77, 0) 55%),
    radial-gradient(80% 70% at 62% 78%, #b8406a 0%, rgba(184, 64, 106, 0) 65%),
    radial-gradient(90% 80% at 0% 100%, #3a2a8f 0%, rgba(58, 42, 143, 0) 62%),
    linear-gradient(160deg, #2b1a46, #160f2b);
}

.wall::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.light .wall {
  background:
    radial-gradient(110% 90% at 90% -10%, #ffd0a1 0%, rgba(255, 208, 161, 0) 55%),
    radial-gradient(80% 70% at 60% 80%, #f6b4c9 0%, rgba(246, 180, 201, 0) 65%),
    radial-gradient(90% 80% at 0% 100%, #a9b7ff 0%, rgba(169, 183, 255, 0) 62%),
    linear-gradient(160deg, #f3ecff, #e5ddf6);
}

.mb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 24px;
  padding: 0 10px 0 16px;
  background: rgba(22, 16, 34, 0.42);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  color: #fff;
  white-space: nowrap;
}

.light .mb {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

/* Menus that do not fit wrap onto a hidden second line, so none are cut mid-word. */
.mb-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  height: 24px;
  min-width: 0;
  overflow: hidden;
  line-height: 24px;
}

.mb-left b {
  font-weight: 700;
}

.mb-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.si {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
  transition: background 120ms ease;
}

.si.active {
  background: rgba(255, 255, 255, 0.22);
}

.light .si.active {
  background: rgba(0, 0, 0, 0.12);
}

.si-r {
  display: flex;
  align-items: center;
  gap: 6px;
}

.glyph {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.glyph path.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.si-v,
.clock {
  font-variant-numeric: tabular-nums;
}

.sys svg {
  display: block;
  height: 14px;
  width: auto;
  fill: currentColor;
}

.clock-date {
  margin-right: 0.45em;
}

@container (max-width: 820px) {
  .mb-left span:nth-of-type(n + 4) {
    display: none;
  }
}

@container (max-width: 640px) {
  .mb-left span,
  .sys-search,
  .sys-battery {
    display: none;
  }
}

@container (max-width: 470px) {
  .mb-left,
  .sys,
  .clock-date {
    display: none;
  }
}

/* Popover: always dark, like the app. */

.pop {
  --ax: 50%;
  position: absolute;
  top: 32px;
  left: 0;
  z-index: 3;
  width: 320px;
  padding: 16px;
  border-radius: 11px;
  background: #1c1c1f;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.13),
    0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: var(--ax) 0;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.pop.open {
  opacity: 1;
  transform: none;
}

.pop-arrow {
  position: absolute;
  top: -6px;
  left: var(--ax);
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  background: #1c1c1f;
  border-top-left-radius: 2px;
  box-shadow: -1px -1px 0 0 rgba(255, 255, 255, 0.13);
  transform: rotate(45deg);
}

.pop-body {
  position: relative;
}

.pp-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.pp-gear {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.pp-gear.on {
  opacity: 1;
}

.pp-kicker {
  margin: 8px 0 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.pp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
}

.pp-check i {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
}

.pp-check.on i {
  background: #0a84ff;
  border-color: #0a84ff;
}

.pp-check.on i::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(40deg);
}

.pp-check .glyph {
  width: 14px;
  height: 14px;
}

.pp-empty {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.pp-sec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
}

.pp-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.pp-head .glyph {
  width: 16px;
  height: 16px;
}

.pp-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.spin {
  width: 12px;
  height: 12px;
  border: 1.6px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.m {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-t {
  font-size: 11px;
  font-weight: 500;
}

.m-c {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.m-track {
  --c: #fff;
  position: relative;
  height: 10px;
}

.m-track.warm {
  --c: var(--warm);
}

.m-track.hot {
  --c: var(--hot);
}

.m-track::before,
.m-fill {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  height: 4px;
  border-radius: 2px;
}

.m-track::before {
  right: 0;
  background: rgba(255, 255, 255, 0.16);
}

.m-fill {
  width: calc((100% - 10px) * var(--f));
  background: var(--c);
}

.m-knob {
  position: absolute;
  top: 0;
  left: calc((100% - 10px) * var(--f));
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}

.pp-div {
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
}

.pp-div-foot {
  margin-bottom: 8px;
}

.pp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.pp-actions {
  display: flex;
  gap: 6px;
}

.pp-btn {
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
}

.lamp {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 500;
}

.lamp i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: lamp-pulse 0.8s ease-in-out infinite alternate;
}

.lamp-degraded i { background: #ffe14a; }
.lamp-down i { background: #ff4d4d; }

@keyframes lamp-pulse {
  from { opacity: 1; }
  to { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  .lamp i { animation: none; }
}

.pointer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 20px;
  height: 27px;
  margin: -2px 0 0 -2px;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.pop.grow .m-fill {
  animation: fill-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both;
}

.pop.grow .m-knob {
  animation: knob-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both;
}

@keyframes fill-in {
  from {
    width: 0;
  }
}

@keyframes knob-in {
  from {
    left: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Try it */

.try {
  padding: 4rem 0 3rem;
}

.studio {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
}

.controls {
  padding: 1.4rem 1.4rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.controls fieldset {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
}

.controls legend {
  margin-bottom: 0.6rem;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row {
  --c: var(--text);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 0 8px;
  border-top: 1px solid var(--line);
}

.row[data-heat="warm"] {
  --c: var(--warm);
}

.row[data-heat="hot"] {
  --c: var(--hot);
}

.row output {
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.sw {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sw input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.sw-ui {
  position: relative;
  flex: none;
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 160ms ease;
}

.sw-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms cubic-bezier(0.3, 0.9, 0.3, 1.2);
}

.sw input:checked + .sw-ui {
  background: var(--accent);
}

.sw input:checked + .sw-ui::after {
  transform: translateX(14px);
}

.sw input:focus-visible + .sw-ui {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.row-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.row-name .glyph {
  width: 16px;
  height: 16px;
}

.row input[type="range"] {
  --p: 0%;
  grid-column: 1 / -1;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 160ms ease;
}

.row.off input[type="range"],
.row.off output {
  opacity: 0.35;
}

.row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--c) var(--p), rgba(255, 255, 255, 0.16) var(--p));
}

.row input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.25);
  -webkit-appearance: none;
  appearance: none;
}

.row input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.row input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--c);
}

.row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--c);
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.seg label {
  position: relative;
}

.seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.seg span {
  display: block;
  padding: 6px 16px;
  border-radius: 7px;
  font-size: 14px;
  cursor: pointer;
  transition: background 140ms ease;
}

.seg input:checked + span {
  background: rgba(255, 255, 255, 0.15);
}

.seg input:focus-visible + span {
  outline: 2px solid var(--text);
}

.flags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.flag input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--dot);
}

.flag-degraded { --dot: #ffe14a; }
.flag-down { --dot: #ff5a5a; }

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.presets button {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.presets button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.preview {
  position: sticky;
  top: 80px;
}

/* Install */

.install {
  padding: 5.5rem 0 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1.1rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.steps p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 15px;
}

.art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(90% 90% at 80% 0%, rgba(250, 158, 64, 0.22), transparent 60%),
    radial-gradient(90% 90% at 0% 100%, rgba(90, 70, 200, 0.25), transparent 60%),
    #1e1a2c;
  font-family: var(--mac);
}

.dmg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.dmg span {
  padding: 1px 6px;
  border-radius: 4px;
  background: #0a63d8;
}

.art-drag {
  gap: 14px;
}

.drag-arrow {
  width: 70px;
  color: rgba(255, 255, 255, 0.5);
}

.folder {
  width: 64px;
}

.sheet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 78%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #2a2a2e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.4);
  font-size: 11px;
}

.sheet-title {
  font-size: 13px;
  font-weight: 700;
}

.sheet-line {
  color: rgba(255, 255, 255, 0.65);
}

.sheet-btn {
  align-self: flex-end;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 5px;
  background: #0a84ff;
  font-weight: 600;
}

.warn {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.2rem 1.4rem 1.3rem;
  border: 1px solid rgba(255, 159, 10, 0.35);
  border-radius: 18px;
  background: rgba(255, 159, 10, 0.08);
}

.warn-icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  color: var(--warm);
}

.warn p,
.warn ol {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 15px;
}

.warn ol {
  padding-left: 1.3rem;
}

.warn li + li {
  margin-top: 0.25rem;
}

.warn li::marker {
  color: var(--warm);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .drag-app {
    animation: drag 2.6s cubic-bezier(0.5, 0, 0.3, 1) infinite;
  }

  .sheet-btn {
    animation: nudge 2.6s ease-in-out infinite;
  }

  .hero-head > * {
    animation: rise 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-head > :nth-child(2) {
    animation-delay: 120ms;
  }

  .screen-hero {
    animation: rise 800ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
  }
}

@keyframes drag {
  0%,
  12% {
    transform: none;
    opacity: 1;
  }
  55% {
    transform: translateX(150px) scale(0.8);
    opacity: 0;
  }
  56% {
    transform: none;
    opacity: 0;
  }
  80%,
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes nudge {
  0%,
  60%,
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
  }
  75% {
    box-shadow: 0 0 0 6px rgba(10, 132, 255, 0.35);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot .brand {
  color: var(--text);
}

.foot-links {
  margin-left: auto;
  display: flex;
  gap: 1.25rem;
}

.foot a {
  color: var(--text);
  text-underline-offset: 0.18em;
}

#try,
#install {
  scroll-margin-top: 64px;
}

@media (max-width: 980px) {
  .studio {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview {
    position: static;
    order: -1;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .wide {
    width: calc(100% - 2rem);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .sub {
    font-size: 1.12rem;
  }

  .screen {
    border-radius: 12px;
  }
}

@media (pointer: coarse) {
  .btn-sm,
  .gh {
    height: 38px;
  }
}
