 :root {
  --bg: #120a1f;
  --bg-deep: #0d0616;
  --bg-soft: rgba(255, 255, 255, 0.045);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(124, 45, 255, 0.16);
  --purple: #7c2dff;
  --purple-light: #cfa8ff;
  --purple-soft: #a970ff;
  --text: #f6f1ff;
  --muted: #b7a6cd;
  --muted-strong: #d8c9ec;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gold: #f0c34a;
  --green: #4ee08d;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

p {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 10, 31, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--purple);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  padding-bottom: 7px;
  flex: none;
}

.brand-mark .bar {
  width: 3px;
  border-radius: 2px;
  background: #fff;
  display: block;
}

.brand-mark .bar-1 { height: 7px; }
.brand-mark .bar-2 { height: 13px; }
.brand-mark .bar-3 { height: 10px; }

.brand-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #bda8d8;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f6f1ff;
  color: var(--bg) !important;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--purple-light) !important;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero {
  position: relative;
  background: linear-gradient(180deg, #7c2dff 0%, #7129eb 100%);
  border-radius: 0 0 clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.5px);
}

.orb-one {
  top: -150px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: rgba(255, 255, 255, 0.1);
}

.orb-two {
  bottom: -200px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(18, 10, 31, 0.22);
}

.hero-inner {
  position: relative;
  padding: clamp(52px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(18, 10, 31, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: scim-pulse 2s ease-in-out infinite;
}

@keyframes scim-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 1000px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}

.script {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 4vw, 48px);
  align-items: end;
}

.hero-copy {
  margin: 0;
  max-width: 480px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy strong {
  color: #fff;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #120a1f;
  color: #fff;
}

.button.primary:hover {
  background: #2a1747;
}

.button.secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.button.tertiary {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(124, 45, 255, 0.28);
  color: #efe4ff;
}

.button.tertiary:hover {
  background: rgba(124, 45, 255, 0.5);
  color: #fff;
}

.button.small {
  padding: 12px 22px;
  font-size: 14px;
}

.assist-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.stats-section {
  padding: 0 0 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.mini-stat {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.mini-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a58fc4;
  font-weight: 700;
}

.mini-stat strong {
  font-size: 16px;
  font-weight: 700;
}

.content-section {
  padding: clamp(52px, 7vw, 96px) 0;
}

.section-title {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
}

.feature-grid,
.status-grid,
.install-list,
.tool-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card,
.status-card,
.install-item,
.tool-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: clamp(24px, 3vw, 32px);
}

.feature-card {
  min-height: 220px;
}

.feature-number {
  margin-bottom: 16px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--purple-soft);
  line-height: 1;
}

.feature-card h3,
.install-head h3,
.status-card h3,
.tool-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p,
.status-card p,
.install-item p,
.tool-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.section-intro {
  margin: 0 0 clamp(26px, 4vw, 44px);
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}

.status-section {
  padding-top: 0;
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-card-highlight {
  background: rgba(124, 45, 255, 0.16);
}

.status-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-topline h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-status.warn {
  background: var(--gold);
  color: #120a1f;
}

.badge-status.success {
  background: #4ee08d;
  color: #0c2418;
}

.status-card a {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--purple-light);
}

.status-card a:hover {
  color: #ecdcff;
}

.install-section {
  background: var(--bg-deep);
  padding: clamp(52px, 7vw, 96px) 0;
}

.install-list {
  grid-template-columns: 1fr;
}

.install-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
}

.install-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.install-number {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
  color: var(--purple-soft);
  line-height: 1;
}

.install-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.install-url {
  font-size: 12px;
  color: #8f7ba8;
  word-break: break-all;
}

.install-item code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #e2d3f7;
  background: rgba(255, 255, 255, 0.09);
  padding: 1px 6px;
  border-radius: 5px;
}

.requirements-box {
  margin-top: clamp(34px, 4vw, 52px);
}

.requirements-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.requirements-box > p {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-card h4 {
  font-size: 17px;
}

.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: clamp(34px, 4vw, 48px) 0;
}

.footer-branding {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-branding p {
  font-size: 13px;
  line-height: 1.65;
  color: #8f7ba8;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: #bda8d8;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a:not(.nav-cta) {
    font-size: 13px;
  }
}
