:root {
  --bg: #0b0a16;
  --ink: #f7f6ff;
  --muted: #d8daf0;
  --line: rgba(226, 220, 255, 0.72);
  --card: rgba(52, 46, 96, 0.92);
  --field-bg: #0f0d22;
  --field-ink: #f4f2ff;
  --field-border: rgba(210, 200, 255, 0.58);
  --max: 1160px;
  --btn-a: #d8c6ff;
  --btn-b: #9ec5ff;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(80% 55% at 8% -10%, rgba(132, 96, 220, 0.42), transparent 58%),
    radial-gradient(70% 50% at 96% 4%, rgba(64, 122, 220, 0.38), transparent 52%),
    radial-gradient(90% 45% at 50% 110%, rgba(88, 56, 170, 0.35), transparent 55%),
    linear-gradient(165deg, #0b0a16 0%, #14122c 48%, #10182e 100%);
  background-size: 140% 140%, 130% 130%, 150% 150%, 100% 100%;
  animation: bg-drift 22s ease-in-out infinite;
  font-family: var(--font);
}

@keyframes bg-drift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  50% { background-position: 18% 12%, 80% 16%, 40% 86%, 0 0; }
}

a { color: #d5ccff; }

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

.top {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.mark .mascot {
  flex: 0 0 auto;
  display: block;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}
.brand-name { font-weight: 750; }
.brand-by {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cfc8ff;
}

.hero-mascot,
.page-mascot {
  display: block;
  margin: 0 0 16px;
  filter: drop-shadow(0 12px 22px rgba(80, 70, 160, 0.28));
}

.mascot-breeze {
  position: relative;
  display: block;
  width: 236px;
  height: 210px;
  margin: -12px 0 4px -28px;
}
.mascot-breeze .hero-mascot {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 168px;
  height: 168px;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.breeze-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.breeze-line {
  fill: none;
  stroke: rgba(255, 248, 255, 0.62);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 22 70;
  animation: breeze-whoosh 2.15s linear infinite;
}
.breeze-line.l1 { animation-duration: 2.35s; stroke-width: 1.7; opacity: 0.75; }
.breeze-line.l2 { animation-duration: 1.85s; animation-delay: -0.4s; stroke: rgba(201, 214, 255, 0.7); }
.breeze-line.l3 { animation-duration: 2.55s; animation-delay: -1.1s; stroke-width: 1.6; opacity: 0.65; }
.breeze-line.l4 { animation-duration: 2.05s; animation-delay: -0.8s; stroke-width: 1.8; }
.breeze-line.l5 { animation-duration: 1.7s; animation-delay: -0.2s; stroke: rgba(201, 214, 255, 0.58); }

@keyframes breeze-whoosh {
  to { stroke-dashoffset: -92; }
}

.install-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.install-title h1 { margin-bottom: 0; }

.hit-demo {
  --hit-loop: 7.2s;
  margin: 28px 0 0;
  pointer-events: none;
  user-select: none;
}
.hit-demo-stage {
  position: relative;
  width: 100%;
  padding: 28px 8px 36px 0;
  perspective: 980px;
  perspective-origin: 86% 18%;
}
.hit-demo-scene {
  position: relative;
  transform: rotateX(20deg) rotateY(-32deg) rotateZ(5deg) scale(0.94);
  transform-origin: 50% 70%;
  transform-style: preserve-3d;
}
.hit-demo-slab {
  position: absolute;
  inset: 12px -14px -16px 16px;
  border-radius: 22px;
  background: #090714;
  transform: translateZ(-28px);
  box-shadow: 22px 34px 42px rgba(6, 4, 18, 0.55);
}
.hit-demo-app {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(210, 200, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    #16122c;
  box-shadow: 0 22px 48px rgba(4, 4, 16, 0.32);
  transform: translateZ(1px);
  transform-style: flat;
}
.hit-demo-app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    transparent 46%,
    transparent 68%,
    rgba(180, 200, 255, 0.06) 100%
  );
}
.hit-demo-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 8, 24, 0.55);
  border-bottom: 1px solid rgba(210, 200, 255, 0.12);
}
.hit-demo-dots,
.hit-demo-dots::before,
.hit-demo-dots::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f38ba8;
}
.hit-demo-dots {
  position: relative;
  flex: 0 0 auto;
  box-shadow: 16px 0 0 #f9e2af, 32px 0 0 #a6e3a1;
}
.hit-demo-url {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8c2ea;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hit-demo-body { padding: 20px 20px 18px; }
.hit-demo-role {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #f7f4ff;
}
.hit-demo-meta {
  margin: 0 0 16px;
  color: #b8b3d8;
  font-size: 14px;
  font-weight: 500;
}
.hit-demo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hit-demo-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.hit-demo-field-wide { grid-column: 1 / -1; }
.hit-demo-label {
  color: #d8d4f0;
  font-size: 12px;
  font-weight: 650;
}
.hit-demo-box {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0;
  background: var(--field-bg);
  box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42);
  animation: hit-glow-0 var(--hit-loop) ease infinite;
}
.hit-demo-drop {
  min-height: 52px;
  background: rgba(15, 13, 34, 0.55);
  box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.34);
}
.hit-demo-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--field-ink);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  filter: blur(4px);
  animation: hit-pop-0 var(--hit-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.hit-demo-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ff8a7a, #e23b2e);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hit-demo-field:nth-child(1) .hit-demo-value { animation-name: hit-pop-1; }
.hit-demo-field:nth-child(2) .hit-demo-value { animation-name: hit-pop-2; }
.hit-demo-field:nth-child(3) .hit-demo-value { animation-name: hit-pop-3; }
.hit-demo-field:nth-child(4) .hit-demo-value { animation-name: hit-pop-4; }
.hit-demo-field:nth-child(5) .hit-demo-value { animation-name: hit-pop-5; }
.hit-demo-field:nth-child(6) .hit-demo-value { animation-name: hit-pop-6; }
.hit-demo-field:nth-child(7) .hit-demo-value { animation-name: hit-pop-0; }
.hit-demo-field:nth-child(8) .hit-demo-value { animation-name: hit-pop-7; }
.hit-demo-field:nth-child(1) .hit-demo-box { animation-name: hit-glow-1; }
.hit-demo-field:nth-child(2) .hit-demo-box { animation-name: hit-glow-2; }
.hit-demo-field:nth-child(3) .hit-demo-box { animation-name: hit-glow-3; }
.hit-demo-field:nth-child(4) .hit-demo-box { animation-name: hit-glow-4; }
.hit-demo-field:nth-child(5) .hit-demo-box { animation-name: hit-glow-5; }
.hit-demo-field:nth-child(6) .hit-demo-box { animation-name: hit-glow-6; }
.hit-demo-field:nth-child(7) .hit-demo-box { animation-name: hit-glow-0; }
.hit-demo-field:nth-child(8) .hit-demo-box { animation-name: hit-glow-7; }
.hit-demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 16px;
}
.hit-demo-btn {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: default;
  box-shadow: 0 8px 20px rgba(80, 70, 180, 0.32);
  animation:
    shine-shift 5.5s ease-in-out infinite,
    hit-press var(--hit-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.hit-demo-btn::before {
  animation: shine-sweep 2.8s ease-in-out infinite;
}
.hit-demo-status {
  color: #d5ccff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px);
  animation: hit-status var(--hit-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.hit-demo-resume {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 78px;
  padding: 12px 10px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f0ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(8, 6, 24, 0.42);
  animation: hit-throw var(--hit-loop) cubic-bezier(0.18, 0.72, 0.22, 1) infinite;
  transform-origin: 50% 80%;
}
.hit-demo-resume-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, transparent 50%, #d8d0f0 50%);
  border-radius: 0 10px 0 0;
}
.hit-demo-resume-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff8a7a, #e23b2e);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hit-demo-resume-lines,
.hit-demo-resume-lines::before,
.hit-demo-resume-lines::after {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: #c9c2e6;
}
.hit-demo-resume-lines {
  width: 100%;
  margin-top: 4px;
  box-shadow: 0 7px 0 #c9c2e6, 0 14px 0 #d8d2ee;
}
.hit-demo-resume-name {
  margin-top: 16px;
  color: #4a4270;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
@keyframes hit-throw {
  0% {
    opacity: 0;
    left: 92%;
    top: -12%;
    transform: translateZ(90px) rotate(28deg) scale(1.2);
  }
  6% { opacity: 1; }
  18% {
    left: 58%;
    top: 18%;
    transform: translateZ(110px) rotate(-16deg) scale(1.08);
  }
  28% {
    left: 10%;
    top: 58%;
    transform: translateZ(36px) rotate(-6deg) scale(0.78);
  }
  32% {
    left: 12%;
    top: 61%;
    opacity: 1;
    transform: translateZ(16px) rotate(0deg) scale(0.4);
  }
  38%, 100% {
    left: 12%;
    top: 61%;
    opacity: 0;
    transform: translateZ(0) rotate(0deg) scale(0.28);
  }
}
@keyframes hit-press {
  0%, 30% { transform: none; filter: none; }
  34% { transform: scale(0.96); filter: brightness(1.08); }
  40%, 100% { transform: none; filter: none; }
}
@keyframes hit-pop-0 {
  0%, 28% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  33% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  37%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-1 {
  0%, 28% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  33% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  37%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-2 {
  0%, 32% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  37% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  41%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-3 {
  0%, 36% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  41% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  45%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-4 {
  0%, 40% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  45% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  49%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-5 {
  0%, 44% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  49% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  53%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-6 {
  0%, 48% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  53% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  57%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-pop-7 {
  0%, 52% { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(4px); }
  57% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  61%, 88% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px); filter: blur(3px); }
}
@keyframes hit-glow-0 {
  0%, 28% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  32% { box-shadow: inset 0 0 0 1px #efe8ff; }
  44%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-1 {
  0%, 28% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  32% { box-shadow: inset 0 0 0 1px #efe8ff; }
  44%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-2 {
  0%, 32% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  36% { box-shadow: inset 0 0 0 1px #efe8ff; }
  48%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-3 {
  0%, 36% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  40% { box-shadow: inset 0 0 0 1px #efe8ff; }
  52%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-4 {
  0%, 40% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  44% { box-shadow: inset 0 0 0 1px #efe8ff; }
  56%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-5 {
  0%, 44% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  48% { box-shadow: inset 0 0 0 1px #efe8ff; }
  60%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-6 {
  0%, 48% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  52% { box-shadow: inset 0 0 0 1px #efe8ff; }
  64%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@keyframes hit-glow-7 {
  0%, 52% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
  56% { box-shadow: inset 0 0 0 1px #efe8ff; }
  68%, 88% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.62); }
  100% { box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.42); }
}
@supports (-moz-appearance: none) {
  .hit-demo-box,
  .hit-demo-drop {
    box-shadow: inset 0 0 0 0.5px rgba(210, 200, 255, 0.55);
    animation: none;
  }
}
@keyframes hit-status {
  0%, 56% { opacity: 0; transform: translateY(8px); }
  62%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hit-demo-btn,
  .hit-demo-btn::before,
  .hit-demo-resume,
  .hit-demo-value,
  .hit-demo-box,
  .hit-demo-status {
    animation: none;
  }
  .hit-demo-value,
  .hit-demo-status { opacity: 1; transform: none; filter: none; }
  .hit-demo-resume { display: none; }
}

.mascot { overflow: visible; }
.mascot-bob { transform-box: view-box; transform-origin: 64px 100px; animation: mascot-bob 3.4s ease-in-out infinite; }
.mascot-lid { transform-box: fill-box; transform-origin: 50% 0%; animation: mascot-blink 5.6s ease-in-out infinite; }
.mascot-arm-right { transform-box: fill-box; transform-origin: 0% 50%; }
.mascot-strap-l,
.mascot-strap-r,
.mascot-strap-tip-l,
.mascot-strap-tip-r { transform-box: fill-box; }
.mascot-strap-l { transform-origin: 100% 55%; animation: strap-flutter-l 1.15s ease-in-out infinite; }
.mascot-strap-r { transform-origin: 0% 55%; animation: strap-flutter-r 1.28s ease-in-out infinite; }
.mascot-strap-tip-l { transform-origin: 100% 40%; animation: strap-tip-l 0.72s ease-in-out infinite; }
.mascot-strap-tip-r { transform-origin: 0% 40%; animation: strap-tip-r 0.8s ease-in-out infinite; }
.mascot.mood-wave .mascot-bob { animation-name: mascot-wave; }
.mascot.mood-wave .mascot-arm-right { animation: mascot-arm-wave 3.8s ease-in-out infinite; }
.mascot.mood-peek .mascot-bob { animation-name: mascot-peek; }
.mascot.mood-salute .mascot-strap-l,
.mascot.mood-salute .mascot-strap-r { animation-duration: 0.72s; }
.mascot.mood-salute .mascot-strap-tip-l,
.mascot.mood-salute .mascot-strap-tip-r { animation-duration: 0.46s; }
.mark:hover .mascot-strap-l,
.mark:hover .mascot-strap-r { animation-duration: 0.55s; }
.mark:hover .mascot-strap-tip-l,
.mark:hover .mascot-strap-tip-r { animation-duration: 0.36s; }

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes mascot-wave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-7px) rotate(-8deg); }
  70% { transform: translateY(-3px) rotate(6deg); }
}

@keyframes mascot-peek {
  0%, 100% { transform: translateY(6px) rotate(-8deg); }
  50% { transform: translateY(-4px) rotate(6deg); }
}

@keyframes mascot-blink {
  0%, 86%, 94%, 100% { transform: scaleY(0); }
  90% { transform: scaleY(1); }
}

@keyframes strap-flutter-l {
  0%, 100% { transform: rotate(12deg); }
  28% { transform: rotate(-18deg); }
  54% { transform: rotate(16deg); }
  78% { transform: rotate(-10deg); }
}
@keyframes strap-flutter-r {
  0%, 100% { transform: rotate(-12deg); }
  32% { transform: rotate(18deg); }
  58% { transform: rotate(-16deg); }
  82% { transform: rotate(10deg); }
}
@keyframes strap-tip-l {
  0%, 100% { transform: rotate(10deg) skewX(-8deg); }
  50% { transform: rotate(-16deg) skewX(12deg); }
}
@keyframes strap-tip-r {
  0%, 100% { transform: rotate(-10deg) skewX(8deg); }
  50% { transform: rotate(16deg) skewX(-12deg); }
}

@keyframes mascot-arm-wave {
  0%, 62%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(38deg); }
  78% { transform: rotate(-8deg); }
  86% { transform: rotate(32deg); }
}

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

.sky-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  animation: orb-float 16s ease-in-out infinite;
}
.sky-orb.a { width: 220px; height: 220px; top: 12%; right: -40px; background: rgba(132, 96, 220, 0.28); }
.sky-orb.b { width: 180px; height: 180px; bottom: 18%; left: -30px; background: rgba(64, 122, 220, 0.22); animation-duration: 20s; animation-delay: -6s; }
.sky-orb.c { width: 140px; height: 140px; top: 58%; right: 18%; background: rgba(196, 181, 253, 0.16); animation-duration: 14s; animation-delay: -3s; }

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 18px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .mascot-bob,
  .mascot-lid,
  .mascot-strap-l,
  .mascot-strap-r,
  .mascot-strap-tip-l,
  .mascot-strap-tip-r,
  .mascot-arm-right,
  .breeze-line,
  .sky-orb { animation: none; }
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}

nav a { text-decoration: none; color: var(--ink); }

main {
  flex: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.home main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 36px;
  width: 100%;
  max-width: none;
}

@media (min-width: 900px) {
  .home main { justify-content: center; }
}

footer {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14px;
}

.site-foot {
  margin-top: 28px;
  padding: 36px 20px 28px;
  border-top: 1px solid var(--line);
  background: rgba(8, 6, 22, 0.45);
}

.site-foot-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 28px 32px;
  grid-template-columns: 1fr;
}

.site-foot-brand { max-width: 28ch; }
.site-foot-brand p { margin: 10px 0 0; line-height: 1.5; }
.site-foot-brand .copy { margin-top: 18px; font-size: 13px; opacity: 0.8; }
.site-foot h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #efe8ff;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

body.is-legal .marquee,
body.is-guide .marquee,
body.is-account .marquee,
body.is-profile .marquee,
body.is-start .marquee { display: none; }
body.is-legal .site-foot,
body.is-guide .site-foot,
body.is-account .site-foot,
body.is-profile .site-foot,
body.is-start .site-foot { margin-top: 0; }
body.is-guide main,
body.is-account main,
body.is-profile main {
  width: min(100%, 1080px);
  padding: 12px 20px 56px;
}
body.is-start main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 720px);
  min-height: calc(100dvh - 220px);
  padding: 32px 20px 72px;
}

.start-page {
  width: 100%;
  text-align: center;
}
.start-page .page-mascot { margin-left: auto; margin-right: auto; }
.start-page h1 {
  max-width: 10ch;
  margin: 0 auto 14px;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  background: linear-gradient(120deg, #ffffff 10%, #d9ceff 48%, #b9d7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.start-page .lede {
  margin: 0 auto 28px;
  max-width: 22ch;
  font-size: 1.15rem;
}
.start-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 28rem);
  min-height: 84px;
  padding: 20px 28px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow:
    0 0 0 8px rgba(196, 181, 253, 0.16),
    0 18px 40px rgba(92, 118, 255, 0.38);
}

.doc,
.support {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.doc-hero { max-width: 46rem; margin: 0 0 36px; }
.doc-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfc8ff;
}
.doc h1,
.support h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 14px;
}
.doc-lede {
  margin: 0 0 14px;
  max-width: 48ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
}
.doc-meta {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #b8b4d6;
}
.doc-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.doc-switch a:hover { background: rgba(255, 255, 255, 0.08); }
.doc-switch a.is-on {
  background: #efe8ff;
  color: #1a1540;
  border-color: transparent;
}
.doc-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}
.doc-toc {
  padding: 16px 18px;
  border: 1px solid rgba(226, 220, 255, 0.28);
  border-radius: 16px;
  background: rgba(12, 10, 28, 0.45);
}
.doc-toc p {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cfc8ff;
}
.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.doc-toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.doc-toc a:hover { color: var(--ink); }
.doc-body {
  padding: 8px 0 0;
}
.doc-body section {
  scroll-margin-top: 28px;
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid rgba(226, 220, 255, 0.16);
}
.doc-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.doc-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 1.2rem;
}
.doc-body h2 span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(216, 198, 255, 0.14);
  color: #d8c6ff;
  font-size: 12px;
  font-weight: 750;
}
.doc-body p,
.doc-body li {
  color: #e4e1f6;
  line-height: 1.65;
  font-size: 1.02rem;
}
.doc-body p { margin: 0 0 12px; }
.doc-body ul { margin: 0 0 12px; padding-left: 1.2rem; }
.doc-body li { margin: 0 0 8px; }
.doc-body strong { color: #fff; font-weight: 650; }

.support-grid {
  display: grid;
  gap: 20px;
}
.support-aside { display: grid; gap: 12px; }
.support-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(226, 220, 255, 0.28);
  background: rgba(12, 10, 28, 0.45);
}
.support-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cfc8ff;
}
.support-email {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}
.support-email:hover { text-decoration: underline; }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.support-card ul { list-style: none; padding: 0; margin: 0; }
.support-card li { margin: 0 0 8px; }
.support-card a { color: var(--muted); text-decoration: none; }
.support-card a:hover { color: var(--ink); }
.support-form {
  padding: 22px 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(226, 220, 255, 0.32);
  background: rgba(16, 14, 36, 0.72);
}
.support-form h2 { margin: 0 0 16px; font-size: 1.15rem; }
.support-fields { max-width: none; }
.support-split { display: grid; gap: 12px; }

@media (min-width: 860px) {
  .doc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .doc-toc { position: sticky; top: 20px; }
  .support-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
  .support-split { grid-template-columns: 1fr 1fr; }
}
.review p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; }
.review-by { margin: 0; color: #cfc8ff; font-size: 14px; font-weight: 650; }

@media (min-width: 720px) {
  .site-foot-inner { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}

.hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 16px 20px 20px;
  display: grid;
  gap: 28px;
  align-items: start;
}

.hero-copy h1,
h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0 0 16px;
  max-width: 13ch;
  background: linear-gradient(120deg, #ffffff 10%, #d9ceff 48%, #b9d7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.narrow h1,
.profile-page h1,
.pricing h1 {
  max-width: 22ch;
}
.legal h1 {
  max-width: 18ch;
}

h2 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ink);
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 42ch;
  margin: 0 0 28px;
}

.lede strong {
  color: #fff;
  font-size: 1.35em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  color: #1a1540;
  text-decoration: none;
  font: 750 16px/1 var(--font);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(110, 130, 255, 0.28);
}

.btn.ghost,
.btn.small {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn-nav {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(120, 140, 255, 0.32);
}

.btn-hero {
  min-height: 76px;
  padding: 22px 36px;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  letter-spacing: -0.02em;
  width: min(100%, 22rem);
  box-shadow:
    0 0 0 8px rgba(196, 181, 253, 0.14),
    0 18px 50px rgba(92, 118, 255, 0.38);
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  max-width: 100%;
  padding: 16px 26px 16px 18px;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.home-cta-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.home-cta .brand-logo {
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
}

html[data-browser="chrome"] .home-cta .brand-logo.firefox,
html[data-browser="firefox"] .home-cta .brand-logo.chrome {
  display: none;
}

.cta-copy { display: none; }
.cta-default { display: inline; }
html[data-browser="chrome"] .cta-default,
html[data-browser="firefox"] .cta-default { display: none; }
html[data-browser="chrome"] .cta-chrome,
html[data-browser="firefox"] .cta-firefox { display: inline; }

.install-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.home-cta[data-cta] { display: none; }
html[data-browser="chrome"] .home-cta[data-cta="chrome"],
html[data-browser="other"] .home-cta[data-cta="chrome"],
html[data-browser="firefox"] .home-cta[data-cta="firefox"] {
  display: inline-flex;
}

html[data-device="mobile"] .home-cta[data-cta="chrome"],
html[data-device="mobile"] .home-cta[data-cta="firefox"] {
  display: none;
}

html[data-device="mobile"] .home-cta[data-cta="mobile"] {
  display: inline-flex;
}

.home-mobile-note {
  display: none;
  width: 100%;
  max-width: 36ch;
  margin: -4px 0 0;
  color: #b7b3d4;
  font-size: 15px;
  line-height: 1.5;
}

html[data-device="mobile"] .home-mobile-note {
  display: block;
}

html[data-device="mobile"] .home-learn {
  display: none;
}

.nav-mobile-account {
  display: none;
}

html[data-device="mobile"] .nav-install {
  display: none;
}

html[data-device="mobile"] .nav-mobile-account {
  display: inline-flex;
}

.home-learn {
  color: #8f8bb3;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  opacity: 0.62;
}
.home-learn:hover {
  color: #c8c2ea;
  opacity: 0.9;
}

img.brand-logo {
  display: block;
  object-fit: contain;
}

.install-cta .brand-logo {
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.home-cta .brand-logo {
  animation: none;
}

.btn-brands {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.btn-brands .brand-logo {
  display: block;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .install-cta .brand-logo { animation: none; }
}

.btn-shine {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: linear-gradient(120deg, #f4ecff 0%, #d8c6ff 28%, #b8d4ff 62%, #9ec5ff 100%);
  background-size: 220% 220%;
  animation: shine-shift 5.5s ease-in-out infinite;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.btn-shine span {
  position: relative;
  z-index: 3;
}

.btn-shine::before,
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.btn-shine::before {
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.18) 44%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.18) 56%,
    transparent 68%
  );
  transform: translateX(-80%);
  animation: shine-sweep 2.8s ease-in-out infinite;
}

.btn-shine::after {
  z-index: 2;
  opacity: 0;
  background: radial-gradient(
    160px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.55),
    transparent 58%
  );
  transition: opacity 0.2s ease;
}

.btn-shine:hover {
  transform: translateY(-4px) scale(1.045);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 0 10px rgba(210, 198, 255, 0.22),
    0 18px 40px rgba(130, 150, 255, 0.45),
    0 0 42px rgba(180, 160, 255, 0.4);
}

.btn-shine:hover::before {
  animation-duration: 1s;
}

.btn-shine:hover::after {
  opacity: 1;
}

.btn-shine:active {
  transform: translateY(-1px) scale(1.02);
}

@keyframes shine-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shine-sweep {
  0% { transform: translateX(-90%); }
  55%, 100% { transform: translateX(90%); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine,
  .btn-shine::before {
    animation: none;
  }
  .btn-shine:hover {
    transform: none;
  }
}

.demo {
  --demo-loop: 7.4s;
  position: relative;
  margin: 0;
  padding: 28px 12px 40px 0;
  perspective: 920px;
  perspective-origin: 82% 22%;
  pointer-events: none;
  user-select: none;
}

.demo-glow {
  position: absolute;
  inset: -8% -4% 4%;
  background: radial-gradient(circle at 50% 40%, rgba(140, 110, 255, 0.35), transparent 62%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.demo-scene {
  position: relative;
  z-index: 1;
  transform: rotateX(22deg) rotateY(-36deg) rotateZ(5deg) scale(0.95);
  transform-origin: 50% 65%;
  transform-style: preserve-3d;
}

.demo-slab {
  position: absolute;
  inset: 10px -12px -14px 14px;
  border-radius: 22px;
  background: #090714;
  transform: translateZ(-22px);
  box-shadow: 20px 36px 40px rgba(6, 4, 18, 0.55);
}

.demo-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  transform: translateZ(1px);
  border-radius: 22px;
  border: 1px solid rgba(210, 200, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    #120e24;
  font-family: var(--font);
}

.demo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    transparent 46%,
    transparent 68%,
    rgba(180, 200, 255, 0.06) 100%
  );
  pointer-events: none;
}

.demo-pointer {
  position: absolute;
  z-index: 5;
  width: 18px;
  height: 22px;
  left: 58%;
  top: 22%;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 32% 70%, 58% 100%, 70% 94%, 44% 62%, 100% 62%);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
  animation: demo-pointer var(--demo-loop) ease infinite;
  transform-origin: 0 0;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 8, 24, 0.72);
  border-bottom: 1px solid rgba(210, 200, 255, 0.12);
}

.demo-dots,
.demo-dots::before,
.demo-dots::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f38ba8;
}

.demo-dots {
  position: relative;
  flex: 0 0 auto;
  box-shadow: 16px 0 0 #f9e2af, 32px 0 0 #a6e3a1;
}

.demo-url {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8c2ea;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-body {
  padding: 22px 22px 20px;
}

.demo-role {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #f7f4ff;
}

.demo-meta {
  margin: 0 0 18px;
  color: #b8b3d8;
  font-size: 14px;
  font-weight: 500;
}

.demo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.demo-field-wide { grid-column: 1 / -1; }

.demo-label {
  color: #d8d4f0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.demo-box {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--field-border);
  background: var(--field-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: demo-glow-0 var(--demo-loop) ease infinite;
}

.demo-value {
  display: inline-block;
  color: var(--field-ink);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(10px) scale(0.88);
  filter: blur(4px);
  animation: demo-pop-0 var(--demo-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.demo-field:nth-child(2) .demo-value { animation-name: demo-pop-1; }
.demo-field:nth-child(3) .demo-value { animation-name: demo-pop-2; }
.demo-field:nth-child(4) .demo-value { animation-name: demo-pop-3; }
.demo-field:nth-child(5) .demo-value { animation-name: demo-pop-4; }
.demo-field:nth-child(2) .demo-box { animation-name: demo-glow-1; }
.demo-field:nth-child(3) .demo-box { animation-name: demo-glow-2; }
.demo-field:nth-child(4) .demo-box { animation-name: demo-glow-3; }
.demo-field:nth-child(5) .demo-box { animation-name: demo-glow-4; }

.demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 16px;
}

.demo-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  color: #1a1540;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(110, 130, 255, 0.26);
  animation: demo-fill-press var(--demo-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.demo-status {
  color: #d5ccff;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  filter: blur(3px);
  animation: demo-status-fade var(--demo-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes demo-pop-0 {
  0%, 14% { opacity: 0; transform: translateY(10px) scale(0.88); filter: blur(4px); }
  19% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: none; }
  23%, 86% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px) scale(0.96); filter: blur(3px); }
}
@keyframes demo-pop-1 {
  0%, 18% { opacity: 0; transform: translateY(10px) scale(0.88); filter: blur(4px); }
  23% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: none; }
  27%, 86% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px) scale(0.96); filter: blur(3px); }
}
@keyframes demo-pop-2 {
  0%, 22% { opacity: 0; transform: translateY(10px) scale(0.88); filter: blur(4px); }
  27% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: none; }
  31%, 86% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px) scale(0.96); filter: blur(3px); }
}
@keyframes demo-pop-3 {
  0%, 26% { opacity: 0; transform: translateY(10px) scale(0.88); filter: blur(4px); }
  31% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: none; }
  35%, 86% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px) scale(0.96); filter: blur(3px); }
}
@keyframes demo-pop-4 {
  0%, 30% { opacity: 0; transform: translateY(10px) scale(0.88); filter: blur(4px); }
  35% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: none; }
  39%, 86% { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: translateY(6px) scale(0.96); filter: blur(3px); }
}

@keyframes demo-glow-0 {
  0%, 14% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
  18% { border-color: #efe8ff; box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.38), 0 0 24px rgba(158, 197, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  30%, 86% { border-color: rgba(210, 200, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  100% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
}
@keyframes demo-glow-1 {
  0%, 18% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
  22% { border-color: #efe8ff; box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.38), 0 0 24px rgba(158, 197, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  34%, 86% { border-color: rgba(210, 200, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  100% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
}
@keyframes demo-glow-2 {
  0%, 22% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
  26% { border-color: #efe8ff; box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.38), 0 0 24px rgba(158, 197, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  38%, 86% { border-color: rgba(210, 200, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  100% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
}
@keyframes demo-glow-3 {
  0%, 26% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
  30% { border-color: #efe8ff; box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.38), 0 0 24px rgba(158, 197, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  42%, 86% { border-color: rgba(210, 200, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  100% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
}
@keyframes demo-glow-4 {
  0%, 30% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
  34% { border-color: #efe8ff; box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.38), 0 0 24px rgba(158, 197, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  46%, 86% { border-color: rgba(210, 200, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  100% { border-color: var(--field-border); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
}

@keyframes demo-fill-press {
  0%, 7% { transform: none; filter: none; }
  10% { transform: scale(0.94); filter: brightness(1.08); }
  13% {
    transform: scale(1.04);
    filter: brightness(1.12);
    box-shadow:
      0 0 0 6px rgba(196, 181, 253, 0.2),
      0 10px 24px rgba(110, 130, 255, 0.36);
  }
  20%, 100% { transform: none; filter: none; }
}

@keyframes demo-pointer {
  0%, 3% {
    opacity: 0;
    left: 64%;
    top: 26%;
    transform: scale(0.92);
  }
  6% {
    opacity: 1;
    left: 22%;
    top: 78%;
    transform: scale(1);
  }
  10% {
    left: 17%;
    top: 84%;
    transform: scale(0.82);
  }
  14% {
    left: 18%;
    top: 83%;
    transform: scale(1);
  }
  22%, 84% {
    opacity: 0.7;
    left: 28%;
    top: 72%;
    transform: scale(1);
  }
  92%, 100% {
    opacity: 0;
    left: 40%;
    top: 40%;
    transform: scale(0.9);
  }
}

@keyframes demo-status-fade {
  0%, 38% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
    filter: blur(3px);
  }
  44% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
    filter: none;
  }
  48%, 86% {
    opacity: 1;
    transform: none;
    filter: none;
  }
  100% {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-box,
  .demo-value,
  .demo-fill,
  .demo-status,
  .demo-pointer {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .demo-pointer { display: none; }
}

@media (max-width: 899px) {
  .demo {
    padding: 20px 8px 32px;
    perspective: 820px;
    perspective-origin: 50% 20%;
  }
  .demo-scene {
    transform: rotateX(16deg) rotateY(-24deg) rotateZ(4deg) scale(0.94);
  }
}

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-top: clamp(28px, 6vw, 52px);
  background: linear-gradient(90deg, rgba(72, 48, 140, 0.55), rgba(40, 70, 150, 0.5));
  color: #e7e2ff;
  border-block: 1px solid rgba(186, 176, 255, 0.18);
}

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

.marquee-group {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  font-weight: 550;
  white-space: nowrap;
}

.marquee-group span { padding: 0 1.1rem; }

.marquee-group span::after {
  content: "·";
  margin-left: 1.1rem;
  color: #9aa0e0;
}

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

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

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

.narrow { max-width: 760px; }
.narrow.pricing { max-width: 980px; }

.auth-page {
  width: min(100%, 28rem);
}
.auth-page h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 12px;
}
.auth-page .lede {
  margin-bottom: 28px;
  max-width: 36ch;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form .btn { width: 100%; margin-top: 4px; }
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  text-decoration: none;
  font: 650 16px/1 var(--font);
  box-shadow: 0 12px 28px rgba(8, 6, 24, 0.22);
}
.btn-google:hover { background: #f6f6f8; }
.btn-google-mark { flex: 0 0 auto; display: block; }
.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #cfc8ff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  background: rgba(226, 220, 255, 0.2);
}
.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
}
.auth-switch a { color: #efe9ff; font-weight: 650; }

.guide-page { width: 100%; }
.guide-hero { max-width: 40rem; margin: 0 0 36px; }
.guide-hero h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.6vw, 2.85rem);
  line-height: 1.08;
  margin: 0 0 12px;
}
.guide-hero .guide-lede {
  margin: 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}
.guide-shell {
  display: grid;
  gap: 18px;
  align-items: start;
}
.guide-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 0 -20px 4px;
  padding: 10px 20px 12px;
  border-bottom: 1px solid rgba(226, 220, 255, 0.16);
  background: rgba(11, 10, 22, 0.82);
  backdrop-filter: blur(12px);
}
.guide-nav p {
  display: none;
}
.guide-nav ol {
  list-style: none;
  padding: 0 0 10px;
  margin: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.guide-nav ol::-webkit-scrollbar { display: none; }
.guide-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 220, 255, 0.2);
  background: rgba(12, 10, 28, 0.35);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.guide-nav a span {
  font-size: 11px;
  font-weight: 750;
  color: #cfc8ff;
}
.guide-nav a:hover { color: var(--ink); border-color: rgba(226, 220, 255, 0.4); }
.guide-nav a.is-on {
  color: #1a1540;
  background: #efe8ff;
  border-color: transparent;
}
.guide-nav a.is-on span { color: #5b4aa8; }
.guide-body section {
  scroll-margin-top: 72px;
  padding: 0 0 36px;
  margin: 0 0 36px;
  border-bottom: 1px solid rgba(226, 220, 255, 0.14);
}
.guide-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.guide-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}
.guide-body h2 span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(216, 198, 255, 0.14);
  color: #d8c6ff;
  font-size: 12px;
  font-weight: 750;
}
.guide-body p {
  margin: 0 0 16px;
  max-width: 62ch;
  color: #e4e1f6;
  line-height: 1.65;
  font-size: 1.02rem;
}
.guide-body strong { color: #fff; font-weight: 650; }
.guide-next {
  margin: 14px 0 0;
  font-size: 0.92rem;
}
.guide-next a {
  color: #cfc8ff;
  text-decoration: none;
  font-weight: 650;
}
.guide-next a:hover { color: #fff; }

.guide-video {
  margin: 4px 0 0;
}
.guide-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #0a0818;
  border: 1px solid rgba(226, 220, 255, 0.2);
}
.guide-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0818;
}
.guide-video figcaption {
  margin: 8px 2px 0;
  color: #b8b4d6;
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 880px) {
  .guide-hero { margin-bottom: 40px; }
  .guide-body section { scroll-margin-top: 24px; }
  .guide-shell { grid-template-columns: 208px minmax(0, 1fr); gap: 56px; }
  .guide-nav {
    position: sticky;
    top: 24px;
    z-index: 1;
    margin: 0;
    padding: 4px 0 0;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .guide-nav p {
    display: block;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cfc8ff;
  }
  .guide-nav ol {
    display: grid;
    gap: 2px;
    overflow: visible;
    padding: 0;
    border-left: 1px solid rgba(226, 220, 255, 0.18);
  }
  .guide-nav a {
    display: flex;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px 6px 14px;
    border: 0;
    border-radius: 0;
    border-left: 2px solid transparent;
    margin-left: -1px;
    background: transparent;
    white-space: normal;
    line-height: 1.3;
  }
  .guide-nav a.is-on {
    color: var(--ink);
    background: transparent;
    border-left-color: #d8c6ff;
  }
  .guide-nav a.is-on span { color: #d8c6ff; }
}

.account-dl {
  margin: 0 0 8px;
  display: grid;
}
.account-dl div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 220, 255, 0.12);
}
.account-dl dt {
  margin: 0;
  color: #b8b4d6;
  font-size: 13px;
  font-weight: 650;
}
.account-dl dd {
  margin: 0;
  color: #f4f2ff;
}
.account-form {
  display: grid;
  gap: 12px;
  max-width: 34rem;
  margin: 18px 0 0;
}
.account-form .btn { width: fit-content; min-width: 10rem; }
.guide-body .account-sub {
  margin: 8px 0 0;
  max-width: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfc8ff;
}
.account-split { display: grid; gap: 12px; }
.account-checks,
.account-activity,
.account-applies,
.account-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.account-checks li,
.account-activity li,
.account-applies li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(226, 220, 255, 0.12);
  color: #e4e1f6;
}
.account-checks strong,
.account-activity time {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  color: #b8b4d6;
}
.account-checks .is-ready strong { color: #c8f0d6; }
.account-applies li { align-items: start; }
.account-applies a {
  color: #f4f2ff;
  text-decoration: none;
  font-weight: 650;
}
.account-applies a:hover { text-decoration: underline; }
.account-applies p {
  margin: 4px 0 0;
  max-width: none;
  font-size: 0.92rem;
  color: #b8b4d6;
}
.account-links li { margin: 0 0 8px; }
.account-links a {
  color: var(--muted);
  text-decoration: none;
}
.account-links a:hover { color: var(--ink); }
.account-signout { margin-top: 18px; }
.account-danger {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 180, 180, 0.18);
}
.account-danger .btn.danger { width: fit-content; min-width: 10rem; }
.account-page .smart-applies { margin: 16px 0 4px; max-width: 34rem; }
.account-page .smart-applies-upgrade { width: auto; min-width: 12rem; }

@media (min-width: 640px) {
  .account-split { grid-template-columns: 1fr 1fr; }
}
.narrow .panel + .panel { margin-top: 14px; }
.profile-page { width: 100%; }
.profile-hero h1 { max-width: 16ch; }
.profile-hero .lede { max-width: 56ch; }
.profile-page.is-fresh .profile-hero {
  max-width: none;
  text-align: center;
}
.profile-page.is-fresh .profile-hero h1 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.profile-page.is-fresh .profile-hero .lede,
.lede:empty { display: none; }
.profile-page.has-profile .file-types { display: none; }
.file-types {
  position: relative;
  width: 54px;
  height: 68px;
  margin: 12px auto 6px;
}
.file-type {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: file-type-swap 4.8s ease-in-out infinite;
}
.file-type.is-docx { animation-delay: -2.4s; }
.file-type-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  width: 54px;
  height: 68px;
  padding: 14px 8px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(8, 6, 24, 0.28);
}
.file-type-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 0 8px 0 0;
  background: linear-gradient(135deg, transparent 50%, #d5d5dc 50%);
}
.file-type-lines {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: #c9c9d2;
  box-shadow: 0 6px 0 #c9c9d2, 0 12px 0 #d8d8e0;
}
.file-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 16px;
  border-radius: 4px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.file-type.is-pdf .file-type-badge { background: linear-gradient(180deg, #ff8a7a, #e23b2e); }
.file-type.is-docx .file-type-badge { background: linear-gradient(180deg, #7eb6ff, #2b6fe3); }
@keyframes file-type-swap {
  0%, 8% { opacity: 0; transform: translateY(10px) rotate(8deg) scale(0.9); }
  16%, 42% { opacity: 1; transform: translateY(-4px) rotate(-3deg) scale(1); }
  50%, 100% { opacity: 0; transform: translateY(10px) rotate(-8deg) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .file-type { animation: none; }
}
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #efe9ff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.profile-form label { scroll-margin-top: 24px; }
.profile-form { display: grid; gap: 0; }
.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.repeater-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.repeater-head h2,
.repeater-head h3 { margin: 0; }
.repeater { display: grid; gap: 12px; }
.entry {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(226, 220, 255, 0.12);
  background: transparent;
}
.pricing-packs {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
.pricing-pack {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(20, 18, 48, 0.55);
}
.pricing-pack.is-featured {
  outline: 2px solid #86efac;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.16), transparent 48%),
    rgba(20, 18, 48, 0.7);
}
.pricing-pack .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #d8ffe4;
  color: #052e16;
  font-size: 11px;
  font-weight: 750;
}
.pricing-pack h2 { margin: 0; font-size: 1.1rem; }
.pricing-pack .price,
.pricing-table .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 750;
}
.pricing-pack .price span,
.price-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.price-sub { margin: 0 0 8px; }
.pricing-pack .btn,
.pricing-pack form { width: 100%; }

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -12px 8px;
  padding: 0 12px 12px;
}
.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(20, 18, 48, 0.45);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.pricing-table caption {
  caption-side: bottom;
  padding: 10px 4px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}
.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(226, 220, 255, 0.16);
  vertical-align: middle;
  font-size: 14px;
}
.pricing-table thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d8daf0;
  background: rgba(10, 8, 28, 0.55);
}
.pricing-table th:first-child,
.pricing-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  font-weight: 650;
  background: #1b1738;
  min-width: 11rem;
}
.pricing-table thead th:first-child { z-index: 3; }
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table .is-featured {
  background: rgba(34, 197, 94, 0.08);
}
.pricing-table th.is-featured,
.pricing-table thead .is-featured { background: rgba(34, 197, 94, 0.14); }
.pricing-price-row td {
  font-size: 1.15rem;
  font-weight: 750;
}
.pricing-price-row small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.feat-yes,
.feat-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}
.feat-yes { background: rgba(134, 239, 172, 0.2); color: #86efac; }
.feat-no { background: rgba(255, 180, 180, 0.12); color: #ffb4b4; }
.pricing-cta-row .btn { width: 100%; white-space: nowrap; }
.pricing-cta-row form { margin: 0; }

.grid-3,
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.grid-3 article,
.cards article,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.featured { outline: 2px solid #b7a6ff; }

.price {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 8px 0 12px;
}

.stack {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f3f1ff;
}

input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  padding: 12px 14px;
  font: 16px/1.35 var(--font);
  background: var(--field-bg);
  color: var(--field-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

input::placeholder,
textarea::placeholder {
  color: #8f8bb3;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.28);
}

textarea { min-height: 88px; resize: vertical; }

select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #e8e4ff 50%), linear-gradient(135deg, #e8e4ff 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #6d4aff;
  cursor: pointer;
}

label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-top: 18px;
}

.error { color: #ffb4b4; margin: 0; }
.note { font-size: 14px; line-height: 1.45; color: var(--muted); }
.flash,
p.flash,
.guide-body p.flash {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  color: #10261a;
  background: linear-gradient(120deg, #f3fff7 0%, #9ef0bf 42%, #d9ffe8 72%, #86efac 100%);
  background-size: 220% 220%;
  animation: shine-shift 5.5s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(74, 222, 128, 0.28),
    0 12px 28px rgba(52, 211, 153, 0.22);
}
.flash::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.2) 44%,
    rgba(255, 255, 255, 0.86) 50%,
    rgba(255, 255, 255, 0.2) 56%,
    transparent 68%
  );
  transform: translateX(-80%);
  animation: shine-sweep 2.8s ease-in-out infinite;
}

.cheer-dialog {
  position: relative;
  width: min(28rem, calc(100vw - 32px));
  margin: auto;
  padding: 36px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 58%),
    linear-gradient(165deg, #3a2f78 0%, #1a1638 52%, #12102a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(196, 181, 253, 0.28),
    0 28px 80px rgba(8, 4, 28, 0.55),
    0 0 60px rgba(167, 139, 250, 0.28);
  overflow: hidden;
}
.cheer-dialog::backdrop {
  background: rgba(6, 5, 16, 0.72);
  backdrop-filter: blur(10px);
}
.cheer-dialog[open] {
  animation: cheer-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cheer-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.28), transparent 68%);
  animation: cheer-breathe 3.6s ease-in-out infinite;
  pointer-events: none;
}
.cheer-sparks {
  position: absolute;
  inset: 12px 18px auto;
  height: 92px;
  pointer-events: none;
}
.cheer-sparks i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  animation: cheer-spark 2.8s ease-in-out infinite;
}
.cheer-sparks i:nth-child(1) { left: 8%; top: 18px; animation-delay: 0s; }
.cheer-sparks i:nth-child(2) { left: 22%; top: 4px; animation-delay: 0.35s; background: #d8c6ff; }
.cheer-sparks i:nth-child(3) { left: 40%; top: 22px; animation-delay: 0.7s; }
.cheer-sparks i:nth-child(4) { left: 58%; top: 2px; animation-delay: 0.15s; background: #9ec5ff; }
.cheer-sparks i:nth-child(5) { left: 72%; top: 20px; animation-delay: 0.9s; }
.cheer-sparks i:nth-child(6) { left: 88%; top: 8px; animation-delay: 0.5s; background: #d8c6ff; }
.cheer-sparks i:nth-child(7) { left: 14%; top: 48px; animation-delay: 1.1s; width: 5px; height: 5px; }
.cheer-sparks i:nth-child(8) { left: 80%; top: 46px; animation-delay: 1.4s; width: 5px; height: 5px; background: #9ec5ff; }
.cheer-mascot {
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 12px 22px rgba(80, 70, 160, 0.35));
}
.cheer-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8c6ff;
}
.cheer-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(120deg, #ffffff 10%, #d9ceff 48%, #b9d7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cheer-copy {
  margin: 0 0 22px;
  color: #e4e1f6;
  line-height: 1.5;
}
.cheer-dialog form { margin: 0; }
.cheer-dialog .btn {
  width: 100%;
  min-height: 52px;
}

.howto-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: transparent;
  color: #f4f4f5;
}
.howto-dialog[open] {
  display: grid;
  place-items: center;
}
.howto-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}
.howto-card {
  position: relative;
  width: min(58rem, 100%);
  padding: 48px 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #17171a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.howto-card h2 {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 5.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.howto-close {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
}
.howto-close button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f5;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.howto-close button:hover {
  background: rgba(255, 255, 255, 0.14);
}
.howto-video {
  overflow: hidden;
  border-radius: 16px;
  background: #0b0b0c;
  margin: 0 0 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.howto-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.howto-next {
  margin: 0 auto 22px;
  max-width: 38ch;
  color: #b8b8bd;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}
.job-boards {
  margin: 0 0 22px;
  text-align: left;
}
.job-boards-kicker {
  margin: 0 0 10px;
  color: #c8c8ce;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.job-boards ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.job-board {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4f4f5;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}
.job-board:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
img.job-board-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.site-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 22px 0 0;
  color: #b8b4d6;
  font-size: 0.95rem;
}
.site-pager a { color: var(--ink); }
.history-page { max-width: 64rem; }
.history-page .guide-hero { max-width: 42rem; }
.history-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 16px;
}
.history-search { flex: 1 1 16rem; }
.history-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(226, 220, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4f2ff;
  font: 500 15px/1.3 var(--font);
}
.history-search input::placeholder { color: #9b96c4; }
.history-search input:focus {
  outline: 2px solid rgba(176, 160, 255, 0.55);
  outline-offset: 2px;
}
.history-count {
  margin: 0;
  color: #cfc8ff;
  font-size: 0.92rem;
  font-weight: 650;
}
.history-table-wrap {
  overflow: auto;
  border: 1px solid rgba(226, 220, 255, 0.16);
  border-radius: 18px;
  background: rgba(20, 17, 42, 0.55);
  box-shadow: 0 18px 40px rgba(6, 4, 18, 0.22);
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}
.history-table th,
.history-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}
.history-table th {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cfc8ff;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(226, 220, 255, 0.12);
}
.history-table tbody tr {
  border-top: 1px solid rgba(226, 220, 255, 0.08);
  transition: background 160ms ease;
}
.history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}
.history-job a {
  color: #f7f6ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.history-job a:hover { text-decoration: underline; }
.history-job p,
.history-filled small {
  margin: 4px 0 0;
  max-width: none;
  font-size: 12px;
  color: #9b96c4;
}
.history-company,
.history-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4e1f6;
  font-weight: 550;
  white-space: nowrap;
}
.history-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #6d5cff, #3d7bff);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}
.history-site img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
}
.history-filled {
  min-width: 7.5rem;
  color: #e4e1f6;
  font-size: 0.92rem;
  font-weight: 600;
}
.history-bar {
  display: block;
  width: 72px;
  height: 6px;
  margin: 0 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.history-bar::after {
  content: "";
  display: block;
  width: var(--filled, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b7a4ff, #7eb6ff);
}
.history-when {
  color: #cfc8ff;
  font-size: 0.92rem;
  white-space: nowrap;
}
.history-open .btn {
  min-width: 4.5rem;
}
.history-empty-filter {
  margin: 0;
  padding: 22px 16px;
  text-align: center;
  color: #cfc8ff;
}
.history-table-wrap.is-compact .history-table { min-width: 36rem; }
.history-table-wrap.is-compact th,
.history-table-wrap.is-compact td { padding: 12px 14px; }

@media (max-width: 720px) {
  .history-table { min-width: 0; }
  .history-table thead { display: none; }
  .history-table,
  .history-table tbody,
  .history-table tr,
  .history-table td { display: block; }
  .history-table tbody tr {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(226, 220, 255, 0.1);
  }
  .history-table td { padding: 4px 0; }
  .history-job { margin-bottom: 8px; }
  .history-open { margin-top: 10px; }
}

.howto-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.howto-actions .btn {
  width: 100%;
  min-height: 52px;
}
.howto-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f4f5;
}
.howto-actions .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 640px) {
  .howto-card { padding: 44px 20px 22px; }
  .howto-actions { grid-template-columns: 1fr; }
  .job-boards ul { grid-template-columns: 1fr 1fr; }
}

@keyframes cheer-pop {
  0% { transform: translateY(18px) scale(0.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes cheer-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes cheer-spark {
  0%, 100% { transform: translateY(0) scale(0.7); opacity: 0.35; }
  50% { transform: translateY(-10px) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .flash,
  .flash::after,
  .cheer-dialog[open],
  .cheer-glow,
  .cheer-sparks i {
    animation: none;
  }
}
.linkish {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
code { font: 13px ui-monospace, Menlo, monospace; color: #d5ccff; }
ol, ul { padding-left: 1.15rem; margin: 0 0 16px; line-height: 1.55; }
.cards .btn { width: 100%; }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    padding-top: clamp(40px, 8vw, 80px);
  }
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-packs { display: none; }
  .pricing-table { min-width: 0; }
  .cards .btn { width: auto; }
}

.install {
  max-width: 920px;
}

.install h1 { max-width: 18ch; }

.install-installed {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.4);
  background: rgba(52, 46, 96, 0.72);
  color: #efe9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.install-installed[hidden] { display: none; }

.install-mobile {
  display: none;
  max-width: 36rem;
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: #241e4a;
  border: 1.5px solid rgba(210, 200, 255, 0.28);
  box-shadow: 0 16px 40px rgba(4, 4, 16, 0.28);
}

.install-mobile h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.install-mobile p {
  margin: 0 0 12px;
  color: #d6d1f0;
  line-height: 1.5;
}

.install-mobile .btn {
  margin-top: 8px;
}

html[data-device="mobile"] .install-mobile {
  display: block;
}

html[data-device="mobile"] .browser-grid {
  display: none;
}

.browser-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.browser-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #241e4a;
  border: 1.5px solid rgba(210, 200, 255, 0.28);
  box-shadow: 0 16px 40px rgba(4, 4, 16, 0.28);
  opacity: 1;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.browser-card.chrome {
  background: #2a3a6e;
  border-color: #5b8def;
  box-shadow:
    0 0 0 1px rgba(91, 141, 239, 0.45),
    0 18px 40px rgba(66, 133, 244, 0.18);
}

.browser-card.firefox {
  background: #5a2c1c;
  border-color: #ff8a55;
  box-shadow:
    0 0 0 1px rgba(255, 138, 85, 0.4),
    0 18px 40px rgba(255, 113, 57, 0.16);
}

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

.browser-card.chrome:hover {
  border-color: #8cb6ff;
  box-shadow:
    0 0 0 2px rgba(140, 182, 255, 0.7),
    0 22px 50px rgba(66, 133, 244, 0.32);
}

.browser-card.firefox:hover {
  border-color: #ffb089;
  box-shadow:
    0 0 0 2px rgba(255, 176, 137, 0.7),
    0 22px 50px rgba(255, 113, 57, 0.3);
}

html[data-browser="chrome"] .browser-card.chrome,
html[data-browser="firefox"] .browser-card.firefox,
.browser-card.is-suggested {
  z-index: 1;
  overflow: visible;
  opacity: 1;
  filter: none;
  transform: translateY(-4px);
  border-color: transparent;
  color: #fff;
}

html[data-browser="chrome"] .browser-card.chrome,
.browser-card.chrome.is-suggested,
html[data-browser="chrome"] .browser-card.chrome:hover,
.browser-card.chrome.is-suggested:hover {
  background: linear-gradient(165deg, #c5ddff 0%, #6aa3ff 38%, #3b82f6 100%);
  animation: glow-card-chrome 4.2s ease-in-out infinite;
}

html[data-browser="firefox"] .browser-card.firefox,
.browser-card.firefox.is-suggested,
html[data-browser="firefox"] .browser-card.firefox:hover,
.browser-card.firefox.is-suggested:hover {
  background: linear-gradient(165deg, #ffe0cc 0%, #ff9a62 38%, #ff5d24 100%);
  animation: glow-card-firefox 4.2s ease-in-out infinite;
}

html[data-browser="chrome"] .browser-card.chrome p,
html[data-browser="firefox"] .browser-card.firefox p,
.browser-card.is-suggested p {
  color: rgba(255, 255, 255, 0.94);
}

html[data-browser="chrome"] .browser-card.chrome .browser-logo,
html[data-browser="firefox"] .browser-card.firefox .browser-logo,
.browser-card.is-suggested .browser-logo {
  opacity: 0.55;
}

html[data-browser="chrome"] .browser-card.chrome .btn-chrome,
html[data-browser="firefox"] .browser-card.firefox .btn-firefox,
.browser-card.is-suggested .btn-chrome,
.browser-card.is-suggested .btn-firefox {
  min-height: 68px;
  font-size: 1.15rem;
}

html[data-browser="chrome"] .browser-card.chrome .btn-chrome,
.browser-card.chrome.is-suggested .btn-chrome {
  animation: glow-btn-chrome 4.2s ease-in-out infinite;
}

html[data-browser="firefox"] .browser-card.firefox .btn-firefox,
.browser-card.firefox.is-suggested .btn-firefox {
  animation: glow-btn-firefox 4.2s ease-in-out infinite;
}

html[data-browser="chrome"] .browser-card.firefox,
html[data-browser="firefox"] .browser-card.chrome,
.browser-card.is-dim {
  opacity: 0.72;
  filter: saturate(0.85);
  transform: scale(0.98);
}

.browser-grid.is-installed .browser-card.is-dim {
  pointer-events: none;
}
.browser-card.is-dim .btn-chrome,
.browser-card.is-dim .btn-firefox {
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}

.browser-card.is-dim:hover {
  opacity: 0.88;
  filter: saturate(0.95);
}

@keyframes glow-card-chrome {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(210, 230, 255, 0.85),
      0 0 22px rgba(140, 190, 255, 0.55),
      0 0 48px rgba(80, 150, 255, 0.28),
      0 18px 40px rgba(30, 80, 200, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.95),
      0 0 34px rgba(170, 210, 255, 0.75),
      0 0 72px rgba(100, 170, 255, 0.4),
      0 22px 48px rgba(30, 80, 200, 0.28);
  }
}

@keyframes glow-card-firefox {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(255, 220, 200, 0.85),
      0 0 22px rgba(255, 170, 130, 0.5),
      0 0 48px rgba(255, 120, 70, 0.26),
      0 18px 40px rgba(180, 50, 20, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.95),
      0 0 34px rgba(255, 190, 150, 0.72),
      0 0 72px rgba(255, 140, 90, 0.38),
      0 22px 48px rgba(180, 50, 20, 0.26);
  }
}

@keyframes glow-btn-chrome {
  0%, 100% { box-shadow: 0 10px 24px rgba(26, 115, 232, 0.28); }
  50% { box-shadow: 0 14px 36px rgba(90, 150, 255, 0.42); }
}

@keyframes glow-btn-firefox {
  0%, 100% { box-shadow: 0 10px 24px rgba(255, 79, 26, 0.26); }
  50% { box-shadow: 0 14px 36px rgba(255, 130, 80, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-browser="chrome"] .browser-card.chrome,
  html[data-browser="firefox"] .browser-card.firefox,
  .browser-card.is-suggested,
  html[data-browser="chrome"] .browser-card.chrome .btn-chrome,
  html[data-browser="firefox"] .browser-card.firefox .btn-firefox,
  .browser-card.is-suggested .btn-chrome,
  .browser-card.is-suggested .btn-firefox {
    animation: none;
  }
}

.browser-card h2 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.browser-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  max-width: 28ch;
  margin: 0 0 22px;
}

.browser-logo {
  position: absolute;
  right: -8px;
  top: -12px;
  opacity: 0.22;
  transform: rotate(-8deg) scale(1);
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.browser-card:hover .browser-logo {
  opacity: 0.5;
  transform: rotate(4deg) scale(1.12) translate(-6px, 8px);
}

.btn-chrome,
.btn-firefox {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 56px;
  color: #fff;
  box-shadow: none;
}

.btn-chrome {
  background: linear-gradient(135deg, #4c8df6, #1a73e8);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.38);
}

.btn-firefox {
  background: linear-gradient(135deg, #ff8a4c, #ff4f1a);
  box-shadow: 0 12px 28px rgba(255, 79, 26, 0.35);
}

.btn-chrome:hover,
.btn-firefox:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.install-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: #16132b;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.install-dialog::backdrop {
  background: rgba(6, 6, 16, 0.72);
}

.install-dialog .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.install-dialog .btn { width: auto; }

@media (min-width: 720px) {
  .browser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .install-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-mascot,
  .install-title .mascot {
    width: 72px;
    height: 72px;
  }
  .mascot-breeze {
    width: 176px;
    height: 160px;
    margin: -4px 0 8px -12px;
  }
  .mascot-breeze .hero-mascot {
    width: 124px;
    height: 124px;
  }
  .install-cta {
    width: 100%;
  }
  .home-cta {
    width: 100%;
    padding: 14px 16px 14px 12px;
    font-size: 1.12rem;
    gap: 10px;
  }
  .home-cta .brand-logo {
    width: 28px;
    height: 28px;
  }
  .hero .btn-hero {
    width: 100%;
    min-width: 0;
  }
  .hit-demo-body { padding: 16px 14px 14px; }
  .hit-demo-fields { grid-template-columns: 1fr; }
  .hit-demo-scene {
    transform: rotateX(14deg) rotateY(-18deg) rotateZ(3deg) scale(0.96);
  }
  .demo-body { padding: 18px 16px 16px; }
  .demo-fields { gap: 10px; }
  .demo-box { min-height: 42px; padding: 8px 11px; }
  .demo-value { font-size: 14px; }
  .upload-orb-card { padding: 20px 16px; }
  .stack .btn { width: 100%; }
}

.save-progress {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 6, 22, 0.62);
  backdrop-filter: blur(10px);
}

.save-progress[hidden] { display: none; }

.save-progress-card {
  width: min(420px, 100%);
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: #1c1840;
  border: 1px solid rgba(226, 220, 255, 0.55);
  box-shadow: 0 24px 60px rgba(4, 2, 16, 0.45);
}

.save-progress-kicker {
  margin: 0 0 6px;
  color: #cfc8ff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.save-progress-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: #fff;
}

.save-progress-copy {
  margin: 0 0 16px;
  color: #e4e6ff;
  font-size: 14px;
  line-height: 1.45;
}

.save-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.save-progress-fill {
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4ecff, #d8c6ff 40%, #9ec5ff);
  box-shadow: 0 0 16px rgba(158, 197, 255, 0.45);
  transition: width 0.55s ease;
}

.save-progress-fill.is-running {
  background-size: 200% 100%;
  animation: save-sheen 1.1s linear infinite;
}

.save-progress.is-saved .save-progress-fill,
.save-progress:not([hidden]).is-saved .save-progress-fill {
  background: linear-gradient(90deg, #bbf7d0, #86efac);
  box-shadow: 0 0 16px rgba(134, 239, 172, 0.4);
}

.save-progress.is-error .save-progress-fill {
  background: linear-gradient(90deg, #fecaca, #f87171);
  box-shadow: none;
}

@keyframes save-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.resume-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.resume-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8b4d6;
  font-size: 13px;
  font-weight: 600;
}
.resume-steps li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(216, 198, 255, 0.12);
  color: #d8c6ff;
  font-size: 11px;
  font-weight: 750;
}
.resume-steps li.is-now { color: var(--ink); }
.resume-steps li.is-now span { background: #efe8ff; color: #1a1540; }

.upload-stage { position: relative; overflow: visible; }
.profile-page.is-fresh .upload-stage { padding-top: 72px; }
.upload-point {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 2px;
  pointer-events: none;
  color: #efe8ff;
}
.upload-point-arrow {
  display: block;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.55))
    drop-shadow(0 4px 10px rgba(90, 70, 220, 0.35));
  animation: point-bounce 1.4s ease-in-out infinite;
}
.upload-point p {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #efe8ff;
}
.profile-page.has-profile .upload-point,
.upload-stage:has(.upload-orb.is-done) .upload-point,
.upload-stage:has(.upload-orb.is-done) .profile-drop-demo { display: none; }
@keyframes point-bounce {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}

.profile-drop-demo {
  --drop-loop: 12s;
  position: relative;
  overflow: visible;
  min-height: 240px;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(196, 181, 253, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
}
.profile-drop-resume {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 74px;
  margin-left: -37px;
  padding: 12px 10px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f0ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(8, 6, 24, 0.4);
  transform-origin: 50% 80%;
  opacity: 0;
}
.profile-drop-resume.is-pdf {
  animation: profile-drop-fall-a var(--drop-loop) cubic-bezier(0.22, 0.78, 0.28, 1) infinite;
}
.profile-drop-resume.is-docx {
  animation: profile-drop-fall-b var(--drop-loop) cubic-bezier(0.22, 0.78, 0.28, 1) infinite;
}
.profile-drop-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, transparent 50%, #d8d0f0 50%);
  border-radius: 0 10px 0 0;
}
.profile-drop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff8a7a, #e23b2e);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.profile-drop-resume.is-docx .profile-drop-badge {
  background: linear-gradient(180deg, #7eb6ff, #2b6fe3);
}
.profile-drop-lines {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 4px;
  border-radius: 99px;
  background: #c9c2e6;
  box-shadow: 0 7px 0 #c9c2e6, 0 14px 0 #d8d2ee;
}
.profile-drop-name {
  margin-top: 16px;
  color: #4a4270;
  font-size: 10px;
  font-weight: 750;
}
.profile-drop-fields {
  position: absolute;
  inset: auto 16px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.profile-drop-chip {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 13, 34, 0.72);
  box-shadow: inset 0 0 0 1px rgba(210, 200, 255, 0.34);
  color: #f4f2ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  animation: profile-drop-chip-0 var(--drop-loop) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.profile-drop-chip small {
  color: #b8b3d8;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.profile-drop-chip:nth-child(2) { animation-name: profile-drop-chip-1; }
.profile-drop-chip:nth-child(3) { animation-name: profile-drop-chip-2; }
.profile-drop-chip:nth-child(4) { animation-name: profile-drop-chip-3; }
.profile-drop-chip:nth-child(5) { animation-name: profile-drop-chip-4; }
.profile-drop-chip:nth-child(6) { animation-name: profile-drop-chip-5; }
@keyframes profile-drop-fall-a {
  0% { opacity: 0; transform: translateY(-168px) rotate(-18deg) scale(0.86); }
  6% { opacity: 1; transform: translateY(-88px) rotate(-12deg) scale(1); }
  11% { opacity: 1; transform: translateY(-8px) rotate(-8deg) scale(1); }
  15% { opacity: 1; transform: translateY(62px) rotate(3deg) scale(1); }
  18% { opacity: 1; transform: translateY(78px) rotate(0deg) scale(1.06, 0.84); }
  22% { opacity: 0.8; transform: translateY(70px) scale(0.62) rotate(8deg); }
  26%, 100% { opacity: 0; transform: translateY(64px) scale(0.18) rotate(16deg); }
}
@keyframes profile-drop-fall-b {
  0%, 50% { opacity: 0; transform: translateY(-168px) rotate(16deg) scale(0.86); }
  56% { opacity: 1; transform: translateY(-88px) rotate(10deg) scale(1); }
  61% { opacity: 1; transform: translateY(-8px) rotate(6deg) scale(1); }
  65% { opacity: 1; transform: translateY(62px) rotate(-2deg) scale(1); }
  68% { opacity: 1; transform: translateY(78px) rotate(0deg) scale(1.06, 0.84); }
  72% { opacity: 0.8; transform: translateY(70px) scale(0.62) rotate(-8deg); }
  76%, 100% { opacity: 0; transform: translateY(64px) scale(0.18) rotate(-14deg); }
}
@keyframes profile-drop-chip-0 {
  0%, 18% { opacity: 0; transform: translate(12px, 18px) scale(0.7); filter: blur(4px); }
  22% { opacity: 1; transform: translate(-2px, -3px) scale(1.04); filter: none; }
  24%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 68% { opacity: 0; transform: translate(12px, 18px) scale(0.7); filter: blur(4px); }
  72% { opacity: 1; transform: translate(-2px, -3px) scale(1.04); filter: none; }
  74%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes profile-drop-chip-1 {
  0%, 20% { opacity: 0; transform: translate(-10px, 16px) scale(0.7); filter: blur(4px); }
  24% { opacity: 1; transform: translate(2px, -3px) scale(1.04); filter: none; }
  26%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 70% { opacity: 0; transform: translate(-10px, 16px) scale(0.7); filter: blur(4px); }
  74% { opacity: 1; transform: translate(2px, -3px) scale(1.04); filter: none; }
  76%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes profile-drop-chip-2 {
  0%, 22% { opacity: 0; transform: translate(8px, 14px) scale(0.7); filter: blur(4px); }
  26% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  28%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 72% { opacity: 0; transform: translate(8px, 14px) scale(0.7); filter: blur(4px); }
  76% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  78%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes profile-drop-chip-3 {
  0%, 24% { opacity: 0; transform: translate(-8px, 14px) scale(0.7); filter: blur(4px); }
  28% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  30%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 74% { opacity: 0; transform: translate(-8px, 14px) scale(0.7); filter: blur(4px); }
  78% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  80%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes profile-drop-chip-4 {
  0%, 26% { opacity: 0; transform: translate(6px, 12px) scale(0.7); filter: blur(4px); }
  30% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  32%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 76% { opacity: 0; transform: translate(6px, 12px) scale(0.7); filter: blur(4px); }
  80% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  82%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes profile-drop-chip-5 {
  0%, 28% { opacity: 0; transform: translate(-6px, 12px) scale(0.7); filter: blur(4px); }
  32% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  34%, 42% { opacity: 1; transform: none; filter: none; }
  48% { opacity: 0; transform: translateY(6px); }
  50%, 78% { opacity: 0; transform: translate(-6px, 12px) scale(0.7); filter: blur(4px); }
  82% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: none; }
  84%, 92% { opacity: 1; transform: none; filter: none; }
  98%, 100% { opacity: 0; transform: translateY(6px); }
}

.upload-orb {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  cursor: pointer;
}
.upload-orb-glow,
.upload-orb-sparkles { display: none; }
.upload-orb-card {
  display: grid;
  gap: 10px 16px;
  align-items: center;
  padding: 22px 20px;
  border-radius: 18px;
  color: #f4f2ff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(170, 170, 180, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.upload-orb:not(.is-done) .upload-orb-card {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  min-height: 380px;
  padding: 0 20px 18px;
  overflow: visible;
  animation: upload-border-pulse 2.2s ease-in-out infinite;
}
.upload-orb:not(.is-done) .profile-drop-demo { grid-column: 1 / -1; }
.upload-orb:not(.is-done) .upload-orb-icon { display: none; }
.upload-orb-icon { display: block; color: #cfc8ff; }
.upload-orb-copy { display: grid; gap: 4px; }
.upload-orb-title {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}
.upload-orb-hint,
.upload-orb-status {
  color: #c8c4e2;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 58ch;
}
.upload-orb-status:empty,
.upload-orb:not(.is-done) .upload-orb-status:empty,
.upload-orb:not(.is-done) .upload-orb-status {
  display: none;
}
.upload-orb-cta {
  min-height: 44px;
  width: fit-content;
  padding: 10px 16px;
  pointer-events: none;
}
.upload-orb:hover .upload-orb-card,
.upload-orb.is-hover .upload-orb-card,
.upload-orb:focus-within .upload-orb-card {
  border-style: solid;
  border-color: rgba(226, 220, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}
.upload-orb:not(.is-done):hover .upload-orb-card,
.upload-orb:not(.is-done).is-hover .upload-orb-card,
.upload-orb:not(.is-done):focus-within .upload-orb-card {
  animation: none;
  border-style: dashed;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}
@keyframes upload-border-pulse {
  0%, 100% {
    border-color: rgba(170, 170, 180, 0.55);
    box-shadow: none;
  }
  50% {
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16);
  }
}
.upload-orb.is-busy .upload-orb-card { border-style: solid; }
.upload-orb.is-done .upload-orb-status {
  display: block;
  color: #c8f0d6;
}
.upload-alt { margin: 0 0 8px; }
.upload-alt .linkish {
  color: #b8b4d6;
  font-size: 14px;
  font-weight: 600;
}
.upload-alt .linkish:hover { color: #fff; }
.upload-alt .linkish.is-danger { color: #ffb4b4; }
.upload-alt .linkish.is-danger:hover { color: #ffd6d6; }

.profile-sec {
  scroll-margin-top: 24px;
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid rgba(226, 220, 255, 0.14);
}
.profile-sec:last-of-type { border-bottom: 0; margin-bottom: 0; }
.profile-sec h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.profile-sec-lede {
  margin: 0 0 16px;
  max-width: 62ch;
  color: #b8b4d6;
  font-size: 0.95rem;
  line-height: 1.5;
}
.profile-form input:not([type="checkbox"]),
.profile-form textarea,
.profile-form select {
  border-radius: 8px;
  border-width: 1px;
  background: rgba(8, 7, 20, 0.55);
}
.profile-save {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}
.profile-save .btn { width: auto; min-width: 10rem; }
.profile-save p {
  margin: 0;
  color: #b8b4d6;
  font-size: 13px;
}

@media (min-width: 720px) {
  .upload-orb-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 22px 24px;
  }
  .upload-orb:not(.is-done) .upload-orb-card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 24px 20px;
    min-height: 420px;
  }
  .profile-drop-demo { min-height: 280px; }
}

.profile-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.55s ease, opacity 0.4s ease 0.08s, margin 0.45s ease;
}
.profile-reveal-inner {
  overflow: hidden;
  min-height: 0;
}
.profile-reveal.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 28px;
}
.profile-reveal.is-open .profile-reveal-inner {
  overflow: visible;
}
.profile-page.is-fresh .profile-reveal:not(.is-open) {
  pointer-events: none;
}

label.is-filling,
.entry.is-filling {
  position: relative;
}
input.is-filling,
textarea.is-filling,
select.is-filling,
label.is-filling input,
label.is-filling textarea,
label.is-filling select {
  animation: field-pop 0.42s ease;
  border-color: #efe8ff;
  box-shadow:
    0 0 0 3px rgba(196, 181, 253, 0.38),
    0 0 28px rgba(158, 197, 255, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.entry.is-filling {
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(216, 198, 255, 0.35);
}

@keyframes orb-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
@keyframes orb-busy {
  0%, 100% { box-shadow: 0 0 0 6px rgba(196, 181, 253, 0.12), 0 18px 40px rgba(8, 6, 28, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(196, 181, 253, 0.22), 0 22px 50px rgba(120, 140, 255, 0.28); }
}
@keyframes field-pop {
  0% { transform: translateY(6px) scale(0.98); filter: brightness(1.2); }
  60% { transform: translateY(-1px) scale(1.01); }
  100% { transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .upload-point-arrow,
  .profile-drop-resume,
  .profile-drop-chip,
  .upload-orb:not(.is-done) .upload-orb-card { animation: none; }
  .profile-drop-resume { opacity: 0.7; transform: translateY(40px); }
  .profile-drop-chip { opacity: 1; transform: none; filter: none; }
  .upload-orb-glow,
  .upload-orb-icon,
  .upload-orb-sparkles,
  .profile-reveal {
    animation: none;
    transition: none;
  }
  input.is-filling,
  textarea.is-filling,
  select.is-filling {
    animation: none;
  }
}

.btn.is-pulse,
button.is-pulse {
  animation: save-pulse 1.15s ease-in-out infinite;
}

@keyframes save-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 6px rgba(196, 181, 253, 0.16), 0 10px 28px rgba(110, 130, 255, 0.28);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 12px rgba(196, 181, 253, 0.08), 0 16px 36px rgba(158, 197, 255, 0.55);
  }
}

.linkish.quiet,
button.quiet {
  opacity: 0.38;
  font-size: 13px;
  font-weight: 500;
}
.linkish.quiet:hover,
button.quiet:hover { opacity: 0.7; }

input[type="date"],
input[type="month"] {
  color-scheme: dark;
  min-height: 48px;
}

.profile-form { position: relative; }

.dob-picker {
  position: relative;
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f3f1ff;
}
.dob-picker .dob-display { cursor: pointer; }
.dob-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 40px));
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #161430;
  box-shadow: 0 18px 40px rgba(6, 4, 20, 0.45);
}
.dob-nav {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 8px;
  margin-bottom: 10px;
}
.dob-weekdays,
.dob-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.dob-weekdays {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.dob-day {
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.dob-day:hover { background: rgba(196, 181, 253, 0.28); }
.dob-day.is-on {
  background: linear-gradient(120deg, #d8c6ff, #9ec5ff);
  color: #1a1540;
}
.dob-empty { min-height: 34px; }
.dob-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.suggest-list {
  position: absolute;
  z-index: 28;
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #161430;
  box-shadow: 0 16px 36px rgba(6, 4, 20, 0.4);
}
.suggest-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.suggest-item:hover,
.suggest-item.is-active { background: rgba(196, 181, 253, 0.2); }

.smart-applies {
  display: grid;
  gap: 6px;
}
.smart-applies-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.smart-applies-label {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.smart-applies-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.smart-applies-head strong {
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.smart-applies-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 550;
}
.smart-applies-track {
  height: 8px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(247, 246, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 255, 0.28);
}
.smart-applies-fill {
  display: block;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: inherit;
  background: rgba(134, 196, 164, 0.72);
  transition: width 0.3s ease;
}
.smart-applies-cta {
  font-size: 11px;
  font-weight: 550;
  color: #b8b6d4;
  text-decoration: none;
  white-space: nowrap;
}
.smart-applies-cta:hover { color: var(--ink); text-decoration: underline; }
.smart-applies.is-low .smart-applies-fill { background: rgba(196, 181, 120, 0.7); }
.smart-applies.is-empty { gap: 12px; }
.smart-applies.is-unlimited .smart-applies-fill { width: 100% !important; }
.smart-applies-upgrade {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  color: #052e16;
  background-image: linear-gradient(120deg, #d8ffe4 0%, #86efac 32%, #4ade80 68%, #22c55e 100%);
  box-shadow:
    0 0 0 6px rgba(74, 222, 128, 0.16),
    0 14px 36px rgba(34, 197, 94, 0.38);
}
.panel .smart-applies + form { margin-top: 8px; }

body.is-admin {
  --max: 1120px;
}
body.is-admin .marquee { display: none; }
.admin-top { width: min(100%, var(--max)); }
.admin-badge {
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(226, 220, 255, 0.35);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #efe9ff;
}
.admin-top nav a.is-on { color: #fff; }
.admin-main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px 20px 80px;
}
.admin-page { display: grid; gap: 22px; }
.admin-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}
.admin-hero .lede { margin: 0; max-width: 46ch; }
.admin-back { margin: 0; }
.admin-back a { font-weight: 650; text-decoration: none; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.admin-stat {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(28, 24, 58, 0.72);
}
.admin-stat p,
.admin-stat span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.admin-stat strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.admin-stat span { text-transform: none; letter-spacing: 0; font-weight: 550; }
.admin-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(28, 24, 58, 0.68);
}
.admin-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.admin-card-sub {
  margin: 0 0 16px;
  color: var(--muted);
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-card-head h2 { margin: 0; }
.admin-card-head a { font-weight: 650; }
.admin-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 180px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.admin-chart li {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  height: 100%;
}
.admin-chart-bar {
  width: 100%;
  min-height: 4px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #d8c6ff, #7aa0ff);
}
.admin-chart strong { font-size: 12px; }
.admin-chart span {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-filters input,
.admin-filters select {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--field-ink);
  font: inherit;
}
.admin-filters input { min-width: min(100%, 260px); flex: 1; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(226, 220, 255, 0.12);
  vertical-align: top;
}
.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-table td a {
  display: block;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.admin-table td span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.admin-table td a:hover { text-decoration: underline; }
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn.danger {
  background: linear-gradient(135deg, #ffb4b4, #f87171);
  color: #3b0a0a;
  box-shadow: none;
}
.admin-pager-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
}
.admin-pager-nav a { font-weight: 650; }
@media (max-width: 800px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-chart { grid-template-columns: repeat(7, minmax(0, 1fr)); height: 140px; }
  .admin-table { display: block; overflow-x: auto; }
}
