/* Atmosphere, light and expressive typography. All motion shares the page controls. */
:root {
  --heading: 'Syne', 'Space Grotesk', sans-serif;
  --light-gold: 231, 191, 113;
}

h1, h2, h3 { font-weight: 600; }
h1 { font-weight: 700; letter-spacing: -.065em; }
h2 { letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
.plan-rate, .reward-card > strong, .step-number, .currency {
  font-family: 'Space Grotesk', sans-serif;
}
.headline-line { display: block; }
h1 .headline-line.gold-text { display: block; }
.hero-copy h1 { text-shadow: 0 0 46px #eee6d312; }
.hero-copy h1 .gold-text { text-shadow: none; }
.gold-text {
  background-image: linear-gradient(105deg, #d2a453 0%, #f9df9f 28%, #fff5d8 42%, #d5ad62 57%, #f0d396 75%, #d2a453 100%);
  background-size: 240% 100%;
  animation: lettering-light 8s ease-in-out infinite;
  filter: drop-shadow(0 0 15px #e8c5801c);
}
.eyebrow { text-shadow: 0 0 20px #e7bf7155; }
.muted-heading { color: #a19d94; }
.hero-eyebrow {
  border-color: #e8c58045;
  background: linear-gradient(115deg, #e8c58012, #e8c58003);
  box-shadow: inset 0 1px 0 #fff2ca08, 0 0 28px #dbb3630b;
}
.site-header { box-shadow: 0 8px 45px #00000020; }
.brand img { filter: drop-shadow(0 0 15px #e8c58012); }
.hero {
  background: linear-gradient(122deg, #ffffff02 4%, transparent 28%, #c3c7d106 44%, transparent 63%);
}
.hero-aura {
  background: radial-gradient(ellipse, #bd8b371c, transparent 66%);
}
.ecosystem-strip {
  background: linear-gradient(110deg, #ffffff08, #15161899 40%, #ffffff05 73%, #0e0f11);
  box-shadow: inset 0 1px 0 #ffffff05, 0 10px 45px #00000025;
}

/* The individual lines settle in before the continuous gold highlight begins. */
html.motion-ready .headline-line {
  animation: headline-enter 1s var(--ease) both;
}
html.motion-ready .headline-line:nth-child(2) { animation-delay: .12s; }
html.motion-ready .headline-line.gold-text {
  animation: headline-enter 1s var(--ease) .24s both, lettering-light 8s ease-in-out 1.2s infinite;
}
html.motion-ready .section-heading.reveal.visible h2,
html.motion-ready .rewards-copy.reveal.visible h2 {
  animation: title-enter .95s var(--ease) both;
}

/* Each chapter has its own atmosphere, kept below the content. */
.section {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.section > .container { position: relative; z-index: 1; }
.section::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -20% -38%;
  pointer-events: none;
  background: linear-gradient(116deg, transparent 27%, #e9e5d503 35%, #f8f4e50b 38%, transparent 43%, transparent 60%, #c9ceda05 63%, transparent 70%);
  transform: translate3d(-4%, 0, 0);
  animation: glass-reflection 20s ease-in-out infinite alternate;
}
.plans-section::after { animation-delay: -8s; }
.rewards-section::after { animation-delay: -14s; opacity: .75; }
.journey-section::after { animation-delay: -4s; }
.faq-section::after { opacity: .65; }
.section-atmosphere,
.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.section-atmosphere { overflow: hidden; }
.section-atmosphere::before,
.section-atmosphere::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

/* Discover: a softly illuminated technical grid with drifting starlight. */
.about-section { background: radial-gradient(ellipse at 50% 25%, #c79a4110, transparent 68%); }
.atmosphere-constellation {
  background-image: linear-gradient(#d9c9a90b 1px, transparent 1px), linear-gradient(90deg, #d9c9a90b 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(transparent, #000 20%, #000 76%, transparent);
}
.atmosphere-constellation::before {
  width: 660px;
  height: 660px;
  left: calc(50% - 330px);
  top: -340px;
  border-radius: 50%;
  border: 1px solid #e8c5801f;
  box-shadow: 0 0 0 70px #e8c58006, 0 0 0 140px #e8c58004, 0 0 100px #d4a44813;
  animation: constellation-breathe 12s ease-in-out infinite;
}
.atmosphere-constellation::after {
  inset: -35px;
  background-image: radial-gradient(circle at 13% 30%, #ffe9b9b0 0 1px, #dfb66c24 2px, transparent 8px), radial-gradient(circle at 84% 21%, #fff2cebb 0 1px, #dfb66c22 2px, transparent 8px), radial-gradient(circle at 72% 79%, #edcb8b99 0 1px, transparent 4px), radial-gradient(circle at 24% 84%, #edcb8b88 0 1px, transparent 4px), radial-gradient(circle at 46% 43%, #ffe9b966 0 1px, transparent 5px);
  animation: constellation-drift 16s ease-in-out infinite alternate;
}

/* Plans: broad ribbons of amber and champagne light behind the tiers. */
.plans-section {
  background: radial-gradient(ellipse at 50% 55%, #85602920, transparent 73%), #0a0b0d;
  border-color: #e8c58016;
}
.atmosphere-aurora::before {
  width: 125%;
  height: 92%;
  left: -24%;
  top: -28%;
  background: radial-gradient(ellipse at 50% 50%, #f1cd7f1e, #b0783520 22%, transparent 59%);
  transform: rotate(-24deg);
  animation: aurora-drift 14s ease-in-out infinite alternate;
}
.atmosphere-aurora::after {
  width: 110%;
  height: 95%;
  right: -38%;
  bottom: -27%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #efe1b616, #bd955c1a 28%, transparent 63%);
  animation: aurora-drift 18s ease-in-out -7s infinite alternate-reverse;
}

/* Markets and community canvases add flowing waves and connected particles. */
.sectors-section { background: radial-gradient(ellipse at 100% 42%, #c29e5820, transparent 57%); }
.rewards-section { background: radial-gradient(ellipse at 15% 40%, #c1ae7e10, transparent 65%); }
.section-canvas { opacity: .9; }

/* Journey: diagonal trails and a moving light along the direction of travel. */
.journey-section { background: linear-gradient(115deg, #14130f, #0b0c0f 56%, #15130d); border-color: #e8c5801a; }
.atmosphere-flow {
  background: repeating-linear-gradient(115deg, transparent 0 84px, #e8c58009 85px, transparent 86px 168px);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 80%, transparent);
}
.atmosphere-flow::before {
  left: -45%;
  right: -45%;
  top: 59%;
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent 0 90px, #e8c58032 140px, transparent 270px);
  box-shadow: 0 34px 0 #e8c58007, 0 -34px 0 #e8c58007;
  transform: rotate(-8deg);
  animation: route-flow 16s linear infinite;
}
.atmosphere-flow::after {
  width: 340px;
  height: 220px;
  left: 4%;
  top: 0;
  background: radial-gradient(ellipse, #ecd19a12, transparent 68%);
  animation: journey-light 12s ease-in-out infinite alternate;
}
.step-number { text-shadow: 0 0 26px #eac4794d; }
.step h3 { color: #f0e4ca; }

/* FAQ: concentric orbits with one slowly moving point of light. */
.faq-section { background: radial-gradient(ellipse at 3% 50%, #a9813212, transparent 48%); }
.atmosphere-rings { mask-image: linear-gradient(90deg, #000, #000 43%, transparent 82%); }
.atmosphere-rings::before {
  width: 560px;
  height: 560px;
  left: -155px;
  top: calc(50% - 280px);
  border: 1px solid #e8c5801a;
  border-radius: 50%;
  box-shadow: 0 0 0 65px #e8c58008, 0 0 0 130px #e8c58006, 0 0 0 195px #e8c58004;
  background: radial-gradient(circle at 50% 0, #ffe9bcbf 0 2px, #f6cc7750 3px, transparent 12px);
  animation: orbital-turn 36s linear infinite;
}
.atmosphere-rings::after {
  width: 430px;
  height: 430px;
  left: -90px;
  top: calc(50% - 215px);
  border: 1px dashed #e8c58018;
  border-radius: 50%;
  animation: orbital-turn 60s linear infinite reverse;
}
.faq-list {
  background: linear-gradient(110deg, #111213bd, #10111373);
  border-radius: 9px;
}
.faq-list details { border-color: #e8c5801c; }
.faq-list details[open] { background: linear-gradient(90deg, #d6b57509, transparent); }
.faq-list summary:hover { color: #f2d797; }

/* Glass-dark cards: lit edges, tactile hover and a softly breathing featured tier. */
.glow-card {
  --card-light: 231, 191, 113;
  border-color: transparent;
  background: linear-gradient(135deg, #1c1c1bdf, #0e0f12ed 73%) padding-box,
    linear-gradient(135deg, rgba(var(--card-light), .4), #ffffff0e 37%, #ffffff10 73%, rgba(var(--card-light), .22)) border-box;
  box-shadow: inset 0 1px 0 #fff1d508, 0 12px 45px #0000002b, 0 0 25px rgba(var(--card-light), .025);
}
.glow-card > h3,
.glow-card > p,
.glow-card > .card-kicker,
.glow-card > .card-link,
.glow-card > .plan-top,
.glow-card > .plan-rate,
.glow-card > .plan-range,
.glow-card > .plan-features,
.glow-card > .button {
  position: relative;
  z-index: 1;
}
.glow-card::before {
  background: radial-gradient(440px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(var(--card-light), .15), transparent 68%), linear-gradient(125deg, #ffffff09, transparent 38%, #ffffff03 65%, transparent 78%);
  opacity: .5;
}
.glow-card::after {
  content: '';
  position: absolute;
  height: 1px;
  top: -1px;
  left: 13%;
  width: 74%;
  background: linear-gradient(90deg, transparent, rgba(var(--card-light), .9), transparent);
  box-shadow: 0 0 15px 1px rgba(var(--card-light), .18);
  pointer-events: none;
  opacity: .65;
}
.advantage-card:nth-child(2), .sector-card:nth-child(2) { --card-light: 209, 206, 190; }
.glow-card h3 { text-shadow: 0 0 28px rgba(var(--card-light), .12); }
.advantage-visual { background: radial-gradient(ellipse at 50% 55%, rgba(var(--card-light), .1), transparent 69%); }
.card-kicker { color: #b5a58a; }
.featured-plan {
  background: linear-gradient(145deg, #30291bef, #191711ec 38%, #111214ef 90%) padding-box,
    linear-gradient(140deg, #f7d898bb, #d8ae5350 45%, #f7d89895) border-box;
  animation: featured-glow 6s ease-in-out infinite;
}
.featured-plan .plan-rate { text-shadow: 0 0 29px #ebcc8b2e; }
.featured-label { box-shadow: 0 0 25px #e8c58032, inset 0 1px 0 #fff1d565; }
.plan-icon, .reward-icon {
  background: linear-gradient(135deg, #e5bd7119, #e5bd7105);
  border-color: #e5bd7147;
  box-shadow: inset 0 1px 0 #fff0c80a, 0 0 22px #e5bd7110;
}
.reward-card {
  border-color: #d0af6f3c;
  background: linear-gradient(115deg, #242018e8, #101114f5 75%);
  box-shadow: inset 0 1px 0 #ffe8b507, 0 8px 25px #00000020;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.reward-card > strong { text-shadow: 0 0 25px #e7bc6650; }
.reward-card:nth-child(2) { border-color: #c9c5b12b; background: linear-gradient(115deg, #20201cf0, #101114f5 75%); }
.reward-card:nth-child(3) { border-color: #d0af6f55; }
.button-gold { box-shadow: inset 0 1px 0 #fff5d980, 0 0 25px #d7ae4d20; }

@media (hover: hover) and (pointer: fine) {
  .glow-card:hover,
  html.motion-ready .glow-card.reveal.visible:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--card-light), .52);
    box-shadow: inset 0 1px 0 #fff1d51c, 0 18px 45px #00000045, 0 0 34px rgba(var(--card-light), .13);
  }
  .glow-card:hover::before { opacity: 1; }
  .glow-card:hover::after { opacity: 1; }
  .glow-card:hover h3 { text-shadow: 0 0 24px rgba(var(--card-light), .3); }
  .reward-card:hover { box-shadow: 0 0 30px #d7b3701c, inset 0 1px 0 #ffe8b512; border-color: #d0af6f85; }
}

/* Closing invitation: a rotating halo behind a warm pool of light. */
.closing-card {
  border-color: #e3bf7255;
  box-shadow: 0 0 50px #d8b15a0d, inset 0 1px 0 #ffeac319;
  background: radial-gradient(ellipse at 50% 120%, #98703438, transparent 68%), linear-gradient(135deg, #201b12, #111214 45%, #1b170f);
}
.closing-light {
  position: absolute;
  width: 560px;
  height: 560px;
  left: calc(50% - 280px);
  top: -360px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid #e9c98835;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0deg 60deg, #eed29815 80deg, transparent 120deg 220deg, #eed29812 260deg, transparent 290deg);
  box-shadow: 0 0 0 42px #e8c58007, 0 0 0 84px #e8c58004;
  animation: orbital-turn 35s linear infinite;
}
.closing-star { animation: star-glow 5s ease-in-out infinite; }

@keyframes lettering-light {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes glass-reflection {
  from { transform: translate3d(-4%, 0, 0); opacity: .5; }
  to { transform: translate3d(5%, 0, 0); opacity: 1; }
}
@keyframes headline-enter {
  from { opacity: 0; transform: translateY(23px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes title-enter {
  from { opacity: .2; transform: translateY(12px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes constellation-breathe {
  0%, 100% { opacity: .6; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes constellation-drift {
  from { transform: translate3d(-12px, -8px, 0); opacity: .45; }
  to { transform: translate3d(15px, 14px, 0); opacity: 1; }
}
@keyframes aurora-drift {
  from { transform: translate3d(-4%, -2%, 0) rotate(-24deg) scale(.96); opacity: .7; }
  to { transform: translate3d(7%, 7%, 0) rotate(-12deg) scale(1.08); opacity: 1; }
}
@keyframes route-flow {
  from { transform: translateX(-135px) rotate(-8deg); }
  to { transform: translateX(135px) rotate(-8deg); }
}
@keyframes journey-light {
  from { transform: translateX(0); opacity: .5; }
  to { transform: translateX(220px); opacity: 1; }
}
@keyframes orbital-turn { to { transform: rotate(360deg); } }
@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 22px #d6ac5315, 0 15px 45px #00000035, inset 0 1px 0 #fff0c21f; }
  50% { box-shadow: 0 0 42px #d6ac5333, 0 15px 45px #00000035, inset 0 1px 0 #fff0c24a; }
}
@keyframes star-glow {
  0%, 100% { text-shadow: 0 0 20px #eac47966; transform: rotate(-8deg); }
  50% { text-shadow: 0 0 38px #eac479cc; transform: rotate(8deg); }
}

@media (max-width: 960px) and (min-width: 701px) {
  h1 { font-size: clamp(38px, 5.3vw, 49px); }
}
@media (max-width: 700px) {
  h1 { font-size: clamp(38px, 8.2vw, 56px); letter-spacing: -.06em; }
  .atmosphere-constellation { background-size: 60px 60px; }
  .atmosphere-constellation::before { top: -410px; }
  .atmosphere-aurora::before { width: 190%; height: 48%; left: -65%; top: -6%; }
  .atmosphere-aurora::after { width: 180%; height: 55%; right: -72%; bottom: 5%; }
  .atmosphere-flow::before { top: 48%; }
  .atmosphere-rings { opacity: .7; }
  .section-canvas { opacity: .7; }
  .glow-card { box-shadow: inset 0 1px 0 #fff1d508, 0 10px 35px #00000024, 0 0 20px rgba(var(--card-light), .035); }
  .closing-light { opacity: .7; }
}
@media (max-width: 370px) {
  h1 { font-size: 35px; }
}

/* Pausing should always leave readable, fully revealed text. */
html.motion-paused .headline-line,
html.motion-paused .headline-line.gold-text,
html.motion-paused .section-heading.reveal.visible h2,
html.motion-paused .rewards-copy.reveal.visible h2 {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .headline-line,
  html.motion-ready .headline-line,
  html.motion-ready .section-heading.reveal.visible h2,
  html.motion-ready .rewards-copy.reveal.visible h2 {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Cards arrive once, with a brief wash of light clipped independently of badges. */
html.motion-ready .reveal.reveal-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.985);
  transition:
    opacity .7s var(--ease) var(--reveal-delay, 0ms),
    transform .7s var(--ease) var(--reveal-delay, 0ms),
    border-color .3s ease 0s,
    box-shadow .4s ease 0s;
}
html.motion-ready .reveal.reveal-card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
html.motion-ready .reveal.reveal-card.reveal-settled {
  transition: opacity .2s, transform .35s var(--ease), border-color .3s, box-shadow .4s;
}
.reveal-card > summary { position: relative; }
.card-arrival-light {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  box-shadow: inset 0 0 0 1px #f0cd8b45, inset 0 0 25px #e4b7630b;
}
.card-arrival-light::before {
  content: '';
  position: absolute;
  inset: -15% -30%;
  background: linear-gradient(110deg, transparent 35%, #e8c58008 44%, #fff0cf26 50%, #e8c5800d 56%, transparent 65%);
  transform: translate3d(-80%, 0, 0);
}
html.motion-ready .reveal-card.visible:not(.reveal-settled) .card-arrival-light {
  visibility: visible;
  animation: card-arrival-edge .95s ease-out var(--reveal-delay, 0ms) both;
}
html.motion-ready .reveal-card.visible:not(.reveal-settled) .card-arrival-light::before {
  animation: card-arrival-sweep .95s var(--ease) var(--reveal-delay, 0ms) both;
}

/* Once entry ends, hovering responds immediately to the existing card design. */
@media (hover: hover) and (pointer: fine) {
  html.motion-ready .reward-card.reveal.reveal-card.visible:hover { transform: translateX(-6px); }
  html.motion-ready .faq-document.reveal.reveal-card.visible:hover { transform: translateY(-3px); }
}

@keyframes card-arrival-edge {
  0%, 100% { opacity: 0; }
  25%, 55% { opacity: 1; }
}
@keyframes card-arrival-sweep {
  from { transform: translate3d(-80%, 0, 0); }
  to { transform: translate3d(80%, 0, 0); }
}

html.motion-ready .reveal.reveal-immediate,
html.motion-ready .reveal.reveal-card.reveal-immediate,
html.motion-paused .reveal.reveal-card {
  opacity: 1;
  transform: none;
  transition: none;
}
html.motion-ready .reveal-card.reveal-immediate .card-arrival-light,
html.motion-paused .reveal-card .card-arrival-light {
  display: none;
  visibility: hidden;
  animation: none;
}
html.motion-ready .reveal-card.reveal-immediate .card-arrival-light::before,
html.motion-paused .reveal-card .card-arrival-light::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal.reveal-card,
  html.motion-ready .reveal.reveal-card.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.motion-ready .reveal-card .card-arrival-light {
    display: none;
    visibility: hidden;
    animation: none;
  }
  html.motion-ready .reveal-card .card-arrival-light::before { animation: none; }
}
