:root {
  --ground: #121016;
  --ground-deep: #0b0a0e;
  --line: #2b2733;
  --line-hi: #4a4458;
  --text: #efeaf3;
  --text-2: #b3abbd;
  --paper: #f5edf2;
  --ink: #17121c;
  --ink-2: #3a0f26;
  --accent: #ff3d96;
  --accent-hi: #ff7ab6;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-hi) var(--ground-deep);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink); }

a { color: var(--accent-hi); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

code {
  font: 500 0.85em/1.4 var(--mono);
  background: rgba(74, 68, 88, 0.45);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; text-transform: uppercase; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 4px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */

.top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.mark img { border-radius: 8px; }
.mark-name { font: 700 1.5rem/1 var(--display); }

.top-nav {
  margin-left: auto;
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  font: 600 1.0625rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.top-nav a {
  color: var(--text-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.top-nav a:hover { color: var(--text); }

/* Hero */

.hero {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(72px, 9vw, 128px);
}

.hero-copy { max-width: 760px; }

h1 {
  font-weight: 800;
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.lede {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--text-2);
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.pull-tab {
  display: inline-flex;
  align-items: stretch;
  color: var(--ink);
  background: var(--accent);
  text-decoration: none;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.pull-tab:hover { color: var(--ink); background: var(--accent-hi); transform: translateX(6px); }
.pull-tab:active { transform: translateX(10px); }
.pull-tab-grip {
  width: 14px;
  border-right: 1px solid rgba(23, 18, 28, 0.25);
  background: repeating-linear-gradient(0deg, rgba(23, 18, 28, 0.35) 0 2px, transparent 2px 5px) center / 4px 60% no-repeat;
}
.pull-tab-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 13px 16px;
}
.pull-tab-label {
  font: 800 1.5rem/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pull-tab-meta { font: 500 0.6875rem/1.2 var(--mono); color: var(--ink-2); }
.pull-tab-icon { align-self: center; margin-right: 18px; width: 26px; height: 26px; stroke-width: 2.4; }

.link-quiet {
  font: 600 1.125rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.window {
  margin-top: clamp(40px, 5vw, 64px);
}
.window img {
  width: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Screenshots */

.shots, .cli, .install {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  border-top: 1px solid var(--line);
}

h2 {
  font-weight: 800;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 0.95;
  max-width: 22ch;
}

.shot-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
}

.shot img {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1f2226;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}

.shot { max-width: 465px; }
.shot figcaption { margin-top: 22px; }
.shot h3 { font-weight: 700; font-size: 1.625rem; line-height: 1.1; }
.shot p { margin: 8px 0 0; color: var(--text-2); }

.shots-note {
  margin: 40px 0 0;
  font: 500 0.6875rem/1 var(--mono);
  color: var(--text-2);
  text-transform: uppercase;
}

/* CLI */

.cli-grid {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.cli-copy p { margin: 0; max-width: 46ch; color: var(--text-2); }
.cli-copy p:first-child { color: var(--text); font-size: 1.1875rem; line-height: 1.55; }
.cli-copy .cli-name { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }

.cli-code {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  background: var(--ground-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 400 0.8125rem/1.75 var(--mono);
  color: var(--text);
  tab-size: 2;
}
.cli-code code { font: inherit; background: none; padding: 0; border-radius: 0; }
.cli-code b { font-weight: 500; color: var(--accent-hi); }
.cli-code .c { color: var(--text-2); }

/* Install */

.steps {
  list-style: none;
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 2px solid var(--line-hi); padding-top: 22px; }
.steps h3 {
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.steps h3::before {
  content: counter(step);
  font: 600 0.875rem/1 var(--mono);
  color: var(--accent);
}
.steps p { margin: 10px 0 0; color: var(--text-2); }

.install-extra { margin: 44px 0 0; color: var(--text-2); font-size: 0.9375rem; }

/* Footer */

.foot {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9375rem;
  display: grid;
  gap: 6px;
}
.foot p { margin: 0; }
.foot b { color: var(--text); }

/* Coffee */

.coffee {
  --cap: var(--accent);
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 24px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 3px 8px 8px 3px;
  text-decoration: none;
  font: 500 0.9375rem/1.2 var(--body);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.75), 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease);
}
.coffee::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2px;
  width: 12px;
  border-radius: 4px 1px 1px 4px;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 4px) 4px 50% / 3px 45% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 60%),
    var(--cap);
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.25);
}
.coffee:hover { color: var(--ink); transform: translateY(-3px); }
.coffee b { font-weight: 600; }
.coffee .icon { width: 20px; height: 20px; }

/* Responsive */

@media (max-width: 900px) {
  .shot-grid { grid-template-columns: minmax(0, 1fr); }
  .cli-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .top { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .top-nav span { display: none; }
  .lede { font-size: 1.125rem; }
  .cli-copy p:first-child { font-size: 1.0625rem; }
  .cli-code { padding: 18px; font-size: 0.75rem; }
  .pull-tab-label { font-size: 1.25rem; }
  .meta-arch { display: none; }
  .window img { border-radius: 8px; }
  .coffee { left: 16px; right: 16px; bottom: 12px; justify-content: center; }
}

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