:root {
  --ink: #0b1715;
  --soft: #43534f;
  --paper: #f3f1e8;
  --mint: #7fe0cf;
  --blue: #176b87;
  --line: #cbd2c9;
  --terminal: #07110f;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 680; }
nav a:hover { opacity: .55; }

main {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
  padding-block: 48px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow i { width: 8px; height: 8px; background: var(--mint); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 4px rgba(127, 224, 207, .3); }
h1 { margin: 20px 0 22px; font-size: clamp(54px, 6.6vw, 94px); line-height: .92; letter-spacing: -.065em; }
h1 em { color: var(--blue); font-style: normal; }
.intro > p { max-width: 570px; margin: 0; color: var(--soft); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button.primary { color: #fffdf6; background: var(--ink); }
.route { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--soft); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.route strong { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--ink); background: #fffdf6; border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--mint); }
.route strong img { border-radius: 5px; }

.terminal { overflow: hidden; color: #e7f4ef; background: var(--terminal); border: 1px solid #243b35; border-radius: 8px; box-shadow: 14px 16px 0 rgba(23, 107, 135, .16); }
.terminal-bar { height: 42px; display: flex; align-items: center; border-bottom: 1px solid #20322e; padding: 0 14px; color: #8fa9a2; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-bar > span { margin-inline: auto; transform: translateX(-21px); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #38514a; }
.block { padding: 24px 26px; }
.block + .block { border-top: 1px solid #20322e; }
.block-title { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: 14px; font-weight: 730; }
.block-title span { width: 23px; height: 23px; display: inline-grid; place-items: center; color: var(--terminal); background: var(--mint); border-radius: 50%; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.tabs { display: flex; gap: 4px; margin-bottom: 9px; }
.tabs button { cursor: pointer; padding: 6px 9px; color: #789189; background: transparent; border: 0; border-radius: 3px; font-size: 11px; font-weight: 700; }
.tabs button[aria-selected="true"] { color: var(--mint); background: #14231f; }
.command { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; background: #101d1a; border: 1px solid #263b35; border-radius: 4px; }
.command code { min-width: 0; overflow-x: auto; white-space: nowrap; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy { flex: none; cursor: pointer; padding: 4px 8px; color: #8fa9a2; background: transparent; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; font-weight: 750; }
.copy.copied { color: var(--mint); }
pre { margin: 17px 0 0; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.success { color: var(--mint); }
.arrow, .muted { color: #789189; }
.note { margin: 0; padding: 13px 26px; color: #789189; background: #091512; border-top: 1px solid #20322e; font-size: 12px; }
.note span { color: #e7f4ef; font-weight: 700; }

footer {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 1180px); }
  header { height: 64px; }
  main { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 56px; }
  h1 { font-size: clamp(52px, 15vw, 78px); }
  .intro > p { max-width: 620px; }
  .terminal { box-shadow: 8px 9px 0 rgba(23, 107, 135, .16); }
  footer { margin-top: 36px; }
}

@media (max-width: 480px) {
  nav { gap: 16px; font-size: 12px; }
  h1 { font-size: clamp(47px, 14.8vw, 66px); }
  .route { gap: 7px; font-size: 10px; }
  .route strong { padding: 6px 7px; }
  .block { padding: 21px 17px; }
  .tabs { overflow-x: auto; }
  .tabs button { white-space: nowrap; }
  .note { padding-inline: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
