/* Landing K.A.C.H.AI — capa visual aislada de las superficies de producto. */
:root {
  --landing-bg: #020713;
  --landing-bg-deep: #01040c;
  --landing-surface: rgba(9, 19, 38, .72);
  --landing-surface-strong: rgba(10, 22, 44, .9);
  /* Paleta alineada con la identidad de marca: bandera de Chile
     (azul #0033A0 · blanco · rojo #C8102E) sobre fondo de tinta.
     Los tonos se aclaran respecto del pantone plano para sostener
     contraste AA sobre oscuro sin perder el matiz. */
  --landing-line: rgba(157, 193, 245, .14);
  --landing-line-strong: rgba(200, 16, 46, .30);
  --landing-cyan: #4E8CF0;
  --landing-blue: #1E5BD6;
  --landing-violet: #E8657A;
  --landing-white: #F4F7FF;
  --landing-muted: #9BAAC4;
  --landing-hero-bg: #020814;
  --landing-cyan-bright: #6BA3FF;
  --landing-blue-electric: #0033A0;
  --landing-blue-violet: #7C4B8E;
  --landing-violet-bright: #C8102E;
  --landing-gradient: linear-gradient(102deg, var(--landing-cyan-bright) 0%, var(--landing-blue-electric) 42%, #FFFFFF 62%, var(--landing-violet-bright) 100%);
  --landing-wordmark-gradient: linear-gradient(102deg, var(--landing-blue-electric), #FFFFFF 52%, var(--landing-violet-bright));
  --bg: var(--landing-bg);
  --bg-2: #050c1a;
  --panel: #081326;
  --panel-2: #0b1830;
  --cyan: var(--landing-cyan);
  --violet: var(--landing-violet);
  --mid: var(--landing-blue);
  --ink: var(--landing-white);
  --slate-300: #dbe7f7;
  --slate-400: var(--landing-muted);
  --slate-500: #7183a0;
  --slate-600: #53637d;
  --line: var(--landing-line);
  --line-2: rgba(139, 187, 255, .22);
  --grad: var(--landing-gradient);
}

html { scroll-padding-top: 82px; }
.scroll-mt { scroll-margin-top: 0; }

body {
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% -10%, rgba(42, 129, 255, .12), transparent 35rem),
    var(--landing-bg-deep);
  color: var(--landing-white);
}

body::before {
  z-index: 100;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection { background: rgba(47, 199, 255, .3); color: #fff; }

.nav {
  height: 72px;
  background: linear-gradient(180deg, rgba(2, 7, 19, .92), rgba(2, 7, 19, .7));
  border-bottom: 1px solid rgba(119, 176, 255, .11);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.nav__inner {
  position: relative;
  max-width: 1240px;
  height: 72px;
  padding: 0 28px;
  gap: 24px;
}

.nav .kachai-brand { position: relative; z-index: 2; gap: 12px; }
.nav .kachai-brand__mark { width: 40px; filter: drop-shadow(0 0 10px rgba(36, 206, 255, .3)); }
.nav .kachai-brand__word {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  color: #eef6ff;
  text-shadow: 0 0 20px rgba(104, 180, 255, .22);
}

.nav__links {
  align-items: center;
  gap: 34px;
  font-size: 13px;
  color: #9dadc5;
}

.nav__links a {
  position: relative;
  padding: 10px 0;
  transition: color .2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--landing-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible { color: #fff; }
.nav__links a:hover::after,
.nav__links a:focus-visible::after { transform: scaleX(1); }

.nav__cta {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 10px 21px !important;
  color: #03101e !important;
  box-shadow: 0 10px 30px rgba(39, 182, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .44);
}

.nav__toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--landing-line-strong);
  border-radius: 13px;
  background: rgba(10, 24, 46, .72);
  color: #eaf6ff;
}

.nav__toggle-lines,
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav__toggle-lines { position: relative; }
.nav__toggle-lines::before,
.nav__toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav__toggle-lines::before { top: -6px; }
.nav__toggle-lines::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: min(1080px, 100svh);
  padding-top: 72px;
  background:
    radial-gradient(ellipse 45% 42% at 50% 34%, rgba(22, 139, 255, .18), transparent 72%),
    radial-gradient(circle at 12% 65%, rgba(0, 229, 255, .1), transparent 34%),
    radial-gradient(circle at 88% 65%, rgba(154, 77, 255, .095), transparent 35%),
    linear-gradient(180deg, var(--landing-hero-bg) 0%, #030a18 54%, #020814 100%);
}

.hero::before {
  z-index: -1;
  opacity: .26;
  background-image: radial-gradient(rgba(87, 168, 255, .34) .7px, transparent .9px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 38%, #000 0, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 38%, #000 0, transparent 72%);
}

.hero::after {
  z-index: -1;
  inset: 0;
  height: auto;
  opacity: .62;
  background:
    radial-gradient(circle at 42% 37%, rgba(0, 229, 255, .11), transparent 17rem),
    radial-gradient(circle at 58% 42%, rgba(126, 77, 255, .095), transparent 19rem),
    linear-gradient(90deg, rgba(0, 116, 201, .04), transparent 29%, transparent 71%, rgba(105, 55, 205, .04));
  -webkit-mask-image: linear-gradient(#000, transparent 96%);
  mask-image: linear-gradient(#000, transparent 96%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__reference-frame,
.hero__reference-backdrop,
.hero__reference-type-layer,
.hero__reference-art { display: none; }

.hero--reference {
  min-height: clamp(560px, 84svh, 820px);
  background:
    radial-gradient(circle at 14% 68%, rgba(0, 137, 255, .08), transparent 27rem),
    radial-gradient(circle at 86% 68%, rgba(112, 62, 255, .085), transparent 27rem),
    #020814;
}

.hero--reference::before,
.hero--reference::after,
.hero--reference .hero__canvas,
.hero--reference .hero__content {
  display: none;
}

.hero--reference .hero__reference-backdrop {
  position: absolute;
  inset: -3%;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: url("/assets/img/kachai-hero.jpg") center bottom / cover no-repeat;
  filter: blur(14px) saturate(1.2);
  opacity: .5;
  transform: scale(1.035);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0 45%, rgba(0, 0, 0, .3) 60%, #000 79%);
  mask-image: linear-gradient(to bottom, transparent 0 45%, rgba(0, 0, 0, .3) 60%, #000 79%);
}

.hero--reference .hero__reference-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: min(100%, 1620px, 126svh);
  aspect-ratio: 3 / 2;
  margin: auto;
  background: transparent;
}

.hero--reference .hero__reference-type-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: min(100%, 1620px, 126svh);
  aspect-ratio: 3 / 2;
  margin: auto;
  pointer-events: none;
}

.hero--reference .hero__reference-art {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .22) 5%, rgba(0, 0, 0, .72) 12%, #000 22%, #000 78%, rgba(0, 0, 0, .72) 88%, rgba(0, 0, 0, .22) 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .22) 5%, rgba(0, 0, 0, .72) 12%, #000 22%, #000 78%, rgba(0, 0, 0, .72) 88%, rgba(0, 0, 0, .22) 95%, transparent 100%);
}

.hero__reference-symbol-wave {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero__flow-canvas {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.hero__flow-canvas--symbol {
  top: 8%;
  left: 29%;
  width: 42%;
  height: 46%;
}

.hero__flow-canvas--lower-wide {
  top: 53%;
  left: 50%;
  width: 100vw;
  height: 47%;
  transform: translateX(-50%);
}

.hero__flow-line {
  fill: none;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 1 16;
  stroke-dashoffset: 0;
  opacity: .82;
  animation: hero-line-current var(--flow-duration, 9s) linear var(--flow-delay, 0s) infinite;
}

.hero__flow-line--soft {
  stroke-width: 2.5;
  stroke-dasharray: 1 19;
  opacity: .56;
}

.hero__flow-stream--cyan .hero__flow-line { stroke: url(#hero-line-cyan-gradient); }
.hero__flow-stream--violet .hero__flow-line { stroke: url(#hero-line-violet-gradient); }
.hero__flow-stream--lower-left .hero__flow-line { stroke: url(#hero-line-lower-left); }
.hero__flow-stream--lower-right .hero__flow-line {
  stroke: url(#hero-line-lower-right);
  animation-direction: reverse;
}

@keyframes hero-line-current {
  to { stroke-dashoffset: -204; }
}

.hero__reference-wordmark {
  position: absolute;
  z-index: 1;
  top: 54.6%;
  right: 13.5%;
  left: 13.5%;
  height: 15.4%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: transparent;
  background: radial-gradient(ellipse 62% 74% at center, #020814 0 68%, rgba(2, 8, 20, .96) 79%, rgba(2, 8, 20, .58) 89%, transparent 100%);
  font-family: 'Avenir Next', 'Geist', 'Segoe UI', system-ui, sans-serif;
  font-size: min(9.3vw, 11.72svh, 150px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .22em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .hero__reference-symbol-wave,
  .hero__flow-canvas { display: none; }
}

.hero__reference-wordmark > span {
  color: #e8edf5;
  background: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .34), 0 7px 13px rgba(0, 0, 0, .58), 0 0 18px rgba(50, 143, 255, .14);
}

.hero__reference-wordmark .node {
  display: inline-block;
  width: .115em;
  height: .115em;
  margin: 0 .18em;
  overflow: hidden;
  border-radius: 50%;
  background: currentColor;
  font-size: 1em;
  line-height: 1;
  text-indent: -999em;
  vertical-align: .06em;
  box-shadow: 0 0 .08em currentColor;
}

.hero__reference-wordmark .node--cyan { color: var(--landing-cyan-bright); }
.hero__reference-wordmark .node--blue { color: var(--landing-blue-electric); }
.hero__reference-wordmark .node--blue-violet { color: var(--landing-blue-violet); }
.hero__reference-wordmark .node--violet { color: var(--landing-violet-bright); }

.hero__reference-wordmark .ai {
  color: #5572ff;
  background: none;
  font-style: normal;
  text-shadow: 0 0 16px rgba(91, 96, 255, .2);
}


.hero__content {
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  min-height: calc(min(1080px, 100svh) - 72px);
  justify-content: center;
  padding: 42px 24px 68px;
}

.hero__visual {
  width: clamp(480px, 43vw, 680px);
  aspect-ratio: 650 / 430;
  margin: -24px auto 2px;
}

.hero__visual::before {
  inset: 11% 8%;
  background:
    radial-gradient(circle at 43% 49%, rgba(0, 229, 255, .2), transparent 40%),
    radial-gradient(circle at 68% 65%, rgba(154, 77, 255, .15), transparent 44%);
  filter: blur(34px);
  opacity: .72;
}

.hero__mark-fallback {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: .96;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, .28)) drop-shadow(0 0 22px rgba(83, 107, 255, .16));
  transition: opacity .3s ease;
}

.hero__visual.canvas-ready .hero__mark-fallback { opacity: 0; }

.hero__title,
.kachai-wordmark.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 320;
  line-height: .98;
  letter-spacing: .21em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #dce3ec 32%, #8995a8 52%, #f7f9fc 72%, #7e899b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .28);
  filter: drop-shadow(0 7px 13px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(50, 143, 255, .14));
}

.hero__title .node {
  width: .115em;
  height: .115em;
  margin: 0 .18em;
  overflow: hidden;
  border-radius: 50%;
  background: currentColor;
  font-size: 1em;
  line-height: 1;
  text-indent: -999em;
  vertical-align: .06em;
  box-shadow: 0 0 .08em currentColor;
}
.hero__title .node--cyan { color: var(--landing-cyan-bright); }
.hero__title .node--blue { color: var(--landing-blue-electric); }
.hero__title .node--blue-violet { color: var(--landing-blue-violet); }
.hero__title .node--violet { color: var(--landing-violet-bright); }
.hero__title .ai {
  color: transparent;
  font-style: normal;
  background: var(--landing-wordmark-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero__beam {
  position: relative;
  width: min(560px, 72vw);
  height: 1px;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, rgba(42, 218, 255, .95) 25%, #7294ff 55%, rgba(168, 100, 255, .88) 78%, transparent);
  box-shadow: 0 0 8px rgba(69, 185, 255, .66), 0 0 22px rgba(94, 107, 255, .3);
}

.hero__beam::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 7px;
  height: 5px;
  border-radius: 50%;
  background: #d7f7ff;
  box-shadow: 0 0 12px 3px rgba(53, 212, 255, .75);
  transform: translateX(-50%);
}

.hero__tag {
  max-width: 960px;
  margin-top: 26px;
  font-size: clamp(12px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .28em;
  text-wrap: balance;
}

.hero__desc {
  max-width: 760px;
  margin-top: 0;
  color: #a7b6cd;
  font-size: clamp(16px, 1.58vw, 24px);
  line-height: 1.65;
  text-wrap: balance;
}
.hero__desc span { display: block; }

.hero__actions { margin-top: 27px; }
.hero__actions .btn,
.cta__actions .btn {
  min-width: 164px;
  min-height: 48px;
  border: 1px solid transparent;
}

.btn-grad,
.plan-cta.btn-grad {
  background: var(--landing-gradient);
  color: #03111f;
  box-shadow: 0 10px 26px rgba(36, 177, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .36);
}

.btn-grad:hover { filter: brightness(1.08) saturate(1.08); box-shadow: 0 13px 34px rgba(56, 146, 255, .28); }

.btn-ghost {
  border-color: rgba(140, 181, 238, .22);
  background: rgba(8, 17, 35, .48);
  color: #dbe8f8;
  backdrop-filter: blur(12px);
}

.btn-ghost:hover { border-color: rgba(81, 203, 255, .52); background: rgba(20, 43, 76, .52); }

.stats {
  position: relative;
  z-index: 3;
  background: rgba(2, 7, 18, .88);
  border-color: var(--landing-line);
  backdrop-filter: blur(20px);
}

.stats__grid { max-width: 1240px; }
.stat { border-color: var(--landing-line); padding: 34px 24px; }
.stat__num {
  font-size: clamp(27px, 2.4vw, 36px);
  font-weight: 400;
  background: linear-gradient(112deg, #f8fbff, #77cfff 48%, #a978ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.stat__label { color: #7085a5; letter-spacing: .17em; }

.intro {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 76px 24px 34px;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

.intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.intro__copy > p {
  color: #b1c2d9;
  font-size: 17px;
  line-height: 1.75;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.prompt-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--landing-line);
}

.prompt-strip > span {
  margin-right: 4px;
  color: #7f93af;
  font-size: 13px;
}

.prompt-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(99, 189, 255, .2);
  border-radius: 999px;
  background: rgba(18, 42, 75, .34);
  color: #c6d6e9;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.prompt-strip a:hover,
.prompt-strip a:focus-visible {
  border-color: rgba(64, 209, 255, .52);
  background: rgba(30, 75, 123, .46);
  color: #fff;
}

.section,
.rotary-section { position: relative; overflow: clip; }
.section { padding: 92px 24px; }
.section--dark,
.rotary-section.section--dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(38, 171, 255, .07), transparent 28rem),
    linear-gradient(180deg, #020713, #040b19 62%, #020713);
  border-color: var(--landing-line);
}

.section--alt {
  background:
    radial-gradient(circle at 86% 20%, rgba(145, 85, 255, .075), transparent 28rem),
    #050c1a;
  border-color: var(--landing-line);
}

.wrap { max-width: 1180px; }
.head-flex { margin-bottom: 54px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .28em; }
.h2 {
  max-width: 760px;
  margin-top: 15px;
  color: #f3f8ff;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.leadtxt { max-width: 540px; color: #a8bad1; font-size: 16px; line-height: 1.75; }
.grad-text { background: var(--landing-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bento,
.bento--2 { gap: 18px; }

.bento-card,
.rotary-card,
.faq-item {
  border-color: var(--landing-line);
  background:
    linear-gradient(145deg, rgba(13, 29, 56, .82), rgba(5, 13, 28, .78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 24px 70px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
}

.bento-card { min-height: 214px; padding: 34px; }
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(44, 201, 255, .085), transparent 39%);
}
.bento-card:hover {
  border-color: rgba(89, 200, 255, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 26px 70px rgba(3, 24, 55, .3);
}
.bento-card .ms { position: relative; z-index: 1; filter: drop-shadow(0 0 10px currentColor); }
.bento-card h3 { position: relative; z-index: 1; color: #f0f6ff; font-weight: 500; }
.bento-card p { position: relative; z-index: 1; color: #a8bad1; font-size: 15px; line-height: 1.7; }

.chat-example {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.chat-example p {
  max-width: 84%;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(102, 178, 255, .18);
  border-radius: 14px;
  background: rgba(2, 9, 21, .66);
  color: #d9e7f8;
  font-size: 14px;
  line-height: 1.55;
}

.chat-example p small {
  display: block;
  margin-bottom: 4px;
  color: #6fdcff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chat-example__assistant { margin-left: auto !important; border-color: rgba(157, 102, 255, .22) !important; }
.chat-example__assistant small { color: #bd91ff !important; }

.feature-note {
  margin-top: 22px !important;
  padding: 13px 15px;
  border-left: 2px solid rgba(88, 205, 255, .56);
  border-radius: 0 10px 10px 0;
  background: rgba(5, 14, 31, .58);
  color: #cad8e9 !important;
  font-size: 13px !important;
}

.codebox,
.file-row {
  position: relative;
  z-index: 1;
  background: rgba(2, 8, 18, .66);
  border-color: var(--landing-line);
  color: #d2e3f8;
}

.bento-chip {
  position: relative;
  z-index: 1;
  border-color: rgba(114, 174, 255, .2);
  background: rgba(23, 51, 91, .35);
  color: #aec1dc;
}

.progress { overflow: hidden; background: rgba(112, 155, 221, .1); }
.progress__bar { background: var(--landing-gradient) !important; box-shadow: 0 0 13px rgba(52, 177, 255, .38); }

.step { position: relative; padding: 22px 12px; }
.step__num {
  border-color: rgba(99, 189, 255, .27);
  background: linear-gradient(145deg, rgba(16, 37, 70, .92), rgba(5, 14, 30, .9));
  box-shadow: 0 0 32px rgba(53, 157, 255, .14) !important;
}
.step h3 { color: #f1f7ff; font-weight: 500; }
.step p { color: #8da0bc; }

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.safety-grid { display: grid; gap: 14px; }

.safety-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 15px;
  padding: 22px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 29, 56, .78), rgba(5, 13, 28, .72));
}

.safety-card .ms {
  grid-row: 1 / span 2;
  color: var(--landing-cyan-bright);
  font-size: 28px;
}

.safety-card:nth-child(2) .ms { color: #8e8bff; }
.safety-card:nth-child(3) .ms { color: var(--landing-violet-bright); }
.safety-card h3 { color: #f2f7ff; font-size: 17px; font-weight: 550; }
.safety-card p { margin-top: 5px; color: #a5b7ce; font-size: 14px; line-height: 1.6; }

.rotary-section { gap: 48px; padding: 112px 24px; }
.rotary-scene { max-width: 1180px; }
.rotary-ring { gap: 18px; }
.rotary-card { min-height: 290px; padding: 10px; border-radius: 19px; }
.rotary-card.is-active { border-color: rgba(52, 211, 255, .5); box-shadow: 0 22px 70px rgba(31, 119, 255, .15); }
.rotary-card__info { padding: 21px 19px; }
.plan-name { font-weight: 500; }
.plan-tag { background: var(--landing-gradient) !important; color: #03101f !important; }
.plan-price { font-size: 20px; font-weight: 500; }
.plan-feat { color: #8fa2bf; font-size: 12px; }
.plan-cta { min-height: 38px; padding: 9px 12px; }
.rotary-foot { color: #5f7493; }

.pricing-section { background:
  radial-gradient(circle at 12% 18%, rgba(0, 229, 255, .045), transparent 26rem),
  radial-gradient(circle at 88% 72%, rgba(154, 77, 255, .06), transparent 28rem),
  #050c1a;
}
.pricing-head { margin-bottom: 42px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pricing-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 24px 22px 20px;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 29, 56, .82), rgba(5, 13, 28, .78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 24px 70px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
}
.pricing-card--featured { border-color: rgba(0, 229, 255, .46); background: linear-gradient(155deg, rgba(13, 48, 78, .92), rgba(7, 20, 42, .9)); box-shadow: 0 24px 70px rgba(22, 139, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .055); }
.pricing-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; }
.pricing-card__eyebrow, .pricing-card__status { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #7890ae; }
.pricing-card--featured .pricing-card__eyebrow { color: var(--landing-cyan-bright); }
.pricing-card__status { color: #9fb4cd; font-size: 9px; letter-spacing: .08em; }
.pricing-card h3 { margin-top: 28px; color: #f1f7ff; font-size: 20px; font-weight: 500; }
.pricing-card__description { min-height: 48px; margin-top: 8px; color: #a6b8cf; font-size: 14px; line-height: 1.6; }
.pricing-card__price { margin-top: 26px; color: #f4f8ff; font-size: 27px; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.pricing-card--featured .pricing-card__price { color: var(--landing-cyan-bright); }
.pricing-card__price--pending { color: #bdc8dc; font-size: 22px; }
.pricing-card__price span { color: #8da2bd; font-size: 12px; letter-spacing: 0; }
.pricing-card__list { display: grid; gap: 11px; margin: 26px 0 24px; padding: 0; list-style: none; color: #b6c7da; font-size: 13px; line-height: 1.5; }
.pricing-card__list li { display: flex; gap: 8px; }
.pricing-card__list li::before { content: "·"; color: var(--landing-cyan-bright); font-size: 18px; line-height: 11px; }
.pricing-card__cta { width: 100%; min-height: 40px; margin-top: auto; padding: 9px 12px; font-size: 12px; }
.pricing-card__cta[aria-disabled="true"] { cursor: not-allowed; opacity: .68; }

.faq-grid { gap: 72px; }
.faq-item { border-radius: 17px; }
.faq-item[open] { border-color: rgba(101, 190, 255, .36); }
.faq-item summary { min-height: 66px; color: #eaf3ff; font-size: 16px; font-weight: 500; }
.faq-item p { color: #b0c1d7; font-size: 15px; }
.faq-item[open] summary .ms { color: var(--landing-cyan); }

.cta {
  padding: 112px 24px 96px;
  background:
    radial-gradient(ellipse 42% 70% at 50% 105%, rgba(78, 111, 255, .16), transparent 70%),
    radial-gradient(circle at 50% 25%, rgba(37, 195, 255, .055), transparent 27rem),
    #020713;
}
.cta::before { opacity: .28; background-image: radial-gradient(rgba(72, 174, 255, .3) .8px, transparent 1px); }
.cta .h2 { margin-right: auto; margin-left: auto; }
.cta__copy { max-width: 590px; margin: 22px auto 0; color: #aebed2; font-size: 16px; line-height: 1.7; }

footer {
  padding-top: 56px;
  background: linear-gradient(180deg, #020713, #01040b);
  border-color: var(--landing-line);
}
.foot-brand {
  color: transparent;
  background: linear-gradient(180deg, rgba(226, 240, 255, .72), rgba(89, 125, 175, .16));
  -webkit-background-clip: text;
  background-clip: text;
  border-color: var(--landing-line);
  letter-spacing: .16em;
}
.foot-grid { max-width: 1180px; margin-right: auto; margin-left: auto; }
.foot-col h3 { color: #6f84a4; }
.foot-col a { color: #91a4bf; }
.foot-col a:hover { color: #fff; }
.foot-bottom { max-width: 1180px; margin-right: auto; margin-left: auto; border-color: var(--landing-line); color: #627693; }

.footer-description { max-width: 250px; margin-top: 16px; color: #8fa2bc; font-size: 13px; line-height: 1.65; }
.footer-status { color: #91a4bf; font-size: 13px; line-height: 1.55; }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #26d9a2; box-shadow: 0 0 10px rgba(38, 217, 162, .6); }

.reveal-ready,
.reveal-ready.is-visible { opacity: 1; transform: none; transition: none; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid #60ddff;
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(61, 182, 255, .16);
}

@media (max-width: 900px) {
  .nav__inner { padding: 0 20px; gap: 12px; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid rgba(115, 182, 255, .2);
    border-radius: 17px;
    background: rgba(4, 12, 27, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links a { min-height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; }
  .nav__links a::after { display: none; }
  .nav__links a:hover,
  .nav__links a:focus-visible { background: rgba(66, 150, 255, .1); }
  .hero__content { padding-top: 36px; }
  .hero__visual { width: min(520px, 72vw); }
  .intro__layout,
  .safety-layout { grid-template-columns: 1fr; }
  .intro__copy { max-width: 660px; }
  .safety-copy { max-width: 700px; }
  .rotary-ring,
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card { min-height: 410px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 66px; }
  .nav,
  .nav__inner { height: 66px; }
  .nav__inner { padding: 0 14px; }
  .nav .kachai-brand__mark { width: 34px; }
  .nav .kachai-brand__word { font-size: 10.5px; letter-spacing: .15em; }
  .nav__toggle { width: 42px; height: 42px; }
  .nav__cta { min-height: 42px; padding: 9px 14px !important; font-size: 12px !important; }
  .hero { min-height: 844px; padding-top: 66px; }
  .hero.hero--reference { min-height: 460px; padding-top: 66px; }
  .hero--reference .hero__reference-art { -webkit-mask-image: none; mask-image: none; }
  .hero__content {
    min-height: 778px;
    justify-content: flex-start;
    padding: 68px 18px 52px;
  }
  .hero__visual { width: min(350px, 88vw); margin: -10px auto 2px; }
  .hero__title,
  .kachai-wordmark.hero__title { font-size: clamp(34px, 10.8vw, 46px); letter-spacing: .11em; }
  .hero__tag { max-width: 350px; margin-top: 20px; font-size: 10.5px; line-height: 1.7; letter-spacing: .22em; }
  .hero__beam { width: min(300px, 72vw); margin: 16px auto 17px; }
  .hero__desc { max-width: 350px; margin-top: 0; font-size: 15px; line-height: 1.6; }
  .hero__actions { width: 100%; max-width: 354px; margin-top: 24px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 150px; min-width: 0; padding: 11px 15px; font-size: 13px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 124px; display: grid; place-content: center; padding: 24px 12px; }
  .stat:nth-child(3) { border-top: 1px solid var(--landing-line); }
  .stat:nth-child(4) { border-top: 1px solid var(--landing-line); }
  .stat__label { font-size: 9px; line-height: 1.5; }
  .intro { padding: 58px 18px 28px; }
  .intro__layout { gap: 26px; }
  .intro__copy > p { font-size: 16px; }
  .intro__actions { display: grid; grid-template-columns: 1fr; }
  .prompt-strip { margin-top: 34px; padding-top: 20px; }
  .prompt-strip > span { width: 100%; margin-bottom: 2px; }
  .prompt-strip a { flex: 1 1 calc(50% - 10px); justify-content: center; text-align: center; }
  .section,
  .rotary-section { padding: 64px 18px; }
  .head-flex { margin-bottom: 38px; }
  .h2 { font-size: clamp(30px, 9vw, 40px); }
  .bento-card { min-height: auto; padding: 26px 22px; }
  .rotary-ring,
  .pricing-grid,
  .foot-grid { grid-template-columns: 1fr; }
  .rotary-card,
  .pricing-card { min-height: 238px; }
  .pricing-card { min-height: 360px; }
  .chat-example p { max-width: 92%; }
  .safety-card { grid-template-columns: 38px 1fr; padding: 20px 18px; }
  .faq-grid { gap: 34px; }
  .faq-item { padding: 0 19px; }
  .faq-item summary { gap: 14px; font-size: 14px; }
  .cta { padding: 82px 18px 72px; }
  .cta__actions { display: grid; }
  .foot-brand { font-size: clamp(35px, 12.5vw, 52px); letter-spacing: .09em; }
}

@media (max-width: 410px) {
  .nav .kachai-brand__word { display: none; }
  .hero__content { padding-top: 78px; }
  .hero__visual { width: min(330px, 86vw); margin-bottom: 2px; }
  .hero__title,
  .kachai-wordmark.hero__title { font-size: 34px; letter-spacing: .095em; }
  .hero__tag { letter-spacing: .18em; }
  .prompt-strip a { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
  .hero__mark-fallback { transition: none; }
  .hero__title .ai { color: var(--landing-blue-violet); }
}

@media (prefers-contrast: more) {
  :root { --landing-line: rgba(178, 211, 255, .32); }
  .hero__desc,
  .leadtxt,
  .bento-card p,
  .faq-item p { color: #c3d1e5; }
}
