/* Basic reset keeps spacing predictable across browsers. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0d0d0f;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(13, 13, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 18px 20px;
}

.logo {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.logo::first-letter {
  color: #ff2d2d;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: #dedede;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ff2d2d;
}

.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 34px;
  width: 38px;
}

.menu-button span {
  background: #ffffff;
  display: block;
  height: 3px;
  margin: 6px 0;
  transition: background 0.2s ease;
  width: 100%;
}

.menu-button:hover span {
  background: #ff2d2d;
}

.hero {
  align-items: center;
  background:
    linear-gradient(rgba(13, 13, 15, 0.78), rgba(13, 13, 15, 0.94)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 72vh;
  padding: 80px 20px;
}

.hero-content {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.eyebrow {
  color: #ff4a4a;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  max-width: 850px;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.hero-text {
  color: #efefef;
  font-size: 1.15rem;
  margin: 22px 0 30px;
  max-width: 660px;
}

.hero-button {
  background: #ff2d2d;
  border-radius: 6px;
  color: #ffffff;
  display: inline-block;
  font-weight: 800;
  padding: 13px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-button:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-3px);
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 72px 20px;
}

.alt-section {
  max-width: none;
}

.alt-section .section-heading,
.alt-section .table-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  color: #cfcfcf;
}

.timeline {
  margin-top: 16px;
  position: relative;
}

.timeline::before {
  background: linear-gradient(#ff2d2d, rgba(255, 45, 45, 0.2));
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  margin-bottom: 26px;
  min-height: 120px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  align-self: start;
  background: #ff2d2d;
  border: 5px solid #0d0d0f;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.3);
  grid-column: 2;
  height: 26px;
  justify-self: center;
  margin-top: 22px;
  position: relative;
  width: 26px;
  z-index: 1;
}

.timeline-card,
.about-card {
  background: #17171b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.timeline-card {
  grid-column: 3;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 1;
  grid-row: 1;
}

.timeline-card:hover {
  border-color: rgba(255, 45, 45, 0.8);
  transform: translateY(-6px);
}

.timeline-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.timeline-date {
  color: #ff4a4a;
  font-weight: 800;
  margin-bottom: 12px;
}

.timeline-card p:last-child {
  color: #d7d7d7;
}

.alt-section {
  background: #121215;
}

.table-wrapper {
  margin-top: 34px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  text-align: left;
}

th {
  background: #ff2d2d;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

td {
  background: #18181c;
  color: #e7e7e7;
}

tr:hover td {
  background: #202026;
}

.about-section {
  display: flex;
  justify-content: center;
}

.about-card {
  max-width: 760px;
  padding: 34px;
}

.about-card p:last-child {
  color: #d7d7d7;
}

.site-footer {
  background: #080809;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #d5d5d5;
  padding: 28px 20px;
  text-align: center;
}

.disclaimer {
  color: #ffb3b3;
  margin: 10px auto 0;
  max-width: 820px;
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 14px;
    left: 20px;
    padding: 18px;
    position: absolute;
    right: 20px;
    top: 72px;
  }

  .nav-links.show {
    display: flex;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    grid-template-columns: 34px 1fr;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    grid-column: 1;
    justify-self: start;
  }

  .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 66vh;
    padding: 58px 18px;
  }

  .section {
    padding: 56px 18px;
  }

  .about-card {
    padding: 24px;
  }

  th,
  td {
    padding: 13px;
  }
}
