:root {
  --ink: #111820;
  --paper: #f4f5f2;
  --white: #ffffff;
  --red: #d51f2a;
  --yellow: #f2c94c;
  --green: #1f6b4f;
  --line: #d8dde0;
  --muted: #5f6971;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.cdse-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  transform: translateX(-50%);
}

.cdse-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.cdse-brand strong {
  font-size: 1.5rem;
  line-height: 1;
}

.cdse-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
}

.cdse-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.cdse-header nav a {
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.cdse-header nav a:hover,
.cdse-header nav a:focus-visible {
  color: var(--yellow);
}

.cdse-hero {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  align-items: end;
  padding: 132px max(24px, calc((100% - 1320px) / 2)) 74px;
  overflow: hidden;
  color: var(--white);
  background-image: url('../assets/img/cdse-hero.png');
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.cdse-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 14, 20, 0.55);
  content: '';
}

.cdse-hero__content {
  width: min(720px, 100%);
}

.cdse-kicker,
.cdse-access__heading p {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cdse-hero h1 {
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.93;
  overflow-wrap: anywhere;
}

.cdse-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.cdse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cdse-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: var(--white);
  background: rgba(17, 24, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.cdse-button--primary {
  background: var(--red);
  border-color: var(--red);
}

.cdse-button:hover,
.cdse-button:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.cdse-signature {
  position: absolute;
  right: max(24px, calc((100% - 1320px) / 2));
  bottom: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.cdse-signature strong {
  color: var(--white);
}

.cdse-access {
  padding: 52px max(24px, calc((100% - 1320px) / 2)) 64px;
}

.cdse-access__heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.cdse-access__heading h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1;
}

.cdse-access__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cdse-access-card {
  display: grid;
  min-width: 0;
  min-height: 190px;
  align-content: space-between;
  gap: 12px;
  padding: 22px;
  background: var(--white);
  border-right: 1px solid var(--line);
  text-decoration: none;
}

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

.cdse-access-card span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
}

.cdse-access-card strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.cdse-access-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.cdse-access-card--accent {
  color: var(--white);
  background: var(--red);
}

.cdse-access-card--live {
  color: var(--white);
  background: var(--green);
}

.cdse-access-card--accent span,
.cdse-access-card--accent small,
.cdse-access-card--live span,
.cdse-access-card--live small {
  color: rgba(255, 255, 255, 0.78);
}

.cdse-access-card:hover,
.cdse-access-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 4px solid var(--yellow);
  outline-offset: -4px;
}

.cdse-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100% - 1320px) / 2));
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
}

.cdse-footer a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .cdse-header {
    position: relative;
    left: auto;
    width: 100%;
    padding: 16px 22px;
    color: var(--white);
    background: var(--ink);
    transform: none;
  }

  .cdse-hero {
    min-height: 650px;
    padding-top: 72px;
    background-position: 58% center;
  }

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

  .cdse-access-card {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .cdse-header {
    align-items: flex-start;
  }

  .cdse-header nav {
    max-width: 190px;
  }

  .cdse-hero {
    min-height: 600px;
    padding-bottom: 86px;
    background-position: 65% center;
  }

  .cdse-hero h1 {
    font-size: 2.65rem;
  }

  .cdse-signature {
    right: 24px;
    bottom: 22px;
  }

  .cdse-access__heading,
  .cdse-access__grid {
    grid-template-columns: 1fr;
  }

  .cdse-access__heading h2 {
    font-size: 1.85rem;
  }

  .cdse-access-card {
    min-height: 148px;
    border-right: 0;
  }

  .cdse-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
