/* ==========================================================================
   Vibe Security — site template (dark + neon blue)
   Colors, speeds and radii live in :root. Chat windows keep Discord's palette.
   Smooth wheel scrolling is handled in script.js, not here.
   ========================================================================== */

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Base */
  --bg: #03050b;
  --text: #eef4ff;
  --text-dim: #9aa8c2;
  --text-faint: #6b7a96;

  /* Neon blue accent */
  --neon: #1ea7ff;
  --neon-soft: #8fdcff;
  --neon-deep: #1769ff;
  --neon-gradient: linear-gradient(135deg, #cdf3ff 0%, #36b8ff 38%, #1769ff 74%, #9fe2ff 100%);
  --neon-button: linear-gradient(135deg, #3cc2ff 0%, #1769ff 100%);

  /* Liquid glass: translucent fill, blur of the background, light rim */
  --glass-fill:
    radial-gradient(120% 60% at 50% -10%, rgba(170, 220, 255, .16), transparent 60%),
    linear-gradient(145deg, rgba(120, 180, 255, .1) 0%, rgba(120, 180, 255, .03) 50%, rgba(120, 180, 255, .07) 100%);
  --glass-blur: blur(22px) saturate(180%);
  --glass-border: rgba(160, 210, 255, .16);

  /* Radii and motion */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Fonts */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Cascadia Code", ui-monospace, monospace;

  /* Bot status colors */
  --banned: #ff6b6b;
  --quarantined: #ff9f43;
  --muted: #a5b4cc;
  --logged: #f5a524;
  --verified: #34d399;

  /* Discord palette for the chat imitations */
  --dc-bg: #313338;
  --dc-bar: #2b2d31;
  --dc-dark: #1e1f22;
  --dc-text: #dbdee1;
  --dc-strong: #f2f3f5;
  --dc-muted: #949ba4;
  --dc-blurple: #5865f2;
  --dc-green: #23a55a;
  --dc-red: #f23f43;
  --dc-link: #00a8fc;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3,
p,
dl,
dd,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

code {
  padding: .1em .4em;
  border-radius: 6px;
  background: rgba(120, 190, 255, .1);
  color: var(--neon-soft);
  font-family: var(--font-mono);
  font-size: .88em;
}

section[id] {
  scroll-margin-top: 110px;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
}

.neon-text {
  background: var(--neon-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 8s ease-in-out infinite alternate;
}

@keyframes shine {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Background: blue orbs and grain
   ========================================================================== */

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-drift 24s var(--ease-out) infinite alternate;
}

.orb--blue {
  width: 50vmax;
  height: 50vmax;
  top: -20vmax;
  left: -14vmax;
  background: radial-gradient(circle, #1769ff 0%, transparent 62%);
  opacity: .42;
}

.orb--cyan {
  width: 36vmax;
  height: 36vmax;
  top: 30vh;
  right: -12vmax;
  background: radial-gradient(circle, #1ea7ff 0%, transparent 62%);
  opacity: .3;
  animation-duration: 30s;
  animation-delay: -8s;
}

.orb--navy {
  width: 60vmax;
  height: 60vmax;
  bottom: -36vmax;
  left: 20vw;
  background: radial-gradient(circle, #0b1d44 0%, transparent 70%);
  opacity: .9;
  animation-duration: 36s;
  animation-delay: -15s;
}

@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Liquid glass
   Layers: translucent fill with a top highlight → background blur →
   light rim → glare that follows the cursor
   ========================================================================== */

.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 1px rgba(200, 235, 255, .3),   /* top highlight */
    inset 0 -1px 1px rgba(200, 235, 255, .05),
    inset 0 0 30px rgba(120, 190, 255, .05),   /* inner glow */
    0 1px 2px rgba(0, 0, 0, .5),
    0 30px 60px -30px rgba(0, 0, 0, .9);       /* depth */
  transition: transform .7s var(--ease-spring), box-shadow .7s var(--ease-out);
}

/* Light rim: brighter at the top-left, like the edge of a glass lens */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(200, 235, 255, .7) 0%,
    rgba(200, 235, 255, .08) 28%,
    rgba(200, 235, 255, .02) 62%,
    rgba(200, 235, 255, .34) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Glare that follows the cursor */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 0%), rgba(190, 230, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
  pointer-events: none;
}

.glass:hover::after {
  opacity: 1;
}

.glass--neon {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(120, 210, 255, .26), transparent 60%),
    linear-gradient(145deg, rgba(30, 167, 255, .16), rgba(30, 167, 255, .03) 55%, rgba(30, 167, 255, .12));
}

.glass--neon::before {
  background: linear-gradient(135deg,
    rgba(200, 240, 255, .9) 0%,
    rgba(30, 167, 255, .25) 35%,
    rgba(30, 167, 255, .06) 60%,
    rgba(200, 240, 255, .55) 100%);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 48px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  translate: var(--bx, 0px) var(--by, 0px);  /* magnetic offset from script.js */
  transition: translate .4s var(--ease-out), transform .5s var(--ease-spring), box-shadow .5s var(--ease-out), background-position .6s var(--ease-out);
}

.btn--sm {
  height: 38px;
  padding: 0 1.05rem;
  font-size: .875rem;
}

.btn--lg {
  height: 56px;
  padding: 0 1.9rem;
  font-size: 1rem;
}

.btn--neon {
  color: #fff;
  background: var(--neon-button);
  background-size: 200% 200%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -2px 0 rgba(0, 40, 120, .35),
    0 14px 36px -10px rgba(30, 167, 255, .75),
    0 0 0 1px rgba(143, 220, 255, .25);
}

.btn--neon:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
}

/* Light sweep across the neon button */
.btn--neon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease-out);
}

.btn--neon:hover::after {
  transform: translateX(100%);
}

.btn--glass {
  color: var(--text);
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .3), 0 12px 30px -14px rgba(0, 0, 0, .8);
}

.btn--glass:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .45), 0 18px 36px -14px rgba(0, 0, 0, .9);
}

.btn:active {
  transform: scale(.94); /* jelly press */
}

/* ==========================================================================
   Navigation: floating glass pill
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
}

.nav.is-scrolled {
  background-image: linear-gradient(145deg, rgba(8, 14, 28, .78), rgba(4, 8, 18, .66));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.logo__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav__links {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 4px;
}

/* Lens under the active link: slides over and stretches with a spring */
.nav__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(120, 190, 255, .14);
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .35), 0 6px 18px -8px rgba(30, 167, 255, .5);
  opacity: 0;
  pointer-events: none;
  transition: transform .6s var(--ease-spring), width .6s var(--ease-spring), opacity .3s;
}

.nav__links a {
  position: relative;
  z-index: 1;
  padding: .5rem .9rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  transition: color .3s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* EN / RU switch: a small glass segment, the active language glows neon */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(120, 190, 255, .08);
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .2);
}

.lang__btn {
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: color .3s, background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.lang__btn:hover {
  color: var(--text);
}

.lang__btn[aria-pressed="true"] {
  color: #fff;
  background: var(--neon-button);
  box-shadow: 0 6px 16px -6px rgba(30, 167, 255, .8);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: rgba(120, 190, 255, .08);
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .25);
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .4s var(--ease-spring), opacity .3s;
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav__sheet {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius-lg);
}

.nav__sheet a {
  padding: .8rem 1rem;
  border-radius: 14px;
  font-weight: 500;
}

.nav__sheet a:hover {
  background: rgba(120, 190, 255, .08);
}

/* The menu's CTA is shown only on narrow screens */
.nav__sheet-cta {
  display: none;
}

.nav__sheet .nav__sheet-cta {
  justify-content: center;
  margin-top: 6px;
  padding: 0 1.4rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 140px 24px 96px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Blue spotlight behind the headline */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(980px, 130vw);
  height: 620px;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(30, 167, 255, .22), rgba(30, 167, 255, .06) 60%, transparent);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(120, 190, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
}

/* Rows of bot-activity blocks. Each row is a track with two identical halves,
   so translating by -50% loops seamlessly. Rows 1 and 3 fly left, row 2 flies right. */
.rails {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.rail {
  position: absolute;
  left: 0;
  right: 0;
  filter: blur(2px);  /* light blur: the blocks stay readable as shapes but don't compete with the text */
}

.rail--1 { top: 10%; }
.rail--2 { top: 46%; opacity: .4; }
.rail--3 { top: 88%; }

.rail__track {
  display: flex;
  width: max-content;
  animation: rail-left 48s linear infinite;
  will-change: transform;
}

.rail--3 .rail__track {
  animation-duration: 40s;
}

.rail--right .rail__track {
  animation-name: rail-right;
  animation-duration: 60s;
}

.rail__half {
  display: flex;
  flex: none;
  gap: 18px;
  margin: 0;
  padding: 0 18px 0 0;
  list-style: none;
}

@keyframes rail-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes rail-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/* Activity block, styled after the reference card: dark body, black icon tile,
   gradient status word and a bold line underneath */
.tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 268px;
  padding: 12px 22px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(42, 44, 52, .94), rgba(22, 24, 30, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 40px -20px rgba(0, 0, 0, .85);
  text-align: left;
}

.tile__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.tile__icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.tile__text {
  display: grid;
  gap: 4px;
}

.tile__label {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  background: var(--c);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.tile__note {
  color: #f3f6fb;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

.tile[data-status="banned"]      { --c: linear-gradient(90deg, #ff5f5f, #ffb3a7); }
.tile[data-status="quarantined"] { --c: linear-gradient(90deg, #ff9f43, #ffd58a); }
.tile[data-status="muted"]       { --c: linear-gradient(90deg, #a5b4cc, #e2e8f0); }
.tile[data-status="logged"]      { --c: linear-gradient(90deg, #f59e0b, #fde68a); }
.tile[data-status="verified"]    { --c: linear-gradient(90deg, #34d399, #a7f3d0); }

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 28px;
  max-width: 880px;
}

/* Dark halo behind the text keeps it readable over the moving rows */
.hero__content::before {
  content: "";
  position: absolute;
  inset: -70px -60px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(3, 5, 11, .96), rgba(3, 5, 11, .75) 55%, rgba(3, 5, 11, 0));
  filter: blur(8px);
  pointer-events: none;
}

.hero__content > * {
  animation: rise 1.1s var(--ease-out) both;
}

.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem .4rem .4rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .85rem;
  font-weight: 500;
}

.eyebrow__badge {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--neon-button);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

.hero__title {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero__lead {
  max-width: 580px;
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(600px, 100%);
  margin-top: 8px;
  padding: 6px;
  border-radius: var(--radius-lg);
}

.stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 16px 12px;
  text-align: center;
}

.stats > div + div {
  border-left: 1px solid rgba(120, 190, 255, .1);
}

.stats dt {
  color: var(--text-faint);
  font-size: .8rem;
}

.stats dd {
  color: var(--neon-soft);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  position: relative;
  padding: 112px 24px;
}

.section--final {
  padding-bottom: 96px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 880px;
}

.section__head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* Kicker with a short neon line that draws itself in when the section appears */
.kicker {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  vertical-align: middle;
  background: var(--neon);
  transition: width .9s var(--ease-out), margin .9s var(--ease-out);
}

.is-visible .kicker::before {
  width: 28px;
  margin-right: 10px;
}

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.section__lead {
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.section__note {
  margin-top: 28px;
  text-align: center;
  color: var(--text-faint);
  font-size: .92rem;
}

.grid {
  display: grid;
  gap: 20px;
}

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

/* Module cards */
.card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-top: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.card p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--neon-soft);
  background: linear-gradient(145deg, rgba(30, 167, 255, .3), rgba(30, 167, 255, .05));
  box-shadow: inset 0 1px 0 rgba(200, 235, 255, .35), inset 0 0 0 1px rgba(30, 167, 255, .3);
  transition: transform .6s var(--ease-spring);
}

.card:hover .icon-ring {
  transform: rotate(-8deg) scale(1.08);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.tag {
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(30, 167, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(30, 167, 255, .25);
  color: #bfe9ff;
  font-family: var(--font-mono);
  font-size: .7rem;
}

/* ==========================================================================
   Discord-style chat windows
   ========================================================================== */

.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.versus {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.versus__label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

.versus__label span {
  color: var(--text-dim);
  font-weight: 400;
}

.versus .chat {
  flex: 1;
}

.chat {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--dc-bg);
  color: var(--dc-text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .05);
  text-align: left;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  color: var(--dc-strong);
  font-size: 1rem;
  font-weight: 600;
}

.chat__hash {
  color: var(--dc-muted);
  font-size: 1.25rem;
  font-weight: 500;
}

.chat__body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px 16px 10px;
}

/* "X is typing…" line above the input, with bouncing dots */
.chat__typing {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 18px 6px;
  color: var(--dc-muted);
  font-size: .8rem;
}

.dots {
  display: inline-flex;
  gap: 3px;
}

.dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dc-muted);
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

.chat__input {
  margin: 6px 16px 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #383a40;
  color: #6d6f78;
  font-size: .92rem;
}

.chat--solo {
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
}

.msg {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.msg--cont .msg__body {
  grid-column: 2;
}

.msg__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.msg__avatar--dc {
  background: #000;
}

.msg__avatar--vs {
  background: #04121f;
  box-shadow: 0 0 0 1px rgba(30, 167, 255, .35), 0 0 18px -4px rgba(30, 167, 255, .6);
}

.msg__logo {
  width: 24px;
  height: 24px;
}

.msg__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.msg__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
}

.msg__name {
  font-weight: 600;
}

.msg__name--dc {
  color: #c9a8ff;
}

.msg__name--vs {
  color: #7fd6ff;
}

.msg__badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--dc-blurple);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.msg__time {
  color: var(--dc-muted);
  font-size: .75rem;
}

.msg__reply {
  color: var(--dc-muted);
  font-size: .8rem;
}

.msg__text {
  color: var(--dc-text);
  font-size: .95rem;
  line-height: 1.45;
}

.msg__text strong,
.msg__list strong {
  color: var(--dc-strong);
  font-weight: 700;
}

.msg__ephemeral {
  color: var(--dc-muted);
  font-size: .72rem;
}

/* Markdown from Discord: "# heading", numbered lists, inline /command mention */
.msg__h1 {
  margin: 4px 0 6px;
  color: var(--dc-strong);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.msg__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.5em;
  color: var(--dc-text);
  font-size: .98rem;
  line-height: 1.45;
  list-style: decimal;
}

.cmd {
  padding: 0 .3em;
  border-radius: 3px;
  background: rgba(88, 101, 242, .3);
  color: #dee0fc;
  font-family: var(--font-sans);
  font-size: .92em;
  font-weight: 500;
}

/* Embeds */
.embed {
  display: grid;
  gap: 8px;
  max-width: 460px;
  padding: 12px 16px 14px;
  border-left: 4px solid var(--dc-blurple);
  border-radius: 4px;
  background: var(--dc-bar);
}

.embed--green {
  border-left-color: var(--dc-green);
}

.embed--red {
  border-left-color: var(--dc-red);
}

.embed--blue {
  border-left-color: var(--dc-blurple);
}

.embed--neon {
  border-left-color: var(--neon);
}

.embed__title {
  color: var(--dc-strong);
  font-size: 1.05rem;
  font-weight: 600;
}

.embed__text,
.embed__field {
  color: var(--dc-text);
  font-size: .9rem;
  line-height: 1.45;
}

.embed__footer {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--dc-muted);
  font-size: .75rem;
}

.link {
  color: var(--dc-link);
}

.dbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 4px;
  background: #4e5058;
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
}

.dbtn--green {
  background: #248046;
}

/* Verification menu (select) */
.select {
  overflow: hidden;
  border-radius: 4px;
  background: var(--dc-dark);
  color: var(--dc-text);
  font-size: .9rem;
}

.select__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  color: var(--dc-muted);
}

.select__list {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.select__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .25s;
}

.select__opt:hover,
.select__opt.is-active {
  background: rgba(30, 167, 255, .14);
}

.select__opt b {
  display: block;
  color: var(--dc-strong);
  font-size: .9rem;
  font-weight: 600;
}

.select__opt small {
  display: block;
  color: var(--dc-muted);
  font-size: .78rem;
}

.select__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(30, 167, 255, .14);
  color: var(--neon-soft);
}

.select__icon .icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Checklist (used in subscription and pricing)
   ========================================================================== */

.checks {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.checks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-gradient);
  box-shadow: 0 0 12px rgba(30, 167, 255, .7);
}

/* ==========================================================================
   Pricing: one plan with a slowly rotating neon border
   ========================================================================== */

.plan-wrap {
  position: relative;
  padding: 1.5px;
  border-radius: 34px;
  background: conic-gradient(from var(--angle), rgba(30, 167, 255, .08) 0deg, rgba(30, 167, 255, .08) 220deg, #36b8ff 300deg, #cdf3ff 330deg, rgba(30, 167, 255, .08) 360deg);
  animation: spin-angle 5s linear infinite;
}

@keyframes spin-angle {
  to { --angle: 360deg; }
}

.plan {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 44px 36px 36px;
  border-radius: 32px;
  text-align: center;
}

.plan__badge {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--neon-button);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan__name {
  font-size: 1.3rem;
  font-weight: 600;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan__amount {
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.plan__period {
  color: var(--text-dim);
  font-size: 1rem;
}

.plan__list {
  width: 100%;
  max-width: 360px;
  margin: 6px 0 4px;
  text-align: left;
}

.plan__cta {
  margin-top: 8px;
}

.plan__note {
  color: var(--text-faint);
  font-size: .85rem;
}

/* ==========================================================================
   Subscription
   ========================================================================== */

.sub {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-xl);
}

.sub__text {
  display: grid;
  gap: 18px;
}

.sub__text .section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.sub__aside {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(120, 190, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 16, .45);
}

.sub__aside p {
  font-size: 1.05rem;
  font-weight: 500;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  padding: 0 24px;
  border-radius: 22px;
}

.faq__item summary {
  display: block;
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  color: var(--neon);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .5s var(--ease-spring);
}

.faq__details[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 0 22px;
  color: var(--text-dim);
  font-size: .95rem;
}

/* ==========================================================================
   Final call to action and footer
   ========================================================================== */

.cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 72px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta .section__lead {
  max-width: 560px;
}

.footer {
  padding: 40px 24px 48px;
  border-top: 1px solid rgba(120, 190, 255, .08);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__links a {
  color: var(--text-dim);
  font-size: .92rem;
  transition: color .3s;
}

.footer__links a:hover {
  color: var(--neon-soft);
}

.footer__copy {
  color: var(--text-faint);
  font-size: .85rem;
}

/* ==========================================================================
   Reveal on scroll (enabled by script.js; without JS the content stays visible).
   Uses the translate property so it doesn't fight the card hover transform.
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition:
    opacity .9s var(--ease-out) var(--reveal-delay, 0s),
    translate .9s var(--ease-out) var(--reveal-delay, 0s),
    transform .7s var(--ease-spring),
    box-shadow .7s var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1366px) {
  .tile {
    transform: scale(.92);
    transform-origin: left center;
  }
}

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

  .sub {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
}

@media (max-width: 1000px) {
  .verify-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 96px 20px;
  }

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

  .stats {
    width: 100%;
  }

  .stats dd {
    font-size: 1.5rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .cta {
    padding: 56px 24px;
  }

  .eyebrow {
    font-size: .8rem;
  }

  .hero {
    padding: 176px 20px 136px;
  }

  /* Smaller blocks on phones */
  .tile {
    min-width: 230px;
    padding: 10px 16px 10px 10px;
    gap: 12px;
    transform: scale(.82);
  }

  .tile__icon {
    width: 48px;
    height: 48px;
  }

  .tile__label {
    font-size: 1.25rem;
  }

  .rail--1 { top: 8%; }
  .rail--2 { top: 48%; }
  .rail--3 { top: 84%; }

  .chat__head {
    padding: 0 14px;
  }

  .chat__body {
    padding: 14px 12px 8px;
  }

  .sub {
    padding: 32px 22px;
  }

  .plan {
    padding: 36px 22px 28px;
  }
}

@media (max-width: 480px) {
  .nav__cta {
    display: none;
  }

  .nav__sheet-cta {
    display: inline-flex;
  }

  .embed {
    max-width: 100%;
  }

  .hero__title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   Reduced motion: stop the animations, keep the final states
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }
}

/* ==========================================================================
   Clay (dark) — layered on top of the base above.
   Warm charcoal background, soft graphite cards, big radii, serif headlines.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #13120f;
  --text: #efe9df;
  --text-dim: #a8a094;
  --text-faint: #776f63;
  --neon: #8b98ff;
  --neon-soft: #a9b3ff;
  --neon-gradient: linear-gradient(120deg, #8b98ff, #c3a6ff);
  --neon-button: linear-gradient(135deg, #5b6cff, #7a6cff);
  --glass-fill: #1c1a17;
  --glass-border: rgba(255, 245, 230, .08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --card: #1c1a17;
  --soft-shadow: 0 1px 0 rgba(255, 245, 230, .04) inset, 0 24px 50px -28px rgba(0, 0, 0, .8);
  --font-serif: "Fraunces", Georgia, serif;
}

body { background: var(--bg); color: var(--text); }

.orb { opacity: .14 !important; filter: blur(120px); }
.grain { opacity: .04; }
.hero__grid { opacity: .35; }

.hero__title,
.section__title,
.card h3,
.plan__name,
.plan__amount {
  font-family: var(--font-serif);
  letter-spacing: -.025em;
}

.neon-text { font-style: italic; }

code { background: rgba(139, 152, 255, .12); color: var(--neon-soft); }

.glass {
  background: var(--card);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  border: 1px solid var(--glass-border);
  box-shadow: var(--soft-shadow);
}

.glass::before { display: none; }
.glass::after { background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 0%), rgba(139, 152, 255, .07), transparent 70%); }

.glass--neon { background: linear-gradient(135deg, #4b5cf0, #7a5cf0); color: #fff; border-color: transparent; }
.glass--neon .kicker,
.glass--neon .section__lead,
.glass--neon .plan__period,
.glass--neon .plan__note,
.glass--neon .checks li { color: rgba(255, 255, 255, .85); }
.glass--neon code { background: rgba(255, 255, 255, .16); color: #fff; }
.glass--neon .btn--neon { background: #fff; color: #4b5cf0; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.glass--neon .btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); }
.glass--neon .kicker::before { background: #fff; }
.glass--neon .plan__badge { background: #fff; color: #4b5cf0; }
.glass--neon .neon-text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.glass--neon .checks li::before { background: #fff; box-shadow: none; }

.nav { background: rgba(28, 26, 23, .88); }
.nav.is-scrolled { background-image: none; background: rgba(28, 26, 23, .97); }
.nav__indicator { background: rgba(139, 152, 255, .12); box-shadow: none; }
.lang { background: rgba(255, 245, 230, .05); box-shadow: none; }
.nav__toggle { background: rgba(255, 245, 230, .05); box-shadow: none; }
.nav__sheet a:hover { background: rgba(255, 245, 230, .05); }

.btn--neon { box-shadow: 0 12px 28px -12px rgba(91, 108, 255, .7); }
.btn--glass { background: var(--card); color: var(--text); border-color: var(--glass-border); box-shadow: var(--soft-shadow); }

.hero::before { background: radial-gradient(closest-side, rgba(139, 152, 255, .12), transparent); }
.hero__content::before { background: radial-gradient(closest-side, rgba(19, 18, 15, .96), rgba(19, 18, 15, .75) 55%, rgba(19, 18, 15, 0)); }
.stats > div + div { border-left-color: var(--glass-border); }
.stats dd { color: var(--neon-soft); font-family: var(--font-serif); }

.rail--2 { opacity: .3; }

.tile {
  background: var(--card);
  border-color: var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8);
}

.tile__icon { background: #000; border-radius: 14px; }
.tile__note { color: var(--text-dim); }

.icon-ring { background: rgba(139, 152, 255, .12); color: var(--neon-soft); box-shadow: none; border-radius: 50%; }
.tag { background: rgba(139, 152, 255, .1); box-shadow: none; color: var(--neon-soft); }
.checks li { color: var(--text-dim); }
.checks li::before { box-shadow: none; }

.chat { box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .9), 0 0 0 1px var(--glass-border); }

.plan-wrap { background: conic-gradient(from var(--angle), rgba(139, 152, 255, .1) 0deg 220deg, #8b98ff 300deg, #c3a6ff 330deg, rgba(139, 152, 255, .1) 360deg); }

.sub__aside { background: var(--bg); border-color: var(--glass-border); }
.faq__item summary::after { color: var(--neon); }
.footer { border-top-color: var(--glass-border); }
.footer__links a:hover { color: var(--neon-soft); }

/* ==========================================================================
   Vibe Security verification demo (window 2): mode menu next to #verify,
   interactive messages, reactions, captcha picture and answer menus
   ========================================================================== */

.chat__head { position: relative; z-index: 2; overflow: visible; }

.chan-menu { position: relative; margin-left: 10px; }

.chan-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: rgba(139, 152, 255, .16);
  color: #e1e4ff;
  font-size: .8rem;
  font-weight: 600;
  transition: background-color .2s;
}

.chan-menu__btn:hover { background: rgba(139, 152, 255, .28); }
.chan-menu__btn .icon { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.chan-menu__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.chan-menu__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 6px;
  border-radius: 8px;
  background: #111214;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
  animation: msg-in .2s var(--ease-out) both;
}

.chan-menu__list li {
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--dc-text);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
}

.chan-menu__list li:hover,
.chan-menu__list li[aria-selected="true"] { background: rgba(139, 152, 255, .2); color: #fff; }

.chat__body--demo { min-height: 420px; }

.msg--in { animation: msg-in .35s var(--ease-out) both; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.embed--light { border-left-color: #e3e5e8; }

.dbtn { border: 0; cursor: pointer; transition: filter .2s; }
.dbtn:hover { filter: brightness(1.1); }
.dbtn:disabled { opacity: .5; cursor: default; filter: none; }

.math {
  color: var(--dc-strong);
  font-size: 1.2rem;
  font-weight: 700;
}

.reactions { display: flex; gap: 6px; margin-top: 4px; }

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #2b2d31;
  color: var(--dc-text);
  font-size: .9rem;
  transition: background-color .2s, border-color .2s;
}

button.reaction { cursor: pointer; }
.reaction.is-mine { border-color: var(--dc-blurple); background: rgba(88, 101, 242, .22); }
.reaction--add { color: var(--dc-muted); }

.demo-note {
  color: var(--dc-muted);
  font-size: .85rem;
  font-style: italic;
  animation: msg-in .35s var(--ease-out) both;
}

.demo-wrong { color: var(--dc-red); font-size: .82rem; }

/* Generated captcha picture: colored stripes, tilted characters, scribbles */
.captcha {
  position: relative;
  display: flex;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
}

.captcha__stripe { flex: 1; }

.captcha__code {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font: 800 2.3rem/1 var(--font-sans);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.captcha__code span { display: inline-block; }

.captcha svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.dselect__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 6px;
  background: var(--dc-dark);
  color: var(--dc-muted);
  font-size: .9rem;
}

.dselect__list {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  padding: 4px;
  border-radius: 6px;
  background: #232428;
  animation: msg-in .2s var(--ease-out) both;
}

.dselect__list button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--dc-text);
  font-family: var(--font-mono);
  text-align: left;
  cursor: pointer;
}

.dselect__list button:hover { background: rgba(139, 152, 255, .2); }

/* ==========================================================================
   Light Clay — switched on with <html data-theme="light"> (sun/moon button in the nav)
   ========================================================================== */

:root[data-theme="light"] {
  --bg: #f4f0e8;
  --text: #1c1a17;
  --text-dim: #5d5850;
  --text-faint: #8b857a;
  --neon: #3550ff;
  --neon-soft: #3550ff;
  --neon-gradient: linear-gradient(120deg, #3550ff, #7a5cff);
  --neon-button: linear-gradient(135deg, #3550ff, #5b6bff);
  --card: #ffffff;
  --glass-fill: #ffffff;
  --glass-border: rgba(28, 26, 23, .08);
  --soft-shadow: 0 1px 2px rgba(60, 50, 30, .06), 0 24px 50px -28px rgba(60, 50, 30, .35);
}

[data-theme="light"] .orb { opacity: .16 !important; }
[data-theme="light"] .grain { opacity: .03; }
[data-theme="light"] code { background: rgba(53, 80, 255, .08); color: var(--neon); }
[data-theme="light"] .nav { background: rgba(255, 255, 255, .88); }
[data-theme="light"] .nav.is-scrolled { background: #fff; }
[data-theme="light"] .logo { color: var(--text); }
[data-theme="light"] .nav__indicator { background: rgba(53, 80, 255, .08); }
[data-theme="light"] .lang,
[data-theme="light"] .nav__toggle,
[data-theme="light"] .theme-toggle { background: rgba(28, 26, 23, .05); }
[data-theme="light"] .nav__sheet a:hover { background: rgba(28, 26, 23, .05); }
[data-theme="light"] .btn--neon { box-shadow: 0 12px 28px -12px rgba(53, 80, 255, .6); }
[data-theme="light"] .hero::before { background: radial-gradient(closest-side, rgba(53, 80, 255, .12), transparent); }
[data-theme="light"] .hero__content::before { background: radial-gradient(closest-side, rgba(244, 240, 232, .96), rgba(244, 240, 232, .75) 55%, rgba(244, 240, 232, 0)); }
[data-theme="light"] .tile { box-shadow: 0 14px 30px -18px rgba(60, 50, 30, .4); }
[data-theme="light"] .tile__icon { background: #1c1a17; }
[data-theme="light"] .icon-ring,
[data-theme="light"] .tag { background: rgba(53, 80, 255, .08); color: var(--neon); }
[data-theme="light"] .glass--neon { background: linear-gradient(135deg, #3550ff, #6a5cff); }
[data-theme="light"] .glass--neon .btn--neon,
[data-theme="light"] .glass--neon .plan__badge { color: #3550ff; }
[data-theme="light"] .chat { box-shadow: 0 30px 60px -32px rgba(30, 25, 15, .55); }
[data-theme="light"] .plan-wrap { background: conic-gradient(from var(--angle), rgba(53, 80, 255, .1) 0deg 220deg, #3550ff 300deg, #b9a8ff 330deg, rgba(53, 80, 255, .1) 360deg); }

/* Theme button: shows the moon in the dark theme and the sun in the light one */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 245, 230, .06);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  transition: transform .4s var(--ease-spring);
}

.theme-toggle:hover { transform: rotate(-20deg); }
.theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__sun { display: inline; }
[data-theme="light"] .theme-toggle__moon { display: none; }
