/* ==========================================================================
   ViVox — coming soon landing (2026 redesign)
   Scoped .cs-* layer. The hero and teaser are intentionally dark in both
   themes; every other section follows the site tokens.
   ========================================================================== */

.cs-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(128px, 17vh, 190px) 0 clamp(96px, 13vh, 130px);
  background: #05060b;
  color: #f4f6fb;
  overflow: hidden;
}

.cs-hero-bg {
  position: absolute;
  inset: -2%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cs-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: overlay;
}

.cs-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.cs-aurora--1 {
  width: min(920px, 92vw);
  height: min(920px, 92vw);
  left: -16vw;
  top: -26vw;
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.6), transparent 66%);
  animation: csDrift1 28s ease-in-out infinite alternate;
}

.cs-aurora--2 {
  width: min(780px, 82vw);
  height: min(780px, 82vw);
  right: -14vw;
  top: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(53, 141, 255, 0.48), transparent 66%);
  animation: csDrift2 34s ease-in-out infinite alternate;
}

.cs-aurora--3 {
  width: min(720px, 78vw);
  height: min(720px, 78vw);
  left: 30%;
  bottom: -34vw;
  background: radial-gradient(circle at 50% 50%, rgba(214, 92, 255, 0.34), transparent 68%);
  animation: csDrift3 40s ease-in-out infinite alternate;
}

.cs-orb {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(900px, 96vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(143, 125, 255, 0.24),
    rgba(72, 132, 255, 0.09) 44%,
    transparent 70%
  );
  filter: blur(12px);
  animation: csPulse 13s ease-in-out infinite;
}

.cs-grid-plane {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -14%;
  height: 74%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 66px 66px;
  transform: perspective(560px) rotateX(67deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 76%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 76%);
  opacity: 0.36;
}

.cs-beam {
  position: absolute;
  inset: -25% -15% auto;
  height: 150%;
  background: linear-gradient(
    102deg,
    transparent 38%,
    rgba(170, 185, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.09) 50%,
    transparent 61%
  );
  filter: blur(7px);
  animation: csSweep 16s ease-in-out infinite;
}

.cs-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 74%;
  height: 1px;
  background: radial-gradient(ellipse at center, rgba(180, 190, 255, 0.55), transparent 70%);
  filter: blur(0.5px);
}

.cs-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 30%, rgba(4, 5, 10, 0.55) 78%),
    linear-gradient(to bottom, rgba(4, 5, 10, 0.55), transparent 24%, transparent 78%, #05060b 100%);
}

.cs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  text-align: center;
}

.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 246, 251, 0.82);
}

.cs-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ee0ff;
  box-shadow: 0 0 12px 2px rgba(126, 224, 255, 0.7);
  animation: csPing 2.8s ease-out infinite;
}

.cs-title {
  margin: 32px auto 0;
  max-width: 21ch;
  font-size: clamp(2.45rem, 7.1vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-transform: uppercase;
  text-wrap: balance;
}

.cs-title-grad {
  display: block;
  background: linear-gradient(100deg, #d3c6ff 0%, #8f7dff 36%, #5ecbff 70%, #d3c6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: csShimmer 11s linear infinite;
}

.cs-sub {
  margin: 26px auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
  color: rgba(226, 231, 244, 0.72);
}

.cs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
}

.cs-btn-primary {
  --btn-bg: linear-gradient(100deg, #7c5cff 0%, #4b8bff 58%, #35cdf0 100%);
  --btn-fg: #ffffff;
  border: 0;
  font-weight: 600;
  box-shadow:
    0 18px 44px -18px rgba(124, 92, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 60px -20px rgba(110, 120, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cs-btn-label {
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.cs-btn-primary svg {
  width: 16px;
  height: 16px;
}

.cs-btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef1f8;
}

.cs-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 236, 246, 0.58);
}

.cs-hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.cs-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 246, 251, 0.42);
}

.cs-scroll i {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  animation: csScrollCue 2.6s ease-in-out infinite;
}

/* ---------------- vision ---------------- */

.cs-vision {
  padding-top: clamp(84px, 10vw, 140px);
}

.cs-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.cs-vision-copy h2 {
  margin-top: 18px;
  max-width: 18ch;
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.cs-vision-copy p {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.cs-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cs-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.cs-points svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--accent-2);
}

.cs-frame {
  position: relative;
  margin: 0;
  perspective: 1400px;
}

.cs-frame-glow {
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(124, 92, 255, 0.45), transparent 62%);
  filter: blur(60px);
}

.cs-frame-shell {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 22, 0.82);
  overflow: hidden;
  box-shadow:
    0 60px 120px -50px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-9deg) rotateX(5deg) rotateZ(-0.6deg);
  transition: transform 0.9s var(--ease-out);
}

.cs-frame:hover .cs-frame-shell {
  transform: rotateY(-3deg) rotateX(2deg);
}

.cs-frame-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-frame-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.cs-frame-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cs-frame figcaption {
  margin-top: 16px;
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}

/* ---------------- what's coming ---------------- */

.cs-head {
  max-width: 660px;
}

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

.cs-card {
  position: relative;
  padding: 26px 24px 30px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012) 55%),
    var(--surface);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
}

.cs-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 0%),
    rgba(143, 125, 255, 0.2),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.cs-card:hover {
  transform: translateY(-5px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-lg);
}

.cs-card:hover::before {
  opacity: 1;
}

.cs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cs-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(143, 125, 255, 0.24), rgba(53, 205, 240, 0.07));
  color: #d8d2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .cs-card-icon {
  color: #4b32d6;
  background: linear-gradient(160deg, rgba(98, 71, 245, 0.14), rgba(10, 165, 201, 0.06));
}

.cs-card-icon svg {
  width: 20px;
  height: 20px;
}

.cs-card-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.cs-card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.cs-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

.cs-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- possibilities ---------------- */

.cs-poss-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cs-poss-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px 22px 28px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s var(--ease);
}

.cs-poss-glow {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -45%;
  height: 240px;
  filter: blur(48px);
  opacity: 0.5;
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}

.cs-poss-card--news .cs-poss-glow {
  background: radial-gradient(circle, rgba(74, 140, 255, 0.55), transparent 66%);
}

.cs-poss-card--comedy .cs-poss-glow {
  background: radial-gradient(circle, rgba(255, 134, 200, 0.45), transparent 66%);
}

.cs-poss-card--education .cs-poss-glow {
  background: radial-gradient(circle, rgba(64, 214, 190, 0.4), transparent 66%);
}

.cs-poss-card--experimental .cs-poss-glow {
  background: radial-gradient(circle, rgba(160, 120, 255, 0.5), transparent 66%);
}

.cs-poss-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-strong);
}

.cs-poss-card:hover .cs-poss-glow {
  opacity: 0.85;
  transform: translateY(-10px);
}

.cs-poss-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.cs-poss-icon svg {
  width: 18px;
  height: 18px;
}

.cs-poss-card h3 {
  position: relative;
  margin-top: auto;
  padding-top: 42px;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}

.cs-poss-card p {
  position: relative;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

.cs-poss-foot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cs-poss-foot svg {
  width: 13px;
  height: 13px;
}

/* ---------------- how it works ---------------- */

.cs-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.cs-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 25px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--stroke-strong) 12%,
    var(--accent) 50%,
    var(--stroke-strong) 88%,
    transparent
  );
  opacity: 0.5;
}

.cs-flow-step {
  position: relative;
  padding: 0 6px;
}

.cs-flow-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  background: var(--bg);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  box-shadow: 0 0 0 6px var(--bg);
}

.cs-flow-step h3 {
  margin-top: 20px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cs-flow-step p {
  margin-top: 8px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------- teaser ---------------- */

.cs-teaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 13vw, 160px) 0;
  background: #04050a;
  color: #f4f6fb;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-teaser-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cs-teaser-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(920px, 112vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(124, 92, 255, 0.3),
    rgba(53, 205, 240, 0.08) 45%,
    transparent 68%
  );
  filter: blur(40px);
}

.cs-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translate(-50%, -50%);
}

.cs-ring--1 {
  width: min(520px, 82vw);
  aspect-ratio: 1;
  animation: csSpin 44s linear infinite;
}

.cs-ring--1::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8f7dff;
  box-shadow: 0 0 18px 4px rgba(143, 125, 255, 0.8);
}

.cs-ring--2 {
  width: min(760px, 112vw);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
  animation: csSpin 76s linear infinite reverse;
}

.cs-ring--3 {
  width: min(1040px, 150vw);
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.04);
}

.cs-teaser-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.cs-teaser h2 {
  margin-top: 26px;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cs-teaser p {
  margin: 22px auto 0;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(226, 231, 244, 0.66);
}

.cs-teaser .btn {
  margin-top: 34px;
}

/* ---------------- signup ---------------- */

.cs-signup {
  padding-bottom: clamp(84px, 11vw, 140px);
}

.cs-signup-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(150deg, rgba(143, 125, 255, 0.16), rgba(53, 205, 240, 0.05) 46%, transparent 72%),
    var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cs-signup-panel::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -45%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.28), transparent 65%);
  filter: blur(44px);
  pointer-events: none;
}

.cs-signup-copy,
.cs-form {
  position: relative;
  z-index: 1;
}

.cs-signup-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.035em;
}

.cs-signup-copy p {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.cs-signup-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cs-signup-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.cs-signup-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent-2);
}

.cs-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cs-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: var(--bg-elevated);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.cs-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.cs-field input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding-inline: 18px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--text);
}

.cs-field input::placeholder {
  color: var(--muted);
}

.cs-form-btn {
  --btn-bg: var(--invert-bg);
  --btn-fg: var(--invert-text);
  flex: none;
  height: 46px;
  padding-inline: 22px;
  font-size: 13px;
  font-weight: 600;
}

.cs-form-btn:disabled {
  opacity: 0.62;
  cursor: progress;
  transform: none;
}

.cs-help {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.cs-help a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-form-status {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.cs-form-status:empty {
  display: none;
}

.cs-form-status.is-ok {
  color: #3fce93;
}

.cs-form-status.is-error {
  color: #f47373;
}

.cs-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cs-cta-sm {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------- motion ---------------- */

@keyframes csDrift1 {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6vw, 4vw, 0) scale(1.08);
  }
}

@keyframes csDrift2 {
  from {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  to {
    transform: translate3d(-5vw, 6vw, 0) scale(1);
  }
}

@keyframes csDrift3 {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, -5vw, 0) scale(1.1);
  }
}

@keyframes csPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes csSweep {
  0%,
  100% {
    transform: translateX(-14%);
    opacity: 0.7;
  }
  50% {
    transform: translateX(14%);
    opacity: 1;
  }
}

@keyframes csShimmer {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

@keyframes csPing {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 224, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(126, 224, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 224, 255, 0);
  }
}

@keyframes csSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes csScrollCue {
  0% {
    transform: scaleY(0.2);
    transform-origin: top;
    opacity: 0.2;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0.8;
  }
  100% {
    transform: scaleY(0.2);
    transform-origin: bottom;
    opacity: 0.2;
  }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .cs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-poss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-poss-card {
    min-height: 230px;
  }
}

@media (max-width: 900px) {
  .cs-vision-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-frame-shell {
    transform: none;
  }

  .cs-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .cs-flow::before {
    display: none;
  }

  .cs-flow-dot {
    box-shadow: none;
  }

  .cs-signup-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-title {
    max-width: 24ch;
  }
}

@media (max-width: 640px) {
  .cs-hero {
    min-height: 92svh;
    padding-top: 122px;
    padding-bottom: 84px;
  }

  .cs-cards,
  .cs-poss-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .cs-field {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .cs-field input {
    width: 100%;
    height: 44px;
    text-align: center;
  }

  .cs-form-btn {
    width: 100%;
  }

  .cs-hero-meta {
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 9.5px;
  }

  .cs-hero-meta i {
    display: none;
  }

  .cs-scroll {
    display: none;
  }

  .cs-poss-card {
    min-height: 0;
  }

  .cs-frame figcaption {
    text-align: left;
  }

  .cs-signup-panel {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-aurora,
  .cs-orb,
  .cs-beam,
  .cs-ring,
  .cs-title-grad,
  .cs-status-dot,
  .cs-scroll i {
    animation: none !important;
  }

  .cs-hero-bg {
    transform: none !important;
    transition: none;
  }

  .cs-frame-shell,
  .cs-frame:hover .cs-frame-shell {
    transform: none;
  }

  .cs-card,
  .cs-poss-card {
    transition: none;
  }

  .cs-card:hover,
  .cs-poss-card:hover {
    transform: none;
  }
}

html.motion-off .cs-aurora,
html.motion-off .cs-orb,
html.motion-off .cs-beam,
html.motion-off .cs-ring,
html.motion-off .cs-title-grad,
html.motion-off .cs-status-dot,
html.motion-off .cs-scroll i {
  animation: none !important;
}

html.motion-off .cs-hero-bg {
  transform: none !important;
  transition: none;
}

/* ---------------- header over the dark hero ---------------- */

.cs-home .site-header:not(.is-scrolled) .brand,
.cs-home .site-header:not(.is-scrolled) .nav a,
.cs-home .site-header:not(.is-scrolled) .icon-btn {
  color: #f4f6fb;
}

.cs-home .site-header:not(.is-scrolled) .icon-btn {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.cs-home .site-header:not(.is-scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.cs-home .site-header:not(.is-scrolled) .nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.cs-home .site-header:not(.is-scrolled) .cs-cta-sm {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

html[data-theme="light"] .cs-btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  color: #eef1f8;
  border-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   Final refinement pass — density, colour grading, interaction
   ========================================================================== */

/* ---- section rhythm ---- */

.cs-hero {
  min-height: min(100svh, 880px);
  padding-bottom: clamp(64px, 9vh, 96px);
}

.cs-title {
  margin-top: 26px;
}

.cs-sub {
  margin-top: 20px;
}

.cs-hero-cta {
  margin-top: 30px;
}

.cs-hero-meta {
  margin-top: 36px;
}

.cs-vision {
  padding-block: clamp(48px, 5vw, 76px) clamp(48px, 5.2vw, 80px);
}

.cs-coming,
.cs-poss,
.cs-flow-section {
  padding-block: clamp(52px, 5.6vw, 86px);
}

.cs-signup {
  padding-block: clamp(40px, 4.6vw, 64px) clamp(56px, 6.4vw, 92px);
}

.cs-teaser {
  padding-block: clamp(68px, 7.6vw, 108px);
}

.cs-creator {
  padding-block: clamp(28px, 3.4vw, 48px);
}

.cs-head {
  margin-bottom: clamp(26px, 3.2vw, 40px);
}

.cs-head h2 {
  margin-top: 14px;
}

.cs-head p {
  margin-top: 14px;
}

.cs-vision-grid {
  gap: clamp(26px, 4vw, 54px);
}

.cs-vision-copy h2 {
  margin-top: 14px;
}

.cs-vision-copy p {
  margin-top: 14px;
}

.cs-points {
  margin-top: 20px;
  gap: 10px;
}

.cs-cards {
  gap: 14px;
}

.cs-card {
  padding: 22px 22px 24px;
}

.cs-card-top {
  margin-bottom: 18px;
}

.cs-card p {
  margin-top: 8px;
}

.cs-tag {
  margin-top: 14px;
}

.cs-poss-grid {
  gap: 12px;
}

.cs-poss-card {
  min-height: 218px;
  padding: 22px 20px;
}

.cs-poss-card h3 {
  margin-top: 16px;
  padding-top: 0;
}

.cs-poss-foot {
  margin-top: 14px;
}

.cs-flow {
  gap: 16px;
}

.cs-flow-step h3 {
  margin-top: 16px;
}

.cs-flow-step p {
  margin-top: 6px;
}

.cs-signup-panel {
  padding: clamp(26px, 4vw, 46px);
}

.cs-signup-copy h2 {
  margin-top: 12px;
}

.cs-signup-copy p {
  margin-top: 12px;
}

.cs-signup-list {
  margin-top: 18px;
}

.cs-teaser h2 {
  margin-top: 22px;
}

.cs-teaser p {
  margin-top: 18px;
}

.cs-teaser .btn {
  margin-top: 28px;
}

.cs-frame figcaption {
  margin-top: 12px;
}

/* ---- colour grading ---- */

.cs-hero {
  background: #04050a;
}

.cs-aurora {
  opacity: 0.62;
}

.cs-aurora--2 {
  background: radial-gradient(circle at 50% 50%, rgba(56, 132, 255, 0.56), transparent 66%);
}

.cs-aurora--3 {
  background: radial-gradient(circle at 50% 50%, rgba(233, 92, 255, 0.4), transparent 68%);
}

.cs-orb {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(155, 132, 255, 0.28),
    rgba(70, 140, 255, 0.12) 44%,
    transparent 70%
  );
}

.cs-coming {
  background: radial-gradient(900px 520px at 12% 42%, rgba(124, 92, 255, 0.065), transparent 72%);
}

.cs-poss {
  background: radial-gradient(820px 480px at 88% 46%, rgba(53, 205, 240, 0.06), transparent 72%);
}

.cs-title-grad {
  background-image: linear-gradient(100deg, #e2ddff 0%, #9c86ff 34%, #5fd6ff 68%, #e2ddff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-tag {
  border-color: var(--stroke-strong);
  color: var(--text-soft);
}

/* ---- buttons ---- */

.cs-btn-primary {
  --btn-bg: linear-gradient(100deg, #7c5cff 0%, #4f7dff 46%, #22d3ee 100%);
  position: relative;
  overflow: hidden;
  background-size: 180% 100%;
  transition:
    background-position 0.6s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
}

.cs-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.cs-btn-primary:hover {
  background-position: 100% 50%;
}

.cs-btn-primary:hover::after {
  transform: translateX(130%);
}

.cs-btn-primary:active {
  transform: translateY(0) scale(0.985);
}

.btn:focus-visible,
.nav a:focus-visible,
.icon-btn:focus-visible,
.social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- navigation ---- */

.cs-home .site-header .nav a {
  position: relative;
}

.cs-home .site-header .nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.cs-home .site-header .nav a:hover::after,
.cs-home .site-header .nav a:focus-visible::after {
  transform: scaleX(1);
}

/* ---- cards and panels ---- */

.cs-card {
  transition:
    transform 0.45s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}

.cs-card:hover {
  border-color: rgba(143, 125, 255, 0.4);
  box-shadow:
    0 30px 70px -44px rgba(124, 92, 255, 0.7),
    var(--shadow-lg);
}

.cs-card-icon {
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.cs-card:hover .cs-card-icon {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(143, 125, 255, 0.55);
  box-shadow: 0 12px 26px -14px rgba(143, 125, 255, 0.9);
}

.cs-poss-icon,
.cs-poss-foot svg {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cs-poss-card:hover .cs-poss-icon {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
}

.cs-poss-card:hover .cs-poss-foot svg {
  transform: translate(2px, -2px);
}

.cs-field:hover {
  border-color: var(--stroke-strong);
}

.cs-signup-panel {
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}

.cs-signup-panel:hover {
  border-color: rgba(143, 125, 255, 0.28);
}

/* ---- about the creator ---- */

.cs-creator-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 26px);
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 34px);
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(120deg, rgba(143, 125, 255, 0.16), rgba(53, 205, 240, 0.05) 54%, transparent 82%),
    var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cs-creator-card::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -70%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.22), transparent 66%);
  filter: blur(38px);
  pointer-events: none;
}

.cs-creator-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 16px 34px -16px rgba(143, 125, 255, 0.9);
}

.cs-creator-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.cs-creator-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.cs-creator-body h2 {
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  letter-spacing: -0.02em;
}

.cs-creator-body p {
  margin-top: 6px;
  max-width: 66ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

.cs-creator-actions {
  position: relative;
  z-index: 1;
  flex: none;
}

@media (max-width: 760px) {
  .cs-creator-card {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .cs-creator-actions {
    width: 100%;
  }

  .cs-creator-actions .btn {
    width: 100%;
  }

  .cs-creator-mark {
    width: 54px;
    height: 54px;
  }
}

/* ---- motion preferences for the new interactions ---- */

@media (prefers-reduced-motion: reduce) {
  .cs-btn-primary::after {
    display: none;
  }

  .cs-btn-primary:hover,
  .cs-btn-primary:active,
  .cs-creator-card:hover,
  .cs-card:hover .cs-card-icon,
  .cs-poss-card:hover .cs-poss-icon,
  .cs-poss-card:hover .cs-poss-foot svg {
    transform: none;
  }

  .cs-home .site-header .nav a::after {
    transition: none;
  }
}

/* ==========================================================================
   Light theme legibility — solid cards, calmer glows, readable states
   ========================================================================== */

html[data-theme="light"] .cs-coming {
  background: radial-gradient(900px 520px at 12% 40%, rgba(98, 71, 245, 0.05), transparent 72%);
}

html[data-theme="light"] .cs-poss {
  background: radial-gradient(820px 480px at 88% 44%, rgba(10, 165, 201, 0.05), transparent 72%);
}

html[data-theme="light"] .cs-card,
html[data-theme="light"] .cs-poss-card,
html[data-theme="light"] .cs-creator-card,
html[data-theme="light"] .cs-signup-panel {
  border-color: rgba(10, 12, 20, 0.12);
  background: #ffffff;
}

html[data-theme="light"] .cs-card,
html[data-theme="light"] .cs-poss-card {
  box-shadow:
    0 1px 2px rgba(15, 18, 30, 0.05),
    0 16px 34px -30px rgba(15, 18, 30, 0.45);
}

html[data-theme="light"] .cs-card:hover {
  border-color: rgba(98, 71, 245, 0.38);
  box-shadow:
    0 1px 2px rgba(15, 18, 30, 0.05),
    0 24px 50px -30px rgba(98, 71, 245, 0.35);
}

html[data-theme="light"] .cs-poss-card:hover {
  border-color: rgba(10, 12, 20, 0.22);
}

html[data-theme="light"] .cs-creator-card,
html[data-theme="light"] .cs-signup-panel {
  background:
    linear-gradient(150deg, rgba(98, 71, 245, 0.1), rgba(10, 165, 201, 0.05) 50%, rgba(255, 255, 255, 0) 82%),
    #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 18, 30, 0.04),
    0 24px 50px -38px rgba(15, 18, 30, 0.5);
}

html[data-theme="light"] .cs-poss-glow {
  opacity: 0.34;
}

html[data-theme="light"] .cs-poss-card:hover .cs-poss-glow {
  opacity: 0.52;
}

html[data-theme="light"] .cs-poss-icon {
  background: rgba(10, 12, 20, 0.045);
  border-color: rgba(10, 12, 20, 0.12);
}

html[data-theme="light"] .cs-poss-card:hover .cs-poss-icon {
  border-color: rgba(10, 12, 20, 0.24);
}

html[data-theme="light"] .cs-flow-dot {
  background: #ffffff;
  border-color: rgba(10, 12, 20, 0.16);
  color: #3a4152;
}

html[data-theme="light"] .cs-flow::before {
  opacity: 0.7;
}

html[data-theme="light"] .cs-card-num,
html[data-theme="light"] .cs-tag,
html[data-theme="light"] .cs-poss-foot {
  color: #48505f;
}

html[data-theme="light"] .cs-field {
  background: #fbfbfd;
  border-color: rgba(10, 12, 20, 0.2);
}

html[data-theme="light"] .cs-field input::placeholder {
  color: #5b6373;
}

html[data-theme="light"] .cs-form-status.is-ok {
  color: #0f7a4e;
}

html[data-theme="light"] .cs-form-status.is-error {
  color: #b3261e;
}

html[data-theme="light"] .cs-creator-card::after,
html[data-theme="light"] .cs-signup-panel::after {
  opacity: 0.55;
}
