:root {
  --bg: #0d0f12;
  --panel: #171a1f;
  --panel-soft: #20242b;
  --text: #f4f4f5;
  --muted: #b5b7bd;
  --dim: #858891;
  --orange: #f97316;
  --orange-bright: #fb923c;
  --steel: #71717a;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(113, 113, 122, 0.18), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-header,
.section-shell,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(249, 115, 22, 0.6);
  border-radius: 10px;
  color: var(--orange-bright);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}

.brand-name span {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

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

.nav-cta {
  color: var(--text);
  border: 1px solid rgba(249, 115, 22, 0.55);
  padding: 9px 14px;
  border-radius: 999px;
}

.hero {
  min-height: 76vh;
  padding: 72px 0 90px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: #111827;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  box-shadow: 0 16px 44px rgba(249, 115, 22, 0.26);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 20px;
}

.split-section {
  padding: 90px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

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

.feature-grid article,
.proof-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-grid p,
.proof-card p,
.manifesto p,
.cta-section p {
  color: var(--muted);
}

.dark-band {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(249, 115, 22, 0.1), transparent 52%),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto {
  max-width: 900px;
}

.manifesto p:last-child {
  font-size: 1.2rem;
}

.compare-section {
  padding: 92px 0;
}

.compare-table {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.compare-table > div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
}

.compare-table > div + div {
  border-top: 1px solid var(--line);
}

.compare-table div[role="cell"],
.compare-table div[role="columnheader"] {
  padding: 18px;
  min-width: 0;
}

.table-head {
  color: var(--text);
  background: rgba(249, 115, 22, 0.11);
  font-weight: 800;
}

.compare-table div[role="cell"] {
  color: var(--muted);
}

.proof-section {
  padding: 0 0 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.number {
  display: block;
  margin-bottom: 22px;
  color: var(--orange-bright);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cta-section {
  margin-bottom: 80px;
  padding: 64px;
  border: 1px solid rgba(249, 115, 22, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.22), transparent 22rem),
    var(--panel-soft);
  box-shadow: var(--shadow);
}

.cta-section p {
  max-width: 760px;
  font-size: 1.12rem;
}

.site-footer {
  padding: 36px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

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

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

  nav {
    justify-content: flex-start;
    gap: 10px;
  }

  nav a {
    padding: 6px 0;
  }

  .hero,
  .split-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 72px;
    gap: 36px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  nav a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-cta {
    border-color: rgba(249, 115, 22, 0.55);
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 12px;
    border-radius: 22px;
  }

  .hero-card img {
    border-radius: 16px;
  }

  .split-section,
  .dark-band,
  .compare-section {
    padding: 64px 0;
  }

  .feature-grid article,
  .proof-card {
    padding: 20px;
  }

.compare-table {
  border: 0;
  background: transparent;
  display: grid;
  gap: 16px;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.compare-table .table-head {
  display: none;
}

.compare-table div[role="cell"] {
  padding: 14px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.compare-table div[role="cell"]:first-child {
  border-top: 0;
  color: var(--orange-bright);
  font-weight: 800;
  background: rgba(249, 115, 22, 0.08);
}

.compare-table div[role="cell"]:nth-child(2)::before {
  content: "Legacy CCMS: ";
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
}

.compare-table div[role="cell"]:nth-child(3)::before {
  content: "ForgeDITA: ";
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
}

  .cta-section {
    margin-bottom: 56px;
    padding: 28px;
    border-radius: 24px;
  }

  .cta-section p {
    font-size: 1rem;
  }
}

@media (max-width: 390px) {
  nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.3rem;
  }
}