:root {
  --red: #d51f2f;
  --red-dark: #a81220;
  --blue: #4258dc;
  --orange: #e77808;
  --orange-dark: #c65f00;
  --black: #0b0b0b;
  --ink: #1b1b1b;
  --muted: #606060;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --line: #dedede;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--black);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.brand-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--black);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.08em;
  text-decoration: none;
}

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

.brand small {
  margin-left: 12px;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-actions {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.button--red {
  background: linear-gradient(135deg, #ed3145, var(--red-dark));
}

.button--blue {
  background: linear-gradient(135deg, #6577ef, #2d42c5);
}

.topic-nav {
  color: #fff;
  background: var(--black);
}

.topic-nav__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 27px;
  white-space: nowrap;
}

.topic-nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.topic-nav a::first-letter {
  color: #f59119;
}

.home-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.98) 40%,
      rgba(255, 255, 255, 0.2) 76%
    ),
    url("/static/98vv/98vv-hero.webp") center / cover no-repeat;
}

.home-hero__copy {
  width: 58%;
  max-width: 650px;
  padding-block: 58px;
}

.eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 18px 0;
  color: var(--black);
  font-size: clamp(54px, 7.5vw, 90px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.home-hero p {
  max-width: 610px;
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-cta {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 20px;
  border-radius: 4px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.headline-box {
  position: relative;
  width: min(980px, calc(100% - 32px));
  margin: 34px auto 28px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  color: var(--red);
  background: #fff;
  font-size: clamp(19px, 3vw, 30px);
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.headline-box::before,
.headline-box::after {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 1px;
  content: "";
  background: #ead5d5;
}

.headline-box::before {
  right: 100%;
}

.headline-box::after {
  left: 100%;
}

.home-intro {
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 3px 0 3px 23px;
  border-left: 3px solid var(--black);
  font: italic 19px/1.7 Georgia, serif;
}

.home-intro strong {
  color: var(--red);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--orange);
  box-shadow: 0 12px 25px rgba(89, 42, 0, 0.18);
}

.quick-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(255, 218, 111, 0.38), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 55%);
  text-decoration: none;
}

.quick-card:last-child {
  border-right: 0;
}

.quick-card b {
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
}

.quick-card span {
  font-size: 13px;
  font-weight: 800;
}

.latest-section {
  padding-block: 66px 80px;
}

.section-title {
  margin: 0 0 28px;
  color: var(--red);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.article-card:nth-child(4n + 1) {
  border-top: 5px solid var(--orange);
}

.article-card:nth-child(4n + 2) {
  border-top: 5px solid var(--red);
}

.article-card:nth-child(4n + 3) {
  border-top: 5px solid var(--blue);
}

.article-card:nth-child(4n) {
  border-top: 5px solid var(--black);
}

.article-card__number {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.article-card h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  line-height: 1.14;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.article-card__link {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.article-hero {
  padding: 66px 0 56px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 11, 11, 0.98), rgba(11, 11, 11, 0.75)),
    url("/static/98vv/98vv-hero.webp") center / cover no-repeat;
}

.breadcrumb {
  margin-bottom: 24px;
  color: #f2b15d;
  font-size: 12px;
  font-weight: 850;
}

.breadcrumb a {
  color: inherit;
}

.article-hero h1 {
  max-width: 950px;
  margin: 15px 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.article-dek {
  max-width: 760px;
  margin: 0;
  color: #dedede;
  font-size: 19px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 56px;
  padding-block: 56px 70px;
}

.article-body {
  min-width: 0;
  font: 18px/1.88 Georgia, serif;
}

.article-body > p:first-child {
  font-size: 22px;
  color: #2d2d2d;
}

.article-body h2 {
  margin: 48px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font: 900 31px/1.15 Arial, sans-serif;
  scroll-margin-top: 150px;
}

.article-body h2::before {
  margin-right: 9px;
  color: var(--orange);
  content: "●";
  font-size: 12px;
}

.article-body a {
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.article-rail {
  position: sticky;
  top: 150px;
  height: max-content;
}

.toc,
.control-box {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.toc strong,
.control-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.09em;
}

.toc ol {
  margin: 0;
  padding-left: 19px;
}

.toc li {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.35;
}

.toc a {
  text-decoration: none;
}

.control-box {
  color: #fff;
  border-color: var(--black);
  background: var(--black);
}

.control-box strong {
  color: #f2b15d;
}

.related-section {
  padding-block: 48px 70px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.related-section h2 {
  margin: 0 0 25px;
  font-size: 34px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  min-height: 135px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding-block: 35px 50px;
  color: #bdbdbd;
  background: var(--black);
  font-size: 13px;
}

.site-footer strong {
  color: #fff;
}

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 70px 16px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.96)),
    url("/static/98vv/98vv-hero.webp") center / cover;
}

.error-page h1 {
  margin: 0 0 15px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 1;
}

.error-page p {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-row {
    min-height: 58px;
  }

  .brand {
    font-size: 26px;
  }

  .brand small,
  .button--blue {
    display: none;
  }

  .button {
    min-height: 34px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .topic-nav__inner {
    min-height: 45px;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .home-hero {
    min-height: 520px;
    align-items: flex-start;
    background:
      linear-gradient(
        180deg,
        #fff 0%,
        rgba(255, 255, 255, 0.96) 52%,
        rgba(255, 255, 255, 0.15) 86%
      ),
      url("/static/98vv/98vv-hero.webp") 64% center / cover no-repeat;
  }

  .home-hero__copy {
    width: 100%;
    max-width: 520px;
    padding-top: 55px;
  }

  .home-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .headline-box {
    margin-block: 24px 20px;
    font-size: 19px;
  }

  .headline-box::before,
  .headline-box::after {
    display: none;
  }

  .home-intro {
    width: calc(100% - 24px);
    font-size: 17px;
  }

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

  .quick-card {
    min-height: 145px;
    padding: 20px 16px;
  }

  .quick-card:nth-child(2) {
    border-right: 0;
  }

  .quick-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .article-grid,
  .article-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 220px;
  }

  .article-hero {
    padding-block: 45px 40px;
  }

  .article-hero h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .article-layout {
    padding-block: 35px 50px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-body > p:first-child {
    font-size: 20px;
  }

  .article-body h2 {
    font-size: 27px;
  }

  .article-rail {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
