:root {
  --bg: #060708;
  --bg-elev: #0e1012;
  --bg-elev-2: #14181c;
  --text: #f7f8fa;
  --muted: #a6adb7;
  --line: #232932;
  --brand: #ff8519;
  --brand-soft: rgba(255, 133, 25, 0.24);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 133, 25, 0.18), transparent 42%),
    radial-gradient(circle at 84% 4%, rgba(255, 133, 25, 0.1), transparent 26%),
    linear-gradient(180deg, #07090b 0%, #050607 45%, #040506 100%);
  z-index: -1;
}

.site-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 22px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.18);
  filter:
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.62))
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 14px rgba(255, 133, 25, 0.14))
    drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.08));
}

.brand-name {
  font-weight: 700;
  font-size: 1.62rem;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
}

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

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 22px 64px;
}

.hero {
  padding: 68px 6px 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.hero-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 760px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  padding: 0 20px;
  transition: box-shadow 190ms ease, filter 190ms ease, background 190ms ease, border-color 190ms ease;
  will-change: box-shadow, filter;
}

.btn-primary {
  color: #14181d;
  background: linear-gradient(180deg, #ff9f47, var(--brand));
  box-shadow:
    0 0 0 rgba(255, 133, 25, 0),
    0 8px 20px rgba(255, 133, 25, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 rgba(255, 133, 25, 0),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(1.045);
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 184, 124, 0.32),
    0 0 18px rgba(255, 133, 25, 0.44),
    0 0 22px rgba(255, 133, 25, 0.24);
}

.btn-secondary:hover {
  border-color: rgba(255, 167, 88, 0.48);
  box-shadow:
    0 0 0 1px rgba(255, 133, 25, 0.24),
    0 0 14px rgba(255, 133, 25, 0.22),
    0 0 16px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255, 133, 25, 0.44),
    0 0 0 5px rgba(255, 133, 25, 0.2);
}

.release-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-top: 24px;
}

h2 {
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.section-copy {
  color: var(--muted);
  margin: 0;
}

.docs-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 12px;
  padding: 14px;
}

.doc-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.doc-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.doc-card ul,
.doc-card ol {
  margin-top: 10px;
}

.doc-card li {
  margin: 7px 0;
}

.docs-subsection {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  border-radius: 14px;
  padding: 16px;
}

.docs-subsection h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.docs-subsection h4 {
  margin: 14px 0 6px;
  font-size: 0.96rem;
  color: #f0f3f7;
  letter-spacing: 0.01em;
}

.docs-subsection pre {
  margin: 8px 0 0;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  overflow-x: auto;
}

.docs-subsection pre code {
  background: transparent;
  padding: 0;
  color: #f3d2b1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.docs-subsection ul {
  margin-top: 10px;
}

.danger-callout {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(255, 133, 25, 0.42);
  background: linear-gradient(180deg, rgba(255, 133, 25, 0.14), rgba(255, 133, 25, 0.07));
  border-radius: 12px;
  padding: 12px 14px;
}

.danger-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #2f1700;
  background: linear-gradient(180deg, #ffbe86, #ff8519);
  font-weight: 800;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.danger-title {
  margin: 0;
  font-weight: 600;
  color: #ffe6cf;
}

.danger-copy {
  margin: 3px 0 0;
  color: #ffd7b0;
  line-height: 1.45;
}

.screenshot-frame {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2c333d;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.screenshot-frame img {
  width: 100%;
  display: block;
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

li {
  margin: 8px 0;
  color: #d9dde3;
}

.muted {
  color: var(--muted);
  margin-top: 10px;
}

code {
  color: #ffd7b0;
  background: var(--brand-soft);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  font-size: 0.92em;
}

.bottom-download-btn {
  margin-top: 20px;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4px 22px 34px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.github-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

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

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    padding-top: 36px;
  }

  .brand-icon {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }
}
