@import "@fontsource-variable/geist/wght.css";
@import "@fontsource-variable/geist-mono/wght.css";
@import "tailwindcss";

:root {
  --paper: #000000;
  --paper-soft: #080808;
  --ink: #f5f5f5;
  --ink-soft: #a1a1a1;
  --ink-faint: #686868;
  --line: rgb(255 255 255 / 0.12);
  --line-strong: rgb(255 255 255 / 0.22);
  --focus: #ffffff;
  --font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, monospace;
  color-scheme: dark;
  color: var(--ink);
  font-family: var(--font-sans);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

code {
  font-family: var(--font-mono);
}

::selection {
  background: white;
  color: black;
}

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

.landing-main {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.hero-section {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  min-height: 100vh;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 7vw, 6rem);
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: rgb(255 255 255 / 0.3);
  content: "";
  pointer-events: none;
}

.hero-section::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-section::after {
  right: 0;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero-copy {
  width: min(100%, 680px);
  margin: 0;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
}

.eyebrow-row span:first-child {
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 1.4rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  font-weight: 510;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-copy h1 code {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.07);
  padding: 0.04em 0.2em;
  font-size: 0.78em;
  font-weight: 450;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.command-list {
  max-width: 520px;
  margin-top: 1.75rem;
  border-block: 1px solid var(--line);
}

.command-row {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
}

.command-row + .command-row {
  border-top: 1px solid var(--line);
}

.command-row > span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.command-row code {
  color: var(--ink);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.resource-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

.resource-separator {
  color: var(--ink-faint);
  user-select: none;
}

.resource-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid transparent;
  padding-block: 0.2rem;
  transition:
    border-color 150ms ease,
    color 150ms ease;
}

.resource-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
}

.resource-links a:hover {
  border-color: currentColor;
  color: var(--ink);
}

@media (max-width: 620px) {
  .hero-section {
    padding: 2rem 1.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    overflow-wrap: anywhere;
  }
}

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