:root {
  --ink: #f8f3df;
  --muted: rgba(248, 243, 223, 0.72);
  --faint: rgba(248, 243, 223, 0.5);
  --gold: #f1d27b;
  --gold-soft: rgba(241, 210, 123, 0.18);
  --violet: #9e75ff;
  --night: #050910;
  --blue: #0a1628;
  --panel: rgba(6, 12, 21, 0.68);
  --line: rgba(248, 243, 223, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 12%, rgba(241, 210, 123, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(158, 117, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #081728 0%, #050910 56%, #030509 100%);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.82), rgba(4, 7, 13, 0));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(241, 210, 123, 0.52);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 210, 123, 0.24), rgba(241, 210, 123, 0.04) 62%, transparent);
  box-shadow: 0 0 24px rgba(241, 210, 123, 0.22);
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(-45deg) translateY(2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 76px) 74px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(4, 7, 13, 0.92) 0%, rgba(4, 7, 13, 0.54) 38%, rgba(4, 7, 13, 0.12) 70%),
    linear-gradient(0deg, rgba(4, 7, 13, 0.94) 0%, rgba(4, 7, 13, 0.14) 54%),
    url("./hero-threshold.png");
  background-size: cover;
  background-position: center;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

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

h1 {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 700;
  max-width: 900px;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(241, 210, 123, 0.5);
  border-radius: 999px;
  color: #120d04;
  background: linear-gradient(180deg, #fff0bf, #dcb95e);
  box-shadow: 0 16px 40px rgba(241, 210, 123, 0.24);
  text-decoration: none;
  font-weight: 850;
}

.button.secondary {
  color: var(--ink);
  background: rgba(248, 243, 223, 0.08);
  box-shadow: none;
}

.section {
  padding: 80px clamp(18px, 5vw, 76px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
}

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

.tile {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 243, 223, 0.09), rgba(248, 243, 223, 0.03)),
    rgba(6, 12, 21, 0.68);
  box-shadow: var(--shadow);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--gold-soft);
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile h3 {
  font-size: 22px;
}

.tile p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ritual-panel {
  min-height: 520px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(241, 210, 123, 0.08), rgba(158, 117, 255, 0.08)),
    var(--panel);
}

.ritual-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: min(330px, 78vw);
  aspect-ratio: 1;
  margin: 42px auto 34px;
  border-radius: 50%;
  border: 1px solid rgba(241, 210, 123, 0.34);
  background:
    radial-gradient(circle, rgba(255, 246, 205, 0.95) 0%, rgba(241, 210, 123, 0.34) 22%, rgba(73, 119, 170, 0.16) 48%, transparent 70%),
    radial-gradient(circle at 50% 120%, rgba(158, 117, 255, 0.2), transparent 60%);
  box-shadow: 0 0 90px rgba(241, 210, 123, 0.2);
}

.ritual-orb::before,
.ritual-orb::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(248, 243, 223, 0.16);
  border-radius: 50%;
}

.ritual-orb::after {
  inset: 24%;
}

.ritual-orb span {
  color: #140d03;
  font-weight: 900;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(248, 243, 223, 0.05);
}

.list-item strong {
  display: block;
  color: var(--gold);
}

.list-item span {
  color: var(--muted);
}

.legal-main {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.legal-main h1 {
  font-size: clamp(40px, 7vw, 76px);
}

.legal-main h2 {
  margin-top: 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 16px;
}

.legal-main ul,
.legal-main ol {
  padding-left: 22px;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(241, 210, 123, 0.32);
  border-radius: 18px;
  background: rgba(241, 210, 123, 0.08);
}

.footer {
  padding: 40px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 106px;
  }

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

  .tile {
    min-height: auto;
  }
}
