:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0a0b;
  --panel: #101012;
  --panel-strong: #161619;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f7f8;
  --muted: #b7b7bd;
  --subtle: #85858d;
  --accent: #e50922;
  --accent-hot: #ff1933;
  --accent-dark: #8f0011;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #020202 0%, #070707 42%, #050505 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 68%);
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

p {
  overflow-wrap: break-word;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
}

.announcement a {
  width: 100%;
  padding: 0.42rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(120px, 1fr);
  min-height: 74px;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(229, 9, 34, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a,
.text-link {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: #fff;
}

.nav-download {
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(255, 25, 51, 0.62);
  border-radius: 6px;
  background: rgba(229, 9, 34, 0.16);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 850;
}

.nav-download:hover {
  background: rgba(229, 9, 34, 0.28);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(120deg, rgba(229, 9, 34, 0.14) 0%, transparent 34%),
    linear-gradient(180deg, #020202 0%, #070708 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, black 0%, transparent 76%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
  min-height: 660px;
  align-items: center;
  gap: 4rem;
  padding-block: 4.6rem 4.2rem;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent-hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title {
  max-width: 100%;
  color: #fff;
  font-size: 5.35rem;
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.55);
}

.tagline {
  margin-top: 1rem;
  max-width: 620px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
}

.hero-body {
  max-width: 610px;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  border-color: var(--accent-hot);
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: #fff;
  box-shadow: 0 18px 42px rgba(229, 9, 34, 0.28);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ff3048, #a10014);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.13);
}

.button-outline {
  border-color: rgba(255, 25, 51, 0.54);
  background: rgba(229, 9, 34, 0.08);
  color: #fff;
}

.button-outline:hover {
  border-color: rgba(255, 25, 51, 0.88);
  background: rgba(229, 9, 34, 0.16);
}

.hero-visual {
  display: grid;
  align-items: center;
}

.product-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #0a0a0c;
  box-shadow: var(--shadow);
}

.product-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.window-bar {
  display: flex;
  gap: 0.42rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.window-bar span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.window-bar span:first-child {
  background: var(--accent-hot);
}

.product-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.1rem 0.95rem;
}

.product-header img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.product-header strong,
.pack-tile strong,
.launch-panel strong,
.membership-list strong {
  display: block;
  color: #fff;
  font-weight: 900;
}

.product-header span,
.pack-tile span,
.launch-panel span {
  display: block;
  color: var(--subtle);
  font-size: 0.84rem;
  font-weight: 750;
}

.product-header b {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 25, 51, 0.46);
  border-radius: 999px;
  background: rgba(229, 9, 34, 0.12);
  color: #fff;
  font-size: 0.76rem;
}

.banner-panel {
  margin: 0 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
}

.banner-panel img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.hub-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
  gap: 0.85rem;
  padding: 1.1rem;
}

.pack-tile,
.launch-panel {
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.pack-tile {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem;
}

.pack-tile img {
  width: 72px;
  height: 98px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.launch-panel {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border-color: rgba(255, 25, 51, 0.28);
  background:
    linear-gradient(145deg, rgba(229, 9, 34, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.section {
  padding-block: 4.8rem;
}

.section-dark {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #080809;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro h2,
.split-intro h2,
.membership-grid h2,
.support-grid h2 {
  font-size: 3.3rem;
  font-weight: 950;
}

.section-copy,
.split-intro > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  list-style: none;
  box-shadow: var(--shadow);
}

.work-steps li {
  min-height: 206px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.work-steps li:last-child {
  border-right: 0;
}

.work-steps span,
.membership-list span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--accent-hot);
  font-size: 0.82rem;
  font-weight: 950;
}

.work-steps h3 {
  min-height: 3.3rem;
  font-size: 1.12rem;
  font-weight: 900;
}

.work-steps p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.split-intro,
.membership-grid,
.support-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 2.8rem;
  align-items: start;
}

.split-intro {
  margin-bottom: 2rem;
}

.library-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
}

.cover-wrap {
  display: grid;
  min-height: 390px;
  place-items: center;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(229, 9, 34, 0.2), transparent 44%),
    #09090a;
}

.cover-wrap img {
  width: min(230px, 72%);
  border-radius: 8px;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.58);
}

.library-copy {
  display: grid;
  align-content: center;
  padding: 2.2rem;
}

.status-label {
  width: max-content;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 25, 51, 0.42);
  border-radius: 999px;
  background: rgba(229, 9, 34, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.library-copy h3 {
  font-size: 2.2rem;
  font-weight: 950;
}

.library-copy p {
  max-width: 560px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  width: max-content;
  margin-top: 1.55rem;
  border-bottom: 1px solid rgba(255, 25, 51, 0.72);
  color: var(--accent-hot);
  font-weight: 900;
}

.membership-grid {
  align-items: center;
}

.membership-grid .button,
.support-grid .button {
  margin-top: 1.6rem;
}

.membership-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.membership-list div {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.membership-list div:last-child {
  border-bottom: 0;
}

.membership-list span {
  margin-bottom: 0.72rem;
}

.membership-list p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.support-grid {
  align-items: center;
}

.checklist {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
}

.checklist h3 {
  font-size: 1.3rem;
  font-weight: 950;
}

.checklist ul {
  display: grid;
  gap: 0.72rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-hot);
  content: "";
  transform: translateY(-50%);
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #050505;
}

.footer-grid {
  align-items: center;
}

.footer-brand {
  margin-bottom: 0.48rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer p {
  color: var(--subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.25rem;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.7rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .hero-title {
    font-size: 4.85rem;
  }

  .work-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-steps li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .work-steps li:nth-child(3n) {
    border-right: 0;
  }

  .work-steps li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    padding-block: 0.82rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.12rem;
  }

  .nav-download {
    margin-left: auto;
  }

  .hero-title {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.7rem;
  }

  .section-intro h2,
  .split-intro h2,
  .membership-grid h2,
  .support-grid h2 {
    font-size: 2.55rem;
  }

  .split-intro,
  .membership-grid,
  .support-grid,
  .footer-grid,
  .library-card {
    grid-template-columns: 1fr;
  }

  .cover-wrap {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .announcement {
    font-size: 0.8rem;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-download {
    min-height: 38px;
    padding-inline: 0.82rem;
  }

  .hero-grid {
    padding-block: 3.5rem;
  }

  .hero-title {
    font-size: 3.1rem;
  }

  .hero-body {
    font-size: 1rem;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .product-header {
    grid-template-columns: auto 1fr;
  }

  .product-header b {
    justify-self: start;
    grid-column: 2;
  }

  .banner-panel img {
    height: 128px;
  }

  .hub-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.6rem;
  }

  .work-steps {
    grid-template-columns: 1fr;
  }

  .work-steps li,
  .work-steps li:nth-child(3n),
  .work-steps li:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-steps li:last-child {
    border-bottom: 0;
  }

  .work-steps h3 {
    min-height: 0;
  }

  .library-copy {
    padding: 1.45rem;
  }

  .library-copy h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 2.58rem;
  }

  .tagline {
    font-size: 1.35rem;
  }

  .section-intro h2,
  .split-intro h2,
  .membership-grid h2,
  .support-grid h2 {
    font-size: 2.12rem;
  }
}
