:root {
  --ink: #f6f1e8;
  --muted: #b7afc1;
  --soft: #898291;
  --night: #090912;
  --night-2: #0e0d19;
  --panel: rgba(22, 20, 34, 0.82);
  --line: rgba(226, 205, 164, 0.16);
  --gold: #dcc48f;
  --gold-bright: #f0d9a2;
  --violet: #7c67a8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(100, 76, 145, 0.2), transparent 38rem),
    linear-gradient(180deg, #090912 0%, #0b0a13 55%, #08080f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(220,196,143,.75) 0 1px, transparent 1.2px);
  background-size: 83px 83px, 137px 137px;
  background-position: 13px 27px, 66px 21px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.stars-two {
  transform: scale(1.1) rotate(8deg);
  opacity: 0.2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 34rem;
  height: 34rem;
  right: -19rem;
  top: 28rem;
  border: 1px solid rgba(220, 196, 143, 0.1);
  box-shadow: 0 0 10rem rgba(91, 64, 133, 0.08) inset;
}

.orb-two {
  width: 22rem;
  height: 22rem;
  left: -13rem;
  top: 70rem;
  border: 1px solid rgba(220, 196, 143, 0.08);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.38);
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  color: var(--muted);
}

.language-select {
  max-width: 190px;
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #11101c;
  font: inherit;
  cursor: pointer;
}

.language-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

nav a:hover,
.footer-links a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
}

.hero {
  min-height: 790px;
  padding: 95px 24px 95px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-mark {
  position: relative;
  width: 174px;
  height: 174px;
  display: grid;
  place-items: center;
  margin-bottom: 31px;
}

.hero-mark img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}

.mark-halo {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(220, 196, 143, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 15px rgba(220, 196, 143, 0.025),
    0 0 90px rgba(123, 93, 172, 0.22);
}

.mark-halo::before,
.mark-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220, 196, 143, 0.1);
}

.mark-halo::before {
  inset: 16px;
}

.mark-halo::after {
  inset: -17px;
  border-style: dashed;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(56px, 7.7vw, 102px);
  line-height: 0.96;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-copy {
  max-width: 685px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.primary-button {
  min-width: 214px;
  padding: 14px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid rgba(220, 196, 143, 0.33);
  background: linear-gradient(135deg, rgba(220, 196, 143, 0.13), rgba(122, 94, 164, 0.08));
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 13px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 196, 143, 0.65);
  background: linear-gradient(135deg, rgba(220, 196, 143, 0.2), rgba(122, 94, 164, 0.13));
}

.hero-note,
.arrival-note {
  margin-top: 17px;
  color: #746e7e;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.manifesto {
  padding: 125px 7%;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-number {
  color: #6c6574;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.manifesto > div {
  max-width: 870px;
}

.manifesto h2,
.section-heading h2,
.principles h2,
.arrival h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.1;
}

.manifesto > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.experience {
  padding: 145px 0 135px;
}

.section-heading {
  margin-bottom: 55px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 490px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.035), transparent 40%),
    var(--panel);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.17);
}

.feature-card h3,
.principle-list h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.feature-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-label {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-symbol {
  align-self: center;
  margin-top: 46px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 94px;
  text-shadow: 0 0 70px rgba(220, 196, 143, 0.42);
}

.map-rings {
  width: 218px;
  height: 218px;
  margin: 26px auto 0;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.map-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(220, 196, 143, 0.22);
  border-radius: 50%;
}

.map-rings span:nth-child(2) {
  inset: 27px;
  border-style: dashed;
}

.map-rings span:nth-child(3) {
  inset: 57px;
  background: radial-gradient(circle, rgba(141, 108, 189, 0.25), transparent 68%);
}

.map-rings b {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.moon-phase {
  min-height: 218px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  text-shadow: 0 0 45px rgba(131, 93, 180, 0.4);
}

.moon-phase span:nth-child(2) {
  color: #a88cd2;
  font-size: 80px;
}

.principles {
  padding: 135px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.principles-copy {
  position: sticky;
  top: 55px;
  align-self: start;
}

.principles-copy > p:last-child {
  max-width: 440px;
  color: var(--muted);
}

.principle-list article {
  padding: 31px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.principle-list article:first-child {
  padding-top: 5px;
}

.principle-list article > span {
  padding-top: 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.principle-list h3 {
  margin-bottom: 6px;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.arrival {
  min-height: 630px;
  padding: 110px 25px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(112, 79, 154, 0.22), transparent 45%),
    rgba(18, 16, 29, 0.7);
}

.arrival-glow {
  width: 440px;
  height: 440px;
  position: absolute;
  border: 1px solid rgba(220, 196, 143, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(220, 196, 143, 0.018),
    0 0 0 130px rgba(220, 196, 143, 0.012);
}

.arrival > *:not(.arrival-glow) {
  position: relative;
  z-index: 1;
}

.arrival img {
  margin-bottom: 25px;
  border-radius: 20px;
}

.arrival h2 {
  max-width: 820px;
}

.store-pill {
  min-width: 195px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #f1eee8;
  color: #15121a;
  text-align: left;
  font-size: 17px;
  line-height: 1.1;
}

.store-pill > span:first-child {
  font-size: 25px;
}

.store-pill small {
  display: block;
  margin-bottom: 3px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  min-height: 220px;
  margin: 80px auto 0;
  padding: 55px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin: 13px 0 0;
  color: var(--soft);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 12px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 25px 0 0;
  color: #615b68;
  font-size: 10px;
}

/* Legal and support pages */
.page-main {
  width: min(calc(100% - 48px), 940px);
  margin: 0 auto;
  padding: 96px 0 125px;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 70px;
}

.page-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 7vw, 82px);
}

.page-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.effective {
  margin-top: 24px;
  color: var(--gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 60px;
}

.legal-toc {
  position: sticky;
  top: 35px;
  align-self: start;
  display: grid;
  gap: 11px;
  color: var(--soft);
  font-size: 11px;
}

.legal-toc a:hover {
  color: var(--gold);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 39px;
  margin-bottom: 39px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.25;
}

.legal-content h3 {
  margin: 24px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-bright);
}

.legal-content p,
.legal-content li {
  color: #c2bac7;
  font-size: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
}

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

.legal-content a,
.support-grid a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(220,196,143,.35);
  text-underline-offset: 3px;
}

.notice {
  padding: 21px 24px;
  margin: 25px 0;
  border: 1px solid rgba(220, 196, 143, 0.22);
  border-radius: 13px;
  background: rgba(220, 196, 143, 0.055);
}

.notice p:last-child {
  margin-bottom: 0;
}

.action-panel {
  padding: 36px;
  margin: 35px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 85, 169, 0.16), transparent 45%),
    var(--panel);
}

.action-panel h2 {
  margin-bottom: 11px;
  font-size: 31px;
}

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

.email-button {
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(220, 196, 143, 0.34);
  border-radius: 999px;
  background: rgba(220, 196, 143, 0.09);
  color: var(--gold-bright) !important;
  text-decoration: none !important;
  font-size: 13px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.support-card {
  min-height: 210px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}

.support-card h2 {
  margin-bottom: 11px;
  font-size: 24px;
}

.support-card p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  nav { gap: 10px; }
  .language-select { max-width: 145px; font-size: 11px; }

  .hero {
    min-height: 720px;
    padding-top: 75px;
  }

  .section-heading,
  .principles {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 430px;
  }

  .principles-copy {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 27px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header,
  .section-shell,
  .site-footer,
  .page-main {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header {
    height: 76px;
  }

  .brand {
    font-size: 20px;
  }

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

  .nav-cta {
    padding: 7px 11px;
    font-size: 10px;
  }

  .language-select {
    max-width: 125px;
    padding: 7px 23px 7px 9px;
    font-size: 10px;
  }

  .hero {
    min-height: 670px;
    padding: 62px 17px 80px;
  }

  .hero-mark {
    transform: scale(.84);
    margin-bottom: 15px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .manifesto {
    padding: 90px 15px;
    grid-template-columns: 1fr;
  }

  .experience,
  .principles {
    padding: 100px 0;
  }

  .section-heading {
    gap: 18px;
  }

  .feature-card {
    min-height: 420px;
    padding: 27px;
  }

  .arrival {
    min-height: 560px;
    padding: 80px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: 1;
  }

  .page-main {
    padding-top: 70px;
  }

  .page-intro {
    margin-bottom: 50px;
  }

  .page-intro h1 {
    font-size: 48px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
