* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

.hero {
  display: block;
  height: 100vh;
  width: 100%;
  background-color: #000;
}

.hero__img {
  display: none;
  width: 100%;
  height: 100vh;
  object-fit: fill;
}
.hero__img--mobile {
  display: block;
}
.header {
  position: fixed;
  transform: translateY(-200px);
  transition: 0.2s all;
  width: 100%;
  z-index: 1000;
}
.header--active {
  position: fixed;
  transform: translateY(0px);
}
.header-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  background-color: #0f0f0f;
  width: 100%;
}

.btn {
  width: 100%;
  display: block;
  background: #c9f2f2;
  color: #000 !important;
  border: 1px solid #0f0f0f;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 1px 0px 3px 2px#4e4e4e84;
  transition: 0.2s all;
  min-width: 250px;
  text-align: center;
}
.btn:hover {
  background: #000;
  color: #c9f2f2 !important;
  border: 1px solid #c9f2f2;
  transform: translateY(-2px);
  box-shadow: 1px 0px 8px 3px#4e4e4e;
}
.btn--reg {
  background: #00c853;
  color: #000;
  border: 1px solid #00c853;
  box-shadow: 1px 0px 3px 2px#38573a8e;
}
.btn--reg:hover {
  background: #000;
  color: #00c853;
  border: 1px solid #000;
  box-shadow: 1px 0px 8px 3px#38573a;
}
.btn--login {
  background: #f7ed2a;
  color: #000;
  border: 1px solid #f7ed2a;
  box-shadow: 1px 0px 3px 2px#7c793875;
}
.btn--login:hover {
  background: #000;
  color: #f7ed2a;
  border: 1px solid #f7ed2a;
  box-shadow: 1px 0px 8px 3px#F7ED2A;
}
.btn--invite {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  box-shadow: 1px 0px 3px 2px#7c793875;
}
.btn--invite:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: 1px 0px 8px 3px#fff;
}

.content {
  max-width: 900px;
  margin: 20px auto;
  padding: 1px 20px;
  /* background-color: #0f0f0f; */
  border-radius: 10px;
}

.content h1,
.content h2,
.content h3 {
  margin-bottom: 15px;
  margin-top: 25px;
  padding-bottom: 10px;
}
.content h4,
.content h5,
.content h6 {
  margin-bottom: 5px;
  margin-top: 15px;
  padding-bottom: 2px;
}
.content h1 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: clamp(35px, 5vw, 45px);
  color: #f7ed2a;
  padding-bottom: 10px;
  border-bottom: 1px solid #f7ed2a;
}
.content h2 {
  font-size: clamp(25px, 5vw, 35px);
  line-height: clamp(30px, 5vw, 40px);
}
.content h3 {
  font-size: clamp(20px, 5vw, 30px);
  line-height: clamp(25px, 5vw, 35px);
}
.content h4 {
  font-size: clamp(18px, 5vw, 25px);
  line-height: clamp(23px, 5vw, 30px);
}
.content h5 {
  font-size: clamp(16px, 5vw, 20px);
  line-height: clamp(21px, 5vw, 25px);
}
.content h6 {
  font-size: clamp(16px, 5vw, 18px);
  line-height: clamp(21px, 5vw, 23px);
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  color: #00c853;
  border-bottom: 1px solid #00c853;
}
.content p {
  margin-bottom: 15px;
  font-size: clamp(12px, 2vw, 16px);
  line-height: clamp(25px, 2vw, 30px);
}
.content a {
  color: #4a4cfa;
}
.content a:hover {
  color: #37399c;
}
.content ol,
.content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}
.content table {
  overflow-x: auto;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}
.content thead {
  color: #00c853;
}
.content thead,
.content tbody {
  width: 100%;
}
.content tr {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.content th {
  font-size: clamp(17px, 2vw, 22px);
  line-height: clamp(25px, 2vw, 30px);
}
.content td {
  font-size: clamp(14px, 2vw, 18px);
  line-height: clamp(21px, 2vw, 25px);
}
.content thead tr {
  border-bottom: 1px solid #00c853;
}
.content tbody tr:nth-last-child(2n + 1) {
  background-color: #4e4e4e;
}
.content th,
.content td {
  min-width: 100px;
  padding: 10px;
}
.content img {
  width: 100%;
}
.cards {
  margin: 20px auto;
  max-width: 900px;
  padding: 1px 20px;
}
.cards__title {
  color: #00c853;
  font-size: clamp(25px, 5vw, 35px);
  line-height: clamp(30px, 5vw, 40px);
  margin-bottom: 20px;
}
.cards__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, minmax(150px, 1fr));
  grid-template-rows: repeat(6, minmax(100px, 1fr));
}
.cards__item {
  transition: 0.2s all;
  background: linear-gradient(90deg, #313392, #5052d6);
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px;
  text-decoration: none;
}
.cards__item:hover {
  background: linear-gradient(180deg, #313392, #5052d6);
  scale: 1.01;
}
.cards__icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  object-fit: contain;
}
.cards__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.start {
  margin: 20px auto;
  max-width: 860px;
  padding: 40px 20px;
  background-color: #00c853;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  margin-bottom: 0;
}
.start__title {
  color: #fff;
  font-size: clamp(25px, 5vw, 35px);
  line-height: clamp(30px, 5vw, 40px);
  margin-bottom: 10px;
}
.start__description {
  font-weight: 600;
  max-width: 500px;
  text-align: center;
}
.footer {
  background-color: #0f0f0f;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.footer__disclaimer,
.footer__text {
  max-width: 300px;
  font-size: 14px;
}
.footer__text {
  margin-bottom: 10px;
}
@media (min-width: 375px) {
  .cards__grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-template-rows: repeat(3, minmax(100px, 1fr));
  }
}
@media (min-width: 575px) {
  .btn {
    width: auto;
  }
  .hero__img {
    display: block;
  }
  .hero__img--mobile {
    display: none;
  }
}
@media (min-width: 768px) {
  .content thead,
  .content tbody {
    display: block;
  }
  .cards__grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    grid-template-rows: repeat(2, minmax(100px, 1fr));
  }
}
@media (min-width: 860px) {
  .start {
    border-radius: 10px;
    margin-bottom: 20px;
  }
}


/* ---- Spinline: layout additions on top of the donor stylesheet ---- */
.header-navigation {
  flex-direction: column;
  gap: 12px;
  padding: 12px 20px;
}
.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0;
}
.menu__link {
  color: #c9f2f2;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.menu__link:hover,
.menu__link--active {
  color: #00c853;
}
.header-navigation__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.header-navigation__cta .btn {
  width: auto;
  min-width: 170px;
  padding: 10px 20px;
  font-size: 16px;
}

.toc {
  border: 1px solid #00c853;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 25px 0;
  background-color: #0f0f0f;
}
.toc__title {
  color: #f7ed2a;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.toc__list {
  columns: 2;
  column-gap: 24px;
  margin: 0 0 0 18px;
}
.toc__list li {
  break-inside: avoid;
  margin-bottom: 4px;
}
.content h2[id],
.content h3[id] {
  scroll-margin-top: 90px;
}

/* table: the donor turned tables into flex rows, which drops <caption>
   out of the table box. Restore a real table inside a scroll wrapper. */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
}
.content .table-scroll table {
  display: table;
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin-bottom: 0;
}
.content .table-scroll tr {
  display: table-row;
}
.content .table-scroll th,
.content .table-scroll td {
  display: table-cell;
  text-align: left;
  vertical-align: top;
}
.content caption {
  display: table-caption;
  caption-side: top;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  color: #f7ed2a;
  background-color: #0f0f0f;
  border-radius: 8px 8px 0 0;
}
.content tbody th {
  color: #c9f2f2;
  font-weight: 600;
  white-space: nowrap;
}

.footer {
  height: auto;
  padding: 24px 20px;
  gap: 10px;
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer__link {
  color: #c9f2f2;
  font-size: 14px;
  text-decoration: none;
}
.footer__link:hover {
  color: #00c853;
}
.footer__text {
  font-size: 14px;
  color: #9a9a9a;
}
.footer__disclaimer {
  font-size: 13px;
  color: #7a7a7a;
}

@media (min-width: 768px) {
  .hero__img {
    display: block;
  }
  .hero__img--mobile {
    display: none;
  }
  .header-navigation {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .toc__list {
    columns: 1;
  }
}
