:root {
  --lux-primary: #5F2A95;
  --lux-dark: #3F1D6C;
  --lux-mid: #7756A7;
  --lux-accent: #A071CD;
  --lux-soft: #C2ABE1;
  --lux-ink: #F7F2FC;
  --lux-muted: #C9B6E0;
  --lux-bg: #0C0614;
  --lux-panel: #160B24;
  --lux-glass: rgba(18, 8, 28, 0.72);
  --lux-line: rgba(194, 171, 225, 0.22);
  --lux-radius: 12px;
  --lux-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  --lux-serif: Georgia, "Times New Roman", "Source Serif 4", serif;
  --lux-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--lux-sans);
  background: radial-gradient(1200px 700px at 10% -10%, #3F1D6C 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 8%, #5F2A95 0%, transparent 46%),
    var(--lux-bg);
  color: var(--lux-ink);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lux-soft);
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--lux-accent);
  outline-offset: 3px;
}

.lux-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--lux-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 8px;
}

.lux-skip:focus {
  top: 1rem;
}

.lux-wrap {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.lux-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: var(--lux-glass);
  border-bottom: 1px solid var(--lux-line);
}

.lux-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.lux-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--lux-serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.lux-mark span {
  color: var(--lux-soft);
}

.lux-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.lux-nav a {
  text-decoration: none;
  color: var(--lux-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.lux-nav a[aria-current="page"] {
  color: #fff;
}

.lux-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lux-primary), var(--lux-mid));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(95, 42, 149, 0.38);
}

.lux-cta:hover {
  color: #fff;
  filter: brightness(1.08);
}

.lux-cta--ghost {
  background: transparent;
  border: 1px solid var(--lux-soft);
  box-shadow: none;
  color: var(--lux-soft);
}

.lux-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lux-line);
  background: transparent;
  color: #fff;
  border-radius: 10px;
}

.lux-burger span,
.lux-burger span::before,
.lux-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.lux-burger span::before,
.lux-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.lux-burger span::before {
  top: -6px;
}

.lux-burger span::after {
  top: 6px;
}

.lux-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
}

.lux-stage .lux-frame {
  align-self: center;
  width: 100%;
}

.lux-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lux-accent);
  margin: 0 0 0.85rem;
}

.lux-stage h1 {
  font-family: var(--lux-serif);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  font-weight: 500;
}

.lux-lead {
  font-size: 1.08rem;
  color: var(--lux-muted);
  max-width: 38rem;
}

.lux-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.lux-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--lux-shadow);
  background: var(--lux-panel);
  border: 1px solid var(--lux-line);
}

.lux-frame > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lux-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 2982 / 1541;
  background: #12081C;
}

.lux-frame > a:hover img,
.lux-tile:hover img {
  filter: brightness(1.06);
}

.lux-frame__cap {
  padding: 1.1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #1A0D2C, #12081C);
}

.lux-frame__cap strong {
  display: block;
  font-family: var(--lux-serif);
  font-size: 1.5rem;
}

.lux-section {
  padding: 4.2rem 0;
}

.lux-section h2 {
  font-family: var(--lux-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.7rem;
  font-weight: 500;
}

.lux-sub {
  color: var(--lux-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.lux-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lux-step {
  background: var(--lux-panel);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-radius);
  padding: 1.3rem 1.15rem;
  min-height: 100%;
}

.lux-step b {
  display: block;
  font-family: var(--lux-serif);
  font-size: 1.8rem;
  color: var(--lux-accent);
  margin-bottom: 0.45rem;
}

.lux-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.lux-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--lux-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--lux-shadow);
  background: var(--lux-panel);
  border: 1px solid var(--lux-line);
}

.lux-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 2982 / 1541;
  background: #12081C;
  flex-shrink: 0;
}

.lux-tile__body {
  padding: 0.95rem 1rem 1.1rem;
  margin-top: auto;
}

.lux-tile__body span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lux-soft);
  margin-bottom: 0.25rem;
}

.lux-tile__body strong {
  display: block;
  line-height: 1.35;
}

.lux-note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  background: linear-gradient(160deg, #1A0D2C, #12081C);
  border: 1px solid var(--lux-line);
  border-radius: 16px;
  padding: 2rem;
}

.lux-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lux-muted);
}

.lux-faq {
  display: grid;
  gap: 0.75rem;
}

.lux-faq details {
  background: var(--lux-panel);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-radius);
  padding: 0.95rem 1.1rem;
}

.lux-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.lux-faq p {
  margin: 0.7rem 0 0;
  color: var(--lux-muted);
}

.lux-social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lux-social a {
  display: block;
  text-decoration: none;
  background: var(--lux-panel);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-radius);
  padding: 1.3rem;
  color: #fff;
}

.lux-social small {
  display: block;
  color: var(--lux-muted);
  margin-top: 0.35rem;
}

.lux-page {
  padding: 3rem 0 4rem;
}

.lux-page h1 {
  font-family: var(--lux-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 500;
}

.lux-crumb {
  font-size: 0.88rem;
  color: var(--lux-muted);
  margin-bottom: 1.2rem;
}

.lux-crumb a {
  text-decoration: none;
}

.lux-prose {
  max-width: 46rem;
}

.lux-prose h2 {
  font-family: var(--lux-serif);
  font-size: 1.55rem;
  margin: 2rem 0 0.7rem;
  font-weight: 500;
}

.lux-prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.lux-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.8rem;
  font-size: 0.95rem;
}

.lux-table th,
.lux-table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--lux-line);
}

.lux-table th {
  color: var(--lux-soft);
  font-weight: 600;
}

.lux-base {
  margin-top: 4rem;
  padding: 2.6rem 0 2rem;
  border-top: 1px solid var(--lux-line);
  background: #0A0512;
}

.lux-base__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.lux-base h2 {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-accent);
  margin: 0 0 0.8rem;
}

.lux-base ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lux-base li {
  margin: 0.4rem 0;
}

.lux-base a {
  text-decoration: none;
}

.lux-fine {
  margin-top: 2rem;
  color: var(--lux-muted);
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .lux-stage,
  .lux-steps,
  .lux-mosaic,
  .lux-note,
  .lux-social,
  .lux-base__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .lux-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lux-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #14091F;
    border-bottom: 1px solid var(--lux-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 1.3rem;
    gap: 0.85rem;
  }

  .lux-nav.is-open {
    display: flex;
  }

  .lux-stage,
  .lux-steps,
  .lux-mosaic,
  .lux-note,
  .lux-social,
  .lux-base__grid {
    grid-template-columns: 1fr;
  }

  .lux-stage {
    min-height: auto;
    padding-top: 2rem;
  }

  .lux-cta--nav {
    display: none;
  }
}
