:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #111317;
  --text: #15181d;
  --muted: #5d6673;
  --line: #d9dee7;
  --green: #2f9d68;
  --amber: #c78119;
  --blue: #2368d8;
  --blue-dark: #174a9a;
  --code: #171a20;
  --shadow: 0 24px 70px rgba(20, 30, 50, 0.16);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 7px;
  padding: 10px 12px;
  color: #fff;
  background: var(--surface-strong);
}

.skip-link:focus {
  transform: translateY(0);
}

code,
pre,
.terminal,
.fleet-pill {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.site-header {
  min-height: 72px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--surface-strong);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0 72px;
}

.hero-copy {
  max-width: 610px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lede,
.intro p,
.section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.product-shot {
  min-width: 0;
  border: 1px solid rgba(17, 19, 23, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #e8ebf1;
  box-shadow: var(--shadow);
}

.mac-strip {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: #f4f5f7;
  border-bottom: 1px solid #d7dce4;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.red { background: #ef665e; }
.yellow { background: #e7b948; }
.green { background: #55bd6a; }

.menu-spacer {
  flex: 1;
}

.fleet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  border-radius: 5px;
  padding: 0 9px;
  background: #e0e9fb;
  color: #142849;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.terminal {
  padding: 18px;
  background: var(--code);
  color: #e9edf5;
}

.terminal-title {
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
}

.panel {
  border: 1px solid #38404d;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 12px;
  background: #1e232b;
}

.panel-title {
  margin-bottom: 9px;
  color: #8fb5ff;
  font-size: 12px;
  font-weight: 700;
}

.row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr 0.8fr 0.6fr;
  gap: 8px;
  min-height: 28px;
  align-items: center;
  color: #cdd5e3;
  font-size: 13px;
}

.row.head {
  color: #788395;
  font-size: 11px;
  text-transform: uppercase;
}

.row strong {
  color: #8fd6a8;
}

.row:nth-of-type(3) strong {
  color: #e8bd62;
}

.tunnel-line,
.prompt,
.output {
  color: #cdd5e3;
  font-size: 13px;
  line-height: 1.6;
}

.prompt {
  color: #8fb5ff;
}

.output {
  color: #90d7ad;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 880px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  min-width: 0;
  margin-bottom: 28px;
}

.steps,
.feature-list,
.constraint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article,
.feature-list article,
.constraint-grid article,
.code-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--surface-strong);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  align-items: start;
}

.feature-list {
  grid-template-columns: repeat(2, 1fr);
}

.screenshot-card {
  grid-column: 2;
  min-width: 0;
  margin: 4px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.screenshot-card img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 30, 50, 0.22);
}

.screenshot-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.wide-screenshot-card {
  min-width: 0;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.wide-screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 30, 50, 0.16);
}

.wide-screenshot-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feature-list p,
.steps p,
.constraint-grid p,
.install p {
  font-size: 15px;
}

.install {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.install > *,
.split > * {
  min-width: 0;
}

.code-card {
  background: var(--surface-strong);
  color: #edf2fb;
}

pre {
  margin: 0;
  overflow-x: auto;
  line-height: 1.65;
  font-size: 14px;
}

.site-footer {
  min-height: 96px;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  margin-right: auto;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .split,
  .install {
    grid-template-columns: 1fr;
  }

  .screenshot-card {
    grid-column: auto;
  }

  .hero {
    min-height: 0;
    padding-top: 24px;
  }

  .steps,
  .feature-list,
  .constraint-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero,
  .section {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 44px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .terminal {
    padding: 12px;
  }

  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .row {
    grid-template-columns: 1fr 0.7fr;
  }

  .row span:nth-child(n+3),
  .row.head span:nth-child(n+3) {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer span {
    margin-right: 0;
  }
}
