/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: #0d0d0d;
  color: #d4d4d4;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero / Header ───────────────────────────────── */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #1e1e1e;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: #7a8ba6;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f0f0f0;
  max-width: 680px;
  margin: 0 auto 1.2rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: #8a9ab5;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.byline {
  font-size: 0.78rem;
  color: #5c6b7f;
}

.byline strong {
  color: #93a3bb;
}

/* ── Article Body ────────────────────────────────── */
article {
  padding: 3rem 0 4rem;
}

article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e8e8e8;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
}

article h2:first-child {
  margin-top: 0;
}

article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #c0cfe0;
  margin: 2rem 0 0.6rem;
}

article p {
  margin-bottom: 1.25rem;
  color: #b8b8b8;
}

article strong {
  color: #d8d8d8;
  font-weight: 600;
}

article a {
  color: #6eaaff;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 170, 255, 0.25);
  transition: border-color 0.2s;
}

article a:hover {
  border-color: #6eaaff;
}


/* ── Pull-quote / callout box ────────────────────── */
.callout {
  background: #161b22;
  border-left: 3px solid #6eaaff;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #a4b8d0;
}

.callout strong {
  color: #d0dced;
}

/* ── Diagrams ────────────────────────────────────── */
.diagram {
  margin: 2.5rem 0;
  background: #111318;
  border: 1px solid #1e2530;
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem;
  overflow-x: auto;
}

.diagram-caption {
  text-align: center;
  font-size: 0.78rem;
  color: #5c6b7f;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.diagram svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}


/* ── Pros / Con cards ────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.card {
  background: #131820;
  border: 1px solid #1e2530;
  border-radius: 10px;
  padding: 1.25rem;
}

.card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #d0dced;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.88rem;
  color: #8a9ab5;
  margin: 0;
  line-height: 1.55;
}


/* ── Specs table ─────────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.specs-table th,
.specs-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #1a2030;
}

.specs-table th {
  color: #7a8ba6;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.specs-table td {
  color: #b0bdd0;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table .chip {
  display: inline-block;
  background: #1a2840;
  color: #6eaaff;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
}

.specs-table .chip.good {
  background: #1a3328;
  color: #4ade80;
}

.specs-table .chip.ok {
  background: #332e1a;
  color: #facc15;
}

.specs-table .chip.limited {
  background: #331a1a;
  color: #f87171;
}

/* ── Limitations list ────────────────────────────── */
.limit-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.limit-list li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: #a0a0a0;
  border-bottom: 1px solid #151a22;
}

.limit-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #f87171;
}

/* ── References / Footer ─────────────────────────── */
.references {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid #1a1a1a;
}

.references h2 {
  font-size: 1.15rem;
  color: #8a9ab5;
  margin-bottom: 1rem;
}

.references ol {
  padding-left: 1.2rem;
  color: #6a7a90;
  font-size: 0.85rem;
  line-height: 1.9;
}

.references a {
  color: #5a8fd4;
  border-bottom: none;
  word-break: break-all;
}

.references a:hover {
  color: #6eaaff;
}

footer {
  text-align: center;
  padding: 2rem 0 3rem;
  font-size: 0.75rem;
  color: #3a3a3a;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .diagram {
    padding: 1.25rem 1rem 1rem;
  }
}
