:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #101521;
  --text: #e6e9f2;
  --muted: #a7b0c3;
  --border: #222b3f;
  --accent: #79a6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Special Elite", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-image: radial-gradient(900px 380px at 50% -80px, rgba(121, 166, 255, 0.16), transparent 60%),
    url("./assets/Images/background.png");
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, scroll;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
}

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(121, 166, 255, 0.75);
  text-underline-offset: 3px;
}

.container {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  padding: 0.4rem 0.6rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__link:hover {
  text-decoration: none;
  border-color: var(--border);
  color: var(--text);
  background: rgba(16, 21, 33, 0.75);
}

.nav__link:focus-visible,
.button:focus-visible,
.iconbutton:focus-visible,
.field__input:focus-visible {
  outline: 2px solid rgba(121, 166, 255, 0.55);
  outline-offset: 2px;
}

.nav__link[aria-current="page"] {
  color: var(--text);
  border-color: var(--border);
  background: rgba(16, 21, 33, 0.95);
}

.nav__button {
  background: transparent;
  cursor: pointer;
}

.hero {
  padding: 4.25rem 0 2rem;
  text-align: center;
}

.hero__logo {
  width: auto;
  height: auto;
  max-width: min(720px, 92vw);
  max-height: 240px;
  display: block;
  margin: 0 auto 1rem;
}

.hero__title {
  margin: 0;
  font-size: 2.25rem;
}

.hero__tagline {
  margin: 0.75rem auto 0;
  max-width: 52ch;
  color: var(--muted);
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(16, 21, 33, 0.95);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
  border-color: rgba(121, 166, 255, 0.6);
}

.button:active {
  transform: translateY(1px);
}

.button--secondary {
  background: transparent;
  color: var(--muted);
}

.button--ghost {
  background: transparent;
}

.card {
  border: 1px solid var(--border);
  background: rgba(16, 21, 33, 0.65);
  border-radius: 0.9rem;
  padding: 1.25rem;
  margin: 1rem 0 3.5rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.peek__capsuleLink {
  display: block;
}

.peek__capsule {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.peek__videoWrap {
  margin-top: 1rem;
}

.videoEmbed {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(11, 13, 18, 0.85);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.videoEmbed__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@supports not (aspect-ratio: 16 / 9) {
  .videoEmbed {
    position: relative;
    padding-top: 56.25%;
  }

  .videoEmbed__frame {
    position: absolute;
    inset: 0;
  }
}

.card__title {
  margin: 0 0 0.35rem;
}

.card__body {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer__links a,
.footer__button {
  color: var(--muted);
}

.footer__button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.footer__button:hover {
  text-decoration: underline;
}

.modal {
  width: min(560px, calc(100% - 2rem));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0;
  background: rgba(16, 21, 33, 0.97);
  color: var(--text);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.modal__panel {
  padding: 1.1rem;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.modal__title {
  margin: 0;
  font-size: 1.25rem;
}

.iconbutton {
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: transparent;
  color: var(--muted);
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
}

.iconbutton:hover {
  color: var(--text);
}

.field {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0;
}

.field__label {
  font-size: 0.92rem;
  color: var(--muted);
}

.field__input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.8rem;
  background: rgba(11, 13, 18, 0.85);
  color: var(--text);
  font: inherit;
}

.field__input:focus {
  outline: 2px solid rgba(121, 166, 255, 0.55);
  outline-offset: 2px;
}

.modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.modal__hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal__status {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.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;
}

@media (max-width: 560px) {
  .topbar__inner {
    padding: 0.75rem 0.6rem;
  }

  .hero {
    padding-top: 3.25rem;
  }
}
