/* Spirit Hosting — homepage */

.mobile-nav:not(.open),
.mobile-nav[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

section { position: relative; z-index: 2; }

/* Hero — left-aligned, editorial */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 100px 32px 64px;
  margin-top: 60px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

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

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text3);
  font-family: var(--font-mono);
  line-height: 1.8;
}

.hero-meta strong { color: var(--text2); font-weight: 500; }

.hero-visual {
  position: relative;
}

.hero-shot {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.hero-shot img {
  width: 100%;
  display: block;
}

.hero-shot-cap {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hero-shot-cap .live { color: var(--green); }

/* Stats strip */
.perf-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.perf-card {
  padding: 24px 20px;
  text-align: left;
  border-right: 1px solid var(--border);
}
.perf-card:last-child { border-right: none; }

.perf-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}
.perf-val span { color: var(--text3); font-size: 0.55em; }

.perf-label {
  font-size: 13px;
  color: var(--text3);
  margin-top: 6px;
}

/* Sections */
.section {
  padding: 72px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-full {
  padding: 72px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.section-full .section {
  padding: 0;
}

.section-intro {
  margin-bottom: 40px;
  max-width: 560px;
}

.section-intro h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-intro p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
}

.plan-card.featured {
  border-color: var(--accent);
  background: var(--bg3);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 3px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price sup { font-size: 18px; vertical-align: super; font-weight: 600; color: var(--text2); }
.plan-price span { font-size: 14px; color: var(--text3); font-weight: 400; }

.plan-trial {
  font-size: 12px;
  color: var(--green);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.plan-divider { height: 1px; background: var(--border); margin: 14px 0; }

.plan-specs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.plan-spec { font-size: 13px; color: var(--text2); }
.plan-spec strong { color: var(--text); font-weight: 600; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg2);
}
.plan-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface2);
  color: var(--text);
}

.plan-card.featured .plan-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.plan-card.featured .plan-btn:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

.pricing-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text2);
}

/* Feature list — not card grid */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-row {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.feature-row:nth-child(2n) { border-right: none; }
.feature-row:nth-last-child(-n+2) { border-bottom: none; }

.feature-row h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-row p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* Stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stack-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stack-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.stack-item p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}
.stack-item code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

/* Games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.game-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

a.game-card:hover {
  border-color: var(--border-strong);
  color: inherit;
}

.game-abbr {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.game-name { font-weight: 600; font-size: 14px; }
.game-sub { font-size: 12px; color: var(--text3); margin-top: 1px; }

.games-note {
  text-align: center;
  color: var(--text3);
  font-size: 13px;
  margin-top: 20px;
  font-family: var(--font-mono);
}

/* Terminal */
.terminal-wrap { max-width: 640px; }

.terminal {
  background: #0c0c0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  min-height: 180px;
  color: var(--green);
}

.t-dim { color: var(--text3); }
.t-white { color: var(--text); }
.t-green { color: var(--green); }
.t-yellow { color: var(--yellow); }
.t-accent { color: var(--accent); }

/* Reviews — static, not carousel */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 48px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.review-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
}
.review-plan {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.reviews-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-mono);
  padding-bottom: 48px;
}

/* Hardware */
.benchmark-box {
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.benchmark-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.benchmark-head-title { font-size: 14px; font-weight: 600; }
.benchmark-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text3); }
.benchmark-box img { width: 100%; display: block; }

.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.hw-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.hw-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 8px;
}
.hw-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.hw-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.compare-wrap .compare-table th {
  padding: 14px 18px;
  font-size: 13px;
  background: var(--bg2);
}
.compare-wrap .compare-table td { padding: 12px 18px; }

/* CTA */
.cta-band {
  border-top: 1px solid var(--border);
  padding: 64px 32px;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-band p {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Two-col section layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 88px 20px 48px; gap: 32px; }
  .hero-visual { order: -1; }
  .perf-strip { grid-template-columns: 1fr 1fr; }
  .perf-card:nth-child(2) { border-right: none; }
  .perf-card { border-bottom: 1px solid var(--border); }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .feature-row { border-right: none !important; }
  .feature-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature-row:last-child { border-bottom: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid, .hw-grid, .reviews-grid, .split-section { grid-template-columns: 1fr; }
  .section, .section-full { padding: 56px 20px; }
}

@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
  .perf-strip { grid-template-columns: 1fr; }
  .perf-card { border-right: none; }
}
