* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --nav-bg: rgba(13, 17, 23, 0.6);
  --accent-color: red;
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-200%);
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 9999;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

main {
  padding-top: 90px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;

  background: var(--nav-bg);
  backdrop-filter: blur(8px);
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-radius: 8px;
  padding: 0.3rem 0.4rem;
}

.brand:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.nav_links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  align-items: center;
}

.nav_links a {
  text-decoration: none;
  color: white;
  transition:
    color 0.3s,
    background 0.3s;
  position: relative;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.nav_links a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
}

.nav_links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav_links a:hover::after {
  width: 100%;
}

.nav_links a.active,
.nav_links a[aria-current="page"] {
  color: var(--accent-color);
}

.nav_links a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

/* hamburger button (hidden on desktop/tablet) */
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* MAIN LAYOUT */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  width: 90%;
  padding: 20px;
  margin: 0 auto;
  gap: 30px;
}

.logo {
  flex: 1;
  text-align: center;
}

.logo figure {
  position: relative;
  display: inline-block;
}

.logo img {
  max-width: 420px;
  height: auto;
}

.logo figcaption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #ccc;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}

.content {
  flex: 2;
  padding-left: 0;
  max-width: 620px;
}

.content h1 {
  margin: 0;
  font-size: 2rem;
}

.content p {
  margin-top: 10px;
  line-height: 1.55;
  color: #aaa;
  font-size: 1rem;
}

.footer {
  margin: 30px auto 20px;
  font-size: 1.1rem;
  color: #888;
  text-align: center;
  width: 90%;
  max-width: 1100px;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .nav_links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    display: none;
    margin-left: 0;
    padding-top: 0.5rem;
  }

  .nav_links.open {
    display: flex;
  }

  .nav_links a {
    text-align: center;
    padding: 0.75rem 0.9rem;
  }

  .container {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .content {
    max-width: 600px;
  }

  .content h1 {
    font-size: 1.6rem;
  }

  .content p {
    font-size: 0.95rem;
  }

  .logo img {
    max-width: 170px;
  }

  .logo figcaption {
    display: none;
  }
}

/* Centered placeholder layout */
.center {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.center h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #aaa;
}

@media (max-width: 768px) {
  .center h1 {
    font-size: 1.6rem;
  }
}
