@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #08090b;
  --bg-soft: #060709;
  --bg-panel: #080a10;
  --bg-footer: #050405;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #e8edf5;
  --dim: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.3);
  --pink: #2f7bff;
  --pink-2: #5b9cff;
  --pink-3: #9cc4ff;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background: rgba(47, 123, 255, 0.4);
}

.font-mono {
  font-family: var(--font-mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.invisible {
  visibility: hidden;
}

.shell {
  position: relative;
  margin-inline: auto;
  max-width: 1180px;
}

.rk-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s, filter 0.18s, background 0.18s, border-color 0.18s;
}

.btn-cipher {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#5a9bff 0%, #2f7bff 58%, #1f5ef2 100%);
  color: #fff;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s, filter 0.24s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 30px rgba(47, 123, 255, 0.32);
}

.btn-cipher::before {
  content: "";
  z-index: 1;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.42) 48%, transparent 64%);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  inset: 0;
  transform: translateX(-160%);
}

.btn-cipher > * {
  z-index: 2;
  position: relative;
}

.btn-cipher:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 44px rgba(47, 123, 255, 0.44);
}

.btn-cipher:hover::before {
  transform: translateX(160%);
}

.btn-cipher:active {
  filter: brightness(0.98);
  transition-duration: 70ms;
  transform: translateY(0) scale(0.972);
  box-shadow:
    inset 0 2px 5px rgba(0, 20, 60, 0.4),
    0 6px 16px rgba(47, 123, 255, 0.28);
}

.btn-ghost {
  background: linear-gradient(rgba(255, 255, 255, 0.086), rgba(255, 255, 255, 0.027));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s, background 0.22s;
}

.btn-ghost:hover {
  color: #fff;
  background: linear-gradient(rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border-color: rgba(91, 156, 255, 0.42);
  transform: translateY(-1.5px);
}

.btn-ghost:active {
  transition-duration: 70ms;
  transform: scale(0.978);
}

/* shared motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

.reveal.is-in {
  animation: reveal-up 0.7s var(--ease-out) forwards;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal.is-in {
  will-change: auto;
}

.rk-fade-up {
  animation: rk-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rk-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rk-card {
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.rk-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(91, 156, 255, 0.32);
}

/* Perf: infinite decorative animations inside [data-anims] roots run only
   while the root is near the viewport (see initAnimGate). Paused
   animations cost no style recalc, repaint, or compositor work. */
[data-anims]:not(.anims-live) *,
[data-anims]:not(.anims-live) *::before,
[data-anims]:not(.anims-live) *::after {
  animation-play-state: paused !important;
}

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

/* Fixed page backdrop: radial veil + animated wave-dither canvas +
   film grain. The dither canvas runs the fluid wave shader itself, so
   no CSS shimmer is needed — it just fades in once. */

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
  background: radial-gradient(130% 90% at 50% -10%, transparent, #04060b 72%);
}

.dither-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  transform: translateZ(0);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dither-layer.is-visible {
  opacity: 0.6;
}

.dither-layer canvas {
  width: 100%;
  height: 100%;
}

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

/* Soft drifting glows kept minimal — original only uses them inside
   cards/bands, plus the pricing top glow. */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  top: 0;
  overflow: hidden;
}

.ambient i {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  will-change: transform;
}

.ambient i:nth-child(1) {
  width: 520px;
  height: 420px;
  left: -160px;
  top: 2%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.16), transparent 70%);
  animation: ambient-drift 16s ease-in-out infinite alternate;
}

.ambient i:nth-child(2) {
  width: 560px;
  height: 460px;
  right: -180px;
  top: 30%;
  background: radial-gradient(circle, rgba(43, 108, 255, 0.1), transparent 70%);
  animation: ambient-drift-2 19s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, 26px) scale(1.08);
  }
}

@keyframes ambient-drift-2 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-38px, -30px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient i {
    animation: none;
  }
}

.rk-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 12px;
  opacity: 0;
  transform: translateY(-20px);
  animation: rk-header-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) 80ms forwards;
}

@keyframes rk-header-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

.rk-nav {
  position: relative;
  margin-inline: auto;
  display: flex;
  height: 56px;
  max-width: 1280px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding-inline: 12px;
  background: rgba(10, 15, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 24px;
}

.navlinks {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.navlinks a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s, transform 0.18s;
}

.navlinks a:hover {
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.navlinks svg {
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.navright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rk-nav-icon {
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: 0;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, transform 0.18s;
}

.rk-nav-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(3deg);
}

/* Layers affordance follows the pressed state: plain layers while the
   background plays, slashed layers while it is paused/hidden. */
#bgToggle .icon-layers-off {
  display: none;
}

#bgToggle[aria-pressed="false"] .icon-layers-off {
  display: block;
}

#bgToggle[aria-pressed="false"] .icon-layers {
  display: none;
}

.navright .btn {
  padding: 8px 14px;
  font-size: 13px;
}

.rk-nav-toggle {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
}

.rk-nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.22s var(--ease-out);
}

.rk-nav-toggle span:first-child {
  top: 14px;
}

.rk-nav-toggle span:last-child {
  bottom: 14px;
}

.rk-nav-toggle.is-open span:first-child {
  transform: translateY(3.1px) rotate(45deg);
}

.rk-nav-toggle.is-open span:last-child {
  transform: translateY(-3.1px) rotate(-45deg);
}

.rk-mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 26, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.24s var(--ease-out), visibility 0.2s;
}

.rk-mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.rk-mobile-nav > a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.rk-mobile-nav > a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.rk-mobile-nav > a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.72;
}

.rk-mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

.rk-mobile-login {
  justify-content: center;
  padding: 11px;
  font-size: 13.5px;
}

@media (max-width: 860px) {
  .navlinks {
    display: none;
  }
  .rk-nav-toggle {
    display: block;
  }
  /* Login moves into the dropdown so the pill fits narrow screens */
  .navright .btn-ghost {
    display: none;
  }
}

.hero-sec {
  padding: 92px 12px 0;
}

.hero {
  position: relative;
  margin-inline: auto;
  min-height: 400px;
  max-width: 1180px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.6);
  padding: 64px 56px;
  contain: layout style;
}

.rk-pointer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 40%),
    rgba(91, 156, 255, 0.16),
    transparent 72%
  );
}

.hero-visual {
  position: absolute;
  right: 1%;
  top: 4%;
  aspect-ratio: 1;
  width: 46%;
  pointer-events: none;
}

.hero-visual .clip {
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 50%;
}

.hero-visual canvas {
  height: 100%;
  width: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, #080a10 16%, rgba(8, 10, 16, 0.6) 44%, transparent 72%);
}

.hero-topline {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(91, 156, 255, 0.5), transparent);
}

.hero-copy {
  position: relative;
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.badge .gift {
  display: grid;
  height: 16px;
  width: 16px;
  place-items: center;
  color: #8fbdff;
}

.hero h1 {
  margin-top: 28px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
}

.hero h1 > span:first-child {
  display: block;
}

.rk-mark {
  color: #0a1626;
  background: #5b9cff;
  border-radius: 10px;
  padding: 0.1em 0.3em 0.22em;
  line-height: 1.12;
  box-shadow: 0 10px 40px -8px rgba(91, 156, 255, 0.55);
}

.rk-word-rotator {
  position: relative;
  display: grid;
  justify-items: start;
  width: fit-content;
  overflow: hidden;
  margin-top: 14px;
  line-height: inherit;
}

.rk-word-rotator > span:first-child {
  grid-area: 1 / 1;
  white-space: nowrap;
}

/* Overlay layers: absolutely positioned so they never affect the box
   size — the invisible sizer alone sets the width, so the box resizes
   the same tick the word swaps instead of waiting ~900ms for the
   outgoing layer to be removed. padding: inherit matches the pill's
   own padding so layer text lands exactly on the sizer text. */
.rk-word-layer {
  position: absolute;
  inset: 0;
  padding: inherit;
  display: block;
  white-space: nowrap;
  line-height: inherit;
}

.rk-word-layer > span {
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity;
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

.rk-word-layer.is-in > span {
  animation-name: rk-char-in;
  animation-delay: calc(var(--rk-char) * 28ms);
}

.rk-word-layer.is-out > span {
  animation-name: rk-char-out;
  animation-delay: calc(var(--rk-char) * 14ms);
}

@keyframes rk-char-in {
  from {
    opacity: 0;
    transform: translateY(55%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rk-char-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(28%);
  }
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta .btn {
  padding: 13px 26px;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .hero {
    padding: 48px 28px;
  }

  .hero h1 {
    font-size: 46px;
  }
}

.creator-sec {
  padding: 32px 12px 0;
}

.rk-creator-callout {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  background:
    radial-gradient(50% 150% at 86% 46%, rgba(47, 123, 255, 0.08), transparent 70%),
    linear-gradient(112deg, rgba(14, 20, 32, 0.86), rgba(10, 15, 25, 0.76) 58%, rgba(13, 20, 33, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(240, 247, 255, 0.04),
    0 26px 78px rgba(3, 2, 3, 0.22);
  transition: transform 0.22s var(--ease-out);
}

.rk-creator-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 48%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 48%, #000 80%, transparent);
}

.rk-creator-copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 57%;
  padding: 56px;
  background: linear-gradient(90deg, rgba(11, 16, 27, 0.9), rgba(11, 16, 27, 0.78) 78%, transparent);
  transform: translateZ(16px);
}

.rk-creator-copy h2 {
  font-size: 44px;
  font-weight: 700;
  color: #f4f8ff;
}

.rk-creator-copy p {
  margin-top: 12px;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.rk-creator-ctas {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.rk-creator-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}

.rk-creator-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rk-creator-cta.is-docs {
  color: #0d1524;
  background: #eef3fa;
}

.rk-creator-cta.is-docs:hover {
  background: #f5f9ff;
  transform: translateY(-1px);
}

.rk-creator-cta.is-discord {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.043);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rk-creator-cta.is-discord:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.rk-creator-visual {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 60%;
  pointer-events: none;
  perspective: 1000px;
  transform-style: preserve-3d;
  transform: translateZ(28px);
  mask-image: linear-gradient(90deg, transparent, #000 14%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%);
}

.rk-scramble-file {
  position: absolute;
  top: 50%;
  left: 52%;
  width: min(420px, calc(100% - 54px));
  height: 230px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(178, 205, 255, 0.15);
  background:
    radial-gradient(circle at 24% 8%, rgba(255, 255, 255, 0.043), transparent 34%),
    rgba(11, 16, 27, 0.92);
  transform: translate(-50%, -50%) rotateY(-9deg) rotateX(3deg);
  transform-style: preserve-3d;
  box-shadow:
    18px 22px rgba(4, 8, 16, 0.4),
    0 32px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.42s, box-shadow 0.42s;
}

.rk-scramble-file.is-protected {
  border-color: rgba(140, 180, 255, 0.28);
  box-shadow:
    18px 22px rgba(4, 8, 16, 0.4),
    0 32px 64px rgba(0, 0, 0, 0.35),
    inset 0 0 34px rgba(91, 156, 255, 0.043);
}

.rk-scramble-file::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.024);
  border-radius: 12px;
}

.rk-scramble-file-head {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.067);
  color: rgba(255, 255, 255, 0.62);
  font: 600 10px/1 Inter, system-ui, sans-serif;
}

.rk-scramble-filename {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.rk-doc-ic {
  color: rgba(140, 180, 255, 0.7);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.rk-doc-ic svg {
  width: 15px;
  height: 15px;
}

.rk-lock {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: rgba(140, 180, 255, 0.22);
  transition: color 0.32s, transform 0.42s var(--ease-out);
}

.rk-lock svg {
  width: 13px;
  height: 13px;
}

.rk-scramble-file.is-protected .rk-lock {
  color: rgba(140, 180, 255, 0.82);
  transform: translateY(-1px);
}

.rk-scramble-code {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 19px 17px 16px;
}

.rk-scramble-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  font: 500 10.5px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: rgba(255, 255, 255, 0.6);
}

.rk-scramble-line b {
  color: rgba(255, 255, 255, 0.17);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rk-scramble-line code {
  min-width: 0;
  white-space: pre;
  overflow: hidden;
  text-overflow: clip;
  color: inherit;
}

.rk-scramble-file.is-source .rk-scramble-line {
  color: rgba(255, 255, 255, 0.6);
}

.rk-scramble-file.is-scrambling .rk-scramble-line {
  color: rgba(178, 205, 255, 0.72);
  animation: rk-scramble-row 0.19s steps(2, end) calc(var(--rk-line) * -31ms) infinite;
}

.rk-scramble-file.is-protected .rk-scramble-line {
  color: rgba(178, 205, 255, 0.58);
}

@keyframes rk-scramble-row {
  0%,
  100% {
    transform: none;
  }
  35% {
    transform: translateX(1.5px);
  }
  68% {
    transform: translateX(-1px);
  }
}

@media (max-width: 1000px) {
  .rk-creator-copy {
    width: 100%;
  }

  .rk-creator-visual {
    opacity: 0.3;
  }
}

.marquee-sec {
  padding: 40px 0 0;
}

.rk-marquee {
  margin-inline: auto;
  max-width: 1400px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.rk-marquee-track {
  display: flex;
  width: max-content;
  animation: rk-marquee 30s linear infinite;
}

.rk-marquee:hover .rk-marquee-track {
  animation-play-state: paused;
}

@keyframes rk-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.feat {
  margin: 8px;
  width: 300px;
  flex-shrink: 0;
  padding: 24px;
}

.feat .frow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.feat .fic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pink-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.feat .fstat {
  font-size: 21px;
  font-weight: 700;
  color: rgba(236, 231, 218, 0.28);
  font-family: var(--font-display);
}

.feat h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.feat p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.rk-marquee .rk-card:hover {
  color: #13090e;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
}

.rk-marquee .rk-card:hover h3,
.rk-marquee .rk-card:hover p,
.rk-marquee .rk-card:hover span {
  color: inherit;
}

.rk-marquee .rk-card:hover .fstat {
  color: rgba(19, 9, 14, 0.45);
}

.rk-marquee .rk-card:hover .fic {
  color: #1f5ef2;
  border-color: rgba(19, 9, 14, 0.14);
  background: rgba(19, 9, 14, 0.05);
}

.simple-sec {
  padding: 64px 12px 32px;
}

.simple-center {
  text-align: center;
}

.simple-center h2 {
  position: relative;
  display: inline-block;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: #fff;
}

.duo {
  margin-top: 56px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.9fr;
}

.rk-tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.3s var(--ease-out), border-color 0.22s, background 0.22s;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 32px;
}

.rk-tilt-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.rk-tilt-card .lede {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 40ch;
}

.flowart-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flowart-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 12, 20, 0.12), rgba(9, 12, 20, 0.84));
}

.flowart-copy {
  position: relative;
}

.steps-card {
  padding: 32px;
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b9c4d6;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px;
  margin-top: 20px;
}

.step .n {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--pink-2);
  padding-top: 3px;
}

.step b {
  display: block;
  font-size: 14px;
  color: #fff;
}

.step span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.rk-step-row {
  border-radius: 12px;
  padding: 6px 8px;
  margin-inline: -8px;
  transition: color 0.22s, background 0.22s, transform 0.22s var(--ease-out);
}

.rk-step-row:hover {
  color: #13090e;
  background: #fff;
  transform: translateX(4px);
}

.rk-step-row:hover > .n,
.rk-step-row:hover > div > b {
  color: #13090e;
}

.rk-step-row:hover > div > span {
  color: rgba(19, 9, 14, 0.58);
}

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

.words-sec {
  padding: 0 12px 24px;
}

.words-box {
  margin-inline: auto;
  max-width: 1180px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 20, 0.6);
  padding: 52px 20px;
  text-align: center;
}

.rk-scan-wrap {
  position: relative;
  margin-inline: auto;
  width: fit-content;
}

.rk-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
}

.rk-word {
  transition: color 0.4s, filter 0.4s, opacity 0.4s;
}

.rk-focus-corner {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(91, 156, 255, 0.55));
  transition: transform 0.5s var(--ease-out);
}

.rk-focus-corner.is-tl {
  border-top: 3px solid #5b9cff;
  border-left: 3px solid #5b9cff;
  border-radius: 8px 0 0 0;
}

.rk-focus-corner.is-tr {
  border-top: 3px solid #5b9cff;
  border-right: 3px solid #5b9cff;
  border-radius: 0 8px 0 0;
}

.rk-focus-corner.is-bl {
  border-bottom: 3px solid #5b9cff;
  border-left: 3px solid #5b9cff;
  border-radius: 0 0 0 8px;
}

.rk-focus-corner.is-br {
  border-bottom: 3px solid #5b9cff;
  border-right: 3px solid #5b9cff;
  border-radius: 0 0 8px 0;
}

footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 56px 0 30px;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 30px;
}

.f-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 16px 0 20px;
}

.soc {
  display: flex;
  gap: 10px;
}

.soc a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s, border-color 0.18s;
}

.soc a:hover {
  color: #fff;
  border-color: rgba(91, 156, 255, 0.4);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b9c4d6;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2bd97c;
  box-shadow: 0 0 8px #2bd97c;
  animation: blink 2s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.4;
  }
}

.lang {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ccd8ea;
  max-width: 230px;
  cursor: pointer;
}

.lang span:last-child {
  margin-left: auto;
  color: var(--faint);
}

footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7d8aa0;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

footer ul a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13.5px;
}

footer ul a:hover {
  color: #fff;
}

.copy {
  margin-top: 44px;
  display: flex;
  justify-content: flex-end;
  font-size: 12.5px;
  color: var(--faint);
}

.rk-scroll-cue {
  position: fixed;
  bottom: clamp(18px, 3vh, 30px);
  left: 50%;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: rgba(240, 247, 255, 0.74);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.42s, transform 0.52s var(--ease-out);
}

.rk-scroll-cue.is-visible {
  opacity: 0.88;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.rk-scroll-cue-label {
  position: absolute;
  bottom: 62px;
  width: max-content;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(240, 247, 255, 0.44);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.32s, transform 0.42s var(--ease-out);
}

.rk-scroll-cue.is-at-start .rk-scroll-cue-label {
  opacity: 1;
  transform: none;
}

.rk-scroll-cue-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(rgba(16, 22, 36, 0.84), rgba(9, 12, 20, 0.72));
  border: 1px solid rgba(240, 247, 255, 0.16);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.043);
  transition: border-color 0.18s, background 0.18s, transform 0.22s var(--ease-out);
}

.rk-scroll-cue-circle svg {
  width: 18px;
  height: 18px;
  animation: rk-scroll-arrow 2.3s ease-in-out infinite;
}

@keyframes rk-scroll-arrow {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-2px);
  }
  48% {
    opacity: 0.92;
    transform: translateY(3px);
  }
}

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

.auth-page {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 64px 20px;
  background: #060709;
  color: #f4f8ff;
}

/* ---------- background ---------- */

.auth-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.auth-blob,
.auth-blob-2 {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0);
}

.auth-blob {
  left: -12%;
  top: -16%;
  width: 540px;
  height: 540px;
  background: rgb(47 123 255 / 0.22);
  filter: blur(130px);
  animation: 16s ease-in-out infinite auth-drift;
}

.auth-blob-2 {
  right: -10%;
  bottom: -20%;
  width: 560px;
  height: 560px;
  background: rgb(61 107 255 / 0.16);
  filter: blur(140px);
  animation: 20s ease-in-out infinite auth-drift-2;
}

@keyframes auth-drift {
  0%,
  to {
    transform: translate(0) scale(1);
  }
  50% {
    transform: translate(40px, 26px) scale(1.08);
  }
}

@keyframes auth-drift-2 {
  0%,
  to {
    transform: translate(0) scale(1);
  }
  50% {
    transform: translate(-38px, -30px) scale(1.06);
  }
}

.auth-hairline {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(104 167 255 / 0.3), transparent);
}

.auth-float,
.auth-float-slow {
  position: absolute;
  display: none;
}

@media (min-width: 1024px) {
  .auth-float,
  .auth-float-slow {
    display: block;
  }
}

.auth-float {
  right: 9%;
  top: 16%;
  opacity: 0.7;
  animation: 7s ease-in-out infinite auth-float;
}

.auth-float-slow {
  left: 8%;
  bottom: 12%;
  opacity: 0.5;
  animation: 10s ease-in-out infinite auth-float;
}

@keyframes auth-float {
  0%,
  to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* ---------- floating cubes (ported rotation rig, azure faces) ---------- */

.cube-scene {
  perspective: 900px;
  pointer-events: none;
}

.cube-scene .cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-24.0642deg) rotateY(-34.3775deg);
}

.cube-scene .cube-face {
  will-change: filter;
  backface-visibility: hidden;
  background:
    repeating-linear-gradient(0deg, #ffffff14 0 1px, #0000 1px 33.33%),
    repeating-linear-gradient(90deg, #ffffff14 0 1px, #0000 1px 33.33%),
    linear-gradient(150deg, #274b80 0%, #16294d 58%, #0b1428 100%);
  border: 1px solid #ffffff0d;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cube-scene .cube-spec {
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(120% 120% at 32% 24%, #d6e8ffe6, #5b9cff40 42%, #0000 68%);
  position: absolute;
  inset: 0;
}

.cube-scene .cube-face.front {
  transform: translateZ(calc(var(--s) / 2));
}
.cube-scene .cube-face.back {
  transform: rotateY(180deg) translateZ(calc(var(--s) / 2));
}
.cube-scene .cube-face.right {
  transform: rotateY(90deg) translateZ(calc(var(--s) / 2));
}
.cube-scene .cube-face.left {
  transform: rotateY(-90deg) translateZ(calc(var(--s) / 2));
}
.cube-scene .cube-face.top {
  transform: rotateX(90deg) translateZ(calc(var(--s) / 2));
}
.cube-scene .cube-face.bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--s) / 2));
}

/* ---------- chrome ---------- */

.auth-home {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.6);
  text-decoration: none;
  transition: color 0.18s;
}

.auth-home:hover {
  color: #fff;
}

.auth-home svg {
  transition: transform 0.18s;
}

.auth-home:hover svg {
  transform: translateX(-2px);
}

.auth-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
}

.auth-head {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-mark {
  margin-bottom: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
  box-shadow: 0 18px 50px rgb(47 123 255 / 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.auth-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  text-align: center;
}

@media (min-width: 640px) {
  .auth-title {
    font-size: 30px;
  }
}

.auth-sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgb(255 255 255 / 0.5);
  text-align: center;
}

.auth-sub-wide {
  max-width: 24rem;
  margin-inline: auto;
  line-height: 1.43;
}

.auth-sub a {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-underline-offset: 4px;
}

.auth-sub a:hover {
  text-decoration: underline;
}

.auth-mail {
  color: rgb(255 255 255 / 0.8);
}

/* ---------- oauth + divider ---------- */

.auth-oauth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.auth-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.85);
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}

.auth-oauth-btn:hover {
  transform: translateY(-2px);
  border-color: rgb(104 167 255 / 0.4);
  background: rgb(255 255 255 / 0.07);
}

.auth-oauth-btn:active {
  transform: translateY(0);
}

.auth-oauth-btn .auth-shrink {
  flex-shrink: 0;
}

.auth-oauth-btn:first-child {
  color: #c9d0ff;
}

.auth-div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 20px;
  font-size: 12px;
  color: rgb(255 255 255 / 0.3);
}

.auth-div span {
  height: 1px;
  flex: 1;
  background: rgb(255 255 255 / 0.09);
}

/* ---------- form ---------- */

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-block {
  display: block;
}

.auth-cap {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.7);
}

.auth-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  caret-color: #5b9cff;
}

.auth-input::placeholder {
  color: rgb(255 255 255 / 0.25);
}

.auth-input:focus {
  border-color: rgb(104 167 255 / 0.7);
  background: rgb(47 123 255 / 0.06);
}

.auth-input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s;
}

.auth-input-pw {
  padding-right: 40px;
}

.auth-confirm {
  margin-top: 8px;
}

.auth-code {
  text-align: center;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}

.auth-mono-center {
  text-align: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}

.auth-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-pwrow {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-pwrow .auth-cap {
  margin-bottom: 0;
}

.auth-forgot {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  color: rgb(255 255 255 / 0.45);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-forgot:hover {
  color: rgb(255 255 255 / 0.8);
}

.auth-pwrel {
  position: relative;
}

.auth-peek {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 4px;
  color: rgb(255 255 255 / 0.4);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-peek:hover {
  color: rgb(255 255 255 / 0.8);
}

.auth-submit {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: #6ea8ff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #0a1730;
  cursor: pointer;
  box-shadow: 0 14px 40px rgb(47 123 255 / 0.3);
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.auth-submit:not(:disabled):hover {
  transform: translateY(-2px);
  background: #8dbcff;
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.auth-spin {
  animation: auth-spin 0.9s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-backlink {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: rgb(255 255 255 / 0.45);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-backlink:hover {
  color: rgb(255 255 255 / 0.8);
}

.auth-recovery-link {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 12.5px;
  color: rgb(255 255 255 / 0.42);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-recovery-link:hover {
  color: rgb(255 255 255 / 0.78);
}

.auth-toggle {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: rgb(156 196 255 / 0.72);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-toggle:hover {
  color: #d4e6ff;
}

.auth-terms {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.67;
  color: rgb(255 255 255 / 0.35);
}

.auth-terms a {
  color: rgb(255 255 255 / 0.55);
  text-decoration: none;
  text-underline-offset: 2px;
}

.auth-terms a:hover {
  text-decoration: underline;
}

/* ---------- community ---------- */

.auth-community {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.035);
}

.auth-community-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  padding: 16px;
}

.auth-community-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid rgb(143 156 255 / 0.28);
  background: rgb(88 101 242 / 0.12);
  color: #d5d9ff;
}

.auth-community-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.auth-community-sub {
  margin-top: 2px;
  font-size: 12px;
  color: rgb(255 255 255 / 0.42);
}

.auth-community-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.auth-join {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: #5865f2;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.18s;
}

.auth-join:hover {
  background: #6b75f4;
}

.auth-continue {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.025);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.58);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.auth-continue:hover {
  border-color: rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.045);
  color: #fff;
}

/* ---------- toasts ---------- */

.auth-toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.auth-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid;
  padding: 12px 14px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
  animation: 0.32s cubic-bezier(0.16, 1, 0.3, 1) auth-toast-in;
}

@keyframes auth-toast-in {
  0% {
    opacity: 0;
    transform: translate(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}

.auth-toast-ok {
  border-color: rgb(128 216 154 / 0.4);
  background: rgb(14 20 15 / 0.95);
  color: #a6f0b8;
}

.auth-toast-warn {
  border-color: rgb(255 202 115 / 0.4);
  background: rgb(22 16 9 / 0.95);
  color: #ffd596;
}

.auth-toast-danger {
  border-color: rgb(255 107 141 / 0.45);
  background: rgb(23 10 14 / 0.95);
  color: #ffb0c0;
}

.auth-toast-info {
  border-color: rgb(104 167 255 / 0.4);
  background: rgb(10 20 32 / 0.95);
  color: #bcd6ff;
}

.auth-toast-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-toast-text {
  min-width: 0;
  flex: 1;
}

.auth-toast-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.auth-toast-body {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.7);
}

.auth-toast-x {
  flex-shrink: 0;
  background: none;
  border: 0;
  padding: 2px;
  color: rgb(255 255 255 / 0.4);
  cursor: pointer;
  transition: color 0.18s;
}

.auth-toast-x:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .auth-oauth {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-blob,
  .auth-blob-2,
  .auth-float,
  .auth-float-slow,
  .auth-toast,
  .auth-spin {
    animation: none;
  }
}

/* Native scrolling avoids a second scroll animation loop. */
.auth-pwrel {display:block}.auth-submit{text-decoration:none;display:flex;align-items:center;justify-content:center}.login-hint,.mail-access-note{font:12px/1.8 var(--font-body);color:var(--dim);margin-top:18px;overflow-wrap:anywhere}.login-hint code{font-family:var(--font-mono)}.auth-error{padding:12px;border:1px solid #f8717155;background:#f8717110;border-radius:12px;color:#fca5a5;font-size:13px}.mail-faq{padding:28px}.mail-faq details{padding:20px 0;border-bottom:1px solid var(--line)}.mail-faq summary{cursor:pointer;font:500 16px var(--font-display)}.mail-faq p{margin-top:12px;color:var(--dim);line-height:1.8}.mail-faq a{color:var(--pink-3)}.skip-link{position:fixed;top:10px;left:10px;transform:translateY(-200%);z-index:200;background:#2f7bff;color:white;padding:12px;border-radius:12px}.skip-link:focus{transform:none}:focus-visible{outline:2px solid #9cc4ff;outline-offset:4px}.auth-input{min-width:0}.auth-card{min-width:0}.auth-peek{font-size:10px}.auth-submit:disabled{opacity:.55}html{scroll-padding-top:100px}

/* Custom headlines keep every rotating phrase inside narrow V2 cards. */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.75rem, 8.6vw, 2.875rem); }
}
