:root {
  --sx-ink: #101a22;
  --sx-dim: #4d6071;
  --sx-paper: #f5f9fc;
  --sx-amber: #f0a63b;
  --sx-border: #cad8e3;
}

* {
  box-sizing: border-box;
}

.sx-body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--sx-ink);
  background:
    linear-gradient(90deg, #f7fbfe 0 74%, #fff2df 74%),
    linear-gradient(180deg, #ffffff 0%, #edf4f9 100%);
}

.sx-header {
  width: min(1280px, 96vw);
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--sx-border);
  background: #ffffff;
  border-radius: 16px;
}

.sx-brand {
  text-decoration: none;
  color: var(--sx-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.sx-brand img {
  width: 40px;
  height: 40px;
}

.sx-nav-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--sx-border);
  background: #fff;
  padding: 0.45rem;
}

.sx-nav-btn span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  border-radius: 999px;
  background: #23435a;
}

.sx-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sx-nav a {
  text-decoration: none;
  color: #1f4158;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f7fbff;
}

.sx-nav a:hover {
  border-color: #a4bfce;
}

.sx-main {
  width: min(1280px, 96vw);
  margin: 1rem auto 2.2rem;
  display: grid;
  gap: 1rem;
}

.sx-banner {
  border: 1px solid var(--sx-border);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: #ffffff;
}

.sx-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: #537086;
}

.sx-banner h1,
.sx-duo h2,
.sx-frame h2,
.sx-play h1,
.sx-doc h1,
.sx-doc h2 {
  font-family: "Space Grotesk", sans-serif;
}

.sx-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sx-duo article,
.sx-frame,
.sx-play,
.sx-doc {
  border: 1px solid var(--sx-border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--sx-paper);
}

.sx-duo ul {
  margin: 0;
  padding-left: 1.1rem;
}

.sx-frame iframe,
.sx-play iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
  border-radius: 12px;
  background: #000;
}

.sx-play,
.sx-doc {
  width: min(1100px, 94vw);
  margin: 1.2rem auto 2rem;
}

.sx-help {
  color: var(--sx-dim);
}

.sx-footer {
  border-top: 1px solid var(--sx-border);
  padding: 1.5rem 1rem 2.2rem;
  text-align: center;
}

.sx-footer div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sx-footer a {
  color: #42657f;
}

.sx-age-layer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 16, 26, 0.78);
}

.sx-age-layer.active {
  display: grid;
}

.sx-age-box {
  width: min(470px, 95vw);
  background: #ffffff;
  border: 1px solid #b8cad7;
  border-radius: 14px;
  padding: 1.2rem;
}

.sx-age-buttons {
  display: flex;
  gap: 0.8rem;
}

.sx-age-buttons button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 0.68rem;
  font-weight: 700;
}

.sx-age-buttons button[data-sx-age="yes"] {
  background: var(--sx-amber);
  color: #2b1700;
}

.sx-age-buttons button[data-sx-age="no"] {
  background: #344d5f;
  color: #fff;
}

body.sx-hold {
  overflow: hidden;
}

@media (max-width: 860px) {
  .sx-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sx-header {
    flex-wrap: wrap;
  }

  .sx-nav-btn {
    display: block;
  }

  .sx-nav {
    width: 100%;
    display: none;
    margin-left: 0;
    flex-direction: column;
  }

  .sx-nav.visible {
    display: flex;
  }

  .sx-frame iframe,
  .sx-play iframe {
    min-height: 510px;
  }
}
