:root {
  --home-bg: #030506;
  --home-panel: #080b0e;
  --home-panel-strong: #0c1115;
  --home-line: rgba(141, 239, 255, 0.2);
  --home-line-strong: rgba(141, 239, 255, 0.48);
  --home-cyan: #8defff;
  --home-violet: #ae91ff;
  --home-pink: #ff5a8c;
  --home-text: #f7f8f9;
  --home-muted: #aab2b7;
  --home-max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--home-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 90% 4%, rgba(174, 145, 255, 0.12), transparent 25rem),
    radial-gradient(circle at 8% 38%, rgba(141, 239, 255, 0.07), transparent 28rem),
    var(--home-bg);
  color: var(--home-text);
  font-family: Archivo, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 239, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 239, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.home-page {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--inflict-header-offset, 88px) + 20px) 16px 78px;
}

.home-eyebrow,
.home-card-label {
  margin: 0;
  color: var(--home-cyan);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-hero,
.home-section,
.home-disclosure {
  width: min(100%, var(--home-max));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  display: grid;
  padding: 30px 0 58px;
  gap: 34px;
  border-bottom: 1px solid var(--home-line);
}

.home-hero__copy {
  min-width: 0;
}

.home-hero h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(3rem, 15.5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.home-hero__lede {
  max-width: 670px;
  margin: 0;
  color: #e2e6e8;
  font-size: clamp(1.08rem, 4.8vw, 1.3rem);
  line-height: 1.55;
}

.home-hero__context {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.home-hero__actions {
  display: grid;
  margin-top: 28px;
  gap: 10px;
}

.home-action {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(141, 239, 255, 0.38);
  border-radius: 9px;
  background: rgba(7, 13, 17, 0.84);
  color: #f2fcff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-action--primary {
  border-color: var(--home-cyan);
  background: var(--home-cyan);
  color: #020405;
  box-shadow: 0 0 28px rgba(141, 239, 255, 0.14);
}

.home-hero__membership {
  margin: 15px 0 0;
  color: #899399;
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-hero__membership a {
  color: #dff9fd;
  font-weight: 750;
  text-decoration-color: rgba(141, 239, 255, 0.5);
  text-underline-offset: 3px;
}

.home-hero__art {
  position: relative;
  width: min(100%, 360px);
  min-height: 292px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__art::before {
  position: absolute;
  z-index: -1;
  top: 44%;
  left: 50%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(141, 239, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 239, 255, 0.13), rgba(174, 145, 255, 0.07) 45%, transparent 70%);
  box-shadow: 0 0 60px rgba(174, 145, 255, 0.06);
  content: "";
  transform: translate(-50%, -50%);
}

.home-card-pair {
  position: absolute;
  top: 0;
  left: 50%;
  width: 270px;
  height: 250px;
  transform: translateX(-50%);
}

.home-card-pair__card {
  position: absolute;
  overflow: hidden;
  width: 142px;
  aspect-ratio: 11 / 15;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: #06080a;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

.home-card-pair__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-card-pair__card--endure {
  z-index: 1;
  top: 30px;
  left: 16px;
  border-color: rgba(141, 239, 255, 0.45);
  transform: rotate(-9deg);
}

.home-card-pair__card--omen {
  z-index: 2;
  top: 8px;
  right: 16px;
  border-color: rgba(255, 90, 140, 0.58);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.72), 0 0 34px rgba(255, 90, 140, 0.11);
  transform: rotate(8deg);
}

.home-hero__art-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  margin: 0;
  justify-items: center;
  gap: 3px;
  color: #869096;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.home-hero__art-label strong {
  color: var(--home-cyan);
  font-size: 0.78rem;
}

.home-section {
  padding: 66px 0;
  border-bottom: 1px solid rgba(141, 239, 255, 0.13);
}

.home-section__heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.home-section__heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2.25rem, 11.2vw, 3.65rem);
  font-weight: 830;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.home-section__heading > p:not(.home-eyebrow) {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.home-step-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.home-step-card {
  position: relative;
  min-width: 0;
  padding: 24px 22px 25px;
  overflow: hidden;
  border: 1px solid rgba(141, 239, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(13, 18, 22, 0.96), rgba(4, 6, 8, 0.98));
}

.home-step-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--home-cyan), var(--home-violet), transparent 82%);
  content: "";
  opacity: 0.68;
}

.home-step-card__number {
  display: block;
  color: var(--home-cyan);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.home-step-card h3,
.home-nondum h3,
.home-resource-card h3,
.home-offering-card h3 {
  margin: 10px 0 10px;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-step-card p,
.home-resource-card p:not(.home-card-label),
.home-offering-card p:not(.home-card-label) {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.home-nondum {
  display: grid;
  margin-top: 14px;
  padding: 24px 22px;
  gap: 14px;
  border: 1px solid rgba(174, 145, 255, 0.36);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(174, 145, 255, 0.13), transparent 45%),
    rgba(10, 8, 16, 0.9);
}

.home-nondum h3 {
  margin-bottom: 0;
}

.home-nondum > p {
  margin: 0;
  color: #bdc4c8;
  font-size: 0.92rem;
  line-height: 1.68;
}

.home-nondum > a {
  width: fit-content;
  align-self: center;
  color: #e7fafd;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-color: rgba(141, 239, 255, 0.45);
  text-underline-offset: 4px;
}

.home-nondum > a span {
  color: var(--home-cyan);
}

.home-resource-grid,
.home-offering-grid {
  display: grid;
  gap: 12px;
}

.home-resource-card,
.home-offering-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(141, 239, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(13, 18, 22, 0.96), rgba(4, 6, 8, 0.98));
  color: inherit;
  grid-template-columns: 86px minmax(0, 1fr);
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.home-resource-card__art,
.home-offering-card__art {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  border-right: 1px solid rgba(141, 239, 255, 0.1);
  background:
    radial-gradient(circle at 50% 45%, rgba(141, 239, 255, 0.13), transparent 55%),
    #050708;
  place-items: center;
}

.home-resource-card__art img,
.home-offering-card__art img {
  position: relative;
  width: 58px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.65));
}

.home-resource-card__art--rules img {
  transform: rotate(-6deg);
}

.home-resource-card__art--timer img {
  width: 56px;
  height: 110px;
}

.home-resource-card__copy,
.home-offering-card__copy {
  display: flex;
  min-width: 0;
  padding: 20px 17px;
  flex-direction: column;
}

.home-resource-card__copy > span,
.home-offering-card__copy > span {
  margin-top: auto;
  padding-top: 18px;
  color: #dceff2;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.45;
}

.home-resource-card__copy b,
.home-offering-card__copy b {
  color: var(--home-cyan);
}

.home-offering-card__art img {
  width: 66px;
  height: 66px;
}

.home-offering-card__art--shop {
  background:
    radial-gradient(circle at 50% 45%, rgba(174, 145, 255, 0.17), transparent 56%),
    #07050a;
}

.home-disclosure {
  max-width: 900px;
  padding: 56px 0 8px;
  text-align: center;
}

.home-disclosure p {
  margin: 0;
  color: #778188;
  font-size: 0.78rem;
  line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .home-action:hover,
  .home-resource-card:hover,
  .home-offering-card:hover {
    border-color: var(--home-line-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42), 0 0 24px rgba(141, 239, 255, 0.07);
    transform: translateY(-3px);
  }

  .home-action--primary:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
  }

  .home-hero__membership a:hover,
  .home-nondum > a:hover {
    color: var(--home-cyan);
  }
}

@media (min-width: 520px) {
  .home-page {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-hero {
    padding-top: 42px;
  }

  .home-hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .home-action {
    width: auto;
  }

  .home-hero__art {
    min-height: 340px;
  }

  .home-card-pair {
    width: 320px;
    height: 292px;
  }

  .home-card-pair__card {
    width: 165px;
  }

  .home-resource-card,
  .home-offering-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .home-resource-card__art img {
    width: 72px;
    height: 126px;
  }

  .home-resource-card__art--timer img {
    width: 66px;
    height: 128px;
  }

  .home-offering-card__art img {
    width: 80px;
    height: 80px;
  }

  .home-resource-card__copy,
  .home-offering-card__copy {
    padding: 24px 22px;
  }

}

@media (min-width: 720px) {
  body::before {
    background-size: 42px 42px;
  }

  .home-page {
    padding-right: 32px;
    padding-bottom: 100px;
    padding-left: 32px;
  }

  .home-section {
    padding: 82px 0;
  }

  .home-section__heading {
    margin-bottom: 36px;
  }

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

  .home-step-card {
    min-height: 290px;
  }

  .home-nondum {
    padding: 28px;
    align-items: center;
    gap: 26px;
    grid-template-columns: minmax(155px, 0.65fr) minmax(0, 1.55fr) auto;
  }

  .home-resource-grid,
  .home-offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-resource-card,
  .home-offering-card {
    min-height: 238px;
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .home-resource-card__art,
  .home-offering-card__art {
    min-height: 100%;
  }

  .home-disclosure {
    padding-top: 70px;
  }
}

@media (min-width: 960px) {
  .home-page {
    padding-top: calc(var(--inflict-header-offset, 100px) + 30px);
  }

  .home-hero {
    min-height: 630px;
    padding: 58px 0 76px;
    align-items: center;
    gap: clamp(54px, 7vw, 92px);
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  }

  .home-hero h1 {
    font-size: clamp(4.8rem, 7.6vw, 6.4rem);
    line-height: 0.9;
  }

  .home-hero__art {
    width: 100%;
    min-height: 480px;
  }

  .home-hero__art::before {
    width: 420px;
    height: 420px;
  }

  .home-card-pair {
    top: 34px;
    width: 390px;
    height: 368px;
  }

  .home-card-pair__card {
    width: 205px;
    border-radius: 15px;
  }

  .home-card-pair__card--endure {
    left: 8px;
  }

  .home-card-pair__card--omen {
    right: 8px;
  }

  .home-section {
    padding: 96px 0;
  }

  .home-section__heading h2 {
    font-size: clamp(3.35rem, 5.2vw, 4.45rem);
  }

  .home-step-card {
    min-height: 270px;
    padding: 30px 28px;
  }

  .home-step-card h3,
  .home-nondum h3,
  .home-resource-card h3,
  .home-offering-card h3 {
    font-size: 1.42rem;
  }

  .home-resource-card,
  .home-offering-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .home-resource-card__art img {
    width: 82px;
    height: 145px;
  }

  .home-resource-card__art--timer img {
    width: 76px;
    height: 146px;
  }

  .home-offering-card__art img {
    width: 106px;
    height: 106px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-action,
  .home-resource-card,
  .home-offering-card {
    transition: none;
  }
}
