/* The walkthrough (card N14; the site's look, N14-9 and N14-10). Its own file: the security policy allows no inline
   style, and nothing here loads anything. The opening is one dark look in both themes; the parts follow the visitor's
   light or dark setting. */
:root {
  color-scheme: light dark;
  --night: #0a1020;
  --night-2: #0f1830;
  --night-line: rgba(148, 197, 255, 0.09);
  --night-fg: #eef3fb;
  --night-muted: #a7b3c7;
  --sky: #38bdf8;
  --sky-soft: #7dd3fc;
  --teal: #2dd4bf;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --fg: #0e1626;
  --muted: #4c5870;
  --accent: #0b6fb3;
  --rule: #dbe2ec;
  --device: linear-gradient(160deg, #2a3550, #121a2c);
  --shadow: 0 1px 2px rgba(14, 22, 38, 0.06), 0 12px 32px -12px rgba(14, 22, 38, 0.18);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b111d;
    --surface: #141d2f;
    --fg: #e8eef8;
    --muted: #a3afc4;
    --accent: #7dd3fc;
    --rule: #233049;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}
html {
  background: var(--night);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
.wrap {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.mono {
  font-family: var(--mono);
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
h1, h2, h3 {
  text-wrap: balance;
}
img {
  max-width: 100%;
}

/* the opening */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 36px;
  background: radial-gradient(120% 80% at 80% 0%, var(--night-2) 0%, var(--night) 60%);
  color: var(--night-fg);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(90% 80% at 70% 20%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 80% at 70% 20%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  width: 40rem;
  height: 40rem;
  right: -12rem;
  top: -16rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.26), rgba(45, 212, 191, 0.08) 55%, transparent 75%);
}
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  padding-block: 14px;
}
.brand {
  margin: 0;
  font-weight: 700;
  font-size: 1.0625rem;
}
.brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--night-fg);
  text-decoration: none;
}
.brand img {
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.top__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.top__nav a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  color: var(--night-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.top__nav a:hover {
  color: var(--night-fg);
}
.hero__body {
  padding-block: 44px 0;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--sky-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow .mono {
  color: var(--teal);
  margin-right: 4px;
}
.hero h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.shine {
  background: linear-gradient(92deg, var(--sky-soft), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 62ch;
  margin: 0 0 28px;
  color: var(--night-muted);
  font-size: 1.0625rem;
}
.index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--night-fg);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.index a:hover {
  background: rgba(255, 255, 255, 0.09);
}
.index .mono {
  color: var(--teal);
  font-size: 0.8125rem;
}

/* the parts */
.part {
  padding-top: 64px;
  scroll-margin-top: 16px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8125rem;
}
.part h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.part__lede {
  max-width: 64ch;
  margin: 0 0 22px;
  color: var(--muted);
}
.player {
  margin: 0;
  max-width: 860px;
}
.player video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 60px -28px rgba(10, 16, 32, 0.6), 0 0 0 1px var(--rule);
}
.player figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.steps {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.words {
  min-width: 0;
}
.step h3 {
  margin: 2px 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
}
.step p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
}
.step .num {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
}
.shot {
  display: flex;
  justify-content: center;
  min-width: 0;
  margin: 0;
}
.shot img {
  display: block;
  height: auto;
}
.shot--phone img {
  width: 280px;
  max-width: 100%;
  padding: 8px;
  border-radius: 34px;
  background: var(--device);
  box-shadow: 0 24px 48px -24px rgba(10, 16, 32, 0.7);
  box-sizing: border-box;
}
.shot--desk {
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 48px -28px rgba(10, 16, 32, 0.55);
}
.shot--desk::before {
  content: "• • •";
  display: block;
  padding: 6px 12px;
  background: #1a2336;
  color: #6b7a96;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.shot--desk img {
  width: 100%;
}

/* the foot */
.foot {
  margin-top: 72px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot p {
  max-width: 72ch;
  margin: 0 0 8px;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.foot__links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
  }
  .shot--phone img {
    width: min(260px, 100%);
  }
}
