:root {
  color-scheme: light;
  --bg: #f4f0e6;
  --bg-strong: #ede5d3;
  --ink: #1b1c1f;
  --muted: #5d625f;
  --line: rgba(27, 28, 31, 0.14);
  --accent: #ad4e20;
  --accent-soft: rgba(173, 78, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  background:
    linear-gradient(rgba(27, 28, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 28, 31, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(173, 78, 32, 0.13), transparent 26%),
    linear-gradient(180deg, #fbf8f0 0%, var(--bg) 100%);
  background-size: 26px 26px, 26px 26px, auto, auto;
}

.page-body {
  background:
    linear-gradient(rgba(27, 28, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 28, 31, 0.03) 1px, transparent 1px),
    radial-gradient(circle at top center, rgba(173, 78, 32, 0.1), transparent 24%),
    linear-gradient(180deg, #f9f6ed 0%, var(--bg) 100%);
  background-size: 26px 26px, 26px 26px, auto, auto;
}

.utility-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(27, 28, 31, 0.08);
  background: rgba(244, 240, 230, 0.92);
  backdrop-filter: blur(8px);
}

.utility-bar__inner {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  padding: 14px 0 12px;
}

.utility-bar__inner-left {
  justify-content: flex-start;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.utility-logo {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.utility-wordmark {
  display: inline-block;
  line-height: 1;
}

.utility-link:hover,
.utility-link:focus-visible {
  color: var(--ink);
}

.home-corner-link {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 10;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-corner-link:hover,
.home-corner-link:focus-visible {
  color: var(--ink);
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
}

.shell {
  min-height: calc(100vh - 52px);
  display: grid;
  place-items: center;
  align-content: center;
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 52px 0 72px;
  text-align: center;
}

.hero-shell {
  will-change: transform, opacity, filter;
  transition: opacity 140ms linear, transform 140ms linear, filter 140ms linear;
}

.mark {
  width: 92px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(173, 78, 32, 0.08), rgba(173, 78, 32, 0.9), rgba(173, 78, 32, 0.08));
}

.brand {
  margin: 0 0 20px;
  font-size: clamp(2.9rem, 8vw, 5.3rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: lowercase;
}

h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 1.62rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.page {
  width: min(780px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 88px 0 68px;
}

.home-details {
  position: relative;
  z-index: 1;
  padding-top: 104px;
}

.kicker {
  margin: 0 0 14px;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker-spaced {
  margin-top: 42px;
}

.page h1 {
  max-width: 15ch;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.03;
}

.lede {
  max-width: 42rem;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--muted);
}

.section {
  margin-top: 58px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section p,
.section li,
.page-footer a {
  font-size: 1.05rem;
  line-height: 1.84;
}

.section a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.section a:hover,
.section a:focus-visible {
  color: var(--accent);
}

.section p:not(.step-label) {
  margin: 0 0 18px;
}

.attention-note code {
  padding: 0.14em 0.42em;
  border: 1px solid rgba(27, 28, 31, 0.18);
  border-radius: 0.28rem;
  background: rgba(27, 28, 31, 0.94);
  color: #f4f0e6;
  font-family: "Courier New", monospace;
  font-size: 0.92em;
}

.inline-command {
  display: inline-block;
  padding: 0.08em 0.34em;
  border: 1px solid rgba(27, 28, 31, 0.18);
  border-radius: 0.28rem;
  background: rgba(27, 28, 31, 0.94);
  color: #f4f0e6;
  font-family: "Courier New", monospace;
  font-size: 0.92em;
}

.step-label {
  margin: 0;
  padding-top: 18px;
}

.key-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.26em 0.5em;
  border-radius: 0.42rem;
  background: rgba(173, 78, 32, 0.12);
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: middle;
}

.step-label + .command-line {
  margin-top: 0;
}

.step-label + .step-media,
.step-label + .attention-note {
  margin-top: 0;
}

.section ul {
  margin: 0;
  padding-left: 22px;
}

.section li {
  margin: 0 0 12px;
}

.pull-quote {
  max-width: 28ch;
  margin: 20px 0;
  font-size: clamp(1.34rem, 2.8vw, 1.88rem);
  line-height: 1.34;
  color: var(--ink);
  text-wrap: balance;
}

.attention-note {
  margin-top: 18px;
  padding: 16px 18px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0.5rem;
  background: rgba(173, 78, 32, 0.08);
}

.attention-note__title {
  margin: 0 0 6px;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.attention-note p:last-child {
  margin: 0;
}

.step-media {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.44);
  overflow: hidden;
}

.step-media__video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f1012;
}

.step-media__image {
  display: block;
  width: 100%;
  height: auto;
  background: #0f1012;
}


.command-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(27, 28, 31, 0.18);
  border-radius: 0.5rem;
  background: rgba(27, 28, 31, 0.94);
  color: #f4f0e6;
}

.command-line__text {
  display: block;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.94rem;
  line-height: 1.6;
  white-space: nowrap;
}

.command-line__prompt {
  display: inline-block;
  margin-right: 0.7ch;
  color: #ffd08a;
}

.command-line__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: 0.4rem;
  background: transparent;
  color: #f4f0e6;
  cursor: pointer;
  flex: 0 0 auto;
}

.command-line__copy:hover,
.command-line__copy:focus-visible {
  border-color: rgba(244, 240, 230, 0.42);
  color: #ffffff;
}

.command-line__copy svg {
  width: 18px;
  height: 18px;
  display: block;
}

.command-line__copy.is-copied {
  color: #ffd08a;
  border-color: rgba(255, 208, 138, 0.52);
}

.copy-toast {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  padding: 0.58rem 0.8rem;
  border-radius: 0.45rem;
  background: rgba(27, 28, 31, 0.94);
  color: #f4f0e6;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition: opacity 140ms linear, transform 140ms ease-out;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -26px);
}

.page-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-footer p {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-footer a {
  color: var(--muted);
  text-decoration: none;
}

.llms-footer-link {
  display: inline-block;
  margin-top: 2px;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.page-footer a:hover,
.page-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 720px) {
  .home-corner-link {
    top: 14px;
    right: 16px;
  }

  .shell {
    width: min(860px, calc(100vw - 28px));
    padding-bottom: 56px;
  }

  .page {
    width: min(780px, calc(100vw - 28px));
    padding-top: 74px;
  }

  .command-line {
    align-items: stretch;
  }
}

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

  .hero-shell {
    transition: none;
  }

  .copy-toast {
    transition: none;
  }
}
