:root {
  --doom-max: 1180px;
  --doom-ink: #111722;
  --doom-paper: #f7f5ef;
  --doom-muted: #5f6874;
  --doom-line: rgba(17, 23, 34, 0.16);
  --doom-yellow: #f2b51d;
  --doom-red: #b83426;
  --doom-blue: #1d7f9e;
}

html {
  scroll-behavior: smooth;
}

body.doom-page {
  min-height: 100%;
  background:
    radial-gradient(880px 580px at 80% 6%, rgba(242, 181, 29, 0.12), transparent 62%),
    radial-gradient(780px 560px at 12% 16%, rgba(29, 127, 158, 0.1), transparent 66%),
    #f7f5ef;
  color: var(--doom-ink);
}

.doom-shell {
  width: min(var(--doom-max), calc(100% - 32px));
  margin: 0 auto;
}

.doom-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 23, 34, 0.1);
  background: rgba(252, 251, 247, 0.88);
  backdrop-filter: blur(18px);
}

.doom-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.doom-brand {
  color: var(--doom-ink);
  display: inline-grid;
  gap: 3px;
  text-decoration: none;
}

.doom-brand strong {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.doom-brand span,
.doom-mini-nav,
.doom-kicker,
.doom-section__kicker,
.doom-breadcrumbs,
.doom-card__rank,
.doom-card__link,
.doom-footer {
  font-family: var(--font-mono);
}

.doom-brand span,
.doom-mini-nav {
  color: var(--doom-muted);
  font-size: 11px;
}

.doom-mini-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.doom-mini-nav a,
.doom-breadcrumbs a {
  color: var(--doom-ink);
  text-decoration: none;
}

.doom-mini-nav a:hover,
.doom-mini-nav a:focus-visible,
.doom-breadcrumbs a:hover,
.doom-breadcrumbs a:focus-visible {
  color: var(--doom-red);
}

.doom-breadcrumbs {
  padding: 20px 0 0;
  color: var(--doom-muted);
  font-size: 11px;
}

.doom-hero {
  min-height: calc(88svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) 0 clamp(38px, 6vw, 86px);
}

.doom-hero,
.doom-proof,
.doom-intent,
.doom-section {
  position: relative;
  isolation: isolate;
}

.doom-hero::before,
.doom-proof::before,
.doom-intent::before,
.doom-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
}

.doom-band--light::before {
  background: #fbfaf6;
}

.doom-band--warm::before {
  background: #eeeae1;
}

.doom-kicker,
.doom-section__kicker {
  margin: 0 0 14px;
  color: var(--doom-red);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.doom-hero h1 {
  max-width: 790px;
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.doom-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #343c48;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.doom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.doom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid #111722;
  border-radius: 8px;
  background: #111722;
  color: #fffaf0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
}

.doom-button:hover,
.doom-button:focus-visible {
  background: var(--doom-yellow);
  border-color: var(--doom-yellow);
  color: #111722;
}

.doom-button--ghost {
  background: transparent;
  border-color: rgba(17, 23, 34, 0.22);
  color: var(--doom-ink);
}

.doom-hero__image {
  margin: 0;
}

.doom-hero__image img,
.doom-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.doom-hero__image img {
  border: 1px solid rgba(17, 23, 34, 0.14);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(17, 23, 34, 0.22);
}

.doom-hero__image figcaption {
  margin-top: 10px;
  color: var(--doom-muted);
  font-size: 12px;
  line-height: 1.45;
}

.doom-proof {
  display: grid;
  gap: 24px;
  align-items: stretch;
  padding-top: clamp(46px, 7vw, 86px);
  padding-bottom: clamp(46px, 7vw, 86px);
  margin-bottom: 0;
}

.doom-proof__inner {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(17, 23, 34, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(17, 23, 34, 0.08);
}

.doom-proof {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.doom-proof__main {
  display: grid;
  align-content: center;
}

.doom-proof__rating {
  margin: 4px 0 16px;
  color: var(--doom-yellow);
  font-family: var(--font-mono);
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.88;
  letter-spacing: 3px;
  text-shadow: 0 12px 30px rgba(242, 181, 29, 0.24);
}

.doom-proof h2 {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.doom-proof__main p {
  margin: 16px 0 0;
  color: #46505d;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.doom-proof__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.doom-review {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 238px;
  margin: 0;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(17, 23, 34, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 239, 0.76));
}

.doom-review__stars {
  color: var(--doom-yellow);
  font-family: var(--font-mono);
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 0.9;
  letter-spacing: 2px;
}

.doom-review blockquote {
  margin: 0;
  color: var(--doom-ink);
  font-family: var(--font-accent);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.16;
}

.doom-review figcaption {
  color: var(--doom-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
}

.doom-intent {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.22fr)) minmax(280px, 0.34fr);
  gap: 12px;
  align-items: stretch;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
  margin-bottom: 0;
}

.doom-intent__stat,
.doom-intent p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(17, 23, 34, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.doom-intent__stat {
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.doom-intent__stat strong {
  color: var(--doom-ink);
  font-family: var(--font-accent);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  line-height: 0.9;
}

.doom-intent__stat span {
  color: var(--doom-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}

.doom-intent p {
  color: #46505d;
  font-size: 15px;
  line-height: 1.62;
}

.doom-section {
  padding: clamp(52px, 8vw, 96px) 0;
  border-top: 1px solid var(--doom-line);
}

.doom-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.44fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.doom-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.doom-section p,
.doom-copy p {
  margin: 0;
  color: #46505d;
  font-size: 16px;
  line-height: 1.72;
}

.doom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.doom-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  padding: 9px 9px 15px;
  border: 1px solid rgba(17, 23, 34, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--doom-ink);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(17, 23, 34, 0.08);
  overflow: hidden;
}

.doom-card:hover,
.doom-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(184, 52, 38, 0.42);
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(17, 23, 34, 0.14);
}

.doom-card--featured {
  border-color: rgba(242, 181, 29, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 181, 29, 0.11));
}

.doom-card__rank {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: #111722;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(17, 23, 34, 0.22);
}

.doom-card--featured .doom-card__rank {
  background: var(--doom-yellow);
  color: #111722;
}

.doom-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(17, 23, 34, 0.08);
  background: #e8e5dc;
}

.doom-card__image img {
  height: 100%;
  object-fit: cover;
}

.doom-card__title {
  padding: 3px 8px 0;
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
}

.doom-card__text {
  padding: 0 8px;
  color: #4c5662;
  font-size: 13px;
  line-height: 1.48;
}

.doom-card__link {
  padding: 0 8px;
  color: var(--doom-blue);
  font-size: 11px;
  line-height: 1.45;
}

.doom-section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: clamp(24px, 5vw, 64px);
}

.doom-copy {
  display: grid;
  gap: 18px;
}

.doom-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.doom-guide article {
  padding: 18px;
  border: 1px solid rgba(17, 23, 34, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.doom-guide h3 {
  margin: 0 0 10px;
  color: var(--doom-ink);
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
}

.doom-guide p {
  margin: 0;
  color: #46505d;
  font-size: 14px;
  line-height: 1.62;
}

.doom-compare {
  overflow-x: auto;
  border: 1px solid rgba(17, 23, 34, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(17, 23, 34, 0.07);
}

.doom-compare table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.doom-compare th,
.doom-compare td {
  padding: 16px;
  border-bottom: 1px solid rgba(17, 23, 34, 0.11);
  text-align: left;
  vertical-align: top;
}

.doom-compare thead th {
  color: var(--doom-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.doom-compare tbody th {
  width: 22%;
  color: var(--doom-ink);
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.18;
}

.doom-compare td {
  color: #46505d;
  font-size: 14px;
  line-height: 1.55;
}

.doom-compare tr:last-child th,
.doom-compare tr:last-child td {
  border-bottom: 0;
}

.doom-footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--doom-line);
  color: var(--doom-muted);
  font-size: 11px;
}

@media (max-width: 960px) {
  .doom-hero,
  .doom-section__head,
  .doom-section--split {
    grid-template-columns: 1fr;
  }

  .doom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doom-proof__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doom-intent {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doom-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doom-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .doom-shell {
    width: min(100% - 22px, var(--doom-max));
  }

  .doom-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
  }

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

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

  .doom-proof__cards,
  .doom-intent,
  .doom-guide {
    grid-template-columns: 1fr;
  }

  .doom-hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }
}
