:root {
  color-scheme: light dark;

  --ink: #111318;
  --ink-muted: #565c69;
  --ink-faint: #6f7784;
  --accent: #2c55e8;
  --accent-hover: #1f43c9;
  --accent-ink: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #f4f6f9;
  --hairline: #e4e7ec;
  --selection: rgba(44, 85, 232, 0.22);
  --hud-surface: rgba(247, 248, 250, 0.78);
  --hud-edge: rgba(0, 0, 0, 0.09);
  --hud-shadow: 0 10px 28px rgba(16, 20, 32, 0.16), 0 1px 3px rgba(16, 20, 32, 0.1);
  --confirm: #28cd41;
  --pointer-fill: #000000;
  --pointer-edge: #ffffff;
  --stage-glow: radial-gradient(120% 90% at 72% 8%, rgba(94, 161, 255, 0.16), transparent 60%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edeff4;
    --ink-muted: #a0a7b6;
    --ink-faint: #767d8c;
    --accent: #83a8ff;
    --accent-hover: #a2beff;
    --accent-ink: #0c0e14;
    --surface: #0c0e14;
    --surface-sunken: #14171f;
    --hairline: #242833;
    --selection: rgba(131, 168, 255, 0.26);
    --hud-surface: rgba(38, 42, 52, 0.82);
    --hud-edge: rgba(255, 255, 255, 0.12);
    --hud-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
    --pointer-fill: #ffffff;
    --pointer-edge: #0c0e14;
    --stage-glow: radial-gradient(120% 90% at 72% 8%, rgba(44, 85, 232, 0.24), transparent 60%);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--accent-hover);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.022em;
  font-weight: 600;
}

.shell {
  width: min(100% - 2.5rem, 64rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Masthead */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

.wordmark img {
  width: 1.75rem;
  height: 1.75rem;
}

.masthead a {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.masthead a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2.75rem, 7vw, 4.5rem);
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  }
}

.hero h1 {
  margin: 0 0 1.125rem;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.lede {
  margin: 0 0 2rem;
  max-width: 32ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-muted);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.375rem;
  border-radius: 0.6875rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.button svg {
  width: 1.0625rem;
  height: 1.0625rem;
}

.actions .plain {
  font-size: 1rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.actions .plain:hover {
  color: var(--ink);
}

/* Separators trail their own item so a wrapped line never opens with one. */
.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  max-width: 32rem;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

.requirements li {
  white-space: nowrap;
}

.requirements li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
}

/* Hero stage: a miniature Mac screen showing the badge beside the pointer */

.stage {
  margin: 0;
}

.screen {
  position: relative;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--hairline);
  border-radius: 0.875rem;
  background: var(--surface-sunken) var(--stage-glow);
  overflow: hidden;
}

.menubar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.menubar__pill {
  width: 1rem;
  height: 0.3125rem;
  border-radius: 999px;
  background: var(--ink-faint);
  opacity: 0.35;
}

.menubar__mark {
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--ink);
  opacity: 0.85;
}

.menubar__clock {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
}

.desk {
  position: absolute;
  inset: 1.75rem 0 0;
}

.lines {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  padding: clamp(1.25rem, 4.5%, 2rem);
}

.lines span {
  height: 0.4375rem;
  border-radius: 999px;
  background: var(--ink-faint);
  opacity: 0.22;
}

.lines span:nth-child(1) {
  width: 76%;
}

.lines span:nth-child(2) {
  width: 88%;
}

.lines span:nth-child(3) {
  width: 52%;
  background: var(--selection);
  opacity: 1;
}

.lines span:nth-child(4) {
  width: 68%;
}

.cursor {
  position: absolute;
  left: 38%;
  top: 56%;
  width: 0;
  height: 0;
}

/* The app offsets the badge 12 points up and to the right of the pointer tip. */
.hud {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.533em;
  min-width: 8.8em;
  height: 3.467em;
  padding: 0 1.067em;
  border: 1px solid var(--hud-edge);
  border-radius: 0.8em;
  background: var(--hud-surface);
  box-shadow: var(--hud-shadow);
  font-size: clamp(0.6875rem, 1.9vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin: 0;
  animation: hud-enter 0.42s cubic-bezier(0.2, 0.72, 0.28, 1);
}

@supports (backdrop-filter: blur(1px)) {
  .hud {
    backdrop-filter: blur(18px) saturate(180%);
  }
}

.hud svg {
  width: 1.067em;
  height: 1.067em;
  color: var(--confirm);
}

@keyframes hud-enter {
  from {
    transform: translateY(0.375rem) scale(0.97);
  }
}

.pointer {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.375rem;
  height: auto;
}

.pointer path {
  fill: var(--pointer-fill);
  stroke: var(--pointer-edge);
  stroke-width: 1.1;
  stroke-linejoin: round;
}

.stage figcaption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: center;
}

/* Value propositions */

.points {
  display: grid;
  gap: 2.25rem;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 52rem) {
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

.points h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.0625rem;
}

.points p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.points article::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

/* Install */

.install {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 52rem) {
  .install {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 3rem;
  }
}

.install h2 {
  margin: 0;
  font-size: 1.0625rem;
}

.install ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.125rem;
  max-width: 40rem;
}

.install li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.install li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.0625rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.install li strong {
  color: var(--ink);
  font-weight: 600;
}

.install .note {
  margin: 0.5rem 0 0;
  padding-left: 2.25rem;
  max-width: 40rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

/* Colophon */

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.75rem 0 3rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

.colophon p {
  margin: 0;
}

.colophon a {
  color: var(--ink-muted);
  text-decoration: none;
}

.colophon a:hover {
  color: var(--ink);
}

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