/* ===================================================================
   talks with tech lead — styles
   Theme: deep navy canvas + electric cobalt glow, pulled from the logo.
   Fonts: Bricolage Grotesque (display), Hanken Grotesk (body),
          JetBrains Mono (code accents).
   =================================================================== */

:root {
  /* Brand palette (from the logo) */
  --navy-900: #070b16;
  --navy-800: #0b1124;
  --navy-700: #101a33;   /* dark speech bubble */
  --navy-600: #16213f;
  --navy-500: #1d2c52;

  --blue-600: #2257d6;
  --blue-500: #2f6fed;   /* brand blue */
  --blue-400: #4f86ff;
  --blue-300: #84aaff;
  --cyan:     #49d3ff;

  --ink:    #eaf0ff;
  --muted:  #9fb0d4;
  --faint:  #6c7ba3;
  --line:   rgba(132, 170, 255, 0.14);
  --line-2: rgba(132, 170, 255, 0.28);

  --grad: linear-gradient(105deg, var(--blue-400), var(--cyan));

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1140px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Atmosphere ---------- */
.bg-grid,
.bg-glow,
.bg-noise { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 80%);
  opacity: .6;
}

.bg-glow { filter: blur(80px); border-radius: 50%; opacity: .5; }
.bg-glow--1 {
  width: 620px; height: 620px;
  top: -220px; left: -120px;
  background: radial-gradient(circle, rgba(47,111,237,.55), transparent 70%);
}
.bg-glow--2 {
  width: 560px; height: 560px;
  top: 12%; right: -180px;
  background: radial-gradient(circle, rgba(73,211,255,.32), transparent 70%);
}

.bg-noise {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- Shared ---------- */
.mono-accent { font-family: var(--font-mono); color: var(--cyan); font-weight: 500; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--muted); }
.hl { color: var(--blue-300); }

/* Logo badge: a light surface so `mix-blend-mode: multiply` reveals the mark.
   The PNG's white background melts seamlessly into the white chip (no box). */
.logo-chip {
  display: inline-flex; line-height: 0;
  background: #fff; border-radius: 12px; padding: 6px 9px;
}
.logo-chip--wide { border-radius: 16px; padding: 12px 18px; }
.logo-chip img {
  mix-blend-mode: multiply;
  filter: contrast(1);   /* keeps edges crisp against the white chip */
  display: block;
}

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.4rem; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn--primary {
  background: var(--blue-500); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(47,111,237,.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(47,111,237,.85); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: rgba(132,170,255,.1); transform: translateY(-3px); }
.btn--ghost:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto;
  padding: 1rem 1.6rem;
  backdrop-filter: blur(10px);
}
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,11,22,.85), rgba(7,11,22,0));
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__logo { width: 30px; height: auto; display: block; }
.nav__wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -.02em;
}
.nav__wordmark em { color: var(--blue-400); font-style: normal; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; font-weight: 500; }
.nav__links a { color: var(--muted); transition: color .2s; font-size: .96rem; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important; padding: .5rem 1.1rem;
  border: 1px solid var(--line-2); border-radius: 100px;
  transition: background .2s, border-color .2s;
}
.nav__cta:hover { background: rgba(132,170,255,.12); border-color: var(--blue-400); }

/* ---------- Section scaffolding ---------- */
section { max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .02em;
  color: var(--muted); text-transform: none;
  padding: .45rem .9rem; border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(132,170,255,.05);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-kicker { font-family: var(--font-mono); color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: -.03em;
}
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

/* ===================================================================
   SECTION 1 · HERO
   =================================================================== */
.hero { padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: 4rem; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem; align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.0;
  letter-spacing: -.04em; margin: 1.5rem 0 1.4rem;
}
.hero__title .mono-accent { font-size: .62em; font-weight: 500; }
.hero__lede { color: var(--muted); font-size: 1.16rem; max-width: 33ch; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Hero art — speech bubbles */
.hero__art { position: relative; min-height: 380px; }
.bubble {
  position: absolute; border-radius: 22px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.8);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.bubble--code {
  top: 0; left: 0; width: 100%; max-width: 420px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border-radius: 22px 22px 22px 6px;
  padding: 1rem 1.2rem 1.3rem;
}
.bubble__bar { display: flex; gap: .45rem; margin-bottom: .9rem; }
.bubble__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--navy-500); }
.bubble__bar span:first-child { background: #ff5f57; }
.bubble__bar span:nth-child(2) { background: #febc2e; }
.bubble__bar span:nth-child(3) { background: #28c840; }
.bubble--code pre { font-family: var(--font-mono); font-size: .86rem; line-height: 1.7; overflow-x: auto; }
.bubble--code code { color: #cdd9f5; }
.c-gray { color: var(--faint); }
.c-blue { color: var(--blue-400); }
.c-key  { color: var(--cyan); }
.c-str  { color: #7ee0a5; }
.c-fn   { color: #ffcf6b; }

.bubble--chat {
  bottom: 8px; right: 0; width: 250px;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-600));
  border-radius: 22px 22px 6px 22px; border-color: transparent;
  padding: 1.1rem 1.2rem; color: #fff;
  animation-delay: .8s;
}
.bubble--chat p { font-size: .95rem; font-weight: 500; }
.bubble__dots { display: flex; gap: .35rem; margin-bottom: .6rem; }
.bubble__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); animation: blink 1.4s infinite; }
.bubble__dots i:nth-child(2) { animation-delay: .2s; }
.bubble__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .35; } 30% { opacity: 1; } }

.bubble--mini {
  top: 44%; left: -6%; width: 64px; height: 64px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--cyan);
  background: var(--navy-700); border-radius: 18px 18px 18px 4px;
  animation-delay: var(--d, 0s);
}

/* About strip */
.about {
  margin-top: 4.5rem; padding: 2rem 2.2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(132,170,255,.05), rgba(132,170,255,.01));
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem 1.8rem; align-items: start;
}
.about__chip {
  font-family: var(--font-mono); font-size: .8rem; color: var(--cyan);
  border: 1px solid var(--line-2); padding: .35rem .8rem; border-radius: 100px;
}
.about__text { font-size: 1.12rem; color: var(--muted); }
.about__text strong { color: var(--ink); }
.about__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.about__tags li {
  font-family: var(--font-mono); font-size: .82rem; color: var(--blue-300);
  background: rgba(47,111,237,.1); border: 1px solid var(--line);
  padding: .3rem .75rem; border-radius: 8px;
}

/* ===================================================================
   SECTION 2 · OFFER + INFOGRAPHICS
   =================================================================== */
.offer { padding: 5.5rem 1.6rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 4.5rem; }
.card {
  padding: 1.9rem 1.7rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-800), rgba(11,17,36,.4));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 50px -24px rgba(47,111,237,.5); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: var(--cyan); background: rgba(73,211,255,.08); border: 1px solid var(--line-2);
  margin-bottom: 1.2rem;
}
.card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* Info blocks (shared) */
.info, .roadmap {
  padding: 2.2rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,26,51,.55), rgba(11,17,36,.3));
  margin-bottom: 1.6rem;
}
.info__head { margin-bottom: 1.8rem; }
.info__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.info__note { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); margin-top: .35rem; }

/* Infographic 1 · topic cards */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.topic {
  padding: 1.5rem 1.4rem; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(11,17,36,.45);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.topic:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 22px 46px -24px rgba(47,111,237,.5); }
.topic__glyph {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  color: var(--cyan); background: rgba(73,211,255,.08); border: 1px solid var(--line-2);
}
.topic h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; letter-spacing: -.01em; }
.topic p { color: var(--muted); font-size: .95rem; }

/* Infographic 2 · productivity gains */
.gains__legend { display: flex; gap: 1.4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; font-family: var(--font-mono); }
.gains__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.swatch { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.swatch--before { background: var(--navy-500); border: 1px solid var(--line-2); }
.swatch--after { background: var(--blue-500); }

.gain { margin-bottom: 1.5rem; }
.gain__label { font-weight: 600; margin-bottom: .6rem; font-size: 1.02rem; }
.gain__rows { display: grid; gap: .5rem; }
.gain__row { position: relative; display: flex; align-items: center; height: 30px; }
.gain__row span { position: absolute; right: -42px; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.gain__fill {
  height: 100%; width: 0; border-radius: 8px;
  transition: width 1.3s var(--ease);
}
.gain__row--before .gain__fill { background: var(--navy-500); border: 1px solid var(--line-2); }
.gain__row--after  .gain__fill { background: linear-gradient(90deg, var(--blue-500), var(--cyan)); box-shadow: 0 0 18px rgba(47,111,237,.5); }
.gains { padding-right: 46px; }

.gains__stat {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed var(--line-2);
  display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap;
}
.gains__stat .counter {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gains__stat .counter__x { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,7vw,4rem); color: var(--blue-400); margin-left: -.5rem; }
.gains__stat p { color: var(--muted); max-width: 24ch; }

/* Infographic 3 · roadmap */
.road { list-style: none; display: grid; gap: 1.2rem; counter-reset: step; }
.road__step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  padding: 1.4rem 1.5rem; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(11,17,36,.4);
  position: relative; transition: border-color .3s, transform .3s var(--ease);
}
.road__step:hover { border-color: var(--line-2); transform: translateX(6px); }
.road__num {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 12px; color: var(--navy-900);
  background: var(--grad); box-shadow: 0 0 20px rgba(73,211,255,.4);
}
.road__body h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: .3rem; }
.road__body p { color: var(--muted); font-size: .98rem; }

/* ===================================================================
   SECTION 3 · JOIN
   =================================================================== */
.join { padding: 2rem 1.6rem 6rem; }
.join__card {
  position: relative; overflow: hidden;
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 2rem;
  border-radius: 28px; border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 50% 0%, rgba(47,111,237,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-700), var(--navy-800));
}
.join__bubble {
  position: absolute; top: -30px; right: -10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 9rem;
  color: rgba(132,170,255,.06); pointer-events: none; user-select: none;
}
.join__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5.5vw, 3.4rem); letter-spacing: -.03em; margin: .8rem 0 1rem; }
.join__sub { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin: 0 auto 2rem; }
.join__actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.join__mail { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .95rem; font-family: var(--font-mono); transition: color .2s; }
.join__mail:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 3rem 1.6rem 4rem; border-top: 1px solid var(--line); }
.footer .logo-chip { margin: 0 auto 1.2rem; }
.footer__logo { width: 188px; display: block; }
.footer__tag { font-family: var(--font-mono); font-size: .9rem; color: var(--blue-300); }
.footer__fine { color: var(--faint); font-size: .85rem; margin-top: .5rem; }

/* ===================================================================
   MOTION · reveal on scroll
   =================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

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

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__art { min-height: 340px; max-width: 440px; }
  .cards { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav__links { gap: 1rem; }
  .nav__links a:not(.nav__cta) { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__tags { grid-column: 1; }
  .hero__lede { max-width: none; }
  .info, .roadmap, .card { padding: 1.4rem; }
  .topics { grid-template-columns: 1fr; }
  .gains { padding-right: 38px; }
}
