:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10151d;
  --panel-strong: #151c26;
  --text: #edf3ff;
  --muted: #9aa7b8;
  --line: #263241;
  --accent: #38d5c8;
  --accent-strong: #82fff3;
  --warning: #f5c86a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 213, 200, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 0%, rgba(245, 200, 106, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(56, 213, 200, 0.5);
  border-radius: 8px;
  background: rgba(56, 213, 200, 0.12);
  color: var(--accent-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 170px);
  padding: 54px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  line-height: 0.9;
}

.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.terminal-panel {
  overflow: hidden;
  border: 1px solid rgba(130, 255, 243, 0.22);
  border-radius: 8px;
  background: rgba(16, 21, 29, 0.86);
  box-shadow: var(--shadow);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-strong);
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.terminal-top span:nth-child(1) {
  background: #ff6b6b;
}

.terminal-top span:nth-child(2) {
  background: var(--warning);
}

.terminal-top span:nth-child(3) {
  background: #6ee7a8;
}

.terminal-body {
  padding: 24px;
}

.muted,
.status {
  color: var(--muted);
}

.command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

code {
  display: block;
  overflow-x: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090d13;
  color: var(--accent-strong);
  font: 700 0.98rem/1.4 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

button,
.file-card a {
  min-height: 46px;
  border: 1px solid rgba(56, 213, 200, 0.5);
  border-radius: 8px;
  background: var(--accent);
  color: #04100f;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

button {
  padding: 0 18px;
}

button:hover,
.file-card a:hover {
  background: var(--accent-strong);
}

.status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.file-list {
  display: grid;
  gap: 14px;
}

.file-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 21, 29, 0.7);
}

.file-card h3 {
  margin-bottom: 4px;
}

.file-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.file-card a {
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
}

.safety p {
  max-width: 760px;
  color: var(--muted);
}

.safety a {
  color: var(--accent-strong);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header,
  .nav,
  .hero,
  .command-row,
  .file-card {
    align-items: stretch;
  }

  .site-header,
  .hero,
  .file-card {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .nav {
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 42px;
  }

  .command-row {
    grid-template-columns: 1fr;
  }
}
