/* AI Build vs Buy — magazine theme.
   Display sans headlines, editorial columns, drop caps, verdict boxes.
   BEM class vocabulary — shares nothing with the library theme next door. */

:root {
  --bg: #ffffff;
  --ink: #16181d;
  --soft: #5b6070;
  --line: #e4e6ec;
  --pop: #d94f30;
  --pop-ink: #ffffff;
  --wash: #f6f4ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

/* Masthead */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1140px;
  margin: 0 auto;
  padding: 26px 28px;
  border-bottom: 3px solid var(--ink);
}
.masthead__logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.masthead__logo em { color: var(--pop); font-style: italic; }
.masthead__nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 22px;
}
.masthead__nav a:hover { color: var(--pop); }

/* Feature layout: asymmetric — standfirst column offset left */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 28px 90px;
}
.feature__standfirst { grid-column: 1; }
.feature__pullquote { grid-column: 2; align-self: start; margin: 70px 0 0; }
.prose { grid-column: 1 / -1; max-width: 760px; }

.feature__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pop);
  margin: 0 0 10px;
}
.feature__headline {
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 18px;
}
.feature__deck {
  font-size: 21px;
  color: var(--soft);
  line-height: 1.55;
  margin: 0;
}

.feature__pullquote {
  border-left: 5px solid var(--pop);
  padding-left: 22px;
}
.feature__pullquote blockquote {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.feature__pullquote figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Prose */
.prose h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 46px 0 14px;
}
.prose p { margin: 0 0 18px; }
.prose__dropcap {
  float: left;
  font-size: 64px;
  line-height: 0.82;
  font-weight: 800;
  padding: 6px 10px 0 0;
  color: var(--pop);
}
.prose__keylist { padding-left: 20px; margin: 0 0 22px; }
.prose__keylist li { margin-bottom: 10px; }

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 10px 0 30px;
}
.compare th {
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
  border-bottom: 2px solid var(--ink);
  padding: 8px 12px;
}
.compare td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; }
.compare__name { font-weight: 800; white-space: nowrap; }

/* Numbered questions */
.questions { list-style: none; counter-reset: q; margin: 0 0 30px; padding: 0; }
.questions__item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.questions__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--pop-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 16px;
}

/* Verdict box */
.verdict {
  background: var(--wash);
  border: 1px solid var(--line);
  border-top: 5px solid var(--pop);
  padding: 20px 26px;
  margin: 34px 0;
}
.verdict__label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pop);
  margin: 0 0 8px;
}
.verdict__text { margin: 0; font-size: 19px; font-weight: 500; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  padding: 10px 0;
}
.faq-item p { color: var(--soft); margin: 0 0 14px; }

/* CTA */
.cta-block {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  padding: 30px 34px;
  margin-top: 30px;
}
.cta-block__title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.cta-block__text { color: #b9bdc9; margin: 0 0 18px; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.signup__label { position: absolute; left: -9999px; }
.signup__input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #3a3e4a;
  background: #22252e;
  color: #fff;
  min-width: 260px;
}
.signup__btn {
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--pop);
  color: var(--pop-ink);
  border: none;
  padding: 13px 24px;
  cursor: pointer;
}

/* Colophon */
.colophon {
  border-top: 3px solid var(--ink);
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 28px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--soft);
}
.colophon a { color: var(--ink); }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__pullquote { grid-column: 1; margin-top: 10px; }
}

/* Contents, facts, sources — depth additions */
.toc-box { border: 1px solid var(--line); background: #fff; padding: 16px 22px; margin: 0 0 30px; }
.toc-box p { margin: 0 0 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--soft); }
.toc-box ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 28px; font-size: 15px; }
.toc-box li { margin-bottom: 5px; break-inside: avoid; }
.toc-box a { color: var(--ink); text-decoration: none; }
.toc-box a:hover { color: var(--pop); }
.factstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.fact { border-top: 4px solid var(--pop); background: #fff; padding: 14px 16px; }
.fact b { display: block; font-size: 27px; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: 13px; color: var(--soft); line-height: 1.4; display: block; margin-top: 4px; }
.sources { font-size: 15px; color: var(--soft); }
.sources li { margin-bottom: 6px; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; font-size: 14px; }
