/* doIT website: dark, like the desktop app. Motion is in motion.js; without it, or for a visitor
   who asks for reduced motion, everything is shown as it ends up. */
:root {
  --bg: #000;
  --bg-elev: #0e1014;
  --bg-elev-2: #171a21;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --primary: #3b82f6;
  --primary-hover: #2f6fe0;
  --primary-soft: rgba(59, 130, 246, 0.14);
  --primary-text: #8ab4ff;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --green: #34d399;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
[id] {
  scroll-margin-top: 64px;
}
a {
  color: var(--primary-text);
}
img {
  max-width: 100%;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
}
code.block {
  display: block;
  margin: 8px 0;
  padding: 10px 12px;
  overflow-x: auto;
  white-space: pre;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Type ---- */
.display {
  font-size: clamp(44px, 8.2vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0;
}
.headline {
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 700;
  margin: 0;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  color: var(--primary-text);
}
.lede {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  color: var(--muted);
  margin: 20px 0 0;
}
.kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-text);
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, var(--cyan), var(--violet), #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 10s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: 300% 0;
  }
}
.intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 72px;
}
.intro .lede {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
.more-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 19px;
  text-decoration: none;
}
.more-link:hover {
  text-decoration: underline;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
}
.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  color: var(--primary);
}
.nav nav {
  display: flex;
  gap: 26px;
}
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.nav nav a:hover {
  color: var(--text);
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--primary);
  padding: 5px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--primary-hover);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 150px 0 0;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}
.hero .lede {
  max-width: 40ch;
  margin: 26px auto 34px;
}
.hero-download {
  min-height: 110px;
  display: grid;
  justify-items: center;
}
.hero-download .buttons {
  justify-content: center;
}
.aurora {
  position: absolute;
  inset: -10% -20% auto;
  height: 1200px;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  animation: drift 20s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) {
  left: 4%;
  top: 4%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), transparent 62%);
}
.aurora i:nth-child(2) {
  right: 2%;
  top: -6%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.32), transparent 62%);
  animation-duration: 26s;
  animation-delay: -8s;
}
.aurora i:nth-child(3) {
  left: 30%;
  top: 26%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.24), transparent 62%);
  animation-duration: 32s;
  animation-delay: -14s;
}
@keyframes drift {
  from {
    transform: translate3d(-5%, -3%, 0) scale(1);
  }
  to {
    transform: translate3d(7%, 5%, 0) scale(1.18);
  }
}
.hero-stage {
  /* 0 at the top of the page, 1 once scrolled: motion.js sets it. Flat without it. */
  --p: 1;
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 72px auto 0;
  padding: 0 var(--gutter);
  perspective: 2200px;
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: 8% 10% -6%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.45), transparent);
  filter: blur(40px);
  opacity: calc(0.35 + var(--p) * 0.5);
}
.hero-window {
  position: relative;
  transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--p)) * 26deg)) scale(calc(0.86 + var(--p) * 0.14)) translateY(calc((1 - var(--p)) * 40px));
  will-change: transform;
}

/* ---- App window ---- */
.window {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(#1c2029, #14171d);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.window img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Stats ---- */
.stats {
  padding: 120px 0 40px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.stat {
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
}
.stat-value {
  margin: 0;
  font-size: clamp(60px, 9vw, 116px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #7c8494);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--muted);
}

/* ---- Tour ---- */
.tour {
  padding: 140px 0 40px;
}
.tour-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.6fr);
  gap: 64px;
}
.tour-step {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.6s var(--ease);
}
html.js .tour-step:not(.is-active) {
  opacity: 0.28;
}
.tour-step:first-child {
  min-height: 60vh;
  justify-content: flex-start;
  padding-top: 14vh;
}
.tour-step h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 10px 0 16px;
}
.tour-step p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.step-shot {
  display: none;
  margin-top: 28px;
}
.tour-stage {
  position: relative;
}
.tour-sticky {
  position: sticky;
  /* About half the window's height above the middle of the screen. */
  top: calc(50vh - min(18vw, 216px) - 30px);
}
.tour-screens {
  position: relative;
  aspect-ratio: 1440 / 900;
}
.tour-screens img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.7s var(--ease),
    transform 1.1s var(--ease);
}
.tour-screens img.is-active {
  opacity: 1;
  transform: none;
}
.tour-window {
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -40px rgba(59, 130, 246, 0.55);
}
.tour-dots {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}
.tour-dots button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition:
    width 0.45s var(--ease),
    background 0.45s;
}
.tour-dots button.is-active {
  width: 30px;
  background: var(--text);
}
/* Without scripts, and on narrow screens, each step shows its own screenshot. */
html:not(.js) .tour-stage {
  display: none;
}
html:not(.js) .step-shot {
  display: block;
}
html:not(.js) .tour-grid {
  grid-template-columns: minmax(0, 1fr);
}
html:not(.js) .tour-step {
  min-height: 0;
  padding: 48px 0;
}

/* ---- Statement ---- */
.statement {
  padding: 160px 0;
}
.scrub {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(30px, 4.8vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.032em;
  font-weight: 700;
}
.scrub .w {
  color: rgba(245, 245, 247, 0.16);
  transition: color 0.35s;
}
.scrub .w.on {
  color: var(--text);
}

/* ---- How it works ---- */
.how {
  padding: 60px 0 120px;
}
.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 150px minmax(0, 2.25fr);
  align-items: center;
  margin: 0 0 80px;
}
.flow-node {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.flow-label {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
}
.chip-note {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.chip-app {
  justify-content: flex-start;
  gap: 8px;
  background: var(--primary-soft);
  border-color: rgba(59, 130, 246, 0.45);
}
.chip-lb {
  border-color: rgba(34, 211, 238, 0.45);
}
.chip-svc {
  border-color: rgba(59, 130, 246, 0.4);
}
.chip-db {
  border-color: rgba(167, 139, 250, 0.5);
}
.flow-link {
  position: relative;
  height: 2px;
  margin: 0 12px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.7), rgba(59, 130, 246, 0.15));
}
.flow-pulse {
  position: absolute;
  top: -4px;
  left: 0;
  width: 44px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(closest-side, #fff, rgba(34, 211, 238, 0.7), transparent);
  animation: travel 2.6s var(--ease) infinite;
}
@keyframes travel {
  from {
    left: -20%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 0;
  }
}
.flow-caption {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.vpc {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.04);
}
.vpc-label {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6ee7b7;
}
.vpc-row {
  display: flex;
  align-items: center;
}
.vpc-row > .chip {
  flex: 0 0 auto;
}
.svc-stack {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.fan {
  position: relative;
  flex: 0 0 34px;
  align-self: stretch;
}
.fan i {
  display: none;
}
.fan::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.85) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  animation: dash 0.9s linear infinite;
}
@keyframes dash {
  to {
    background-position: 12px 0;
  }
}
.aws-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.aws-row .chip {
  flex: 1 1 160px;
}
.how-steps {
  list-style: none;
  counter-reset: how;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
}
.how-steps li {
  counter-increment: how;
}
.how-steps li::before {
  content: '0' counter(how);
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-text);
}
.how-steps h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.how-steps p {
  margin: 0;
  color: var(--muted);
}

/* ---- Features ---- */
.features {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #111318, #0a0b0e);
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s;
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.tile:hover::before {
  opacity: 1;
}
.tile h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--primary-text);
}
.tile:nth-child(4n + 3) .icon {
  color: var(--cyan);
}
.tile:nth-child(4n) .icon {
  color: var(--violet);
}
.tile:nth-child(4n + 1) .icon {
  color: var(--green);
}
.tile-cli {
  grid-column: span 4;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 40px;
  padding: 40px;
}
.tile-cli h3 {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}
.tile-cli p:not(.kicker) {
  font-size: 18px;
}
.terminal {
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 90px -30px rgba(59, 130, 246, 0.45);
}
.terminal-bar {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  background: #13151b;
}
.terminal-bar .dots i {
  width: 10px;
  height: 10px;
}
.terminal-body {
  margin: 0;
  padding: 18px 20px 22px;
  overflow-x: auto;
  font: 13.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #e5e7eb;
  white-space: pre;
}
.t-prompt {
  color: var(--green);
}
.t-out {
  color: #9ca3af;
}
.t-ok {
  color: var(--green);
}
.t-pending {
  visibility: hidden;
}
.t-caret {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.22em;
  background: #e5e7eb;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---- Yours to keep (not .yours: app.js marks the visitor's download card with that) ---- */
.keep {
  padding: 150px 0;
  text-align: center;
  background: radial-gradient(900px 420px at 50% 100%, rgba(59, 130, 246, 0.2), transparent 70%);
}
.keep-inner {
  max-width: 980px;
}
.keep .lede {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons (app.js renders the downloads with these) ---- */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.4s var(--ease),
    background 0.3s,
    box-shadow 0.4s,
    border-color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn.primary {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 40px -12px rgba(59, 130, 246, 0.85);
}
.btn.primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 16px 50px -12px rgba(59, 130, 246, 0.95);
}
.btn-title {
  font-size: 17px;
  font-weight: 600;
}
.btn-sub {
  font-size: 12.5px;
  opacity: 0.8;
}
.btn.small {
  flex-direction: row;
  padding: 3px 12px;
  font-size: 13px;
  border-radius: 8px;
}
.btn.small:hover {
  transform: none;
}
.btn.ghost {
  background: transparent;
}
.notice {
  display: inline-block;
  margin: 0 0 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-text);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

/* ---- Download, install, requirements ---- */
.section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.download {
  padding-top: 130px;
}
.download .intro {
  margin-bottom: 56px;
}
.subtitle {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.032em;
  line-height: 1.1;
}
.subhead {
  margin: 40px 0 8px;
  font-size: 21px;
}
.grid {
  display: grid;
  gap: 16px;
}
.platforms {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  align-items: start;
  margin-top: 28px;
}
.download .platforms {
  margin-top: 0;
}
.card {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  /* minmax(0, …): a long command scrolls in its own box instead of widening the card. */
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}
.card ol strong {
  color: var(--text);
}
.platform.yours {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 80px -30px rgba(59, 130, 246, 0.6);
}
.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.platform-head h3 {
  margin: 0;
}
.badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary-text);
}
.files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.file {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.file:first-child {
  border-top: 0;
  padding-top: 4px;
}
.file-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
}
.file-link {
  font-weight: 600;
}
.file-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sha {
  font-size: 12px;
}
.file-name {
  overflow-wrap: anywhere;
}
.checks,
.requirements {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.requirements {
  margin-top: 20px;
  font-size: 18px;
}

/* ---- Footer ---- */
.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

/* ---- Rising into view (motion.js adds .motion, then .is-visible) ---- */
html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--delay, 0s);
}
html.motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Narrower screens ---- */
@media (max-width: 1000px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .flow-link {
    width: 2px;
    height: 84px;
    margin: 10px auto;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.7), rgba(59, 130, 246, 0.15));
  }
  .flow-pulse {
    top: 0;
    left: -4px;
    width: 10px;
    height: 36px;
    animation-name: travel-down;
  }
  .flow-caption {
    top: 50%;
    left: 18px;
    right: auto;
    transform: translateY(-50%);
    width: 150px;
    text-align: left;
  }
  .vpc-row {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-stack {
    width: 100%;
  }
  .fan {
    flex: 0 0 30px;
  }
  .fan::before {
    top: 4px;
    bottom: 4px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(34, 211, 238, 0.85) 0 6px, transparent 6px 12px);
    background-size: 2px 12px;
    animation-name: dash-down;
  }
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-cli {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1fr);
    padding: 30px;
  }
}
@keyframes travel-down {
  from {
    top: -20%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    top: 100%;
    opacity: 0;
  }
}
@keyframes dash-down {
  to {
    background-position: 0 12px;
  }
}
@media (max-width: 900px) {
  .tour-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .tour-stage {
    display: none;
  }
  .step-shot {
    display: block;
  }
  .tour-step,
  .tour-step:first-child {
    min-height: 0;
    padding: 44px 0;
    justify-content: flex-start;
  }
  html.js .tour-step:not(.is-active) {
    opacity: 1;
  }
}
@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }
  .nav nav {
    display: none;
  }
  .hero {
    padding-top: 112px;
  }
  .hero-stage {
    margin-top: 44px;
  }
  .window {
    border-radius: 10px;
  }
  .window-bar {
    height: 24px;
    padding: 0 10px;
  }
  .dots {
    gap: 5px;
  }
  .dots i {
    width: 8px;
    height: 8px;
  }
  .window-title {
    font-size: 10px;
  }
  .stats {
    padding-top: 90px;
  }
  .stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .tour,
  .features {
    padding: 100px 0 40px;
  }
  .statement {
    padding: 110px 0;
  }
  .intro {
    margin-bottom: 48px;
  }
  .how-steps,
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-cli {
    grid-column: auto;
    padding: 24px;
  }
  .tile {
    padding: 24px;
  }
  .terminal-body {
    font-size: 12px;
    padding: 14px;
  }
  .keep {
    padding: 110px 0;
  }
  .btn {
    width: 100%;
  }
  .btn.small {
    width: auto;
  }
}

/* Nothing moves for a visitor who asks for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
