:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --ink: #19212c;
  --muted: #5b6472;
  --line: #d9d2c4;
  --paper: #fffdf8;
  --night: #151d29;
  --teal: #265f73;
  --violet: #6c4b7f;
  --green: #2f6b4f;
  --rust: #8a4f38;
  --focus: #1d4ed8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--night);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.console-section {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  min-height: calc(100vh - 72px);
  padding: 72px clamp(24px, 5vw, 72px) 56px;
}

.console-copy {
  align-self: center;
  max-width: 640px;
}

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

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

h1 {
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 58ch;
}

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

.button {
  align-items: center;
  border: 1px solid var(--night);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--night);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--night);
}

.button[data-copied="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.install-line {
  color: var(--muted);
  margin-top: 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

code,
pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.skill-console {
  align-self: center;
  background: var(--night);
  border-radius: 12px;
  color: #ffffff;
  min-height: 560px;
  overflow: hidden;
}

.skill-tabs {
  background: #0f1622;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.skill-tab {
  background: transparent;
  border: 0;
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  min-height: 54px;
}

.skill-tab.active {
  background: #ffffff;
  color: var(--night);
}

.console-window {
  padding: 30px;
}

.window-label {
  color: #a8d7dc;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

pre {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14px;
  margin: 0 0 22px;
  min-height: 110px;
  overflow-x: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.workflow-band {
  border-block: 1px solid var(--line);
  padding: 34px clamp(24px, 5vw, 72px);
}

.workflow-band img {
  display: block;
  height: auto;
  max-width: 100%;
}

.section,
.proof-section {
  padding: 72px clamp(24px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.skill-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.skill-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 170px;
  padding: 22px;
}

.skill-grid article:nth-child(2n) {
  border-top-color: var(--teal);
}

.skill-grid article:nth-child(3n) {
  border-top-color: var(--violet);
}

.skill-grid article:nth-child(4n) {
  border-top-color: var(--rust);
}

.skill-grid p,
.proof-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.proof-section {
  align-items: start;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
}

.proof-list {
  display: grid;
  gap: 10px;
}

.proof-list a {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--night);
  font-weight: 760;
  padding: 16px 18px;
  text-decoration: none;
}

.proof-list a:hover {
  border-color: var(--teal);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
}

footer a {
  font-weight: 760;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px;
    position: static;
  }

  nav {
    flex-wrap: wrap;
  }

  .console-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .skill-console {
    min-height: auto;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .console-section,
  .section,
  .proof-section {
    padding-inline: 18px;
  }

  h1 {
    font-size: 46px;
  }

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

  .skill-tabs {
    grid-template-columns: 1fr;
  }

  .skill-tab {
    text-align: left;
    padding-left: 18px;
  }

  .console-window {
    padding: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

