/* Klaride — klaride.com
   Palette from the logo: blue #0909CE, mint #0BFFB2, teal #0BC2B9. */

:root {
  --blue: #0909ce;
  --blue-hover: #2a2ae6;
  --blue-bright: #5a5aff;
  --mint: #0bffb2;
  --teal: #0bc2b9;

  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --line: #d2d2d7;

  --night: #000000;
  --night-2: #101014;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --night-line: rgba(255, 255, 255, 0.14);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1080px;
  --gutter: max(20px, env(safe-area-inset-left));
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 52px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.eyebrow {
  margin-bottom: 14px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.eyebrow--dark { color: var(--mint); }

.display {
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.016em;
  color: var(--ink-2);
}

.grad {
  background: linear-gradient(100deg, var(--blue) 10%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons and links ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}
.actions--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--light { background: #fff; color: var(--ink); font-size: 19px; min-height: 56px; padding: 14px 32px; }
.btn--light:hover { background: #e8e8ed; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 17px;
}
.link-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(1px);
  transition: transform 0.25s var(--ease);
}
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
a:hover > .link-more::after,
.link-more:hover::after { transform: translateX(3px) rotate(45deg) translateY(1px); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.nav__brand img { width: 26px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}
.nav__links a {
  color: rgba(29, 29, 31, 0.8);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--blue); font-weight: 500; }

.nav__cta {
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.nav__cta:hover { background: var(--blue-hover); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav { animation: menu-in 0.45s var(--ease) both; }
.menu a {
  padding: 12px 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  border-bottom: 1px solid #ececf0;
}
.menu .menu__sub {
  padding: 8px 0 8px 2px;
  font-size: 19px;
  font-weight: 500;
  border-bottom: 0;
}
.menu .menu__sub:nth-of-type(4) { padding-bottom: 14px; border-bottom: 1px solid #ececf0; }
.menu__label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.menu .menu__cta { color: var(--blue); border-bottom: 0; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* Desktop flyout under "AI Solutions" */
.nav__group { display: flex; align-items: center; height: var(--nav-h); }
.flyout {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav__group:hover .flyout,
.nav__group:focus-within .flyout {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}
.flyout__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 28px var(--gutter) 34px;
}
.flyout__label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.flyout__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px -14px 0;
}
.nav__links .flyout__grid a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  transition: background-color 0.2s;
}
.nav__links .flyout__grid a:hover { background: var(--mist); }
.flyout__grid strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.flyout__grid span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.nav__links .flyout__all { margin-top: 14px; font-size: 14px; color: var(--blue); }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px);
  text-align: center;
  overflow: hidden;
}
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-size: clamp(48px, 8.4vw, 104px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero__lede {
  max-width: 660px;
  margin-top: 26px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.36;
  letter-spacing: -0.018em;
  color: var(--ink-2);
}
.hero .actions { justify-content: center; }

/* Demo window with the AI glow */
@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.demo {
  position: relative;
  max-width: 780px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  text-align: left;
  isolation: isolate;
}
.demo::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 27px;
  background: conic-gradient(from var(--spin), var(--blue), var(--mint), var(--blue-bright), var(--teal), var(--blue));
  filter: blur(26px);
  opacity: 0.5;
  animation: spin 10s linear infinite;
}
.demo::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: 25.5px;
  background: conic-gradient(from var(--spin), var(--blue), var(--mint), var(--blue-bright), var(--teal), var(--blue));
  animation: spin 10s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }

.demo__bar,
.demo__body,
.demo__foot { background: #fff; }
.demo__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid #ececf0;
  font-size: 13px;
}
.demo__dots { display: flex; gap: 7px; }
.demo__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e8; }
.demo__title { font-weight: 600; color: var(--ink); }
.demo__badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 980px;
  background: #e5fbf3;
  color: #04694c;
  font-weight: 500;
  white-space: nowrap;
}
.demo__badge svg { width: 12px; height: 12px; }

.demo__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 36px) 24px;
}
.msg { max-width: 82%; font-size: 17px; line-height: 1.45; }
.msg--you {
  align-self: flex-end;
  padding: 11px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--blue);
  color: #fff;
}
.msg--ai { align-self: flex-start; }
.msg__text {
  padding: 13px 17px;
  border-radius: 20px 20px 20px 6px;
  background: var(--mist);
  color: var(--ink);
}
.msg__text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--blue);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.msg__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 11px;
  border: 1px solid #e3e3e8;
  border-radius: 980px;
  font-size: 13px;
  color: var(--ink-2);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.msg__source svg { width: 13px; height: 13px; }
.msg__source.is-waiting { opacity: 0; transform: translateY(6px); }

.demo__foot {
  padding: 14px 20px 18px;
  border-radius: 0 0 24px 24px;
  border-top: 1px solid #ececf0;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- Lines of business ---------- */

.lines { padding-bottom: clamp(72px, 9vw, 120px); }
.lines__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--mist);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.line:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.line__kicker { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.line strong {
  flex: 1;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.022em;
}
.line .link-more { margin-top: 6px; font-size: 15px; }

/* ---------- Dark sections ---------- */

.dark { background: var(--night); color: var(--night-ink); }
.dark .lede { color: var(--night-ink-2); }

/* ---------- Private AI ---------- */

.private { padding: var(--section-y) 0; overflow: hidden; }
.private .display,
.split .display { font-size: clamp(40px, 5.2vw, 64px); }

.private__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.chip { justify-self: center; width: min(440px, 100%); }
.chip__svg { width: 100%; height: auto; overflow: visible; }
.chip__label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  fill: #8a8a95;
}
.chip__big {
  font-family: var(--font);
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.chip__traces path {
  stroke-dasharray: 14 10;
  animation: flow 2.8s linear infinite;
  opacity: 0.85;
}
@keyframes flow { to { stroke-dashoffset: -48; } }
.chip__glow { animation: breathe 5s ease-in-out infinite; transform-origin: center; }
@keyframes breathe { 50% { opacity: 0.6; } }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(56px, 7vw, 96px);
}
.fact { padding-top: 22px; border-top: 1px solid var(--night-line); }
.fact h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.fact p { margin-top: 8px; font-size: 16px; color: var(--night-ink-2); }

/* ---------- Generic sections ---------- */

.section { padding: var(--section-y) 0; }
.mist { background: var(--mist); }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section__head--center .lede { margin-inline: auto; }

/* ---------- AI services bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 36px;
  border-radius: var(--radius);
  background: var(--paper);
}
.tile--wide { grid-column: span 2; }
.tile h3 {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.025em;
}
.tile p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.tile__icon { width: 40px; height: 40px; color: var(--blue); }
.tile__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile--feature {
  position: relative;
  justify-content: flex-end;
  min-height: 340px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(11, 255, 178, 0.22), transparent 55%),
    radial-gradient(90% 80% at 75% 10%, rgba(90, 90, 255, 0.35), transparent 60%),
    #050508;
  color: var(--night-ink);
}
.tile--feature .tile__icon { color: var(--mint); }
.tile--feature h3 { font-size: clamp(28px, 3vw, 36px); }
.tile--feature p { max-width: 560px; color: var(--night-ink-2); font-size: 18px; }

/* ---------- Websites ---------- */

.devices {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-right: 90px;
}
.laptop__screen {
  aspect-ratio: 16 / 10;
  padding: 14px;
  border-radius: 20px 20px 0 0;
  background: #1d1d1f;
  box-shadow: inset 0 0 0 1px #3a3a3e;
}
.laptop__base {
  height: 16px;
  margin: 0 -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#d9d9de, #b9b9c0);
}
.laptop__base::after {
  content: "";
  display: block;
  width: 16%;
  height: 6px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #a7a7ae;
}
.phone {
  position: absolute;
  right: 0;
  bottom: -18px;
  width: clamp(110px, 21%, 180px);
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 30px;
  background: #1d1d1f;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), inset 0 0 0 1px #3a3a3e;
}
.phone__screen { height: 100%; border-radius: 24px; overflow: hidden; }

.site {
  display: flex;
  flex-direction: column;
  gap: 6%;
  height: 100%;
  padding: 3.2% 4%;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.site i, .site b { display: block; border-radius: 6px; background: #ececf1; }
.site__nav { display: flex; align-items: center; gap: 3%; }
.site__nav i { width: 8%; height: 8px; }
.site__nav .site__logo { width: 22px; height: 22px; margin-right: auto; border-radius: 6px; background: var(--blue); }
.site__nav b { width: 12%; height: 18px; border-radius: 980px; background: var(--ink); }
.site__hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 7% 7%;
  border-radius: 10px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(11, 255, 178, 0.35), transparent 60%),
    radial-gradient(70% 100% at 80% 100%, rgba(90, 90, 255, 0.28), transparent 60%),
    #f4f6ff;
}
.site__hero .site__h1 { width: 62%; height: 18px; background: #1d1d1f; }
.site__hero .site__h1--short { width: 40%; }
.site__hero .site__p { width: 54%; height: 8px; background: #c9cad6; }
.site__hero .site__p--short { width: 38%; }
.site__hero .site__btn { width: 18%; height: 22px; margin-top: 6px; border-radius: 980px; background: var(--blue); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.site__cards i { border-radius: 10px; background: #f1f1f5; }

.site--phone { padding: 18% 8% 8%; gap: 5%; border-radius: 0; }
.site--phone .site__nav .site__logo { width: 16px; height: 16px; border-radius: 5px; }
.site--phone .site__nav b { width: 18px; height: 10px; border-radius: 3px; background: #c9cad6; }
.site--phone .site__hero { padding: 14% 10%; gap: 7px; }
.site--phone .site__h1 { width: 86%; height: 12px; }
.site--phone .site__h1--short { width: 60%; }
.site--phone .site__p { width: 90%; height: 6px; }
.site--phone .site__btn { width: 50%; height: 16px; }
.site--phone .site__cards { grid-template-columns: 1fr; }

.checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(72px, 8vw, 104px);
}
.checks li {
  position: relative;
  padding-top: 44px;
  font-size: 16px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.checks li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.checks strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Split layout (security, crypto) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.split--reverse .split__copy { order: 2; }

.list { display: grid; gap: 14px; margin-top: 34px; }
.list li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
}
.list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.list--dark li { color: var(--night-ink); }
.list--dark li::before { background: var(--mint); box-shadow: 0 0 12px rgba(11, 255, 178, 0.6); }

/* Security report card */
.report {
  padding: 30px 30px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.report__head { display: flex; flex-direction: column; gap: 2px; }
.report__kicker { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.report__head strong { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.report__sub { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

.sevbar { display: flex; gap: 4px; margin-top: 10px; }
.sevbar i { flex: 1; height: 8px; border-radius: 4px; }
.sevbar--high { background: #ff453a; }
.sevbar--med { background: #ff9f0a; }
.sevbar--low { background: #9aa6c4; }

.findings { margin-top: 22px; }
.findings li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #ececf0;
  font-size: 16px;
  line-height: 1.35;
}
.sev {
  flex: none;
  width: 66px;
  padding: 3px 0;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.sev--high { background: #ffe8e6; color: #b3170d; }
.sev--med { background: #fff1d9; color: #8a4b00; }
.sev--low { background: #ebeff8; color: #3b4a6b; }
.report__foot {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #ececf0;
  font-size: 13px;
  color: var(--ink-2);
}

/* Crypto chain */
.crypto {
  background:
    radial-gradient(60% 60% at 15% 50%, rgba(90, 90, 255, 0.18), transparent 70%),
    var(--night);
}
.chain {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(420px, 100%);
  justify-self: center;
}
.block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 20px 22px;
  border: 1px solid var(--night-line);
  border-radius: 20px;
  background: var(--night-2);
}
.block + .block::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: linear-gradient(var(--blue-bright), var(--mint));
}
.block__n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-ink-2);
}
.block__hash {
  grid-row: span 2;
  align-self: center;
  font-family: var(--mono);
  font-size: 13px;
  color: #7dffd6;
}
.block__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 500;
}
.block--live {
  border-color: rgba(11, 255, 178, 0.55);
  box-shadow: 0 0 0 1px rgba(11, 255, 178, 0.2), 0 20px 50px rgba(11, 255, 178, 0.12);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(11, 255, 178, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(11, 255, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 255, 178, 0); }
}

/* ---------- Approach ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}
.steps li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.steps__n {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.steps h3 {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.steps p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Think Klear ---------- */

.klear { text-align: center; }
.klear__title {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.05em;
}
.klear .k { color: var(--blue); }
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(56px, 7vw, 96px);
  text-align: left;
}
.principles h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.principles p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* ---------- Contact ---------- */

.contact {
  padding: var(--section-y) 0;
  background:
    radial-gradient(70% 60% at 50% 110%, rgba(11, 255, 178, 0.22), transparent 70%),
    radial-gradient(60% 50% at 50% 120%, rgba(90, 90, 255, 0.35), transparent 70%),
    var(--night);
  text-align: center;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .lede { margin-inline: auto; }
.contact__place { margin-top: 28px; font-size: 15px; color: var(--night-ink-2); }

/* ---------- Footer ---------- */

.footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--mist);
  font-size: 12px;
  color: var(--ink-2);
}
.footer { padding-top: 40px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 28px 40px;
}
.footer__cols div { display: flex; flex-direction: column; gap: 9px; }
.footer__head { font-size: 12px; font-weight: 600; color: var(--ink); }
.footer__cols a { width: fit-content; }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.footer__brand img { width: 22px; height: auto; }

/* ---------- Solution pages ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sol-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  text-align: center;
  overflow: hidden;
}
.sol-hero__text { display: flex; flex-direction: column; align-items: center; }
.sol-hero__title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.sol-hero .actions { justify-content: center; }

/* Flow diagram */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: clamp(56px, 7vw, 80px);
  text-align: left;
  counter-reset: none;
}
.flow--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 22px;
  border-radius: 20px;
  background: var(--mist);
}
.flow__node + .flow__node::before {
  content: "";
  position: absolute;
  top: 38px;
  left: -16px;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.flow__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
}
.flow__icon svg,
.boundary__out svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow__node strong { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.flow__node span:last-child { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.flow__node--out {
  background:
    linear-gradient(var(--mist), var(--mist)) padding-box,
    linear-gradient(135deg, var(--blue), var(--teal)) border-box;
  border: 2px solid transparent;
}
.flow__node--out .flow__icon { background: var(--blue); color: #fff; }
.flow__node--human { background: #e5fbf3; }
.flow__node--human .flow__icon { color: #04694c; }

/* MCP hub diagram */
.hub {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-top: clamp(56px, 7vw, 80px);
  text-align: left;
}
.hub__side { display: grid; gap: 12px; }
.hub__side li {
  position: relative;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--mist);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hub__side li::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0.6;
}
.hub__side--left li::after { left: 100%; }
.hub__side--right li::after { right: 100%; transform: scaleX(-1); }
.hub__core {
  position: relative;
  padding: 30px 28px;
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(11, 255, 178, 0.22), transparent 55%),
    radial-gradient(90% 80% at 75% 10%, rgba(90, 90, 255, 0.35), transparent 60%),
    #050508;
  color: var(--night-ink);
  box-shadow: 0 30px 60px rgba(9, 9, 206, 0.18);
}
.hub__kicker { font-size: 13px; font-weight: 600; color: var(--mint); }
.hub__core strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.hub__core ul { display: grid; gap: 8px; margin-top: 18px; }
.hub__core li { position: relative; padding-left: 20px; font-size: 15px; color: var(--night-ink-2); }
.hub__core li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

/* Network boundary (open-source LLM) */
.boundary {
  position: relative;
  margin-top: clamp(56px, 7vw, 80px);
  padding: 44px 24px 24px;
  border: 2px dashed #c7c9d9;
  border-radius: 28px;
  text-align: left;
}
.boundary__label {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.boundary__out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.boundary__out svg { width: 16px; height: 16px; color: #b3170d; }

/* Points, cards, how-to */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.points--4 { grid-template-columns: repeat(4, 1fr); }
.point { padding-top: 22px; border-top: 1px solid var(--line); }
.point h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.point p { margin-top: 8px; color: var(--ink-2); }
.point .link-more { margin-top: 12px; font-size: 15px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--mist);
}
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.022em; }
.card p { margin-top: 8px; color: var(--ink-2); }
.card .card__q {
  margin-top: auto;
  padding-top: 18px;
  font-size: 15px;
  font-style: italic;
  color: var(--blue);
}

.howto {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.howto__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.howto__head .display { font-size: clamp(36px, 4.4vw, 56px); }
.howto__steps { counter-reset: howto; display: grid; gap: 4px; }
.howto__steps li {
  counter-increment: howto;
  position: relative;
  padding: 26px 0 26px 64px;
  border-top: 1px solid var(--line);
}
.howto__steps li:first-child { border-top: 0; padding-top: 6px; }
.howto__steps li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.howto__steps li:first-child::before { top: 4px; }
.howto__steps h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.022em; }
.howto__steps p { margin-top: 6px; color: var(--ink-2); }

.checks--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 0; }

/* Comparison tables */
.compare {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.mist .compare { background: var(--paper); }
.section:not(.mist) .compare { background: var(--mist); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th,
.compare td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.compare thead th {
  border-top: 0;
  padding-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.compare tbody th { width: 26%; font-weight: 600; color: var(--ink); }
.compare tbody th span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.compare td { color: var(--ink-2); }
.compare tbody td:nth-child(2) { color: var(--ink); }
.compare--sizing tbody td:nth-child(2) { color: var(--ink-2); }
.note { max-width: 760px; margin-top: 20px; font-size: 14px; color: var(--ink-2); }

/* Technology chips */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.stack__group h3 { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.stack__group ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stack__group li {
  padding: 7px 14px;
  border-radius: 980px;
  background: var(--paper);
  border: 1px solid #e3e3e8;
  font-size: 14px;
  font-weight: 500;
}
.section:not(.mist) .stack__group li { background: var(--mist); border-color: transparent; }

/* Engagement */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--mist);
}
.stage__n { font-size: 13px; font-weight: 600; color: var(--blue); }
.stage h3 { margin-top: 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.stage p { margin-top: 10px; color: var(--ink-2); }
.stage .stage__out {
  margin-top: auto;
  padding-top: 18px;
  font-size: 15px;
  color: var(--ink);
}
.stage__out strong { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }

.terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.terms__col { padding-top: 22px; border-top: 1px solid var(--line); }
.terms__col h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.terms__col ul { display: grid; gap: 8px; margin-top: 14px; }
.terms__col li { position: relative; padding-left: 22px; color: var(--ink-2); }
.terms__col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.terms__col + .terms__col li::before { background: #c7c9d9; }
.terms__note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* Candid "not the right tool" */
.candid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.candid__title {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.candid__list { display: grid; gap: 0; }
.candid__list li {
  padding: 20px 0;
  border-top: 1px solid var(--night-line);
  color: var(--night-ink-2);
  font-size: 17px;
}
.candid__list li:first-child { border-top: 0; padding-top: 4px; }
.candid__list strong { display: block; margin-bottom: 4px; color: var(--night-ink); font-weight: 600; }

/* FAQ */
.faq__list { max-width: 880px; }
.faq .display { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 32px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__a p + p { margin-top: 10px; }

/* Related solutions */
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.related__title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 24px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.line__text { font-size: 15px; color: var(--ink-2); }

/* Linked tiles on the home page */
.tile--link { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.tile--link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.tile--link .link-more { margin-top: 16px; font-size: 15px; }
.tile--feature .link-more { color: var(--mint); }

.facts--flush { margin-top: 0; }

/* Five lines of business: 3 + 2 on desktop */
.lines__grid { grid-template-columns: repeat(6, 1fr); }
.line { grid-column: span 2; }
.line:nth-child(n+4) { grid-column: span 3; }

/* Network & IT status card */
.status {
  padding: 30px 30px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}
.status__rows { margin-top: 20px; }
.status__rows li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #ececf0;
  font-size: 16px;
}
.status__rows em { font-style: normal; font-size: 14px; color: var(--ink-2); text-align: right; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--ok { background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.15); }
.dot--warn { background: #ff9f0a; box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.18); }
/* ---------- Motion ---------- */

/* Headlines rise in word by word (words are wrapped by site.js) */
.is-split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.is-split .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 1s var(--ease) forwards;
  animation-delay: calc(var(--wi, 0) * 65ms + 100ms);
}
@keyframes word-up { to { transform: none; } }

/* Pipelines: a highlight travels from node to node */
.flow__node { animation: node-pulse 7.2s var(--ease) infinite; }
.flow--4 .flow__node { animation-duration: 4.8s; }
.flow__node:nth-child(2) { animation-delay: 1.2s; }
.flow__node:nth-child(3) { animation-delay: 2.4s; }
.flow__node:nth-child(4) { animation-delay: 3.6s; }
.flow__node:nth-child(5) { animation-delay: 4.8s; }
.flow__node:nth-child(6) { animation-delay: 6s; }
@keyframes node-pulse {
  0%, 14%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(9, 9, 206, 0); }
  5% { transform: translateY(-4px); box-shadow: 0 0 0 2px rgba(9, 9, 206, 0.28), 0 16px 34px rgba(9, 9, 206, 0.14); }
}
.flow__node + .flow__node::before,
.hub__side li::after {
  background: linear-gradient(90deg, rgba(9, 9, 206, 0.25), var(--blue), var(--mint), rgba(11, 194, 185, 0.25));
  background-size: 300% 100%;
  animation: line-flow 1.6s linear infinite;
}
@keyframes line-flow { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Live status dots */
.dot--ok { animation: beat 2.6s ease-in-out infinite; }
.status__rows li:nth-child(2) .dot { animation-delay: 0.4s; }
.status__rows li:nth-child(3) .dot { animation-delay: 0.8s; }
.status__rows li:nth-child(5) .dot { animation-delay: 1.2s; }
@keyframes beat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
  60% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); }
}

/* Severity bars fill when the report appears */
.js .report.reveal .sevbar i { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.3s; }
.js .report.reveal .sevbar i:nth-child(2) { transition-delay: 0.42s; }
.js .report.reveal .sevbar i:nth-child(3) { transition-delay: 0.54s; }
.js .report.reveal .sevbar i:nth-child(4) { transition-delay: 0.66s; }
.js .report.is-in .sevbar i { transform: none; }

/* Step lines draw across, numbers and checks pop in */
.js .steps li.reveal::before {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) calc(var(--delay, 0s) + 0.2s);
}
.js .steps li.is-in::before { transform: scaleX(1); }
.js .howto__steps li.reveal::before,
.js .checks li.reveal::before,
.js .checks li.reveal::after {
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--delay, 0s) + 0.15s), opacity 0.4s ease calc(var(--delay, 0s) + 0.15s);
}
.js .howto__steps li.is-in::before,
.js .checks li.is-in::before { transform: none; opacity: 1; }
.js .checks li.is-in::after { transform: rotate(-45deg); opacity: 1; }

/* The blue K's shimmer */
.klear .k {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue) 40%, var(--teal) 50%, var(--blue) 60%, var(--blue) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* Scroll-linked motion, where the browser supports it */
@supports (animation-timeline: view()) {
  .hero__text,
  .sol-hero__text {
    animation: hero-out linear both;
    animation-timeline: scroll(root);
    animation-range: 0 70vh;
  }
  @keyframes hero-out { to { opacity: 0.15; transform: translateY(-70px) scale(0.96); } }

  .demo {
    transform-origin: 50% 100%;
    animation: tilt-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes tilt-in {
    from { transform: perspective(1400px) rotateX(22deg) scale(0.9); opacity: 0.4; }
    to { transform: none; opacity: 1; }
  }

  .chip {
    animation: chip-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes chip-in {
    from { transform: scale(0.6) rotate(-25deg); opacity: 0; }
    to { transform: none; opacity: 1; }
  }

  .phone {
    animation: phone-drift linear both;
    animation-timeline: view();
    animation-range: cover;
  }
  @keyframes phone-drift { from { transform: translateY(90px); } to { transform: translateY(-50px); } }

  .hub__core,
  .contact .display {
    animation: grow-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes grow-in { from { transform: scale(0.88); opacity: 0.3; } to { transform: none; opacity: 1; } }

  .klear__title {
    animation: track-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes track-in { from { letter-spacing: 0.02em; opacity: 0.2; } to { letter-spacing: -0.05em; opacity: 1; } }
}

/* Client case */
.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--mist);
}
.case__kicker { font-size: 13px; font-weight: 600; color: var(--blue); }
.case__title {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.case__intro p:last-child { margin-top: 14px; color: var(--ink-2); }
.case__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.case__list li { font-size: 15px; color: var(--ink-2); }
.case__list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (max-width: 834px) {
  .case { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .case__list { grid-template-columns: 1fr; }
}

.split__note { margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.split__note a { color: var(--blue); }
.split__note a:hover { text-decoration: underline; }
.link-more--light { color: #fff; }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1068px) {
  .lines__grid { grid-template-columns: repeat(2, 1fr); }
  .facts,
  .checks,
  .steps,
  .principles { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}

@media (max-width: 834px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .private__grid,
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 0; }
  .chip { width: min(340px, 90%); }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: 1 / -1; }
  .tile--feature { min-height: 300px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .lines__grid,
  .bento,
  .facts,
  .checks,
  .steps,
  .principles { grid-template-columns: 1fr; }
  .tile { padding: 28px 24px 30px; }
  .tile--feature { min-height: 0; }
  .line strong { font-size: 19px; }

  .demo__bar { grid-template-columns: auto 1fr; }
  .demo__dots { display: none; }
  .demo__badge { font-size: 12px; }
  .msg { max-width: 92%; font-size: 16px; }

  .devices { padding-right: 56px; }
  .site__nav i { display: none; }
  .site__cards { display: none; }

  .report { padding: 24px 20px 20px; }
  .findings li { flex-direction: column; gap: 6px; }

  .btn--light { font-size: 17px; }
  .klear .principles { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.notfound__inner .lede { margin-inline: auto; }

/* ---------- Solution pages: responsive ---------- */

@media (max-width: 1068px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow--4 { grid-template-columns: repeat(2, 1fr); }
  .flow__node + .flow__node::before { display: none; }
  .points--4 { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .flyout__grid { grid-template-columns: repeat(2, 1fr); }
  .lines__grid { grid-template-columns: repeat(2, 1fr); }
  .line,
  .line:nth-child(n+4) { grid-column: auto; }
  .line:last-child { grid-column: 1 / -1; }
}

@media (max-width: 834px) {
  .hub { grid-template-columns: 1fr; gap: 20px; }
  .hub__side { grid-template-columns: repeat(2, 1fr); }
  .hub__side li::after { display: none; }
  .hub__side--right { order: 3; }
  .howto,
  .candid { grid-template-columns: 1fr; }
  .howto__head { position: static; }
  .cards,
  .stages,
  .related { grid-template-columns: 1fr 1fr; }
  .checks--3 { grid-template-columns: 1fr 1fr; }
  .points { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .flow,
  .flow--4 { grid-template-columns: 1fr; gap: 10px; }
  .flow__node { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 14px 16px; }
  .flow__icon { margin-bottom: 0; }
  .flow__node span:last-child { flex-basis: 100%; padding-left: 54px; margin-top: -6px; }
  .boundary { padding: 36px 14px 18px; }
  .cards,
  .stages,
  .related,
  .points,
  .points--4,
  .stack,
  .terms,
  .checks--3 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .compare table,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { padding: 16px 18px; border-top: 1px solid rgba(0, 0, 0, 0.07); }
  .compare tbody tr:first-child { border-top: 0; }
  .compare tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: 16px; }
  .compare td {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 12px;
    padding: 4px 0;
    border: 0;
    font-size: 15px;
  }
  .compare td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
  }
  .faq__item summary { font-size: 17px; }
}
