:root {
  color-scheme: light;
  --kw-text: #0d2a5d;
  --kw-muted: #315985;
  --kw-soft: rgba(238, 248, 255, .62);
  --kw-card: rgba(238, 248, 255, .76);
  --kw-line: rgba(190, 228, 255, .82);
  --kw-blue: #1478f6;
  --kw-primary: #1478f6;
  --kw-primary-soft: #58b7ff;
  --kw-shadow: 0 24px 70px rgba(0, 24, 70, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--kw-text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(4, 20, 52, .92), rgba(7, 54, 116, .46) 38%, rgba(210, 241, 255, .32)),
    url("/agent-ui/assets/cloud-status-bg-soft-rays.png") center bottom / cover fixed no-repeat;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.kw-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.kw-topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  margin: 12px auto 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 14px;
  background: rgba(7, 34, 77, .74);
  color: #f2fbff;
  box-shadow: var(--kw-shadow), inset 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}
.kw-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
}
.kw-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 13px;
  background: rgba(225, 243, 255, .72);
  border: 1px solid rgba(178, 224, 255, .88);
  box-shadow: 0 12px 24px rgba(0, 24, 70, .20);
}
.kw-brand span { display: grid; gap: 1px; }
.kw-brand b { font-size: 17px; line-height: 1; }
.kw-brand small { color: rgba(234, 247, 255, .74); font-size: 11px; font-weight: 800; }
.kw-links { display: flex; align-items: center; gap: 18px; margin-left: auto; color: rgba(235, 248, 255, .82); font-size: 13px; font-weight: 820; }
.kw-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.kw-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(190, 228, 255, .80);
  border-radius: 999px;
  background: rgba(225, 243, 255, .72);
  color: var(--kw-text);
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255, 255, 255, .64);
}
.kw-button.primary {
  border-color: var(--kw-primary);
  background: linear-gradient(145deg, var(--kw-primary), var(--kw-primary-soft));
  color: white;
  box-shadow: 0 14px 30px rgba(20, 120, 246, .24), inset 0 1px rgba(255, 255, 255, .34);
}
.kw-button.icon-only {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 14px;
}
.kw-button svg, .kw-step svg { width: 17px; height: 17px; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.kw-feature svg { width: 31px; height: 31px; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }

.kw-hero {
  min-height: clamp(560px, calc(100vh - 156px), 720px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .74fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0 32px;
}
.kw-eyebrow {
  color: rgba(228, 247, 255, .82);
  font-size: 12px;
  font-weight: 930;
  text-transform: uppercase;
}
.kw-hero h1 {
  margin: 12px 0 14px;
  color: #f7fbff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
  text-shadow: 0 3px 20px rgba(3, 18, 44, .38);
}
.kw-lead {
  max-width: 610px;
  margin: 0;
  color: rgba(236, 248, 255, .86);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.55;
}
.kw-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.kw-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.kw-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(190, 228, 255, .58);
  border-radius: 999px;
  background: rgba(7, 34, 77, .42);
  color: rgba(241, 250, 255, .88);
  font-size: 12px;
  font-weight: 880;
}
.kw-visual, .kw-panel, .kw-card {
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 16px;
  background: var(--kw-soft);
  box-shadow: var(--kw-shadow), inset 0 1px rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
}
.kw-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.kw-visual img {
  width: min(100%, 420px);
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 24, 70, .24));
}
.kw-hero-visual img {
  width: min(100%, 520px);
  max-height: 430px;
  border-radius: 14px;
}
.kw-shot-slider {
  align-content: stretch;
  gap: 12px;
  padding: 14px;
}
.kw-shot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 14px;
  background: rgba(7, 34, 77, .36);
  overflow: hidden;
}
.kw-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .28s ease, transform .28s ease;
  filter: none;
}
.kw-shot.active {
  opacity: 1;
  transform: scale(1);
}
.kw-shot-caption {
  width: 100%;
  min-height: 112px;
  padding: 14px 15px;
  border: 1px solid rgba(190, 228, 255, .56);
  border-radius: 14px;
  background: rgba(225, 243, 255, .76);
  box-shadow: inset 0 1px rgba(255, 255, 255, .65);
}
.kw-shot-count {
  display: block;
  margin-bottom: 5px;
  color: #1478f6;
  font-size: 11px;
  font-weight: 950;
}
.kw-shot-caption h2 { margin: 0 0 5px; color: #10295b; font-size: 20px; line-height: 1.1; }
.kw-shot-caption p { margin: 0; color: var(--kw-muted); font-size: 13px; font-weight: 760; line-height: 1.35; }
.kw-shot-controls {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.kw-shot-nav {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(190, 228, 255, .74);
  border-radius: 999px;
  background: rgba(225, 243, 255, .76);
  color: #0d2a5d;
  font-weight: 900;
  cursor: pointer;
}
.kw-shot-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.kw-shot-dot {
  width: 24px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 34, 77, .24);
  cursor: pointer;
}
.kw-shot-dot.active { background: linear-gradient(145deg, #1478f6, #58b7ff); }
.kw-panel { padding: 22px; margin: 24px 0; }
.kw-image-band {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 16px;
  background: rgba(7, 34, 77, .58);
  box-shadow: var(--kw-shadow), inset 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
}
.kw-image-band .kw-section-head h2 { color: #f7fbff; }
.kw-image-band .kw-section-head p { color: rgba(236, 248, 255, .84); }
.kw-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.kw-section-head h2 {
  margin: 0;
  color: #0d2a5d;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.02;
}
.kw-section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--kw-muted);
  font-weight: 760;
  line-height: 1.45;
}
.kw-features, .kw-steps, .kw-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.kw-feature, .kw-step, .kw-card {
  min-height: 98px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 13px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: var(--kw-card);
}
.kw-card { display: block; min-height: 128px; }
.kw-feature i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 228, 255, .94);
  border-radius: 16px;
  color: #0a73f7;
  background:
    linear-gradient(145deg, rgba(239, 250, 255, .96), rgba(156, 221, 255, .82)),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .92), transparent 42%);
  box-shadow: 0 14px 26px rgba(20, 120, 246, .15), inset 0 1px rgba(255, 255, 255, .82);
}
.kw-step i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--kw-blue);
  background: linear-gradient(145deg, #e2f5ff, #a6ddff);
  box-shadow: inset 0 1px rgba(255, 255, 255, .70);
}
.kw-feature h3, .kw-step h3, .kw-card h3 { margin: 0 0 5px; color: #10295b; font-size: 14px; line-height: 1.16; }
.kw-feature h3 { margin-top: 3px; font-size: 15px; }
.kw-feature p, .kw-step p, .kw-card p { margin: 0; color: var(--kw-muted); font-size: 12px; font-weight: 760; line-height: 1.35; }
.kw-feature p { font-size: 12.5px; }
.kw-step { grid-template-columns: 34px 1fr; }
.kw-step i { width: 34px; height: 34px; font-style: normal; font-weight: 950; }
.kw-media-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
}
.kw-media-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kw-media-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 14px;
  background: rgba(238, 248, 255, .76);
  box-shadow: inset 0 1px rgba(255, 255, 255, .70);
  overflow: hidden;
}
.kw-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(225, 243, 255, .72);
}
.kw-media-card h3 { margin: 2px 0 0; color: #10295b; font-size: 16px; }
.kw-media-card p { margin: 0; color: var(--kw-muted); font-size: 13px; font-weight: 760; line-height: 1.35; }
.kw-media-card.wide img { aspect-ratio: 16 / 8.2; }
.kw-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 56px;
  padding: 20px;
}
.kw-footer-cta h2 { margin: 0 0 5px; color: #0d2a5d; }
.kw-footer-cta p { margin: 0; color: var(--kw-muted); font-weight: 760; }
.kw-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 10px 0 22px;
  color: rgba(235, 248, 255, .82);
  font-size: 13px;
  font-weight: 850;
}
.kw-footer img { width: 34px; height: 34px; object-fit: contain; }
.kw-footer span { margin-right: auto; color: #f7fbff; font-weight: 950; }

@media (max-width: 860px) {
  .kw-topbar { position: relative; top: 0; }
  .kw-links { display: none; }
  .kw-hero, .kw-section-head, .kw-footer-cta { grid-template-columns: 1fr; display: grid; }
  .kw-visual { min-height: 280px; order: -1; }
  .kw-features, .kw-steps, .kw-card-grid { grid-template-columns: 1fr 1fr; }
  .kw-media-grid, .kw-media-grid.compact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kw-shell { width: calc(100% - 22px); }
  .kw-topbar { gap: 10px; }
  .kw-actions .kw-button:not(.primary) { display: none; }
  .kw-brand small { display: none; }
  .kw-hero { min-height: auto; padding-top: 12px; }
  .kw-hero h1 { font-size: 42px; }
  .kw-lead { font-size: 16px; }
  .kw-hero-actions .kw-button, .kw-footer-cta .kw-button { width: 100%; }
  .kw-features, .kw-steps, .kw-card-grid { grid-template-columns: 1fr; }
  .kw-shot-controls { grid-template-columns: 1fr 1fr; }
  .kw-shot-dots { grid-column: 1 / -1; order: -1; }
  .kw-media-card { min-height: 0; }
  .kw-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
