/* ============================================================
   LazyCat AI — design system
   Calendly-clean, blue/white SaaS, chat-native
   ============================================================ */

:root {
  /* color */
  --blue:        #1f6bff;
  --blue-600:    #1356d8;
  --blue-700:    #0f44ad;
  --blue-soft:   #e8f0ff;
  --blue-tint:   #f4f7ff;
  --blue-tint-2: #eef3ff;

  --navy:        #0e1a37;   /* headings */
  --ink:         #233155;   /* strong body */
  --slate:       #5a6a8c;   /* body */
  --slate-soft:  #8492b0;   /* muted */

  --green:       #16c98d;   /* AI active */
  --green-soft:  #e3f9f0;
  --green-700:   #0e9c6c;

  --warm:        #ffb454;   /* tiny warm accent */
  --warm-soft:   #fff3e0;

  --white:       #ffffff;
  --line:        #e4e9f4;   /* card / divider border */
  --line-strong: #d4ddee;
  --shadow-sm:   0 1px 2px rgba(16, 32, 70, .06), 0 1px 3px rgba(16, 32, 70, .05);
  --shadow:      0 4px 14px rgba(16, 32, 70, .08), 0 2px 6px rgba(16, 32, 70, .05);
  --shadow-lg:   0 24px 60px -20px rgba(16, 32, 70, .28), 0 8px 24px -10px rgba(16, 32, 70, .14);
  --shadow-blue: 0 18px 40px -16px rgba(31, 107, 255, .45);

  /* type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --maxw: 1180px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* spacing scale (4pt base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 64px;
  --s-12: 80px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--blue); color: #fff; }

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

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--blue-tint); }
.section--navy { background: var(--navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }

h2.h-xl { font-size: clamp(30px, 4.4vw, 50px); }
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--slate);
  margin-top: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--bh);
  padding: 0 24px;
  border-radius: 13px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--lg { --bh: 58px; font-size: 17px; padding: 0 30px; }
.btn--sm { --bh: 42px; font-size: 14px; padding: 0 16px; border-radius: 10px; }
.btn--on-navy { background:#fff; color: var(--navy); }
.btn--on-navy:hover { background:#fff; color: var(--blue); }
.btn--block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,32,70,.04); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--blue) 0%, #4f8bff 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-blue);
  position: relative;
  flex: none;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand small { color: var(--blue); font-weight: 800; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 9px;
  transition: background .16s ease, color .16s ease;
}
.nav__link:hover { background: var(--blue-tint-2); color: var(--blue); }
.nav__spacer { margin-left: auto; }
.nav__cta { display: inline-flex; }
.nav__auth { display: inline-flex; align-items: center; gap: 4px; }
.nav__signin {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding: 9px 15px;
  border-radius: 9px;
  transition: background .16s ease, color .16s ease;
}
.nav__signin:hover { background: var(--blue-tint-2); color: var(--blue); }
.mm-signin {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 11px;
  cursor: pointer;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px var(--gutter) 22px;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }
body.menu-open .mobile-menu { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(31,107,255,.10), transparent 60%),
    radial-gradient(700px 500px at 8% 0%, rgba(22,201,141,.07), transparent 55%),
    var(--blue-tint);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 86px) clamp(64px, 7vw, 100px);
}
.hero__copy { max-width: 580px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px 7px 11px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-7);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

h1.hero__title {
  font-size: clamp(33px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero__title .hl { color: var(--blue); display: inline-block; }
.hero__title .nb { white-space: nowrap; }
.hero__sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--slate);
  margin-top: var(--s-6);
  line-height: 1.62;
  text-wrap: pretty;
}
.hero__support {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: var(--s-5);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.hero__support svg { flex: none; width: 19px; height: 19px; color: var(--green-700); margin-top: 1px; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--s-8);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--s-7);
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
}
.hero__trust .channels { display: inline-flex; gap: 8px; }
.chan {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.chan svg { width: 19px; height: 19px; }

/* ---------- chat mockup (shared) ---------- */
.hero__visual { position: relative; }

.chat {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 460px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.chat--wide { max-width: 560px; }

.chat__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  border-bottom: 1px solid var(--line);
}
.chat__avatar {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(150deg, var(--blue), #4f8bff);
  display: grid; place-items: center;
  color: #fff; flex: none;
  box-shadow: var(--shadow-blue);
}
.chat__avatar svg { width: 22px; height: 22px; }
.chat__title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 16px; line-height: 1.2; }
.chat__status { font-size: 12.5px; color: var(--green-700); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.chat__app {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--slate);
  background: var(--blue-tint-2);
  border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 100px;
  font-family: var(--font-head);
}
.chat__app svg { width: 14px; height: 14px; }

.chat__body {
  padding: 20px 18px 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(31,107,255,.04), transparent 40%),
    #eef2fb;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.msg { display: flex; gap: 9px; max-width: 88%; }
.msg__av {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 12px; color: #fff;
  margin-top: 14px;
}
.msg__bubble {
  background: #fff;
  border-radius: 6px 15px 15px 15px;
  padding: 9px 13px;
  box-shadow: 0 1px 2px rgba(16,32,70,.07);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.msg__role {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .01em;
  margin-bottom: 3px;
}
.msg--me { margin-left: auto; flex-direction: row-reverse; }
.msg--me .msg__bubble {
  background: var(--blue);
  color: #fff;
  border-radius: 15px 6px 15px 15px;
  box-shadow: var(--shadow-blue);
}
.msg--me .msg__av { background: var(--navy); color: #fff; }

/* role avatar colors */
.av-lead   { background: #1f6bff; }
.av-mkt    { background: #7b5cff; }
.av-img    { background: #16a5c9; }
.av-photo  { background: #e0883b; }
.av-social { background: #16c98d; }
.av-follow { background: #e0556e; }
.role-lead   { color: #1f6bff; }
.role-mkt    { color: #6b4ce0; }
.role-img    { color: #1192b3; }
.role-photo  { color: #c9722b; }
.role-social { color: #0e9c6c; }
.role-follow { color: #cf3f59; }

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 2px; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: blink 1.3s infinite both;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

.chat__compose {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.chat__field {
  flex: 1;
  background: var(--blue-tint-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--slate-soft);
}
.chat__send {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-blue);
}
.chat__send svg { width: 18px; height: 18px; }

/* floating output cards around hero chat */
/* wrapper: invisible on desktop so cards float; becomes a grid on mobile */
.hero__outs { display: contents; }

.out-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: 220px;
}
.out-card__ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
}
.out-card__ic svg { width: 18px; height: 18px; }
.out-card > div { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.out-card b { font-family: var(--font-head); font-size: 13.5px; color: var(--navy); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.out-card span { font-size: 11.5px; color: var(--slate); line-height: 1.25; white-space: nowrap; }
.out-card .chk { margin-left: 4px; color: var(--green); width: 18px; height: 18px; flex: none; }
.ic-green { background: var(--green-soft); color: var(--green-700); }
.ic-blue  { background: var(--blue-soft); color: var(--blue); }
.ic-warm  { background: var(--warm-soft); color: #c97f1d; }
.ic-violet{ background: #efeaff; color: #6b4ce0; }

.out-1 { top: 6%; right: -4%; }
.out-2 { top: 33%; right: -8%; }
.out-3 { bottom: 16%; left: -7%; }
.out-4 { bottom: -3%; right: 8%; }

.float { animation: floaty 6s ease-in-out infinite; }
.float.d1 { animation-delay: .8s; }
.float.d2 { animation-delay: 1.6s; }
.float.d3 { animation-delay: 2.4s; }

/* ============================================================
   PROBLEM — inputs -> chat -> outputs
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.flow__col h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--slate-soft); margin-bottom: 16px; font-weight: 800;
}
.chip-stack { display: flex; flex-direction: column; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 15px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
}
.chip svg { width: 17px; height: 17px; flex: none; color: var(--slate); }
.chip--out { border-color: #cdeede; background: #fff; }
.chip--out svg { color: var(--green-700); }
.chip--out::after {
  content: ""; margin-left: auto;
  width: 16px; height: 16px; flex: none;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.flow__hub {
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blue) 0%, #4f8bff 100%);
  box-shadow: var(--shadow-blue);
  display: grid; place-items: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 16px;
}
.flow__hub svg { width: clamp(34px, 5vw, 52px); height: auto; margin-bottom: 8px; }
.flow__hub b { font-family: var(--font-head); font-weight: 800; font-size: clamp(13px, 1.5vw, 16px); display:block; line-height:1.2; }
.flow__hub small { font-size: 11.5px; opacity: .85; }
.flow__arrow { color: var(--line-strong); }

/* ============================================================
   GENERIC CARD GRIDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }

/* who-it's-for */
.who__ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.who__ic svg { width: 26px; height: 26px; }
.card h3.card__title { font-size: 21px; margin-bottom: 10px; }
.card__desc { color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 12.5px; font-weight: 600; font-family: var(--font-head);
  color: var(--ink); background: var(--blue-tint);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 5px 10px;
}
.card__divider { height:1px; background: var(--line); margin: 18px 0; }
.card__label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: 12px; }

/* AI teams */
.team-card { display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.team-card__top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.team-card__ic { width: 48px; height: 48px; border-radius: 13px; display:grid; place-items:center; flex:none; }
.team-card__ic svg { width: 24px; height: 24px; }
.team-card h3 { font-size: 20px; }
.team-card__short { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 2px; font-family: var(--font-head); }
.team-card__body { color: var(--slate); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.roles { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.role-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; font-family: var(--font-head);
  color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 5px 11px 5px 8px;
}
.role-chip .rdot { width: 8px; height: 8px; border-radius: 50%; flex:none; }
.team-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.team-card__hire { margin-top: 16px; }
.team-card__hire svg { width: 16px; height: 16px; transition: transform .16s ease; }
.team-card__hire:hover svg { transform: translateX(3px); }
.goodfor { display: flex; flex-wrap: wrap; gap: 6px; }
.goodfor span {
  font-size: 12px; color: var(--slate); background: var(--blue-tint);
  border-radius: 7px; padding: 4px 9px; font-weight: 500;
}

/* ============================================================
   WORKFLOW STEPS
   ============================================================ */
.work {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; gap: 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { color: var(--slate); font-size: 14.5px; line-height: 1.5; }

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust__item { }
.trust__ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 14px;
}
.trust__ic svg { width: 22px; height: 22px; }
.trust__item h3 { font-size: 17px; margin-bottom: 6px; }
.trust__item p { color: var(--slate); font-size: 14px; line-height: 1.5; }

/* approval card */
.approve {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.approve__head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg,#fff,#fbfcff);
}
.approve__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; font-family: var(--font-head);
  color: var(--green-700); background: var(--green-soft);
  border-radius: 100px; padding: 5px 12px;
}
.approve__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.approve__app { margin-left: auto; font-size: 12px; font-weight:700; color: var(--slate); }
.approve__body { padding: 20px; }
.approve__kind { font-size: 12px; font-weight: 800; letter-spacing:.05em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: 10px; }
.approve__preview {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 16px;
}
.approve__img {
  height: 140px;
  background:
    repeating-linear-gradient(135deg, #eef2fb 0 14px, #e6ecf8 14px 28px);
  display: grid; place-items: center;
  color: var(--slate-soft); font-size: 12.5px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: .04em;
}
.approve__caption { padding: 12px 14px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.approve__caption b { color: var(--navy); }
.approve__actions { display: flex; gap: 10px; }
.approve__actions .btn { flex: 1; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.is-featured { border-color: var(--blue); box-shadow: var(--shadow-blue); position: relative; }
.price-card.is-featured::before {
  content: "Most popular";
  position: absolute; top: -11px; left: 24px;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 11px;
  letter-spacing: .04em; padding: 4px 11px; border-radius: 100px;
}
.price-card__ic { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; margin-bottom: 16px; }
.price-card__ic svg { width: 22px; height: 22px; }
.price-card h3 { font-size: 18px; margin-bottom: 8px; }
.price-card p { color: var(--slate); font-size: 14px; line-height: 1.5; flex: 1; margin-bottom: 18px; }
.price-card .price {
  font-family: var(--font-head); color: var(--navy); font-weight: 800; font-size: 30px;
  letter-spacing: -0.02em; margin-bottom: 16px; display: flex; align-items: baseline; gap: 5px;
}
.price-card .price small { font-size: 14px; color: var(--slate-soft); font-weight: 600; }
.price-tag-tbd { color: var(--slate); font-size: 13.5px; font-weight: 600; font-family: var(--font-head); margin-bottom: 16px; }

/* assistant cards: 3-up, with includes list */
.price-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1020px; margin-inline: auto; }
.price-grid--3 .price-card { padding: 30px 28px; }
.price-grid--3 .price-card.is-featured::before { content: "Most Popular"; }
.price-card .price { margin-bottom: 4px; }
.price-card__cycle { color: var(--slate-soft); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.includes { list-style: none; margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--slate); line-height: 1.4; }
.includes li svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--green); }
.is-featured .includes li svg { color: var(--blue); }
.pricing-note { text-align: center; color: var(--slate-soft); font-size: 14.5px; margin-top: 30px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(160deg, #14224a 0%, var(--navy) 60%);
  border-radius: var(--radius-xl);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(31,107,255,.5), transparent 60%),
    radial-gradient(400px 300px at 85% 120%, rgba(22,201,141,.25), transparent 60%);
}
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); }
.cta-final p { color: #b9c5e0; font-size: 18px; max-width: 580px; margin: 20px auto 32px; line-height: 1.6; }
.cta-final .btn--primary { box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #aeb9d4; padding: 64px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; }
.footer__blurb { margin-top: 16px; max-width: 290px; font-size: 14.5px; line-height: 1.6; color: #94a2c4; }
.footer__col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; font-family: var(--font-head); }
.footer__col a { display: block; padding: 6px 0; font-size: 14.5px; color: #aeb9d4; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13.5px; color: #8090b2; flex-wrap: wrap; }
.footer__legal { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__legal a { color: #aeb9d4; transition: color .15s ease; }
.footer__legal a:hover { color: #fff; }
.footer__bottom .channels { display: inline-flex; gap: 8px; }
.footer__bottom .chan { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.footer__bottom .chan svg { color: #cfd8ee; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
@keyframes pulse { 0%,100%{ opacity:1;} 50%{ opacity:.4;} }
@keyframes blink { 0%,80%,100%{ opacity:.25; transform: translateY(0);} 40%{ opacity:1; transform: translateY(-2px);} }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 600px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .grid-4, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta.desktop-only, .nav__auth.desktop-only { display: none; }
  .nav__toggle { display: flex; }
  .nav__spacer { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-4, .grid-2, .price-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
  .flow__hub { justify-self: center; width: 150px; }
  .trust__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .price-card.is-featured::before { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 680px) {
  /* output cards drop below the chat as a clean 2-up grid */
  .hero__outs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .hero__outs .out-card {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    animation: none;
    display: flex !important;
  }
  .hero__outs .out-card .chk { margin-left: auto; }
  .approve__actions { flex-wrap: wrap; }
  .approve__actions .btn { flex: 1 1 calc(50% - 5px); }
  .approve__actions .btn:last-child { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .hero__outs { grid-template-columns: 1fr; }
  .chat { max-width: 100%; }
}
