:root {
  --bg-deep: #080311;
  --bg-card: #181622;
  --ink: #fff8ec;
  --ink-soft: rgba(255, 248, 236, .78);
  --ink-mute: rgba(255, 248, 236, .58);
  --line: rgba(255, 248, 236, .16);
  --pink: #ff4777;
  --orange: #ff7a3d;
  --yellow: #ffe934;
  --mint: #37f2c4;
  --cyan: #63e7ff;
  --lavender: #d9c7f4;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 71, 119, .16), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(99, 231, 255, .13), transparent 34rem),
    #080311;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: .7rem;
  padding: .65rem .9rem;
  background: var(--ink);
  color: var(--bg-deep);
  border-radius: 8px;
  transform: translateY(-160%);
  z-index: 20;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 3, 17, .82);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Fredoka, Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #160717;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 3, 17, .98), rgba(8, 3, 17, .78) 48%, rgba(8, 3, 17, .34)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, var(--bg-deep));
  z-index: -1;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero__content {
  max-width: 690px;
  padding: 96px 0 80px;
}

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

h1,
h2,
h3 {
  font-family: Fredoka, Inter, sans-serif;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: 4.35rem;
  line-height: .96;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: Fredoka, Inter, sans-serif;
  font-weight: 800;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #130713;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: 2.35rem;
  line-height: 1.04;
  max-width: 760px;
}

.section__intro {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.updated {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink-mute);
  font-size: .92rem;
  font-weight: 800;
}

.content-flow {
  max-width: 860px;
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.content-flow h2,
.content-flow h3 {
  color: var(--ink);
}

.content-flow h2 {
  margin-top: 22px;
  font-size: 2rem;
  line-height: 1.08;
}

.content-flow h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.content-flow ul,
.content-flow ol {
  margin: 0;
  padding-left: 1.25rem;
}

.content-flow li + li { margin-top: 8px; }

.note {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  padding: 18px 20px;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, .045);
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink);
  font-family: Fredoka, Inter, sans-serif;
  font-size: 1.05rem;
}

td { color: var(--ink-soft); }

tr:last-child th,
tr:last-child td { border-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  padding: 22px;
}

.panel h3 {
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.05;
}

.panel p,
.faq p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.visuals img,
.media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f0717;
}

.media {
  margin-top: 28px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  padding: 20px;
}

.faq h3 {
  font-size: 1.15rem;
}

.network {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  padding: 32px 0;
}

.network__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.network__links a {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  padding: 13px 14px;
}

.network__links strong {
  font-family: Fredoka, Inter, sans-serif;
  font-size: 1.1rem;
}

.network__links span {
  color: var(--ink-mute);
  font-size: .9rem;
}

.foot {
  padding: 28px 0;
  color: var(--ink-mute);
}

.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 840px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav { justify-content: flex-start; }

  .hero { min-height: 0; }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(8, 3, 17, .94), rgba(8, 3, 17, .76)),
      var(--hero-image);
  }

  .hero__content {
    padding: 72px 0 64px;
  }

  h1 { font-size: 3rem; }

  .grid,
  .visuals,
  .network__links {
    grid-template-columns: 1fr;
  }
}
