:root {
  color-scheme: light dark;
  --background: #fffdf5;
  --sidebar: #74b9ff;
  --panel: #fffdf5;
  --sunken: #88d498;
  --text: #000000;
  --muted: #333333;
  --tertiary: #4d4d4d;
  --accent: #ffd23f;
  --accent-strong: #ffd23f;
  --focus: #5b21b6;
  --success: #16713d;
  --border: 3px solid #000000;
  --shadow-small: 3px 3px 0 #000000;
  --shadow: 6px 6px 0 #000000;
  --shadow-large: 9px 9px 0 #000000;
  --radius-small: 0;
  --radius-medium: 0;
  --radius-large: 0;
  --page-width: 1200px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border: var(--border);
  border-radius: var(--radius-small);
  background: var(--accent);
  box-shadow: var(--shadow-small);
  transform: translateY(-150%);
}

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

.site-header,
main {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: var(--border);
}

.wordmark,
.header-link {
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.wordmark img {
  display: block;
  width: 32px;
  height: 32px;
}

.header-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  min-height: calc(100vh - 72px);
  padding: 80px 0 112px;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.eyebrow,
.lane-label,
.outcome-number {
  margin: 0 0 16px;
  color: var(--tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.8vw, 6.25rem);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 35rem;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: var(--border);
  border-radius: var(--radius-medium);
  color: #000000;
  background: var(--accent-strong);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.work-lanes {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius-large);
  background: var(--sidebar);
  box-shadow: var(--shadow-large);
}

.goal-card,
.lane {
  position: relative;
  z-index: 1;
  border: var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel);
  box-shadow: var(--shadow-small);
}

.goal-card {
  margin-bottom: 28px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.goal-card .lane-label {
  display: block;
  margin-bottom: 4px;
  color: #4d4d4d;
}

.goal-card strong {
  font-size: 18px;
}

.connector {
  position: absolute;
  z-index: 0;
  top: 93px;
  left: 50%;
  width: 3px;
  height: 62px;
  background: #000000;
}

.lane {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--success);
  border-radius: 50%;
}

.status-dot.active {
  border: 2px solid #000000;
  background: #ff6b6b;
}

.lane-one { margin-right: 38px; }
.lane-two { margin-left: 20px; margin-right: 18px; }
.lane-three { margin-left: 40px; }

.agents {
  grid-column: 1 / -1;
  grid-row: 2;
}

.agent-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px 16px;
  border: var(--border);
  color: #000000;
  background: var(--panel);
  box-shadow: var(--shadow-small);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.agent span {
  overflow-wrap: anywhere;
}

.agent-mark {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.outcomes,
.install {
  padding: 120px 0;
}

.outcomes {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(24px, calc((100vw - var(--page-width)) / 2));
  color: #000000;
  background: var(--accent);
  border-top: var(--border);
  border-bottom: var(--border);
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading h2,
.install h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.outcome-grid article {
  min-height: 290px;
  padding: 28px 32px 32px;
  border: var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.outcome-number {
  display: block;
  margin-bottom: 72px;
}

.outcome-grid h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.outcome-grid p {
  max-width: 30ch;
  margin-bottom: 0;
  color: #333333;
}

.outcomes .eyebrow,
.outcomes .outcome-number {
  color: #4d4d4d;
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 10vw, 140px);
  align-items: start;
}

.hero .install {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 48px 0 0;
  border-top: var(--border);
}

.install-copy > p:not(.eyebrow) {
  max-width: 35ch;
  margin: 24px 0 32px;
  color: var(--muted);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.platform {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px 10px;
  min-width: 0;
  padding: 12px;
  border: var(--border);
  color: #000000;
  background: var(--panel);
  box-shadow: var(--shadow-small);
}

.platform-available {
  background: var(--sunken);
}

.platform-soon {
  background: var(--sidebar);
}

.platform-mark {
  display: block;
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
}

.platform span,
.platform strong {
  overflow-wrap: anywhere;
}

.platform span {
  font-weight: 900;
}

.platform strong {
  color: #4d4d4d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.install-options {
  display: grid;
  gap: 16px;
}

.command-block {
  min-width: 0;
  padding: 18px 20px 20px;
  border: var(--border);
  border-radius: var(--radius-medium);
  background: var(--sunken);
  box-shadow: var(--shadow);
}

.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.command-heading > span {
  color: #4d4d4d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-button {
  display: none;
  min-height: 32px;
  padding: 4px 10px;
  border: 2px solid #000000;
  border-radius: 0;
  color: #000000;
  background: var(--accent);
  box-shadow: var(--shadow-small);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.has-js .copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

code {
  display: block;
  overflow-x: auto;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
  scrollbar-width: thin;
}

footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 28px max(24px, calc((100vw - var(--page-width)) / 2)) 40px;
  border-top: var(--border);
  color: #000000;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-brand,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-meta a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .primary-action:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000000;
  }
}

.primary-action:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 88px 0;
  }

  .work-lanes {
    width: min(100%, 560px);
    margin-left: auto;
  }

  .hero-copy,
  .hero .install,
  .agents,
  .work-lanes {
    grid-column: 1;
    grid-row: auto;
  }

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

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid article {
    min-height: auto;
    padding: 28px 32px 36px;
  }

  .outcome-number {
    margin-bottom: 32px;
  }

  .install {
    gap: 48px;
  }

}

@media (max-width: 520px) {
  .site-header,
  main {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .header-link {
    display: none;
  }

  .hero {
    padding: 64px 0 80px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .work-lanes {
    padding: 14px;
  }

  .lane-one,
  .lane-two,
  .lane-three {
    margin-inline: 0;
  }

  .outcomes,
  .install {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141414;
    --sidebar: #74b9ff;
    --panel: #fffdf5;
    --sunken: #88d498;
    --text: #fffdf5;
    --muted: #d2d2cc;
    --tertiary: #bcbcb6;
    --accent: #ffd23f;
    --accent-strong: #ffd23f;
    --focus: #d8b4fe;
    --success: #16713d;
  }

  .goal-card,
  .lane,
  .command-block,
  .outcome-grid article {
    color: #000000;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action {
    transition: none;
  }
}
