@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/syne-600.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/syne-700.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/syne-800.woff2") format("woff2");
}

:root {
  --primary: #0b57d0;
  --primary-bright: #3c83f6;
  --on-primary: #ffffff;
  --primary-container: rgba(211, 227, 253, 0.78);
  --on-primary-container: #041e49;
  --surface: #f4f7fc;
  --on-surface: #1a1c1e;
  --on-variant: #3e4654;
  --outline: rgba(11, 87, 208, 0.16);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --shape-xl: 28px;
  --shape-lg: 20px;
  --shape-md: 16px;
  --shape-full: 999px;
  --nav-h: 4.25rem;
  --max: 72rem;
  --font-display: "Syne", "Outfit", system-ui, sans-serif;
  --font-headline: "Source Serif 4", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --glow: 0 0 28px rgba(66, 133, 244, 0.55), 0 14px 32px rgba(11, 87, 208, 0.28);
  --glow-soft: 0 0 20px rgba(66, 133, 244, 0.32), 0 10px 26px rgba(11, 87, 208, 0.16);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

#ki-cloud {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: blur(20px) saturate(1.4);
}

.cloud-fallback {
  position: fixed;
  inset: auto;
  top: 8vh;
  right: 8vw;
  z-index: 0;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  pointer-events: none;
  filter: blur(8px);
}

.cloud-fallback span {
  position: absolute;
  border-radius: 50%;
}

.cloud-fallback span:nth-child(1) {
  inset: 10% 8% 18% 12%;
  background: radial-gradient(circle, rgba(52, 126, 255, 0.75), transparent 68%);
}

.cloud-fallback span:nth-child(2) {
  inset: 28% 0 10% 30%;
  background: radial-gradient(circle, rgba(150, 200, 255, 0.8), transparent 70%);
}

.cloud-fallback span:nth-child(3) {
  inset: 20% 22% 30% 0;
  background: radial-gradient(circle, rgba(120, 110, 255, 0.4), transparent 70%);
}

.has-cloud .cloud-fallback {
  display: none;
}

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

.chrome {
  position: sticky;
  top: 0;
  z-index: 30;
}

.top-app-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.6rem 1.25rem;
  background: rgba(244, 247, 252, 0.58);
  backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid transparent;
}

.chrome.is-scrolled .top-app-bar {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: var(--outline);
  box-shadow: var(--glow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--on-primary);
  background: linear-gradient(180deg, #5b9bff 0%, var(--primary) 100%);
  box-shadow: var(--glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--on-variant);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--shape-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-variant);
}

.nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 0.08;
}

.nav a[aria-current="page"] {
  color: var(--on-primary-container);
  background: var(--primary-container);
  box-shadow: var(--glow-soft);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--on-surface);
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle::before {
  top: 0.85rem;
}

.nav-toggle::after {
  bottom: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--shape-full);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-filled {
  color: var(--on-primary);
  background: linear-gradient(180deg, #4b90f8 0%, var(--primary) 100%);
  box-shadow: var(--glow);
}

.btn-filled:hover {
  box-shadow: 0 0 36px rgba(66, 133, 244, 0.72), 0 16px 34px rgba(11, 87, 208, 0.38);
}

.btn-tonal {
  color: var(--on-primary-container);
  background: var(--primary-container);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(12px);
}

.btn-tonal:hover {
  box-shadow: var(--glow);
}

.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(60, 131, 246, 0.85);
  outline-offset: 3px;
}

section[id],
.cta {
  scroll-margin-top: 7rem;
}

.hero {
  padding: 1.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem 0.35rem 0.45rem;
  border-radius: var(--shape-full);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--glow-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-primary-container);
}

.eyebrow i {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 12px rgba(60, 131, 246, 0.95);
}

h1,
h2,
.h-display {
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.65rem);
  max-width: 13em;
  line-height: 1.08;
}

.hero-copy h1,
.hero-copy .lead {
  text-shadow:
    0 0 18px rgba(244, 247, 252, 0.95),
    0 0 6px rgba(255, 255, 255, 0.9);
}

.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: #243044;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stats li {
  padding: 0.9rem 1rem;
  border-radius: var(--shape-lg);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(16px);
}

.stats strong {
  display: block;
  font-size: 0.95rem;
}

.stats span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--on-variant);
}

.stage {
  position: relative;
  width: min(100%, 420px);
  margin-left: auto;
}

.portrait {
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 24px 50px rgba(11, 87, 208, 0.24),
    0 0 64px rgba(66, 133, 244, 0.48);
}

.portrait video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chip {
  position: absolute;
  padding: 0.45rem 0.8rem;
  border-radius: var(--shape-full);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--glow);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-primary-container);
  white-space: nowrap;
}

.chip-a { top: 6%; left: 4%; }
.chip-b { top: 42%; right: 0; }
.chip-c { bottom: 18%; left: 2%; }

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-head p {
  margin-top: 0.8rem;
  color: #243044;
  font-size: 1.05rem;
}

.kicker {
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow: 0 0 16px rgba(66, 133, 244, 0.45);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: var(--shape-xl);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(11, 87, 208, 0.08), 0 0 18px rgba(66, 133, 244, 0.12);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.icon-bubble {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(211, 227, 253, 0.85);
  box-shadow: var(--glow-soft);
}

.icon-bubble svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--on-variant);
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.split article {
  padding: 1.6rem;
  border-radius: var(--shape-xl);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
}

.split article:last-child {
  background: linear-gradient(180deg, rgba(232, 240, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: var(--glow);
}

.split h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.split li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-top: 1px solid rgba(11, 87, 208, 0.08);
}

.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 10px rgba(60, 131, 246, 0.9);
}

.chat {
  margin-bottom: 1.25rem;
  padding: 1.2rem;
  border-radius: var(--shape-xl);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(18px);
}

.chat-label {
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.bubble {
  max-width: 42rem;
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
}

.bubble span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bubble-you {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(11, 87, 208, 0.08);
}

.bubble-ki {
  background: linear-gradient(180deg, rgba(219, 232, 255, 0.95), rgba(236, 244, 255, 0.9));
  box-shadow: var(--glow-soft);
}

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.person {
  overflow: hidden;
  border-radius: var(--shape-xl);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--glow-soft);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.person:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 32px rgba(66, 133, 244, 0.62), 0 16px 36px rgba(11, 87, 208, 0.28);
}

.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.45s var(--ease);
}

.person:hover img {
  transform: scale(1.035);
}

.person div {
  padding: 1.1rem 1.15rem 1.25rem;
}

.person h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.role {
  color: var(--primary);
  font-weight: 650;
  font-size: 0.92rem;
  text-shadow: 0 0 14px rgba(66, 133, 244, 0.35);
}

.person p:last-child {
  margin-top: 0.45rem;
  color: var(--on-variant);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 0.95rem 1.15rem;
  border-radius: var(--shape-lg);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--glow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq details p {
  margin-top: 0.6rem;
  color: var(--on-variant);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 1.2rem 1.1rem 1.3rem;
  border-radius: var(--shape-xl);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow-soft);
}

.step strong {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  color: var(--on-primary);
  background: linear-gradient(180deg, #5b9bff, var(--primary));
  box-shadow: var(--glow);
  font-family: var(--font-display);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--on-variant);
  font-size: 0.92rem;
}

.cta {
  padding: 1rem 0 5rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
  padding: 2rem;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(232, 241, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--glow);
  backdrop-filter: blur(20px);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.cta-panel p {
  margin-top: 0.8rem;
  max-width: 38rem;
  color: #243044;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}

.fine {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--on-variant);
}

.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid h2,
.footer-grid h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.footer-grid a {
  display: block;
  padding: 0.15rem 0;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 87, 208, 0.1);
  color: var(--on-variant);
  font-size: 0.85rem;
}

.page-hero {
  padding: 3.5rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: none;
}

.legal {
  padding-bottom: 4rem;
}

.legal-card {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
  border-radius: var(--shape-xl);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--glow-soft);
}

.legal-card h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.legal-card p + p,
.legal-card ul {
  margin-top: 0.55rem;
}

.legal-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-card li {
  margin-left: 1.1rem;
  list-style: disc;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% - 0.4rem);
    left: 0.8rem;
    right: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border-radius: var(--shape-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--glow);
  }

  .nav.is-open {
    display: flex;
  }

  .chrome {
    position: sticky;
  }

  .top-app-bar {
    position: relative;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .card-grid,
  .people,
  .steps,
  .split,
  .cta-panel,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stage {
    margin: 0.5rem auto 0;
  }

  .float-chips {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
  }

  .chip,
  .chip-a,
  .chip-b,
  .chip-c {
    position: static;
  }

  h1 {
    max-width: 14ch;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .chip,
  .person,
  .person img {
    transition: none;
  }

  .chip {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .chip-a { animation: floaty 5.5s var(--ease) infinite; }
  .chip-b { animation: floaty 6.4s var(--ease) infinite 0.4s; }
  .chip-c { animation: floaty 5.8s var(--ease) infinite 0.8s; }

  .portrait {
    animation: rise 7s var(--ease) infinite;
  }
}

@keyframes floaty {
  0%,
  100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes rise {
  0%,
  100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
