:root {
  --bg: #000000;
  --panel: #121214;
  --text: #ffffff;
  --subtle: #747477;
  --accent: #cb3e30; /* EH! red */
  --silver: #909da3;
  --accent-2: #ff6a00;
  --brand: #ff5130;
  --link: #f3f3f4;
  --card: #1a1a1d;
  --border: #2a2a30;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Aptos", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1024px) {
  html,
  body {
    font-size: 12px;
  }
}

a {
  color: var(--text);
  text-decoration: none;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Main container */
.main-container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Custom list bullets using list-dot.png */
main ul {
  list-style: none;
  padding-left: 0;
}

main ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 24px;
}

main ul li:before {
  content: "";
  background-image: url("../img/icons/list-dot.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 0.5rem;
  left: -4px;
}

main ol {
  list-style: decimal;
  padding-left: 32px;
}

main ol li {
  list-style: decimal;
  margin: 0 0 16px;
}

/* Buttons */
button:hover {
  cursor: pointer;
}

.btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 64px;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: none;
  display: inline-block;
  padding: 16px 32px;
  transition: background-color 0.3s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: transparent;
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #222;
}

/* Glass Title */
.glass-title {
  backdrop-filter: blur(10px);
  border-radius: 32px;
  position: relative;
}

.glass-title::before {
  content: "";
  background: linear-gradient(-32deg, #444, #040404, #444);
  border-radius: 32px;
  position: absolute;
  inset: 0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

/* Page hero */
.page-hero {
  overflow: hidden;
  position: relative;
}

.page-hero .hero-bg {
  text-align: center;
  overflow: hidden;
  max-width: 90%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

.page-hero .hero-bg img {
  max-width: 100%;
  max-height: 100%;
}

.page-hero .hero-fg-wrapper {
  text-align: right;
  min-height: 500px;
}

.page-hero .hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1440px;
  position: relative;
  z-index: 2;
  padding: 0 0 0 32px;
  margin: 0 auto;
}

.page-hero .hero-content .hero-text {
  flex: 1 1 50%;
  position: relative;
  z-index: 2;
  padding: 0 32px;
}

.page-hero .hero-content .hero-text h1 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 3.9rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.page-hero .hero-content .hero-text h1 strong {
  color: var(--accent);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 3.9rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.page-hero .hero-content .hero-text p {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 32px 0 0;
}

.page-hero .hero-fg-wrapper::before {
  content: "";
  background: linear-gradient(to left, var(--bg), transparent 120px);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.page-hero .hero-fg-wrapper::after {
  content: "";
  background: linear-gradient(to top, var(--bg), transparent 50%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.page-hero .hero-fg {
  flex: 1 1 50%;
}

.page-hero .hero-fg img {
  max-width: 100%;
}

@media (max-width: 768px) {
  .page-hero .hero-content {
    padding: 32px 0;
  }

  .page-hero .hero-content .hero-text {
    padding: 0 12px;
  }
  .page-hero .hero-fg {
    display: none;
  }
}

/* Dot title */
.dot-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 32px;
}

.dot-title::before {
  content: "";
  background-image: url("/static/img/icons/list-dot.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}

.dot-title h2 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
  margin: 0;
}

/* Split sections */
.section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  margin: 32px 0;
}

.section.flex-top {
  align-items: flex-start;
}

.section.section-top-padding {
  padding-top: 120px;
  margin-top: -64px;
}

.section .section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.section .section-bg::after {
  content: "";
  background: linear-gradient(to top, var(--bg), transparent 50%, transparent 80%, var(--bg) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.section .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section .img-panel {
  display: flex;
  flex: 0 1 40%;
  align-items: center;
  justify-content: flex-end;
  min-height: 380px;
  position: relative;
  z-index: 2;
}

.section .img-panel.left {
  justify-content: flex-end;
}

.section .img-panel.right {
  justify-content: flex-start;
}

.section .img-panel .img-wrapper {
  position: relative;
  z-index: 0;
}

.section .img-panel .img-wrapper::before,
.section .img-panel .img-wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.section .img-panel .img-wrapper::before {
  background: linear-gradient(to top, var(--bg), transparent 50%);
}

.section .img-panel.left .img-wrapper::after {
  background: linear-gradient(to right, var(--bg), transparent 50%);
}

.section .img-panel.right .img-wrapper::after {
  background: linear-gradient(to left, var(--bg), transparent 50%);
}

.section .img-panel img {
  width: 100%;
  max-width: 654px;
  height: 100%;
  object-fit: contain;
}

.section .card-panel {
  flex: 1 1 60%;
  position: relative;
  z-index: 2;
}

.section .card-panel .card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 32px;
  position: relative;
}

.section .card-panel .card::before {
  content: "";
  background: linear-gradient(-32deg, #444, #040404, #444);
  border-radius: 32px;
  position: absolute;
  inset: 0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.section .card-panel.left .card::before {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 0;
}

.section .card-panel.right .card::before {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 0;
}

.section .card-wrapper {
  padding: 48px;
  position: relative;
  z-index: 2;
}

.section .card-content {
  max-width: calc((1440px * 0.6) - 48px);
}

.section .card-content.col-2 {
  max-width: calc((1440px * 0.45) - 48px);
}

.section .card-panel.left .card-content {
  margin-left: auto;
}

.section .card-panel.right .card-content {
  margin-right: auto;
}

.section .card-content h2 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.section .card-content h3 {
  color: var(--silver);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.section .card-content p,
.section .card-content li {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.section .card-content p + p {
  margin-top: 16px;
}

.section .float-panel {
  flex: 1 0 60%;
}

.section .float-content {
  text-align: center;
  max-width: 900px;
  padding: 0 12px;
}

.section .float-content.blur-bg {
  background-image: url("/static/img/bg-blur.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.section .float-content h2 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.section .float-content p {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .section {
    flex-direction: column;
  }

  .section .img-panel {
    display: none;
  }

  .section .card-panel.right {
    margin-left: 12px;
  }

  .section .card-panel.left {
    margin-right: 12px;
  }

  .section .card-content,
  .section .card-content.col-2 {
    max-width: 100%;
  }
}

/* Grid section */
.grid-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.grid-section .grid-title {
  display: block;
  width: 90%;
  max-width: 1440px;
  padding: 0 64px;
  margin: 48px auto 0;
}

.grid-section .grid-title .dot-title {
  margin: 0;
}

@media (max-width: 768px) {
  .grid-section .grid-title {
    padding: 0;
  }
}

.grid-section .grid-row {
  display: grid;
  grid-template-columns: 1fr;
  width: 90%;
  max-width: 1440px;
  padding: 0 48px;
  margin: 0 auto;
}

.grid-section .grid-row article {
  height: 100%;
  padding: 12px;
}

.grid-section .grid-row.row-1 {
  grid-template-columns: 1fr;
}

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

.grid-section .grid-row.row-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .grid-section .grid-row.row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-section .grid-row {
    padding: 0;
  }

  .grid-section .grid-row.row-2,
  .grid-section .grid-row.row-3 {
    grid-template-columns: 1fr;
  }
}

.grid-section .card.glass-box {
  backdrop-filter: blur(10px);
  border-radius: 32px;
  height: 100%;
  position: relative;
  padding: 48px;
}

.grid-section .card.glass-box::before {
  content: "";
  background: linear-gradient(140deg, #444, #040404, #444);
  border-radius: 32px;
  position: absolute;
  inset: 0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.grid-section .card .card-content {
  position: relative;
  z-index: 2;
}

.grid-section .card h2 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.grid-section .card h3 {
  color: var(--silver);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.grid-section .card p {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 16px 0 0;
}

.grid-section .card ul {
  margin-left: 24px;
}

.grid-section .card ul li {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  list-style: disc;
  padding-left: 0;
  margin: 0;
}

.grid-section .card ul li + li,
.grid-section .card ul ul {
  margin-top: 1.25rem;
}

.grid-section .card ul li::before {
  display: none;
}

/* List section */
.list-section {
  display: block;
  width: 90%;
  max-width: 1440px;
  padding: 0 64px;
  margin: 64px auto;
}

@media (max-width: 768px) {
  .list-section {
    padding: 0;
  }
}

.list-section article {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}

.list-section article div {
  flex: 1 0 50%;
}

@media (max-width: 768px) {
  .list-section article {
    flex-direction: column;
    gap: 0;
  }
}

.list-section article ul {
  margin-left: 24px;
}

.list-section article ul li {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  list-style: disc;
  padding-left: 0;
  margin: 0;
}

.list-section article ul li + li,
.list-section article ul ul {
  margin-top: 1.25rem;
}

.list-section article ul li::before {
  display: none;
}

.list-section article h3 {
  color: var(--silver);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.list-section article h4 {
  color: var(--silver);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 16px 0 16px;
}

.list-section article p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 24px;
}

/* Call to action */
.call-to-action {
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  margin: 64px 0 0;
}

.call-to-action.call-to-action-with-images {
  min-height: 500px;
}

.call-to-action .call-to-action-bg-left,
.call-to-action .call-to-action-bg-right {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.call-to-action .call-to-action-bg-left {
  text-align: left;
}

.call-to-action .call-to-action-bg-right {
  text-align: right;
}

.call-to-action .call-to-action-bg-left img,
.call-to-action .call-to-action-bg-right img {
  max-width: 100%;
  max-height: 100%;
}

.call-to-action .call-to-action-bg-right::after {
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent 50%, rgba(0, 0, 0, 1) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .call-to-action .call-to-action-bg-left {
    display: none;
  }

  .call-to-action .call-to-action-bg-right {
    text-align: center;
    opacity: 0.5;
  }
}

.call-to-action .call-to-action-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 90%;
  max-width: 1440px;
  position: relative;
  z-index: 2;
  padding: 0 64px;
  margin: 0 auto;
}

.call-to-action.call-to-action-with-images .call-to-action-content {
  max-width: 820px;
}

.call-to-action h2 {
  color: var(--text);
  font-family: "NexaRust Slab", "Aptos", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}

.call-to-action-content p {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  margin: 0;
}

@media (max-width: 1024px) {
  .call-to-action .call-to-action-content {
    padding: 0;
  }
}
