/* VaKAI landing page.
   Scoped under #home and .lp-nav so it does not fight base.html / Tailwind. */

#home, .lp-nav {
  --green: #16A34A;
  --green-bright: #22C55E;
  --green-deep: #15803D;
  --green-tint: #ECFAF0;
  --brand: #0F5C3C;
  --lime: #B8D549;
  --cyan: #1D8AA9;
  --cyan-tint: #E6F3F7;
  --amber: #B45309;
  --amber-2: #FBBF24;
  --amber-tint: #FEF4E6;
  --red: #DC4B3E;
  --forest: #157048;
  --forest-2: #1B8454;
  --forest-3: #229660;
  --ink: #12191F;
  --text: #18181B;
  --muted: #52525B;
  --faint: #71717A;
  --line: #E4E4E7;
  --line-2: #F4F4F5;
  --line-dark: rgba(255,255,255,.10);
  --surface: #FFFFFF;
  --wash: #F2F6F3;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(11,22,32,.04), 0 2px 6px rgba(11,22,32,.04);
  --sh-2: 0 2px 6px rgba(11,22,32,.05), 0 12px 28px rgba(11,22,32,.07);
  --sh-3: 0 10px 24px rgba(0,0,0,.18), 0 40px 80px rgba(0,0,0,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

#home {
  color: var(--text);
  line-height: 1.6;
  background: var(--wash);
  width: 100%;
}

#home .mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}
#home h1, #home h2, #home h3, #home h4, #home h5 {
  margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; color: inherit;
}
#home p { margin: 0; }
#home a { color: inherit; text-decoration: none; }
#home ul, #home ol { margin: 0; padding: 0; list-style: none; }
#home svg { display: block; }

#home .wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

#home .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
#home .eyebrow--lime { color: var(--lime); }
#home .muted { color: var(--faint); }

/* ---------- BUTTONS ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .94rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--sm { padding: 9px 16px; font-size: .875rem; }
.lp-btn--lg { padding: 14px 26px; font-size: 1rem; }
.lp-btn--wide { width: 100%; }
.lp-btn--primary {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(22,163,74,.30);
}
.lp-btn--primary:hover { background: linear-gradient(135deg, #2BD268, #15963F); box-shadow: 0 10px 26px rgba(22,163,74,.40); }
.lp-btn--glass {
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.lp-btn--glass:hover { background: rgba(255,255,255,.14); }
.lp-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

/* ---------- NAV ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,250,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.lp-nav.is-scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: #E4E4E7;
  box-shadow: 0 4px 20px rgba(11,22,32,.05);
}
.lp-nav__in {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.lp-nav__logo { justify-self: start; }
.lp-nav__logo img { height: 46px; width: auto; display: block; }
.lp-nav__links {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.72);
  border: 1px solid #E4E4E7;
  box-shadow: 0 1px 2px rgba(11,22,32,.04), 0 6px 18px rgba(11,22,32,.05);
}
.lp-nav__ind {
  position: absolute; left: 0; top: 4px; bottom: 4px;
  border-radius: var(--r-pill);
  background: #0F5C3C;
  box-shadow: 0 4px 12px rgba(15,92,60,.25);
  opacity: 0;
  transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s;
}
.lp-nav__links a, .lp-nav__menu a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: #3F3F46;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: color .2s, background .15s;
}
.lp-nav__links svg, .lp-nav__menu svg { width: 16px; height: 16px; flex: none; opacity: .75; }
.lp-nav__links a:hover { color: #0F5C3C; }
.lp-nav__links a.is-active { color: #fff; }
.lp-nav__links a.is-active svg { opacity: 1; color: #B8D549; }
.lp-nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.lp-nav__progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #1D8AA9, #22C55E, #B8D549);
  transform-origin: 0 50%; transform: scaleX(0);
}
.lp-btn__arr { width: 15px; height: 15px; margin-left: 6px; transition: transform .2s; }
.lp-btn:hover .lp-btn__arr { transform: translateX(3px); }
.lp-nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lp-nav__signin {
  background: none; border: 0; cursor: pointer;
  padding: 8px 12px; font: inherit; font-size: .92rem; font-weight: 600; color: #18181B;
}
.lp-nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid #E4E4E7; border-radius: 10px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.lp-nav__burger span { width: 18px; height: 2px; background: #18181B; border-radius: 2px; transition: transform .2s, opacity .2s; }
.lp-nav.is-open .lp-nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav.is-open .lp-nav__burger span:nth-child(2) { opacity: 0; }
.lp-nav.is-open .lp-nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.lp-nav__menu {
  padding: 8px 24px 20px;
  border-top: 1px solid #E4E4E7;
  display: flex; flex-direction: column; gap: 2px;
}
.lp-nav__menu[hidden] { display: none; }
.lp-nav__menu-cta { display: flex; gap: 8px; margin-top: 12px; }
.lp-nav__menu-cta .lp-btn { flex: 1; }
.lp-nav__menu a:hover { background: rgba(15,92,60,.06); color: #0F5C3C; }

/* ---------- HERO ---------- */
#home .hero {
  position: relative;
  overflow: hidden;
  background: #2E9D62;
  color: #fff;
  padding: 88px 0 104px;
  isolation: isolate;
}
#home .hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(29,138,169,.22), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(184,213,73,.10), transparent 60%),
    linear-gradient(90deg, rgba(10,58,36,.62) 0%, rgba(10,58,36,.46) 34%, rgba(10,58,36,.14) 50%, transparent 66%),
    linear-gradient(180deg, rgba(46,157,98,.38) 0%, rgba(46,157,98,.58) 70%, #2E9D62 100%),
    var(--hero-img) center 40% / cover no-repeat;
}
#home .hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
#home .hero .wrap { max-width: 1480px; }
#home .hero__in {
  display: grid;
  grid-template-columns: minmax(500px, 520px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
#home .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184,213,73,.35);
  background: rgba(184,213,73,.08);
  color: #E3EFB4;
  font-size: .82rem; font-weight: 600;
}
#home .pill i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(184,213,73,.18);
  animation: lp-pulse 2.4s ease-in-out infinite;
}
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 8px rgba(184,213,73,0); } }
#home .hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
}
#home .hero h1 .g {
  display: block;
  color: #E4F59A;
}
#home .hero__sub {
  margin-top: 22px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: #fff;
}
#home .hero__who { margin-top: 12px; font-size: .92rem; color: rgba(255,255,255,.92); }
#home .hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
#home .hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px;
  font-size: .9rem; color: rgba(255,255,255,.92);
}
#home .hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
#home .hero__trust i {
  font-style: normal; font-size: .7rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(184,213,73,.18); color: #B8D549;
}

/* hero visual */
#home .hero__visual {
  position: relative;
  padding-bottom: 24%;
}

/* ---------- SCREENSHOTS ---------- */
#home .shot {
  display: block; width: 100%; margin: 0; padding: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  font: inherit; text-align: left;
}
#home .shot img { display: block; width: 100%; height: auto; }
#home .shot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: #F4F4F5; border-bottom: 1px solid var(--line);
}
#home .shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D4D4D8; }
#home .shot__bar em { margin-left: 8px; font-style: normal; font-size: .72rem; color: var(--faint); }
#home .shot img { clip-path: inset(0); }
#home .shot--hero {
  position: relative;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 100px rgba(29,138,169,.20), var(--sh-3);
}
#home .hero__a { width: 88%; }
#home .hero__b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  box-shadow: var(--sh-3);
}

/* ---------- SECTIONS ---------- */
#home .sec { padding: 96px 0; }
#home section[id] { scroll-margin-top: 68px; }
#home .sec--light { background: #F7FBF8; }
#home .sec--diagram {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background: #F3F6F0;
  color: var(--text);
}
#home .sec--diagram::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 62%;
  width: min(1280px, 94vw);
  height: 720px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(184,213,73,.34), rgba(184,213,73,.1) 58%, transparent 74%),
    radial-gradient(closest-side, rgba(94,196,224,.16), transparent 70%);
  pointer-events: none;
}
#home .sec--diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21,112,72,.22) 1.15px, transparent 1.15px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 64%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 64%, #000 8%, transparent 70%);
  pointer-events: none;
}
#home .sec--wash { background: var(--wash); }
#home .sec--dark { background: var(--forest); color: #fff; }
#home .sec__hd { max-width: 760px; margin-bottom: 56px; }
#home .sec__hd h2, #home .book h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
}
#home .sec__lede { margin-top: 20px; font-size: 1.1rem; color: var(--muted); max-width: 40rem; }
#home .sec__hd--split {
  max-width: none;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end;
}
#home .sec__hd--split .sec__lede { margin-top: 0; }
#home .sec__hd--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- PLATFORM TOUR ---------- */
#home .sec--diagram .wrap { position: relative; z-index: 1; max-width: 1560px; }
#home .sec--diagram .sec__hd { margin-bottom: 28px; }
#home .sec--diagram .sec__lede { margin-left: auto; margin-right: auto; }
#home .ailoop {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) 128px 340px 128px minmax(0,1.15fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 0; row-gap: 14px;
  align-items: stretch;
}
#home .ailoop__label {
  grid-row: 1; text-align: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint);
}
#home .ailoop__label--in { grid-column: 1; }
#home .ailoop__label--core {
  grid-column: 3;
  text-transform: none;
  letter-spacing: -.03em;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
#home .ailoop__label--core span { color: var(--green); }
#home .ailoop__label--out { grid-column: 5; }
#home .ailoop__col { grid-row: 2; display: flex; flex-direction: column; gap: 36px; }
#home .ailoop__in { grid-column: 1; }
#home .ailoop__out { grid-column: 5; }

#home .lcard {
  position: relative; flex: 1;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
#home .lcard h3 { font-size: 1.12rem; color: var(--text); letter-spacing: -.01em; }
#home .lcard p { margin-top: 4px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
#home .lcard__viz {
  flex: none; width: 132px; height: 58px;
  padding: 6px; box-sizing: content-box;
  border-radius: 10px; background: #F3F6F1;
}
#home .lcard__avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-deep);
}
#home .lcard__avatar svg { width: 20px; height: 20px; }
#home .lcard--report { flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-color: #fff; }
#home .lcard--report h3 { color: var(--text); }
#home .lcard--report p { color: var(--muted); margin-top: 8px; }
#home .lcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#home .lcard__risks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#home .chip, #home .risk {
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
#home .chip--caution { background: #FDE8C8; color: var(--amber); }
#home .risk--low { background: var(--green-tint); color: var(--green-deep); }
#home .risk--med { background: #FDE8C8; color: var(--amber); }
#home .risk--high { background: #FDE2DF; color: #B42318; }
#home .lcard--expert { border-color: rgba(22,163,74,.28); }
#home .ailoop__out .lcard:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 2px; height: 36px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--green) 0 4px, transparent 4px 8px);
  background-size: 2px 16px;
  animation: lp-flow-y 1s linear infinite;
}
@keyframes lp-flow-y { to { background-position: 0 16px; } }

#home .ailoop__wire { grid-row: 2; width: 100%; height: 100%; overflow: visible; }
#home .ailoop__wire--in { grid-column: 2; }
#home .ailoop__wire--out { grid-column: 4; }
#home .wire path, #home .wire-ret {
  fill: none; vector-effect: non-scaling-stroke;
  stroke: rgba(22,163,74,.28); stroke-width: 2;
}
#home .wire--pulse path, #home .wire-ret--pulse {
  stroke: var(--green); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 8 92; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px rgba(22,163,74,.35));
  animation: lp-pulse-path 2.4s linear infinite;
}
#home .wire-ret--pulse { stroke-dasharray: 4 96; animation-duration: 5s; }
@keyframes lp-pulse-path { to { stroke-dashoffset: 0; } }

#home .ailoop__core {
  position: relative;
  grid-column: 3; grid-row: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
#home .core { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
#home .core__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(184,213,73,.45);
  animation: lp-spin 18s linear infinite;
}
#home .core__ring--b {
  inset: 24px; border-style: solid; border-color: rgba(29,138,169,.45);
  border-top-color: var(--lime);
  animation-duration: 3.2s;
}
#home .core__dot {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #5EC4E0, var(--cyan) 55%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(29,138,169,.14), 0 0 60px rgba(29,138,169,.55);
  animation: lp-breathe 2.6s ease-in-out infinite;
}
#home .core__dot svg { width: 52px; height: 52px; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-breathe { 50% { box-shadow: 0 0 0 16px rgba(29,138,169,.08), 0 0 80px rgba(29,138,169,.7); } }
#home .core__meta { position: absolute; left: 0; right: 0; top: calc(50% + 124px); }
#home .ailoop__core::before, #home .ailoop__core::after {
  content: ""; position: absolute; top: 50%; height: 2px; width: calc(50% - 110px);
  background: rgba(22,163,74,.28);
}
#home .ailoop__core::before { left: 0; }
#home .ailoop__core::after { right: 0; }
#home .core__status {
  margin-top: 0; min-height: 2.6em;
  font-size: .8rem; color: var(--green-deep);
  transition: opacity .25s;
}
#home .core__status.is-swap { opacity: 0; }

#home .ailoop__return { grid-column: 1 / -1; grid-row: 3; position: relative; height: 56px; margin-top: 6px; }
#home .ailoop__return svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#home .ailoop__return-label {
  position: absolute; left: 50%; bottom: 2px; transform: translate(-50%, 50%);
  padding: 4px 14px; border-radius: var(--r-pill);
  background: #F3F6F0; border: 1px solid var(--line);
  font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  #home .wire--pulse, #home .wire-ret--pulse { display: none; }
  #home .core__ring, #home .core__dot, #home .ailoop__out .lcard::after { animation: none; }
}

/* ---------- INSIDE THE AI REPORT ---------- */
#home .sec--report {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
  background: #F7FBF8;
}
#home .sec--report::before {
  content: ""; position: absolute; left: 50%; top: 60%;
  width: min(900px, 90vw); height: 640px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94,196,224,.18), rgba(184,213,73,.12) 60%, transparent 75%);
  pointer-events: none;
}
#home .sec--report .wrap { position: relative; z-index: 1; max-width: 1560px; }
#home .sec--report .sec__hd { margin-bottom: 40px; }
#home .sec--report .sec__lede { margin-left: auto; margin-right: auto; }

#home .rmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 440px) 96px minmax(0, 1fr);
  align-items: stretch;
}
#home .rmap__col { display: flex; flex-direction: column; justify-content: space-around; gap: 28px; padding: 24px 0; }
#home .rmap__col--l { grid-column: 1; }
#home .rmap__col--r { grid-column: 5; }
#home .rmap__wire { width: 100%; height: 100%; overflow: visible; }
#home .rmap__wire--l { grid-column: 2; grid-row: 1; }
#home .rmap__wire--r { grid-column: 4; grid-row: 1; }
#home .rnote { flex: none; align-items: flex-start; }
#home .rnote__n, #home .rdoc__n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; font-style: normal;
}
#home .rnote { position: relative; }
#home .rnote::before {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: #fff; border: 2px solid var(--green);
  box-shadow: 0 0 0 4px rgba(22,163,74,.12);
}
#home .rmap__col--l .rnote::before { right: -6px; }
#home .rmap__col--r .rnote::before { left: -6px; }
#home .rnote__q {
  margin: 0 0 2px !important;
  font-size: .7rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan) !important;
}
#home .rdoc { position: relative; animation: lp-hub 2.4s ease-in-out infinite; }
@keyframes lp-hub {
  0%, 100% { box-shadow: var(--sh-2), 0 30px 80px rgba(29,138,169,.12), 0 0 0 0 rgba(22,163,74,.18); }
  50% { box-shadow: var(--sh-2), 0 30px 80px rgba(29,138,169,.16), 0 0 0 10px rgba(22,163,74,0); }
}
@media (prefers-reduced-motion: reduce) { #home .rdoc { animation: none; } }
#home .rmap__tag {
  grid-column: 1 / -1; margin-top: 18px; text-align: center;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}

#home .payoff {
  grid-column: 1 / -1; justify-self: center;
  display: flex; align-items: center; gap: 16px;
  max-width: 820px; margin-top: 40px; padding: 18px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand), #13704A);
  color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.5;
  box-shadow: 0 14px 40px rgba(15,92,60,.22);
}
#home .payoff b { color: #fff; }
#home .payoff__ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(184,213,73,.18); color: var(--lime);
}
#home .payoff__ico svg { width: 24px; height: 24px; }

#home .rdoc {
  grid-column: 3; grid-row: 1; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2), 0 30px 80px rgba(29,138,169,.12);
  overflow: hidden; font-size: .88rem;
}
#home .rdoc__hd {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line-2);
  font-size: .78rem; color: var(--faint); background: #FAFAFA;
}
#home .rdoc__hd b { color: var(--green); }
#home .rdoc__sec { position: relative; padding: 16px 18px 16px 58px; }
#home .rdoc__sec + .rdoc__sec { border-top: 1px dashed var(--line); }
#home .rdoc__n { position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; font-size: .74rem; }
#home .rdoc__verdict { display: flex; align-items: flex-start; gap: 10px; }
#home .rdoc__verdict p { font-weight: 600; line-height: 1.4; color: var(--ink); }
#home .rdoc__yield { display: flex; justify-content: space-between; margin-top: 12px; font-size: .8rem; color: var(--muted); }
#home .rdoc__yield b { color: var(--green-deep); }
#home .rdoc__bar { height: 8px; margin-top: 6px; border-radius: var(--r-pill); background: #E9EEE9; overflow: hidden; }
#home .rdoc__bar i { display: block; width: 91%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--green-bright)); }
#home .rdoc__risks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
#home .rdoc__risks li, #home .rdoc__acts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); }
#home .rdoc__acts { display: flex; flex-direction: column; gap: 8px; }
#home .lvl { flex: none; padding: 2px 8px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 700; }
#home .lvl--low { background: #DCF5E3; color: var(--green-deep); }
#home .lvl--med { background: #FDE8C8; color: var(--amber); }
#home .u { flex: none; padding: 2px 8px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 700; white-space: nowrap; }
#home .u--now { background: #FDE2DF; color: #B42318; }
#home .u--week { background: #FDE8C8; color: var(--amber); }
#home .rdoc__watch { color: var(--ink); }
#home .rdoc__watch b { padding: 1px 6px; border-radius: 6px; background: #E6F3F7; color: var(--cyan); font-size: .78rem; font-weight: 500; }
#home .rdoc__conf { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: .8rem; color: var(--muted); }
#home .dots { display: inline-flex; gap: 4px; }
#home .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--green-bright); }
#home .dots i.off { background: #E4E4E7; }

/* ---------- BOOK ---------- */
#home .book {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(700px 480px at 6% 30%, rgba(184,213,73,.22), transparent 65%),
    radial-gradient(640px 420px at 96% 90%, rgba(94,196,224,.22), transparent 70%),
    linear-gradient(160deg, #0F5C3C 0%, #0A4029 100%);
  color: #fff;
}
#home .book::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.15px, transparent 1.15px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 22% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 22% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
#home .book__in {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}
#home .book h2 { color: #fff; }
#home .book h2 .g { color: #E4F59A; }
#home .book__lede { margin-top: 16px; color: rgba(255,255,255,.78); max-width: 30rem; font-size: 1.05rem; }
#home .book__path { position: relative; margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
#home .book__path::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(184,213,73,.55) 0 4px, transparent 4px 8px);
  background-size: 2px 16px;
  animation: lp-flow-y 1.2s linear infinite;
}
#home .book__path li { position: relative; display: flex; align-items: center; gap: 16px; }
#home .book__ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0B4A31; border: 1px solid rgba(255,255,255,.16); color: var(--lime);
}
#home .book__ico svg { width: 20px; height: 20px; }
#home .book__path b { display: block; font-weight: 600; color: #fff; }
#home .book__path small { display: block; font-size: .85rem; color: rgba(255,255,255,.64); }
#home .book__path .is-goal .book__ico {
  background: radial-gradient(circle at 35% 30%, #5EC4E0, var(--cyan) 60%, var(--brand));
  border-color: transparent; color: #fff;
  box-shadow: 0 0 0 6px rgba(29,138,169,.18), 0 0 30px rgba(29,138,169,.5);
}
#home .book__copy .book__small { margin-top: 28px; font-size: .85rem; color: rgba(255,255,255,.58); }
@media (prefers-reduced-motion: reduce) { #home .book__path::before { animation: none; } }

#home .book-form {
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(380px 160px at 100% 0%, rgba(184,213,73,.22), transparent 70%),
    radial-gradient(280px 140px at 0% 0%, rgba(94,196,224,.16), transparent 72%),
    #fff;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  display: flex; flex-direction: column; gap: 14px;
}
#home .book-form::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #1D8AA9, #22C55E 55%, #B8D549);
}
#home .book-form__hd { padding: 4px 0 6px; }
#home .book-form__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
#home .book-form__sub { margin-top: 2px; font-size: .9rem; color: var(--muted); }
#home .book-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#home .field { display: flex; flex-direction: column; gap: 6px; }
#home .book-form .field label { font-size: .78rem; font-weight: 700; letter-spacing: .01em; color: var(--muted); }
#home .book-form .field label em { font-style: normal; font-weight: 500; color: var(--faint); margin-left: 4px; }
#home .field input, #home .field select, #home .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid #E4E4E7;
  background: #fff;
  font: inherit; font-size: .98rem; color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
  appearance: none; -webkit-appearance: none;
}
#home .field input::placeholder, #home .field textarea::placeholder { color: #A1A1AA; }
#home .field select { padding-right: 36px; }
#home .field textarea { resize: vertical; }
#home .field input:focus, #home .field select:focus, #home .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}
#home .select-wrap { position: relative; }
#home .select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); pointer-events: none;
}
#home .field-error, #home .form-error { font-size: .82rem; color: #B42318; }
#home .form-error { padding: 10px 14px; border-radius: var(--r-md); background: #FEF3F2; border: 1px solid #FECDCA; }
#home .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#home .fnote { text-align: center; font-size: .82rem; color: var(--faint); }

/* ---------- FOOTER ---------- */
#home .lp-footer { position: relative; overflow: hidden; background: #F4F7F4; color: var(--muted); padding: 72px 0 28px; font-size: .92rem; border-top: 1px solid var(--line); }
#home .lp-footer .wrap { max-width: 1320px; }
#home .lp-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
#home .lp-footer__logo { height: 48px; width: auto; margin-bottom: 16px; }
#home .lp-footer__brand p { max-width: 20rem; }
#home .lp-footer__mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  color: var(--brand); font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}
#home .lp-footer__mail svg { width: 16px; height: 16px; }
#home .lp-footer__mail:hover { border-color: var(--green-bright); box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
#home .lp-footer__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
#home .lp-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
#home .lp-footer__col a, #home .lp-footer__col button { transition: color .15s; }
#home .lp-footer__col a:hover, #home .lp-footer__col button:hover { color: var(--brand); }
#home .lp-footer__col button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
#home .lp-footer__bar {
  position: relative;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .84rem;
}
#home .lp-footer__top-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
#home .lp-footer__top-link svg { width: 15px; height: 15px; transition: transform .2s; }
#home .lp-footer__top-link:hover svg { transform: translateY(-2px); }

/* ---------- REVEAL ---------- */
#home .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
#home .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  #home .rv { opacity: 1; transform: none; transition: none; }
  #home .pill i { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .lp-nav__links { display: none; }
  .lp-nav__in { display: flex; }
  .lp-nav__actions { margin-left: auto; }
  .lp-nav__burger { display: inline-flex; }
  #home .hero__in { grid-template-columns: 1fr; gap: 24px; }
  #home .hero__visual { max-width: 680px; margin: 24px 0 0; }
  #home .ailoop { grid-template-columns: 1fr; row-gap: 0; max-width: 520px; margin: 0 auto; }
  #home .ailoop__label { grid-row: auto; grid-column: 1; margin: 18px 0 12px; }
  #home .ailoop__label--in { order: 1; } #home .ailoop__in { order: 2; }
  #home .ailoop__wire--in { order: 3; } #home .ailoop__label--core { order: 4; } #home .ailoop__core { order: 5; }
  #home .ailoop__wire--out { order: 6; } #home .ailoop__label--out { order: 7; } #home .ailoop__out { order: 8; }
  #home .ailoop__return { order: 9; }
  #home .ailoop { display: flex; flex-direction: column; }
  #home .ailoop__wire { width: 2px; height: 48px; margin: 12px auto 0; background: repeating-linear-gradient(to bottom, var(--green) 0 4px, transparent 4px 8px); }
  #home .ailoop__wire g { display: none; }
  #home .ailoop__core::before, #home .ailoop__core::after { display: none; }
  #home .core__meta { position: static; margin-top: 18px; }
  #home .ailoop__return svg { display: none; }
  #home .ailoop__return { height: auto; margin-top: 24px; text-align: center; }
  #home .ailoop__return-label { position: static; transform: none; display: inline-block; }
  #home .shot--hero { transform: none; }
  #home .sec__hd--split, #home .book__in { grid-template-columns: 1fr; gap: 32px; }
  #home .rmap { display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; }
  #home .rmap__wire { display: none; }
  #home .rnote::before { display: none; }
  #home .rdoc { order: 1; }
  #home .rmap__col { padding: 0; margin-top: 16px; gap: 12px; }
  #home .rmap__col--l { order: 2; } #home .rmap__col--r { order: 3; } #home .payoff { order: 4; margin-top: 24px; align-items: flex-start; } #home .rmap__tag { order: 5; }
  #home .lp-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-nav__signin, .lp-nav__actions > .lp-btn { display: none; }
  .lp-nav__logo img { height: 38px; }
  #home .wrap, .lp-nav__in { padding: 0 16px; }
  #home .hero { padding: 48px 0 64px; }
  #home .sec { padding: 72px 0; }
  #home .book { padding: 64px 0; }
  #home .book-form { padding: 22px; }
  #home .lp-footer__bar { flex-direction: column; align-items: flex-start; }
  #home .sec__hd { margin-bottom: 36px; }
  #home .book-form { padding: 22px; }
  #home .book-form__row { grid-template-columns: 1fr; }
  #home .lp-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  #home .lp-footer__brand { grid-column: 1 / -1; }
  #home .rdoc__sec { padding-left: 52px; }
}
