/* ===================================================================
   UBI — SUNRISE
   warm-white tech, cobalt accent, drifting mesh, world-clock soul
   =================================================================== */

:root {
  /* surface */
  --paper:    #fdfaf6;
  --paper-2:  #ffffff;
  --paper-3:  #f6f2eb;
  --paper-4:  #efeae0;

  /* ink */
  --ink:      #0d1226;
  --ink-2:    #1a1f3a;
  --ash:      #5b6075;
  --ash-2:    #8a8e9e;
  --mist:     #c4c6d0;

  /* accents */
  --cobalt:        #1f3dff;
  --cobalt-deep:   #0f29d8;
  --cobalt-bright: #5879ff;
  --cobalt-soft:   #e8ecff;
  --cobalt-tint:   #f1f3ff;
  --coral:         #ff6b4a;
  --coral-soft:    #ffe8e0;
  --honey:         #e8b34a;
  --green:         #25d366;
  --green-soft:    #d8f7e3;

  /* lines */
  --line:        rgba(13, 18, 38, 0.07);
  --line-2:      rgba(13, 18, 38, 0.12);
  --line-cobalt: rgba(31, 61, 255, 0.20);
  --line-cobalt-2: rgba(31, 61, 255, 0.40);

  /* radii */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(13, 18, 38, 0.04), 0 2px 4px rgba(13, 18, 38, 0.03);
  --shadow:    0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 16px rgba(13, 18, 38, 0.05), 0 14px 40px -10px rgba(13, 18, 38, 0.09);
  --shadow-lg: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 28px -8px rgba(13, 18, 38, 0.10), 0 36px 80px -16px rgba(13, 18, 38, 0.18);
  --shadow-cobalt: 0 10px 28px -10px rgba(31, 61, 255, 0.45), 0 4px 12px -4px rgba(31, 61, 255, 0.25);

  /* motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);

  /* layout */
  --container: 1200px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--cobalt); color: #fff; }

/* accessibility: skip-link visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--cobalt);
  color: #fff;
  font-family: 'Funnel Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-cobalt);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--cobalt-bright);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Funnel Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

/* ===== TYPE PRIMITIVES ============================================ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 500;
  margin-bottom: 18px;
}
.section-h {
  font-family: 'Funnel Display', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-h em {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
  letter-spacing: -0.015em;
  padding-right: 0.03em;
}
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ash);
  max-width: 56ch;
}
.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

/* ===== BUTTONS ==================================================== */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: 'Funnel Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}
.btn-pill .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn-pill:hover .ico { transform: translateX(3px); }

.btn-pill.primary {
  background: var(--cobalt);
  color: #fff;
  box-shadow: var(--shadow-cobalt);
}
.btn-pill.primary:hover {
  background: var(--cobalt-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(31, 61, 255, 0.55), 0 6px 16px -4px rgba(31, 61, 255, 0.3);
}
.btn-pill.primary:active { transform: translateY(0); }

.btn-pill.ghost {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-pill.ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.btn-pill.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-pill.btn-lg { height: 54px; padding: 0 26px; font-size: 15.5px; }
.btn-pill.btn-full { width: 100%; }

/* ===== NAV ======================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 246, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(253, 250, 246, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-logo {
  display: block;
  height: 96px;
  width: auto;
  /* SVG has 1920×1080 viewBox with ~50% empty padding; negative margin trims dead space */
  margin: -36px -28px;
}
.footer-brand .brand-logo { height: 112px; margin: -40px -32px -40px -32px; }
@media (max-width: 540px) {
  .brand-logo { height: 80px; margin: -28px -22px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ash);
}
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0;
  height: 1px;
  background: var(--cobalt);
  transition: all 0.25s var(--ease);
  transform: translateX(-50%);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-link-quiet { font-size: 14.5px; font-weight: 500; color: var(--ash); transition: color 0.2s; }
.nav-link-quiet:hover { color: var(--ink); }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-burger svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nav-drawer a {
  padding: 12px 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-drawer .btn-pill { margin-top: 10px; }
.nav-drawer.open { display: flex; }

@media (max-width: 880px) {
  .nav-links, .nav-link-quiet { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ===== HERO ======================================================= */

.hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* drifting gradient mesh */
.hero-mesh,
.cta-mesh {
  position: absolute;
  inset: -10% -5% 0;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px) saturate(110%);
  opacity: 0.85;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  display: block;
  will-change: transform;
}
.hero-mesh .mesh-blob-1 {
  width: 720px; height: 720px;
  top: -240px; left: -180px;
  background: radial-gradient(circle, rgba(31, 61, 255, 0.42), transparent 65%);
  animation: drift-1 32s ease-in-out infinite;
}
.hero-mesh .mesh-blob-2 {
  width: 600px; height: 600px;
  top: -120px; right: -160px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.30), transparent 65%);
  animation: drift-2 38s ease-in-out infinite;
}
.hero-mesh .mesh-blob-3 {
  width: 760px; height: 760px;
  top: 240px; left: 30%;
  background: radial-gradient(circle, rgba(31, 61, 255, 0.18), transparent 65%);
  animation: drift-3 44s ease-in-out infinite;
}
@keyframes drift-1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift-2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80px, 60px) scale(1.05); } }
@keyframes drift-3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, -50px) scale(1.1); } }

/* dot grid overlay */
.dotgrid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(13, 18, 38, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

/* clock badge */
.clock-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
.clock-badge .status-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.clock-badge .status-dot .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.clock-badge .clock-label {
  color: var(--cobalt);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.clock-badge .clock-item { display: inline-flex; align-items: baseline; gap: 5px; }
.clock-badge .city { color: var(--ash); text-transform: uppercase; font-weight: 500; }
.clock-badge .time { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.clock-badge .sep { color: var(--mist); }
@media (max-width: 740px) {
  .clock-badge { font-size: 10px; padding: 7px 12px 7px 10px; gap: 8px; }
}
@media (max-width: 540px) {
  /* drop to 2 cities on tiny screens to avoid wrapping */
  .clock-badge .clock-item:nth-child(n+7),
  .clock-badge .sep:nth-of-type(n+3) { display: none; }
}

/* hero display headline */
.hero-display {
  font-family: 'Funnel Display', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 14ch;
}
.hero-display em {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
  letter-spacing: -0.02em;
  font-size: 1.08em;
  padding-right: 0.02em;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ash);
  max-width: 60ch;
  margin-bottom: 36px;
}
@media (max-width: 640px) { .hero-sub { font-size: 17px; } }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-microcopy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ash);
  margin-bottom: 64px;
}
.hero-microcopy .ico { width: 14px; height: 14px; stroke: var(--ash); fill: none; }

/* chat card */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  margin-bottom: 72px;
}
.card-glow {
  position: absolute;
  inset: -20% -10% -50%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31, 61, 255, 0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(180deg, var(--paper-3), var(--paper-2));
  border-bottom: 1px solid var(--line);
}
.card-avatar {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--paper-2), 0 0 0 3px var(--line);
}
.card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-pulse {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--paper-2);
}
.card-id { flex: 1; min-width: 0; }
.card-name {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 2px 5px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  border-radius: 4px;
  text-transform: uppercase;
}
.card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ash);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.dot-live   { width: 6px; height: 6px; border-radius: 50%; background: var(--green);  display: inline-block; }
.dot-cobalt { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); display: inline-block; }
.dot-warm   { width: 6px; height: 6px; border-radius: 50%; background: var(--honey);  display: inline-block; }

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ash);
}
.card-tag .ico { width: 10px; height: 10px; stroke: var(--ash); fill: none; }

.card-body {
  padding: 22px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  position: relative;
  background-image:
    radial-gradient(rgba(13, 18, 38, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.bubble {
  position: relative;
  max-width: 78%;
  padding: 10px 14px 18px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.bubble strong { font-weight: 600; color: inherit; }
.bubble.in {
  align-self: flex-start;
  background: var(--paper-2);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-deep));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.out strong { color: #fff; }
.bubble-time {
  position: absolute;
  bottom: 4px; right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--ash-2);
}
.bubble.out .bubble-time { color: rgba(255, 255, 255, 0.65); }
.bubble.out .ticks { color: rgba(255, 255, 255, 0.85); }
.typing-row { display: flex; padding: 4px 0; }
.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ash-2);
  animation: typing 1.4s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.card-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ash);
}
.card-foot-item .ico { width: 14px; height: 14px; stroke: var(--cobalt); fill: none; }
.card-foot-item strong {
  font-family: 'Funnel Sans', sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.card-foot-sep {
  width: 1px;
  height: 14px;
  background: var(--line-2);
}
@media (max-width: 560px) {
  .card-foot-sep { display: none; }
  .card-foot { gap: 10px 14px; }
  .bubble { font-size: 13px; max-width: 86%; }
}

/* hero value strip */
.hero-strip {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding: 4px 16px;
}
.strip-item:last-child { border-right: 0; }
.strip-num {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.strip-num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--cobalt);
  margin-left: 1px;
}
.strip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
}
@media (max-width: 720px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
  .strip-item { padding: 14px; border-right: 0; }
  .strip-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .strip-num { font-size: 30px; }
}

/* ===== LOGOS ====================================================== */

.logos-section { padding: 72px 0 60px; }
.logos-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 32px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.logos-row img {
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.55;
  filter: saturate(0);
  transition: opacity 0.25s, filter 0.25s;
}
.logos-row img:hover { opacity: 0.95; filter: saturate(1); }
@media (max-width: 768px) {
  .logos-row { gap: 36px; }
  .logos-row img { height: 26px; max-width: 140px; }
}

/* ===== METRICS ==================================================== */

.metrics {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line);
  position: relative;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .metrics-grid { grid-template-columns: 1fr; } }

.metric-card {
  position: relative;
  padding: 28px 26px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), transparent);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-cobalt);
}
.metric-card:hover::before { opacity: 1; }
.metric-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cobalt-tint);
  border: 1px solid var(--line-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.metric-icon svg { width: 18px; height: 18px; stroke: var(--cobalt); fill: none; }
.metric-num {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.metric-num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
  font-size: 0.5em;
  margin-left: 2px;
}
.metric-h {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.metric-card p {
  font-size: 13.5px;
  color: var(--ash);
  line-height: 1.5;
  margin-bottom: 18px;
}
.metric-rule { height: 1px; background: var(--line); margin-bottom: 12px; }
.metric-foot {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ash-2);
}

/* ===== WORKFLOW =================================================== */

.workflow {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.workflow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 90% 10%, rgba(31, 61, 255, 0.06), transparent 60%),
    radial-gradient(circle 600px at 10% 90%, rgba(255, 107, 74, 0.04), transparent 60%);
  pointer-events: none;
}
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow::before {
  content: '';
  position: absolute;
  top: 52px; left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--cobalt) 0 6px, transparent 6px 12px);
  opacity: 0.4;
  z-index: 0;
}
.flow-step {
  position: relative;
  z-index: 1;
  padding: 28px 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.flow-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  background: var(--cobalt-tint);
  border: 1px solid var(--line-cobalt);
  padding: 6px 10px;
  border-radius: 8px;
}
.flow-tick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ash-2);
}
.flow-step h3 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.flow-step p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.5;
  margin-bottom: 16px;
}
.flow-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--paper-3);
  color: var(--ash);
  border: 1px solid var(--line);
}
.tag.hot { background: var(--coral-soft); color: #c4341a; border-color: rgba(255, 107, 74, 0.25); }
.tag.ok  { background: var(--green-soft); color: #0f7a3a; border-color: rgba(37, 211, 102, 0.3); }
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
}
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }

/* ===== FEATURES BENTO ============================================== */

.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-card {
  position: relative;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-cobalt);
}
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 3; }
.bento-feature {
  background:
    radial-gradient(circle 400px at 100% 0%, rgba(31, 61, 255, 0.08), transparent 60%),
    var(--paper-2);
}
.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.bento-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ash);
}
.bento-card h3 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.bento-3 h3 { font-size: 24px; }
.bento-card > p {
  font-size: 14.5px;
  color: var(--ash);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* mini chat */
.mini-chat {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-image: radial-gradient(rgba(13, 18, 38, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}
.mini-bubble {
  max-width: 80%;
  font-size: 12.5px;
  padding: 7px 11px;
  border-radius: 11px;
  line-height: 1.4;
}
.mini-bubble.in { background: var(--paper-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 3px; color: var(--ink); }
.mini-bubble.out { background: var(--cobalt); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }

/* projects list */
.proj-list { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.proj {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.proj:hover { border-color: var(--line-cobalt); background: var(--cobalt-tint); }
.proj-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.proj-mark.m1 { background: linear-gradient(135deg, var(--cobalt), var(--cobalt-bright)); }
.proj-mark.m2 { background: linear-gradient(135deg, #6b4dff, var(--cobalt)); }
.proj-mark.m3 { background: linear-gradient(135deg, var(--coral), #d04d2a); }
.proj-name { font-weight: 500; font-size: 14px; color: var(--ink); }
.proj-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ash-2); }
.proj-delta { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 600; color: var(--green); }

/* bars */
.bars {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  padding-top: 18px;
}
.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 130px;
  justify-content: flex-end;
  position: relative;
}
.bar span {
  display: block;
  width: 100%;
  border-radius: 8px 8px 2px 2px;
  background: var(--paper-3);
}
.bar.hot  span { background: linear-gradient(180deg, var(--coral), #d04d2a); }
.bar.warm span { background: linear-gradient(180deg, var(--honey), #b88829); }
.bar.cold span { background: linear-gradient(180deg, var(--mist), var(--ash-2)); }
.bar em {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  font-style: normal;
}
.bar label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

/* calendar */
.calendar {
  margin-top: auto;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ash);
  margin-bottom: 10px;
}
.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.cal-week span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ash-2);
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  position: relative;
}
.cal-week span.has::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cobalt);
}
.cal-week span.active { background: var(--cobalt); color: #fff; }
.cal-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--cobalt-tint);
  border: 1px solid var(--line-cobalt);
  border-radius: 8px;
  font-size: 12.5px;
}
.cal-event strong {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--cobalt);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.cal-event span { color: var(--ink); }

/* code */
.code {
  margin-top: auto;
  padding: 14px 16px;
  background: var(--ink);
  color: #d6dcff;
  border-radius: var(--r);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre;
  overflow: auto;
}
.code .c-com { color: #6b7280; }
.code .c-kw  { color: #ffb86b; }
.code .c-fn  { color: #8ab4ff; }
.code .c-str { color: #6fe2a0; }
.code .c-num { color: #ff9aae; }

/* approvals */
.approve { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.approve-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.approve-item .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}
.approve-item .ms { font-size: 13px; color: var(--ink); line-height: 1.35; }
.approve-item .ms .lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 2px;
}
.approve-actions { display: flex; gap: 6px; }
.approve-actions button {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: all 0.2s;
}
.approve-actions button svg { width: 14px; height: 14px; fill: none; stroke-width: 2; }
.approve-actions button.ok svg { stroke: var(--green); }
.approve-actions button.no svg { stroke: var(--coral); }
.approve-actions button:hover { transform: scale(1.06); }
.approve-actions button.ok:hover { background: var(--green-soft); border-color: rgba(37, 211, 102, 0.3); }
.approve-actions button.no:hover { background: var(--coral-soft); border-color: rgba(255, 107, 74, 0.3); }

/* cost */
.cost {
  margin-top: auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cost-row span { font-size: 12.5px; color: var(--ash); }
.cost-row strong {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cost-bar {
  height: 6px;
  background: var(--paper-3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.cost-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cobalt), var(--cobalt-bright));
}
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cost-grid > div {
  padding: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cost-grid .l {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}
.cost-grid strong {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}

/* toasts */
.toasts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.toast {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
}
.toast svg { width: 16px; height: 16px; stroke: var(--cobalt); fill: none; }
.toast.warm svg { stroke: var(--coral); }
.toast.cool svg { stroke: var(--ash-2); }
.toast strong { color: var(--ink); font-weight: 600; }
.toast .ago { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ash); }

/* languages */
.langs { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ash);
}
.lang em {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-style: normal;
  font-size: 10px;
  color: var(--ash-2);
  background: var(--paper-2);
  padding: 1px 5px;
  border-radius: 4px;
}
.lang.on { background: var(--cobalt-tint); border-color: var(--line-cobalt); color: var(--cobalt); }
.lang.on em { background: var(--paper-2); color: var(--cobalt); }

/* knowledge base */
.kb { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.kb-doc {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.kb-doc svg { width: 16px; height: 16px; stroke: var(--cobalt); fill: none; }
.kb-doc .nm { color: var(--ink); font-weight: 500; }
.kb-doc .sz { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ash); }

/* multimodal — voice/image/audio mock chat */
.multimodal { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.mm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mm-row.out {
  background: linear-gradient(135deg, rgba(31, 61, 255, 0.07) 0%, rgba(88, 121, 255, 0.04) 100%);
  border-color: var(--line-cobalt);
}
.mm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  flex: 0 0 auto;
}
.mm-pill svg { width: 13px; height: 13px; stroke: var(--cobalt); fill: none; }
.mm-pill.out {
  background: var(--cobalt);
  border-color: var(--cobalt-deep);
  color: #fff;
}
.mm-pill.out svg { stroke: #fff; }
.mm-meta {
  font-size: 12.5px;
  color: var(--ash);
  flex: 1;
  min-width: 0;
}

/* notify — qualification email mock */
.notify {
  margin-top: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.notify-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.notify-from {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ash);
}
.notify-from svg { width: 22px; height: 22px; stroke: var(--cobalt); fill: var(--cobalt); }
.notify-from strong {
  display: block;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.notify-from em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ash);
}
.notify-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cobalt-bright) 0%, var(--cobalt) 100%);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.notify-subj {
  padding: 12px 14px 10px;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.notify-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.notify-grid > div {
  padding: 10px 12px;
  background: var(--paper);
}
.notify-grid .l {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}
.notify-grid strong {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
}

/* integrations — supported CRMs pill row */
.int-crms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 8px;
}
.int-crm {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cobalt-tint);
  border: 1px solid var(--line-cobalt);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--cobalt);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .notify-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-row { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-3 { grid-column: span 4; }
  .bento-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-3, .bento-2 { grid-column: span 1; }
  .bento-card h3, .bento-3 h3 { font-size: 19px; }
}

/* ===== INTEGRATIONS ============================================== */

.integrations {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.int-card {
  position: relative;
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.int-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-cobalt);
}
.int-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.int-logo {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--cobalt-tint);
  border: 1px solid var(--line-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.int-logo svg { width: 20px; height: 20px; stroke: var(--cobalt); fill: none; }
.int-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.int-card h3 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.int-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.5;
  margin-bottom: 18px;
}
.int-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.int-foot .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.int-foot .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 880px) { .integrations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .integrations-grid { grid-template-columns: 1fr; } }

/* ===== PRICING — CONTACT QUOTE CARD =============================== */

.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
}
.quote-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cobalt) 30%, var(--cobalt) 70%, transparent);
  opacity: 0.8;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  padding: 44px 40px 40px;
}
.quote-divider {
  background: linear-gradient(180deg, transparent 0%, var(--line-2) 15%, var(--line-2) 85%, transparent 100%);
}
.quote-col { padding: 0 32px; }
.quote-col:first-child { padding-left: 0; }
.quote-col:last-child  { padding-right: 0; }
.quote-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 500;
  margin-bottom: 20px;
}
.quote-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}
.quote-list li svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 1px;
}
.quote-list li:has(svg use[href="#i-x"]) { color: var(--ash); }
.quote-list li svg use[href="#i-x"] { stroke: var(--ash-2); }
.quote-list li:has(use[href="#i-x"]) svg { stroke: var(--ash-2); opacity: 0.7; }

.quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cobalt-tint) 100%);
}
.quote-foot-copy {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.5;
  max-width: 58ch;
}
.quote-foot-copy strong {
  display: block;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 28px;
  }
  .quote-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line-2) 15%, var(--line-2) 85%, transparent 100%);
  }
  .quote-col { padding: 0; }
  .quote-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
  }
}

/* ===== FAQ ======================================================= */

.faq {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
}
@media (max-width: 760px) {
  .faq-list { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
}
.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: var(--line-cobalt); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.faq-ico svg { width: 14px; height: 14px; stroke: var(--ash); fill: none; }
.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--cobalt-bright) 0%, var(--cobalt) 55%, var(--cobalt-deep) 100%);
  border-color: var(--cobalt);
  box-shadow: 0 4px 12px -4px rgba(31, 61, 255, 0.45), 0 0 0 1px rgba(31, 61, 255, 0.18);
}
.faq-item[open] .faq-ico svg { stroke: #fff; }
.faq-a {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ash);
  line-height: 1.6;
}

/* ===== CTA / CONTACT ============================================== */

.cta {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-mesh {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  filter: blur(80px);
}
.cta-mesh .mesh-blob-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(31, 61, 255, 0.30), transparent 65%);
  animation: drift-1 36s ease-in-out infinite;
}
.cta-mesh .mesh-blob-2 {
  width: 600px; height: 600px;
  bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.18), transparent 65%);
  animation: drift-2 40s ease-in-out infinite;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.cta-copy .section-h { font-size: clamp(34px, 4.6vw, 52px); }
.cta-feats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-feats li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cta-feats li svg {
  width: 18px; height: 18px;
  stroke: var(--cobalt);
  fill: none;
  flex-shrink: 0;
  margin-top: 1px;
}
.cta-feats li strong {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  color: var(--ink);
}
.cta-feats li > span { display: block; font-size: 13px; color: var(--ash); line-height: 1.4; }
.cta-feats li > span strong { display: block; margin-bottom: 1px; }

/* form */
.cta-form {
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.cta-form h3 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.form-intro {
  font-size: 13.5px;
  color: var(--ash);
  margin-bottom: 20px;
}
.form-msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 16px;
}
.form-msg.show { display: block; }
.form-err { background: var(--coral-soft); color: #c4341a; border: 1px solid rgba(255, 107, 74, 0.3); }
.form-ok  { background: var(--green-soft); color: #0f7a3a; border: 1px solid rgba(37, 211, 102, 0.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
  font-weight: 500;
}
.field label em { color: var(--coral); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ash-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: var(--paper-2);
  box-shadow: 0 0 0 3px var(--cobalt-soft);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
  font-size: 12.5px;
  color: var(--ash);
  line-height: 1.4;
}
.consent input { margin-top: 2px; accent-color: var(--cobalt); }
.consent a { color: var(--cobalt); text-decoration: underline; }

/* honeypot — visually hidden but still in the DOM for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cta-feats { grid-template-columns: 1fr; }
  .cta-form { padding: 22px; }
}

/* ===== FOOTER ===================================================== */

.footer {
  padding: 64px 0 32px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-offices li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ash);
}
.footer-offices svg {
  width: 14px; height: 14px;
  stroke: var(--cobalt);
  fill: none;
  flex: 0 0 14px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ash);
  line-height: 1.55;
  max-width: 32ch;
}
.footer-brand .brand { margin-bottom: 6px; }
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.footer-social svg { width: 16px; height: 16px; stroke: var(--ash); fill: none; }
.footer-social a:hover { background: var(--cobalt-tint); border-color: var(--line-cobalt); }
.footer-social a:hover svg { stroke: var(--cobalt); }
.footer-grid h4 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a {
  font-size: 13.5px;
  color: var(--ash);
  transition: color 0.15s;
}
.footer-grid ul a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-transform: uppercase;
}
.footer-bottom .status { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== WHATSAPP FLOAT ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* ===== REVEAL ==================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .mesh-blob { animation: none !important; }
}
