:root {
  --bg: #0f1720;
  --surface: #16212d;
  --surface-alt: #1c2b39;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fbff;
  --text-soft: rgba(248, 251, 255, 0.75);
  --accent: #d06a2b;
  --accent-strong: #b95519;
  --warning: #f2b35d;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  background: linear-gradient(180deg, #0b1219 0%, var(--bg) 100%);
  color: var(--text-soft);
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent-strong);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.75rem 0.75rem;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--warning);
  outline-offset: 3px;
}

.hero {
  padding: 4rem 1.5rem 2rem;
}

.hero__inner,
.page-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(208, 106, 43, 0.14);
  color: #ffc18f;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  margin-top: 0;
}

h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.hero__lede {
  max-width: 760px;
  font-size: 1.1rem;
}

.hero__meta,
.grid,
.split-grid {
  display: grid;
  gap: 1rem;
}

.hero__meta {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.meta-card,
.card,
.panel {
  background: rgba(22, 33, 45, 0.92);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.meta-card__label,
.card__tag {
  display: block;
  margin-bottom: 0.65rem;
  color: #ffc18f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.page-shell {
  padding: 0 1.5rem 4rem;
}

.section-intro {
  max-width: 52rem;
  margin-bottom: 1rem;
}

.section {
  margin-top: 2rem;
  padding: 1.75rem;
  background: rgba(10, 18, 25, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
}

.ordered-list,
.plain-list {
  padding-left: 1.25rem;
}

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

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

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  background: var(--accent-strong);
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #944812;
}

.panel--muted,
.card--warning {
  background: rgba(28, 43, 57, 0.95);
}

.section--final {
  margin-bottom: 2rem;
}

.comparison-page {
  min-height: 100vh;
}

.comparison-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.comparison-header {
  margin-bottom: 1.5rem;
}

.comparison-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.comparison-panel {
  min-width: 0;
  background: rgba(22, 33, 45, 0.92);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-panel__top {
  padding: 1.25rem 1.25rem 0.75rem;
}

.comparison-frame {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  background: white;
}

.comparison-frame--after {
  background: #fffaf4;
}

.comparison-panel--after {
  background: rgba(14, 24, 32, 0.96);
}

.blueprint {
  padding: 0 1.25rem 1.25rem;
}

.blueprint-card {
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.blueprint-card--warning {
  background: rgba(242, 179, 93, 0.08);
  border-color: rgba(242, 179, 93, 0.24);
}

.button--subtle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button--subtle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 700px) {
  .hero,
  .page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 1.25rem;
  }
}

@media (max-width: 1100px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-frame {
    min-height: 60vh;
  }
}
