.landing-pricing { scroll-margin-top: 2rem; }
.landing-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.landing-pricing__card {
  min-width: 0;
  padding: 1.5rem 1.25rem;
  border: 1px solid #e3d5ee;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffffff0, #f6eefbd9);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px #61358312;
  backdrop-filter: blur(14px);
}
.landing-pricing__card--best {
  border-color: #b88adc;
  background: radial-gradient(ellipse at 100% 0%, #edc9f466, transparent 65%),
    linear-gradient(145deg, #fff, #efe3f9d9);
}
.landing-pricing__package { min-height: 4rem; }
.landing-pricing__package h3 { margin: 0; color: #302342; font-size: 1.05rem; font-weight: 800; }
.landing-pricing__badge {
  display: inline-block;
  margin-top: .45rem;
  padding: .2rem .55rem;
  border-radius: 6px;
  color: #643099;
  background: #e9d7fa;
  font-size: .7rem;
  font-weight: 700;
}
body .landing-pricing__price {
  margin: .25rem 0 0;
  color: #302342 !important;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.landing-pricing__price span { font-size: .65em; font-weight: 600; }
.landing-pricing__unit { margin: .5rem 0 0; color: #716580; font-size: .85rem; }
.landing-pricing__counts { margin: 1.3rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid #e3d5ee; }
.landing-pricing__counts li { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: .8rem; line-height: 1.5; color: #675978; }
.landing-pricing__counts li + li { margin-top: .75rem; }
.landing-pricing__counts strong { white-space: nowrap; color: #4f2678; font-size: .9rem; }
.landing-pricing__counts .landing-pricing__unavailable { font-size: .7rem; font-weight: 500; color: #716580; }
.landing-pricing-link { color: #7131b8; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .landing-pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .landing-pricing__grid { grid-template-columns: 1fr; }
  .landing-pricing__package { min-height: auto; }
  .landing-pricing__price { margin-top: 1rem; }
  .landing-pricing__counts li { font-size: .9rem; }
}
.landing-prompt-example {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.landing-prompt-example__note {
  margin: .65rem 0 1.5rem;
  color: #716580;
  font-size: .875rem;
  line-height: 1.6;
}
.landing-prompt-example__sample {
  padding: 1.15rem 1.25rem;
  border: 1px solid #e5d7ee;
  border-left: 3px solid #823de0;
  border-radius: 8px;
  background: #ffffffd9;
  color: #302342;
  font-size: .875rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.landing-prompt-example__sample blockquote { margin: .6rem 0 0; }
.landing-prompt-example__label {
  margin: 0;
  color: #7131b8;
  font-size: .8125rem;
  font-weight: 800;
}
.landing-hero-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

/* Frosted glass veil: keep copy calm while revealing flowing color at right. */
body .landing-ambient-hero::before {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, #fdfcfeeb 0%, #fdfcfecc 32%, #fdfcfe55 62%, #ffffff12 100%),
    linear-gradient(180deg, #ffffff22 70%, #fdfcfe 100%);
  animation: none;
}
body .landing-ambient-hero::after {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(115deg, transparent 47%, #ffffff66 47.2%, #ffffff16 48%, transparent 60%),
    linear-gradient(115deg, transparent 70%, #ffffff44 70.2%, transparent 72%);
  animation: none;
}

/* Gentle light behind hero content; only compositor-friendly transforms move. */
.landing-ambient-hero::before,
.landing-ambient-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(70vw, 850px);
  height: min(85vh, 850px);
  border-radius: 50%;
}
.landing-ambient-hero::before {
  top: -18%;
  right: -14%;
  background: radial-gradient(ellipse, #c690ec30, #e7b4ed18 42%, transparent 70%);
}
.landing-ambient-hero::after {
  right: 8%;
  bottom: -28%;
  background: radial-gradient(ellipse, #b6dfef24, #d8b7ee20 40%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .landing-ambient-hero::before {
    animation: landing-ambient-float 28s ease-in-out infinite alternate;
  }
  .landing-ambient-hero::after {
    animation: landing-ambient-float 36s ease-in-out -18s infinite alternate-reverse;
  }
}
@keyframes landing-ambient-float {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(4%, -4%, 0) scale(1.08); }
}
@media (max-width: 640px) {
  .landing-ambient-hero::before,
  .landing-ambient-hero::after {
    width: 100vw;
    height: 65vh;
  }
}

/* Shared light palette for every standalone klepAI page. */
:root { color-scheme: light; }
html { background: #fdfcfe; }
body {
  background: #fdfcfe !important;
  color: #302342 !important;
}
body ::selection { background: #e7ccf5; color: #302342; }
body main {
  background: radial-gradient(ellipse at 91% 8%, #e9b9e927, transparent 34%),
    radial-gradient(ellipse at 5% 27%, #aee3f122, transparent 37%),
    linear-gradient(180deg, #fff, #fdfcfe 62%, #faf8fd) !important;
}
body h1, body h2, body h3,
body [class*="text-[#13201d]"], body [class*="text-[#33433f]"] {
  color: #302342 !important;
}
body [class*="text-[#63736f]"], body [class*="text-[#a6b9b4]"] {
  color: #716580 !important;
}
body [class*="text-teal-"] { color: #823de0 !important; }
body h1 .landing-hero-word {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0 .03em .04em 0;
  color: #782ec8 !important;
  background: linear-gradient(105deg, #6d2cc0 8%, #8d38df 55%, #b544c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px #b77be565);
}
body h1 .landing-hero-word::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: .02em;
  bottom: -.02em;
  left: 0;
  height: .1em;
  border-radius: 999px;
  background: linear-gradient(90deg, #7738d9, #e56bd9);
  box-shadow: 0 3px 14px #ba69db6b;
  transform: skewX(-15deg);
}
body [class*="border-[#13201d]"] { border-color: #ded3ed !important; }
body [class*="bg-[#f7fbfa]"], body [class*="bg-[#eef7f4]"] {
  background-color: #faf8fd !important;
}
body [class*="bg-teal-700"], body [class*="bg-teal-800"] {
  background-color: #823de0 !important;
  color: #fff !important;
}
body [class*="bg-teal-50"] { background-color: #f1e8fb !important; }
body [class*="bg-[#13201d]"] { background-color: #47266a !important; color: #fff !important; }
body [class*="bg-teal-800"] h2,
body [class*="bg-teal-800"] h3,
body [class*="bg-teal-800"] p,
body [class*="bg-[#13201d]"] h2,
body [class*="bg-[#13201d]"] h3,
body [class*="bg-[#13201d]"] p { color: #fff !important; }
body header a[aria-label="klepAI"] {
  border: 1px solid #e5d8f0;
  background: #ffffffcf !important;
  box-shadow: 0 5px 20px #68368d13;
}
body a[data-bot-link]:not(.group):not(.button) {
  border: 1px solid #ffffff8c !important;
  border-radius: 14px;
  background: radial-gradient(ellipse at 85% 0%, #e688e59e, transparent 60%),
    linear-gradient(180deg, #a457df, #813bcc 52%, #6731b9) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 2px #ffffffad, 0 6px 18px #7131c933, 0 0 24px #d886e455;
}
body a[data-bot-link="max"]:not(.group):not(.button) {
  border: 1px solid #b989e2 !important;
  background: linear-gradient(135deg, #faf3ff, #e9d6fb 55%, #d7bbed) !important;
  color: #4f207c !important;
  box-shadow: inset 0 1px 2px #fff, 0 5px 18px #954fc330, 0 0 24px #dba5ec6b;
}
body[data-landing-variant="max"] a[data-bot-link="max"]:not(.group):not(.button) {
  border-color: #ffffff8c !important;
  background: radial-gradient(ellipse at 85% 0%, #e688e59e, transparent 60%),
    linear-gradient(180deg, #a457df, #813bcc 52%, #6731b9) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 2px #ffffffad, 0 6px 18px #7131c933, 0 0 24px #d886e455;
}
body a[data-bot-link].group {
  border-color: #e0cbed !important;
  background: linear-gradient(145deg, #ffffffee, #f1e4f9ed) !important;
  background-color: #f8f0fc !important;
  color: #302342 !important;
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px #66358c1b;
}
body a[data-bot-link].group:hover {
  border-color: #ba7ee4 !important;
  background: linear-gradient(145deg, #fff, #ebd9f8) !important;
}
body a[data-bot-link]:hover { filter: brightness(1.05); }
body a:focus-visible, body button:focus-visible, body [tabindex]:focus-visible {
  outline: 3px solid #823de0;
  outline-offset: 3px;
}
body main > section:first-child > div[aria-hidden="true"]:nth-child(2),
body main > div[aria-hidden="true"]:nth-child(2) {
  background: linear-gradient(90deg, #fffffffa, #ffffffed 36%, #f9f1f9a8 69%, #f1d7f455),
    linear-gradient(180deg, #ffffff16, #fdfcfe) !important;
}
body .landing-panel-backdrop {
  border-color: #ded3ed !important;
  background: radial-gradient(ellipse at 90% 18%, #e8a9e966, transparent 45%),
    radial-gradient(ellipse at 12% 90%, #aee6f766, transparent 48%),
    linear-gradient(135deg, #f4edfacc, #eae0f399) !important;
  box-shadow: inset 0 1px 0 #fff, 0 0 36px #dcb8ef26;
}
body .landing-interactive-card,
body main article[class*="bg-white"], body main > article {
  border-color: #e5d7ee !important;
  background: linear-gradient(135deg, #fffffff0, #f7f0fbdf) !important;
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px #653b8012;
}
body .landing-pointer-glow::before {
  background: radial-gradient(280px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #ffffffbb, #e56bd926 38%, transparent 78%);
}
body .work-carousel {
  border-color: #e2d2ee;
  background: linear-gradient(145deg, #f3eafb, #e6daf1);
  box-shadow: inset 0 1px 0 #fff, 0 14px 40px #5631751a;
}
body .work-carousel__caption h3 { color: #fff !important; }
body .landing-footer {
  border-color: #ded3ed;
  background: #faf8fd;
  color: #716580;
}
body .landing-footer nav a, body footer a { color: #7131a6 !important; }
body .landing-footer nav a:hover, body footer a:hover { color: #502179 !important; }
.landing-footer__inner {
  width: min(calc(100% - 2.5rem), 1180px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.landing-footer__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}
.landing-footer__intro h2 {
  margin: 0;
  color: #302342;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}
.landing-footer__intro p { margin: 0; color: #716580; font-size: 0.95rem; }
.landing-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.landing-footer__column {
  min-width: 0;
  padding-left: 1.2rem;
  border-left: 1px solid #ddd0eb;
}
.landing-footer__column h3 {
  margin: 0 0 0.9rem;
  color: #392c4c;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
}
.landing-footer__column ul { margin: 0; padding: 0; list-style: none; }
.landing-footer__column li {
  color: #716580;
  font-size: 0.88rem;
  line-height: 1.55;
}
.landing-footer__column li + li { margin-top: 0.45rem; }
.landing-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5d9ee;
  font-size: 0.85rem;
}
.landing-footer__bottom p { margin: 0; color: #716580; }
@media (max-width: 760px) {
  .landing-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
}
@media (max-width: 360px) {
  .landing-footer__grid { grid-template-columns: 1fr; }
}
body main > article { backdrop-filter: blur(18px); }
body main > article div[class*="text-[#33433f]"] { color: #51475f !important; }
.landing-hero-hint {
  max-width: 34rem;
  margin-top: 1rem;
  color: #675978;
  font-size: 0.9rem;
  line-height: 1.6;
}
.landing-quick-answers {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.25rem;
}
.landing-quick-answer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid #e3d5ee;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffffff0, #f6eefbea);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px #61358314;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.landing-quick-answer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 20% 0%, #ffffffdd, #e8cffa55 55%, transparent 85%);
  opacity: 0;
  transition: opacity 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .landing-quick-answer:hover {
    transform: translateY(-4px);
    border-color: #b98cdd;
    box-shadow: inset 0 1px 0 #fff, 0 16px 32px #61358324;
  }
  .landing-quick-answer:hover::before { opacity: 1; }
  .landing-quick-answer:hover .landing-quick-answer__icon {
    background: #e3caf8;
    transform: translateY(-2px);
  }
}
.landing-quick-answer:active {
  transform: translateY(1px) scale(.99);
  border-color: #b98cdd;
  box-shadow: inset 0 2px 8px #61358318, 0 3px 10px #61358310;
}
.landing-quick-answer:active::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .landing-quick-answer,
  .landing-quick-answer::before,
  body .landing-quick-answer__icon {
    transition: none;
  }
  .landing-quick-answer:hover,
  .landing-quick-answer:active,
  .landing-quick-answer:hover .landing-quick-answer__icon {
    transform: none;
  }
}
.landing-quick-answer__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #eee0fa;
  color: #823de0;
  transition: transform 180ms ease, background-color 180ms ease;
}
.landing-quick-answer h2 {
  margin: 0;
  color: #302342;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}
.landing-quick-answer p {
  margin: 0.45rem 0 0;
  color: #716580;
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .landing-quick-answers { grid-template-columns: 1fr; }
}

.work-carousel__slide--video { cursor: default; }
.work-carousel__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2e203a;
  pointer-events: none;
}
.work-carousel__slide--video .work-carousel__model {
  max-width: calc(100% - 28px);
  pointer-events: none;
}
.work-carousel__play-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  background: #21182dc4;
  color: #fff;
  box-shadow: 0 8px 24px #21182d4d;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.work-carousel__play-toggle:hover { background: #7131a6e8; }
.work-carousel__play-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.work-carousel__play-toggle svg { width: 22px; height: 22px; }
.work-carousel__pause-icon,
.work-carousel__play-toggle[data-playing="true"] .work-carousel__play-icon { display: none; }
.work-carousel__play-toggle[data-playing="true"] .work-carousel__pause-icon { display: block; }
.work-carousel__slide--video:focus-within .work-carousel__caption p {
  max-height: 9rem;
  margin-top: 0.55rem;
  opacity: 1;
  transform: translateY(0);
}
.work-carousel__slide--video .work-carousel__caption {
  pointer-events: none;
}

/* The standalone effects demo has its own original dark design tokens. */
body#top {
  --page: #fdfcfe;
  --page-soft: #f4ecfa;
  --surface: #ffffffdb;
  --surface-strong: #f2e8f9;
  --ink: #302342;
  --muted: #716580;
  --line: #dfd0ea;
  --accent: #823de0;
  --accent-strong: #7131c9;
  --accent-soft: #e8d5fa;
  --shadow: #51307224;
}
body#top .site-header.is-scrolled { background: #fffffff0; }
body#top .hero::after {
  background: linear-gradient(90deg, #fffffffa, #ffffffdb 42%, #f7edf69c 78%),
    linear-gradient(180deg, #ffffff10, #fdfcfe) !important;
}
body#top .hero-ambient { background: #d787e858; }
body#top .hero h1 span, body#top .work-arrow, body#top .footer-list { color: #823de0; }
body#top .hero-proof, body#top .footer-title, body#top .footer-support-label { color: #514266; }
body#top .work-label h3 { color: #fff !important; }
body#top .button { border-color: #b68bda; background: #823de0; color: #fff; box-shadow: 0 12px 30px #8240c63d; }
body#top .button:hover { background: #7131c9; }
body#top .button.is-secondary { background: #ead9f7; color: #4f207c; }
body#top .button.is-secondary:hover { background: #dfc9f1; }
body#top .final-cta { border-color: #d3b9e8; background: linear-gradient(135deg, #efe4fa, #f9eefa); }
body#top .final-cta p, body#top .footer-brand p, body#top .footer-list span,
body#top .footer-channel p, body#top .footer-bottom, body#top .footer-bottom-nav a { color: #716580; }
body#top .final-cta::after { background: #e286dd40; }
body#top .ticker, body#top .step, body#top .work-card { border-color: #dfd0ea; }
body#top .site-footer { color: #716580; }
