/*
 * Kairo landing page.
 *
 * Palette, type stack and radii are lifted from the product at
 * app.kairosolutions.ai so the site and the app read as one company:
 *   navy   #16264A  (foreground, headings)
 *   ground #DCDEE0  (page background)
 *   teal   #2FA6B0  (primary action, category rules)
 *   gold   #D9A400  (pricing, matching the one-pager)
 * Light only. The product has no dark theme, so neither does this.
 */

:root {
  --navy: #16264A;
  --ground: #DCDEE0;
  --teal: #2FA6B0;
  --teal-dark: #268A92;
  --teal-tint: #EAF6F7;
  --gold: #D9A400;
  --border: #C7CBCE;
  --muted: #525A61;
  --surface: #FFFFFF;
  --surface-alt: #F1F2F3;

  --wrap: 1120px;
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--surface); padding: 10px 16px; border-radius: var(--radius);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(220, 222, 224, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}

.brand { display: inline-flex; line-height: 0; }

.nav {
  display: flex;
  gap: 26px;
  margin-inline: auto;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav a:hover { color: var(--navy); border-bottom-color: var(--teal); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(60px, 10vw, 118px) clamp(52px, 8vw, 92px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  flex: none;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 19ch;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 500;
}

.lede {
  margin: 0 0 36px;
  max-width: 64ch;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }

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

.section { padding-block: clamp(54px, 7.5vw, 96px); }

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.kicker {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 24ch;
}

.section-lede {
  margin: 0 0 44px;
  max-width: 64ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.center .section-lede { margin-inline: auto; }
.center h2 { max-width: none; margin-inline: auto; }

.body-lg {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.section-head { margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }

/* ---------- signal categories ---------- */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr 1fr; }

/* Five cards. A plain repeat(3, 1fr) leaves a dead cell bottom right, so the
   track is six columns: the first three span two each, the last two span
   three each, and both rows run the full width. */
.grid-signals { grid-template-columns: repeat(6, 1fr); }
.grid-signals > .signal { grid-column: span 2; }
.grid-signals > .signal:nth-last-child(-n + 2) { grid-column: span 3; }

.signal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}

.signal-gold { border-left-color: var(--gold); }

.signal h3 {
  margin: 0 0 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}

.signal p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- network callout ---------- */

.callout {
  background: var(--teal-tint);
  border: 1px solid #BFE0E3;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}

.callout .kicker { margin-bottom: 12px; }
.callout .body-lg { color: #2C4155; max-width: 88ch; }

/* ---------- sample intelligence ---------- */

.sample {
  display: grid;
  grid-template-columns: 190px 1fr 210px;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.sample + .sample { margin-top: 18px; }

.vendor-name {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tag-pricing { background: #FBF0D2; color: #8A6800; }
.tag-capability { background: var(--teal-tint); color: var(--teal-dark); }

.sample-body h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--teal-dark);
}

.sample-body p { margin: 0; font-size: 15px; color: var(--muted); }

.sample-action {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--navy);
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

/* ---------- plans ---------- */

.plans { align-items: start; }

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 30px;
}

.plan-featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }

.plan h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 700; }

.plan-for {
  margin: 0 0 20px;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}

.plan ul { margin: 0; padding: 0; list-style: none; }

.plan li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--muted);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.plan-featured li::before { background: var(--teal); }

/* ---------- cta band ---------- */

.cta-band { background: var(--surface); border-block: 1px solid var(--border); }

.contact-line {
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.contact-line a { color: var(--teal-dark); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.sep { margin-inline: 8px; color: var(--border); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: #fff;
  padding-block: 44px 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-tag { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.62); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.footer-legal p { margin: 0; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .sample { grid-template-columns: 170px 1fr; }
  .sample-action {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 900px) {
  /* Two across, so the odd fifth card runs the full width instead. */
  .grid-signals { grid-template-columns: repeat(2, 1fr); }
  .grid-signals > .signal,
  .grid-signals > .signal:nth-last-child(-n + 2) { grid-column: span 1; }
  .grid-signals > .signal:last-child { grid-column: span 2; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .sample { grid-template-columns: 1fr; gap: 18px; }
  .callout { padding: 24px 22px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-signals { grid-template-columns: 1fr; }
  .grid-signals > .signal,
  .grid-signals > .signal:nth-last-child(-n + 2),
  .grid-signals > .signal:last-child { grid-column: span 1; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .contact-line .sep { display: block; height: 0; overflow: hidden; margin: 6px 0; }
}

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