:root {
  --bg: #14171f;
  --bg-elev: #1b1f2a;
  --card: #1e2330;
  --border: #2c3242;
  --text: #f4ece0;
  --text-dim: #b6b0a6;
  --accent: #ff7a3c;
  --accent-soft: #ff9a5e;
  --glow: rgba(255, 122, 60, 0.22);
  --radius: 18px;
  --maxw: 960px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: radial-gradient(
      1100px 600px at 50% -10%,
      rgba(255, 122, 60, 0.12),
      transparent 60%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 28px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}

.hero .flame {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 6px 20px var(--glow));
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4rem);
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero .tagline {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero .lead {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1a1208;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.02rem;
  box-shadow: 0 8px 26px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  color: #1a1208;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

.subtext {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Sections */
section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 122, 60, 0.04),
    0 0 40px -18px var(--glow);
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px -12px var(--glow);
}

/* Directional connector between steps, centered in the grid gap, to read 1 -> 2 -> 3. */
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -9px;
  transform: translate(50%, -50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-soft);
  opacity: 0.7;
  pointer-events: none;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1a1208;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--glow);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Supported platforms */
.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 18px;
}

.platform-logo {
  height: 40px;
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Lit section */
.lit {
  text-align: center;
}

.lit .card {
  max-width: 680px;
  margin: 0 auto;
  border-color: rgba(255, 122, 60, 0.3);
}

.lit-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--glow);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Free vs Lit comparison */
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.compare thead th {
  background: var(--bg-elev);
}

.compare th,
.compare td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  color: var(--text);
}

.compare thead th:first-child,
.compare tbody td:first-child {
  color: var(--text-dim);
}

.compare th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare-cta td {
  padding-top: 16px;
  vertical-align: top;
}

.cta-note {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.compare .yes {
  color: var(--accent-soft);
  font-weight: 700;
}

.compare .no {
  color: var(--text-dim);
}

/* Content pages */
.page {
  flex: 1;
  padding: 30px 0 60px;
}

.content-card {
  max-width: 720px;
  margin: 0 auto;
}

.content-card h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.content-card h2 {
  font-size: 1.2rem;
  margin: 26px 0 10px;
}

.content-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-soft);
  margin: 30px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* The first section sits right under its <h2>, so it needs no divider above it. */
.content-card h3:first-of-type {
  margin-top: 18px;
  padding-top: 0;
  border-top: none;
}

/* A heading that follows the FAQ accordions (Troubleshooting) gets the same
   divider, separating it from the FAQ above. */
.faq + h2 {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* FAQ accordions (native <details>/<summary>) */
.faq {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq > summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq > summary::-webkit-details-marker {
  display: none;
}

.faq > summary::after {
  content: "▾";
  color: var(--text-dim);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq[open] > summary::after {
  transform: rotate(180deg);
}

.faq > summary:hover {
  color: var(--accent-soft);
}

.faq-body {
  padding: 0 18px 16px;
}

.faq-body p {
  color: var(--text-dim);
  margin-bottom: 10px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.content-card p,
.content-card li {
  color: var(--text-dim);
  margin-bottom: 10px;
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
  margin-bottom: 10px;
}

.note {
  background: var(--glow);
  border: 1px solid rgba(255, 122, 60, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.92rem;
  margin: 18px 0;
}

.muted {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Status pages (success / cancelled) */
.status {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.status .card {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.status .emoji {
  font-size: 3rem;
  margin-bottom: 12px;
}

.status h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.status p {
  color: var(--text-dim);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

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

/* Responsive */
@media (max-width: 680px) {
  .steps {
    grid-template-columns: 1fr;
  }
  /* Cards stack vertically on mobile, so the horizontal connectors don't apply. */
  .step:not(:last-child)::after {
    display: none;
  }
  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}
