/* =========================================================
   AEREX - site styles
   Brand: Midnight #0B0F14, Charcoal #1A1F24, Slate #4B5563,
          Teal #00E5D0, White #F5F7FA. General Sans (headings, UI) + Switzer (body).
   Shape rule: interactive elements are pills, containers are 18px.
   ========================================================= */

:root {
  --midnight: #0b0f14;
  --midnight-2: #0e1319;
  --charcoal: #1a1f24;
  --charcoal-2: #20262c;
  --slate: #4b5563;
  --muted: #9aa3ae;
  --soft: #c9d0d8;
  --white: #f5f7fa;
  --teal: #00e5d0;
  --teal-ink: #00bfae;
  --teal-a10: rgba(0, 229, 208, 0.1);
  --teal-a20: rgba(0, 229, 208, 0.2);
  --line: rgba(245, 247, 250, 0.08);
  --line-2: rgba(245, 247, 250, 0.14);

  --font-display: "General Sans", system-ui, sans-serif;
  --font-heading: "General Sans", system-ui, sans-serif;
  --font-body: "Switzer", system-ui, sans-serif;

  --r: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;

  /* z-index scale */
  --z-base: 1;
  --z-sticky: 10;
  --z-nav: 50;
  --z-menu: 60;
  --z-grain: 70;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-family: var(--font-display); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: var(--midnight); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Film grain, fixed and non-interactive so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.045;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--midnight); padding: 10px 18px; border-radius: var(--pill);
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 12vw, 168px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.teal { color: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--soft);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--teal); }

.display, .h2, .h3 { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.display {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.07; letter-spacing: -0.03em;
}
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--soft); max-width: 46ch; }
.body { max-width: 62ch; }

/* split-text helpers (filled in by JS) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn i { font-size: 1.1em; transition: transform .45s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--teal); color: var(--midnight); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--white); background: rgba(11, 15, 20, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { --h: 42px; padding-inline: 20px; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
  padding-bottom: 3px;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--teal); }
.link-arrow i { transition: transform .45s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 18px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: var(--pill);
  font-size: 0.9rem; color: var(--soft); transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; border-radius: var(--pill); border: 1px solid var(--line-2); }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--midnight); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a {
  display: block; font-family: var(--font-display); font-weight: 600; color: var(--white);
  font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.03em; line-height: 1.25; padding-block: 4px;
}
.menu__links a[aria-current="page"] { color: var(--teal); }
.menu__foot { display: grid; gap: 6px; font-size: 0.95rem; }
.menu__foot a { color: var(--white); }
.nav.menu-open { background: transparent; border-color: transparent; backdrop-filter: none; }
.nav.menu-open .nav__inner { position: relative; z-index: calc(var(--z-menu) + 1); }

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

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--midnight); display: flex; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,15,20,.88) 0%, rgba(11,15,20,.55) 38%, rgba(11,15,20,0) 68%),
    linear-gradient(180deg, rgba(11,15,20,.55) 0%, rgba(11,15,20,0) 22%, rgba(11,15,20,0) 70%, var(--midnight) 100%);
}
.hero-panel { position: relative; flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 1000px; padding-top: var(--nav-h); }
.hero-copy .display { margin-top: 22px; font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
.hero-copy .lead { margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

@media (max-width: 768px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11,15,20,.7) 0%, rgba(11,15,20,.45) 45%, rgba(11,15,20,.85) 80%, var(--midnight) 100%);
  }
  .hero-panel { align-items: flex-end; padding-bottom: 96px; }
}

/* ---------- Integrations marquee ---------- */
.logos { border-block: 1px solid var(--line); padding-block: 40px; overflow: hidden; }
.logos__head { text-align: center; font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding-right: clamp(40px, 6vw, 80px); }
.marquee img { height: 26px; width: auto; opacity: 0.5; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement + stats ---------- */
.statement__text {
  font-family: var(--font-display); font-weight: 600; color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 22ch;
}
.statement__text .w { opacity: 0.16; }
html:not(.js) .statement__text .w { opacity: 1; }
.stats {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 32px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 500; color: var(--white); font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.04em; line-height: 1; }
.stat__num .teal { font-weight: 500; }
.stat__label { margin-top: 12px; font-size: 0.95rem; }
@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Section head ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .lead { margin-top: 20px; }
.sec-head .kicker { margin-bottom: 22px; }

/* ---------- Services bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(260px, auto);
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--charcoal);
  padding: clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.tile:hover { border-color: rgba(0, 229, 208, 0.35); }
.tile__icon { font-size: 30px; color: var(--teal); margin-bottom: auto; }
.tile p { max-width: 40ch; font-size: 0.98rem; }
.tile .link-arrow { margin-top: 8px; align-self: flex-start; }
.tile__img { position: absolute; inset: 0; z-index: -2; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.1); }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,.1) 0%, rgba(11,15,20,.55) 45%, rgba(11,15,20,.95) 100%); }
/* cursor spotlight (feedback on hover) */
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 208, 0.1), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.tile--a { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--d { grid-column: span 4; }
.tile--e { grid-column: span 4; }
.tile--f { grid-column: span 4; background: linear-gradient(160deg, #10302e 0%, var(--charcoal) 55%); }
.tile--a .h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
@media (max-width: 1024px) {
  .tile--a { grid-column: span 12; min-height: 460px; grid-row: span 1; }
  .tile--b, .tile--c { grid-column: span 6; }
  .tile--d, .tile--e, .tile--f { grid-column: span 4; }
}
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: auto; min-height: 280px; }
  .tile--a { min-height: 420px; }
}

/* ---------- Featured project ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--charcoal); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--parallax img { transform: scale(1.18); }
.feature .media { aspect-ratio: 4 / 5; }
.feature__copy .h2 { margin-top: 22px; }
.feature__copy .body { margin-top: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.metric__num { font-family: var(--font-display); font-weight: 500; color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1; }
.metric__label { margin-top: 10px; font-size: 0.88rem; line-height: 1.45; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature .media { aspect-ratio: 4 / 3; }
}

/* ---------- What we build: three featured + three supporting (home) ---------- */
.svc-card__icon { width: 48px; height: 48px; flex: 0 0 auto; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 24px; color: var(--teal); background: var(--teal-a10); border: 1px solid var(--teal-a20); }
.build-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s var(--ease), transform .6s var(--ease); }
.feat:hover { border-color: rgba(0, 229, 208, 0.32); transform: translateY(-4px); }
.feat__visual { height: 290px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 120% at 50% 0%, rgba(0, 229, 208, 0.09), transparent 60%), #0d1217; }
.feat__body { padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feat__head { display: flex; align-items: center; gap: 14px; }
.feat__body p { font-size: 0.97rem; }
.feat__body .link-arrow { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.agent-trio--mini { margin: 0; gap: 8px; }
.agent-trio--mini .agent-trio__item { border-radius: var(--r-sm); }
.agent-trio--mini .agent-trio__item span { left: 8px; bottom: 6px; font-size: 0.72rem; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat__msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 0.84rem; line-height: 1.4; }
.chat__msg--in { align-self: flex-end; color: var(--white); background: #222a31; border-bottom-right-radius: 4px; }
.chat__msg--out { align-self: flex-start; color: var(--white); background: rgba(0, 229, 208, 0.1); border: 1px solid var(--teal-a20); border-bottom-left-radius: 4px; }
.chat__who { display: block; font-size: 0.7rem; font-weight: 600; color: var(--teal); margin-bottom: 2px; font-family: var(--font-display); }
.chat__status { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 0.74rem; color: var(--muted); }
.chat__status i { color: var(--teal); font-size: 15px; }
.track { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 8px; }
.track::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(var(--teal-a20), var(--teal), var(--teal-a20)); }
.track li { position: relative; display: flex; align-items: center; gap: 12px; }
.track .flow__icon { width: 42px; height: 42px; border-radius: 11px; font-size: 20px; flex: 0 0 auto; background-color: #10171d; }
.track .flow__icon--voice { border-radius: 11px; background: #0f2a29; }
.track .flow__icon img { width: 18px; height: 18px; }
.track__label { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--white); line-height: 1.25; }
.track__chip { margin-left: auto; white-space: nowrap; font-size: 0.72rem; font-weight: 500; color: var(--teal); padding: 4px 9px; border-radius: var(--pill); background: var(--teal-a10); border: 1px solid var(--teal-a20); }
.build-more { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s var(--ease), transform .6s var(--ease); }
.mini:hover { border-color: rgba(0, 229, 208, 0.32); transform: translateY(-3px); }
.mini__text { display: grid; gap: 4px; flex: 1; }
.mini__title { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1rem; }
.mini__desc { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.mini__arrow { color: var(--soft); font-size: 18px; transition: transform .45s var(--ease), color .3s; }
.mini:hover .mini__arrow { color: var(--teal); transform: translateX(4px); }
@media (max-width: 1100px) { .build-main, .build-more { grid-template-columns: 1fr 1fr; } .build-main .feat:last-child { grid-column: 1 / -1; } .build-more .mini:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .build-main, .build-more { grid-template-columns: 1fr; } .build-main .feat:last-child, .build-more .mini:last-child { grid-column: auto; } .feat__visual { height: auto; min-height: 240px; } }

/* ---------- Meet the agents (home) ---------- */
.agents-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s var(--ease), transform .6s var(--ease); }
.agent-card:hover { border-color: rgba(0, 229, 208, 0.35); transform: translateY(-4px); }
.agent-card__media { aspect-ratio: 1 / 1; background: #000; overflow: hidden; }
.agent-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-card__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.agent-card__role { font-family: var(--font-display); font-weight: 500; font-size: 0.85rem; color: var(--teal); }
.agent-card__body > p:not(.agent-card__role) { font-size: 0.98rem; }
.agent-card .link-arrow { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.agent-card:hover .link-arrow { background-size: 100% 1px; color: var(--teal); }
@media (max-width: 900px) { .agents-row { grid-template-columns: 1fr; } .agent-card__media { aspect-ratio: 4 / 3; } }

/* Detailed UI imagery is shown whole, never cropped */
.process__aside .media.media--board, .svc-block .media.media--board { aspect-ratio: 3 / 2; border: 1px solid var(--line); }
.media--board img { object-fit: cover; }

/* Layered dashboard composition (How we work) */
.layered { position: relative; margin-top: 40px; padding: 0 0 44px 0; isolation: isolate; }
.process__aside .layered .media { margin-top: 0; }
.layered__shot { position: relative; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.layered__mark { position: absolute; z-index: 0; width: 46%; right: -8%; top: -16%; opacity: 0.16; filter: drop-shadow(0 0 40px rgba(0, 229, 208, 0.5)); pointer-events: none; }
.layered__badge {
  position: absolute; z-index: 2; left: -22px; bottom: 0;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px;
  border-radius: 16px; border: 1px solid rgba(0, 229, 208, 0.28);
  background: rgba(13, 18, 23, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 50px -18px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(0, 229, 208, 0.35);
}
.layered__x { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #0f2a29; border: 1px solid var(--teal-a20); }
.layered__x img { width: 30px; height: auto; filter: drop-shadow(0 0 8px rgba(0, 229, 208, 0.6)); }
.layered__word { height: 14px; width: auto; }
.layered__badge p { margin-top: 7px; font-size: 0.78rem; color: var(--teal); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; }
@media (prefers-reduced-transparency: reduce) { .layered__badge { background: #0d1217; backdrop-filter: none; } }
@media (max-width: 900px) { .layered__badge { left: 12px; } .layered__mark { right: 0; } }

/* ---------- Process (sticky) ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); }
.process__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.process__aside .lead { margin-top: 20px; }
.process__aside .media { margin-top: 40px; aspect-ratio: 16 / 10; }
.process__steps { position: relative; padding-left: 40px; }
.process__rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.process__fill { position: absolute; inset: 0; background: var(--teal); transform-origin: top; transform: scaleY(0); }
.step { padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); opacity: 0.4; transition: opacity .6s var(--ease); }
.step:first-of-type { padding-top: 0; }
.step:last-child { border-bottom: 0; }
.step.is-active, html:not(.js) .step { opacity: 1; }
.step__meta { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.step .h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.step p { margin-top: 16px; max-width: 46ch; }
.step ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding-inline: 14px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 0.84rem; color: var(--soft); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .step { opacity: 1; }
}

/* ---------- Industries tabs ---------- */
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  height: 44px; padding-inline: 20px; border-radius: var(--pill); border: 1px solid var(--line-2);
  font-size: 0.92rem; color: var(--soft); transition: all .35s var(--ease);
}
.tab:hover { color: var(--white); border-color: var(--slate); }
.tab[aria-selected="true"] { background: var(--white); color: var(--midnight); border-color: var(--white); }
.tabpanel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.tabpanel[hidden] { display: none; }
.tabpanel .media { min-height: 440px; }
.tabpanel__body { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.tabpanel__body .h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tabpanel__body > p { margin-top: 14px; }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--soft); font-size: 0.98rem; }
.ticks i { color: var(--teal); font-size: 20px; margin-top: 2px; }
.tabpanel__body .link-arrow { margin-top: auto; padding-top: 32px; align-self: flex-start; }
@media (max-width: 900px) {
  .tabpanel { grid-template-columns: 1fr; }
  .tabpanel .media { min-height: 280px; }
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tab { flex: 0 0 auto; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 7vw, 120px); }
.faq__intro .lead { margin-top: 20px; }
.faq__intro .link-arrow { margin-top: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px; text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--white);
}
.faq__q i { flex: 0 0 auto; font-size: 20px; color: var(--teal); transition: transform .5s var(--ease); }
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 26px; max-width: 60ch; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta { position: relative; overflow: hidden; min-height: 86vh; min-height: 86dvh; display: flex; align-items: center; isolation: isolate; }
.cta__bg { position: absolute; inset: -10% 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--midnight) 0%, rgba(11,15,20,.2) 30%, rgba(11,15,20,.35) 70%, var(--midnight) 100%); }
.cta__inner { text-align: center; max-width: 820px; margin-inline: auto; }
.cta__inner .lead { margin: 24px auto 0; text-align: center; }
.cta__inner .hero-ctas { justify-content: center; }
.cta__inner .display { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr 1.2fr; gap: 36px; }
.footer__brand img { height: 20px; width: auto; }
.footer__tag { margin-top: 18px; color: var(--teal); font-family: var(--font-display); font-weight: 500; line-height: 1.4; }
.footer__title { font-family: var(--font-display); color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { color: var(--muted); transition: color .3s; font-size: 0.95rem; }
.footer a:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.footer__contact i { color: var(--teal); font-size: 18px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: var(--pill); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; color: var(--soft); transition: all .35s var(--ease); }
.socials a:hover { color: var(--midnight); background: var(--teal); border-color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 72px; padding-block: 28px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__mark { margin-top: 24px; opacity: 0.06; pointer-events: none; }
.footer__mark img { width: 100%; height: auto; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 78vh; min-height: 78dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-bottom: clamp(56px, 8vw, 104px); padding-top: calc(var(--nav-h) + 48px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,15,20,.9) 0%, rgba(11,15,20,.5) 50%, rgba(11,15,20,.2) 100%), linear-gradient(180deg, rgba(11,15,20,.4) 0%, rgba(11,15,20,0) 40%, var(--midnight) 100%); }
.page-hero .display { margin-top: 22px; max-width: 20ch; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-hero .lead { margin-top: 24px; }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); }
.svc__index { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 4px; }
.svc__index a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--muted); font-size: 0.95rem; transition: color .3s; }
.svc__index a::before { content: ""; width: 14px; height: 1px; background: var(--slate); transition: width .45s var(--ease), background-color .3s; }
.svc__index a:hover, .svc__index a.is-active { color: var(--white); }
.svc__index a.is-active::before { width: 32px; background: var(--teal); }
.svc-block { padding-bottom: clamp(64px, 8vw, 112px); margin-bottom: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 32px); }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-block__icon { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--teal-a10); border: 1px solid var(--teal-a20); display: grid; place-items: center; font-size: 28px; color: var(--teal); }
.svc-block .h2 { margin-top: 28px; }
.svc-block > p { margin-top: 20px; max-width: 62ch; }
.svc-block .media { margin-top: 36px; aspect-ratio: 16 / 8; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.svc-cols h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.svc-cols .ticks { margin-top: 0; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__index { display: none; }
  .svc-cols { grid-template-columns: 1fr; }
}

/* AI agents trio (services page) */
.agent-trio { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agent-trio__item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .6s var(--ease); }
.agent-trio__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-trio__item span { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--white); }
.agent-trio__item:hover { border-color: rgba(0, 229, 208, 0.4); transform: translateY(-3px); }
@media (max-width: 640px) { .agent-trio { grid-template-columns: 1fr 1fr; } .agent-trio__item:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; } }

/* Agent capabilities (services page) */
.caps { margin-top: 36px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(120% 140% at 0% 0%, rgba(0, 229, 208, 0.07), transparent 55%), #0d1217; }
.caps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cap { padding: 20px; border-radius: var(--r-sm); background: rgba(26, 31, 36, 0.7); border: 1px solid rgba(0, 229, 208, 0.16); transition: border-color .4s var(--ease); }
.cap:hover { border-color: rgba(0, 229, 208, 0.4); }
.cap .flow__icon { border-radius: 12px; background: #0f2a29; margin-bottom: 14px; }
.cap ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.cap li { position: relative; padding-left: 16px; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.cap li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0.7; }
.agent-trio--examples { margin-top: 0; gap: 8px; }
.agent-trio--examples .agent-trio__item span { left: 8px; bottom: 6px; font-size: 0.72rem; }
@media (max-width: 640px) { .caps__grid { grid-template-columns: 1fr; } .agent-trio--examples { grid-template-columns: repeat(3, 1fr); } .agent-trio--examples .agent-trio__item:last-child { grid-column: auto; aspect-ratio: 1 / 1; } }

/* Browser frame around real site screenshots */
.browser { margin-top: 36px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--charcoal); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 229, 208, 0.04); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #15191e; }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b3138; }
.browser__bar p { margin: 0 auto; transform: translateX(-20px); font-size: 0.75rem; color: var(--muted); padding: 3px 18px; border-radius: var(--pill); background: var(--midnight); }
.browser img { width: 100%; height: auto; display: block; }

.svc-block .media.media--wide { aspect-ratio: auto; height: auto; border: 1px solid var(--line); background: #071016; }
.media--wide img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) { .media--wide { overflow-x: auto; } .media--wide img { width: 900px; max-width: none; } }

/* Workflow example (services page) */
.flow { margin-top: 36px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(120% 140% at 50% 120%, rgba(0, 229, 208, 0.08), transparent 60%), #0d1217; }
.flow__label { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-sm);
  background: rgba(26, 31, 36, 0.7); border: 1px solid rgba(0, 229, 208, 0.16); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.flow__step:hover { border-color: rgba(0, 229, 208, 0.45); transform: translateY(-2px); }
.flow__step--final { grid-column: span 2; border-color: rgba(0, 229, 208, 0.35); background: linear-gradient(140deg, rgba(0, 229, 208, 0.08), rgba(26, 31, 36, 0.7) 55%); }
.flow__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.flow__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; }
.flow__icon img { width: 24px; height: 24px; }
.flow__icon--voice { color: var(--teal); background: var(--teal-a10); border: 1px solid var(--teal-a20); border-radius: 50%; }
.flow__icon--excel { color: #33c481; background: rgba(33, 163, 102, 0.14); border: 1px solid rgba(33, 163, 102, 0.3); }
.flow__icon--pdf { color: #ff5a52; background: rgba(229, 37, 42, 0.13); border: 1px solid rgba(229, 37, 42, 0.3); }
.flow__icon--mail { background: rgba(245, 247, 250, 0.06); border: 1px solid var(--line-2); }
.flow__arrow { color: var(--teal); font-size: 18px; opacity: 0.7; }
.flow__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--white); line-height: 1.3; }
.flow__text { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.flow__chip { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 11px; border-radius: var(--pill);
  font-size: 0.78rem; font-weight: 500; color: var(--teal); background: var(--teal-a10); border: 1px solid var(--teal-a20); }
.flow__chip i { font-size: 15px; }
.flow__chip--voice { color: var(--soft); font-style: italic; background: rgba(245, 247, 250, 0.04); border-color: var(--line-2); }
.flow__chip--voice i { color: var(--teal); font-style: normal; }
@media (max-width: 1100px) { .flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow__step--final { grid-column: span 2; } }
@media (max-width: 560px) { .flow__steps { grid-template-columns: 1fr; } .flow__step--final { grid-column: auto; } .flow__arrow { transform: rotate(90deg); } }

/* Example panels: audit + monthly report (services page) */
.mock { margin-top: 36px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(120% 140% at 100% 0%, rgba(0, 229, 208, 0.07), transparent 55%), #0d1217; }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--white); }
.mock__title i { color: var(--teal); font-size: 22px; }
.mock__tag { font-size: 0.75rem; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line-2); border-radius: var(--pill); }
.audit { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.audit li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(26, 31, 36, 0.7); border: 1px solid var(--line); }
.audit__name { font-family: var(--font-display); font-weight: 500; color: var(--white); font-size: 0.95rem; }
.audit__note { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.pill-tag { flex: 0 0 auto; white-space: nowrap; font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: var(--pill); border: 1px solid; }
.pill-tag--go { color: var(--midnight); background: var(--teal); border-color: var(--teal); }
.pill-tag--next { color: var(--teal); background: var(--teal-a10); border-color: var(--teal-a20); }
.pill-tag--no { color: var(--muted); background: transparent; border-color: var(--line-2); }
.mock__foot { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.mock__foot i { color: var(--teal); font-size: 17px; }
.svc-cta { margin-top: 24px; }
.report { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.report__stat { padding: 16px; border-radius: var(--r-sm); background: rgba(26, 31, 36, 0.7); border: 1px solid var(--line); }
.report__num { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 0.98rem; }
.report__label { margin-top: 4px; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-a20); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(0, 229, 208, 0); } }
.report__next { margin-top: 8px; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); border: 1px solid rgba(0, 229, 208, 0.3); background: linear-gradient(120deg, rgba(0, 229, 208, 0.08), transparent 70%); }
.report__next > i { color: var(--teal); font-size: 22px; margin-top: 2px; }
@media (max-width: 640px) { .report { grid-template-columns: 1fr; } .audit li { flex-direction: column; align-items: flex-start; } }

/* Consulting journey (services page) */
.journey { margin-top: 36px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(120% 140% at 0% 0%, rgba(0, 229, 208, 0.07), transparent 55%), #0d1217; }
.journey__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.journey__steps::before { content: ""; position: absolute; left: 40px; right: 40px; top: 40px; height: 1px; background: linear-gradient(90deg, var(--teal-a20), var(--teal), var(--teal-a20)); z-index: 0; }
.journey__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-sm); background: rgba(20, 25, 30, 0.92); border: 1px solid rgba(0, 229, 208, 0.16); }
.journey__step .flow__icon { margin-bottom: 6px; background: #0f2a29; }
.learn { margin-top: 16px; padding: 18px; border-radius: var(--r-sm); border: 1px solid rgba(0, 229, 208, 0.3); background: linear-gradient(120deg, rgba(0, 229, 208, 0.07), transparent 70%); }
.learn__tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.learn__tags li { font-size: 0.84rem; color: var(--soft); padding: 7px 13px; border-radius: var(--pill); border: 1px solid var(--line-2); background: rgba(245, 247, 250, 0.03); }
@media (max-width: 1100px) { .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey__steps::before { display: none; } }
@media (max-width: 560px) { .journey__steps { grid-template-columns: 1fr; } }

/* engagement rows */
.engage { border-top: 1px solid var(--line); }
.engage__row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; padding-block: 40px; border-bottom: 1px solid var(--line); align-items: start; transition: background-color .4s; }
.engage__row:hover { background: linear-gradient(90deg, transparent, rgba(0,229,208,.03), transparent); }
.engage__name { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.engage__time { font-family: var(--font-display); color: var(--teal); font-size: 0.9rem; text-align: right; }
@media (max-width: 768px) { .engage__row { grid-template-columns: 1fr; gap: 12px; } .engage__time { text-align: left; } }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.story .media { aspect-ratio: 4 / 5; }
.story__copy .h2 { margin-top: 22px; }
.story__copy p { margin-top: 20px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.principle i { font-size: 30px; color: var(--teal); }
.principle .h3 { margin-top: 28px; }
.principle p { margin-top: 12px; max-width: 46ch; }
.principle--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; background: linear-gradient(135deg, #0f2a29 0%, var(--charcoal) 60%); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story .media { aspect-ratio: 4 / 3; }
  .principles { grid-template-columns: 1fr; }
  .principle--wide { grid-column: auto; grid-template-columns: 1fr; }
}
.quote-band { text-align: left; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.2; letter-spacing: -0.025em; max-width: 26ch; }

/* ---------- Case studies (sticky stack) ---------- */
.stack { display: grid; gap: 24px; }
.case {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  min-height: min(640px, calc(100dvh - var(--nav-h) - 48px));
  transform-origin: center top;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.case .media { border-radius: 0; height: 100%; min-height: 320px; }
.media--video { background: #000; }
.media--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__cta { align-self: flex-start; margin-top: 28px; }
.case__shade { position: absolute; inset: 0; z-index: 2; background: var(--midnight); opacity: 0; pointer-events: none; }
.case__body { padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; }
.case__sector { font-size: 0.85rem; color: var(--teal); font-family: var(--font-display); font-weight: 500; }
.case__body .h2 { margin-top: 16px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.case__rows { margin-top: 24px; display: grid; gap: 16px; }
.case__rows dt { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 0.9rem; }
.case__rows dd { margin: 4px 0 0; font-size: 0.96rem; }
.case .metrics { margin-block: auto 0; padding-top: 24px; margin-top: 28px; }
@media (max-width: 900px) {
  .case { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .case .media { aspect-ratio: 16 / 10; height: auto; }
  /* agent posters carry text, so show them whole on small screens */
  .case .media--square { aspect-ratio: 1 / 1; }
}

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); }
.contact__aside .display { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-top: 22px; }
.contact__aside .lead { margin-top: 22px; }
.contact__direct { margin-top: 40px; display: grid; gap: 4px; }
.contact__direct a, .contact__direct div { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--white); font-size: 1rem; }
.contact__direct i { color: var(--teal); font-size: 20px; }
.contact__direct a:hover { color: var(--teal); }
.contact__aside .media { margin-top: 40px; aspect-ratio: 16 / 10; }

.form { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.6vw, 52px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; color: var(--white); padding: 0; }
.field .req { color: var(--teal); }
.input, .select, .textarea {
  width: 100%; background: var(--midnight-2); color: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
}
.input::placeholder, .textarea::placeholder { color: #7d8692; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-a20); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300E5D0' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field__help { font-size: 0.82rem; color: var(--muted); }
.field__error { font-size: 0.84rem; color: #ff8a8a; display: none; }
.field.has-error .input, .field.has-error .textarea { border-color: #ff8a8a; }
.field.has-error .field__error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; height: 40px; padding-inline: 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--soft); cursor: pointer; transition: all .3s var(--ease); user-select: none; }
.pill span:hover { border-color: var(--slate); color: var(--white); }
.pill input:checked + span { background: var(--teal-a10); border-color: var(--teal); color: var(--teal); }
.pill input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form__foot { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 0.85rem; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-sm); font-size: 0.95rem; display: none; }
.form__status.is-success { display: block; background: var(--teal-a10); border: 1px solid var(--teal-a20); color: var(--white); }
.form__status.is-error { display: block; background: rgba(255, 138, 138, 0.08); border: 1px solid rgba(255, 138, 138, 0.3); color: #ffd0d0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- First-screen entrance: pure CSS so text paints immediately ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > *, .page-hero .container > *, .contact__aside > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2), .page-hero .container > :nth-child(2), .contact__aside > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3), .page-hero .container > :nth-child(3), .contact__aside > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(n+4), .page-hero .container > :nth-child(n+4), .contact__aside > :nth-child(n+4) { animation-delay: .24s; }

/* ---------- Reveal defaults (JS adds .js to html) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(32px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1 !important; }
  .step { opacity: 1; }
  .media--parallax img, .page-hero__bg img { transform: none; }
}
.faq__a { scroll-margin-top: calc(var(--nav-h) + 140px); }
.flow__chip { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .layered { padding-bottom: 28px; } .layered__badge { left: 10px; padding: 9px 14px 9px 9px; gap: 10px; } .layered__badge p { display: none; } .layered__x { width: 36px; height: 36px; border-radius: 9px; } .layered__x img { width: 20px; } .layered__word { height: 11px; } }
@media (max-width: 560px) { .journey__steps.journey__steps--compact { grid-template-columns: 1fr 1fr; } .journey__steps--compact .journey__step { padding: 14px; } .journey__steps--compact .flow__chip { font-size: 0.72rem; padding: 5px 9px; } }
.cta--deep::after { background: radial-gradient(60% 55% at 50% 50%, rgba(11,15,20,.72), rgba(11,15,20,.35) 70%), linear-gradient(180deg, var(--midnight) 0%, rgba(11,15,20,.3) 30%, rgba(11,15,20,.45) 70%, var(--midnight) 100%); }
.page-hero__bg .agents-hero-img { object-position: 75% center; } @media (max-width: 760px) { .page-hero__bg .agents-hero-img { object-position: 84% center; } }

/* ---------- Signature shape: cut-corner buttons (echoes the slash in the AEREX X) ----------
   Rule: buttons and the nav CTA are chamfered; small tags and chips use a tight 4px radius. */
:root { --cut: 9px; }
.btn { border-radius: 0; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.btn--sm { --cut: 8px; }
/* Ghost buttons: the background acts as the border, an inset layer fills the middle */
.btn--ghost { border: 0; background: var(--line-2); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.btn--ghost::after { content: ""; position: absolute; inset: 1px; z-index: -1; background: #0f151b; clip-path: polygon(calc(var(--cut) - 0.4px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.4px), calc(100% - var(--cut) + 0.4px) 100%, 0 100%, 0 calc(var(--cut) - 0.4px)); }
.btn--ghost:hover { background: var(--teal); }
.btn:focus-visible { outline: none; box-shadow: none; filter: drop-shadow(0 0 0 var(--teal)) drop-shadow(0 0 6px rgba(0, 229, 208, 0.7)); }
.chip, .flow__chip, .track__chip, .mock__tag, .pill span, .tab, .rp-pill, .learn__tags li, .pill-tag { border-radius: 4px; }
.socials a { border-radius: 8px; }

/* ---------- Hero headline: line-by-line reveal ---------- */
.hero-copy > .hero-title { animation: none; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.15s cubic-bezier(.19, 1, .22, 1) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .line:nth-child(2) > span { animation-delay: .32s; }
@keyframes lineUp { from { transform: translateY(105%); opacity: 0; filter: blur(6px); } 60% { opacity: 1; } to { transform: none; opacity: 1; filter: blur(0); } }
.hero-copy > .kicker { animation-delay: 0s; }
.hero-copy > .lead { animation-delay: .6s; }
.hero-copy > .hero-ctas { animation-delay: .75s; }

/* Compact buttons: 42px tall (38px for the nav button) */
.btn { --h: 42px; padding-inline: 20px; font-size: 0.86rem; }
.btn--sm { --h: 38px; padding-inline: 16px; font-size: 0.82rem; }

/* Home hero: shorter, so the next section peeks in, with a soft fade into the page */
.hero { min-height: 82vh; min-height: 82dvh; }
.hero-panel { padding-bottom: 6vh; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(11,15,20,.88) 0%, rgba(11,15,20,.55) 38%, rgba(11,15,20,0) 68%),
    linear-gradient(180deg, rgba(11,15,20,.55) 0%, rgba(11,15,20,0) 22%, rgba(11,15,20,0) 55%, rgba(11,15,20,.75) 82%, var(--midnight) 100%);
}
.hero + .logos { border-top: 0; margin-top: -1px; padding-top: 18px; }
@media (max-width: 768px) {
  .hero { min-height: 88vh; min-height: 88dvh; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,15,20,.7) 0%, rgba(11,15,20,.45) 40%, rgba(11,15,20,.85) 75%, var(--midnight) 100%); }
}

/* Inner page headers: a little shorter, with a slightly smaller gap below */
.page-hero { min-height: 72vh; min-height: 72dvh; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero + .section { padding-top: clamp(64px, 8vw, 112px); }

/* General Sans for headings and UI; Switzer for body text */
h1, h2, h3, .display, .h2, .h3, .hero-statement, .statement__text, .stat__num, .metric__num,
.engage__name, .quote-band blockquote, .menu__links a, .kpi__num { font-family: var(--font-heading); }
.display, .h2, .hero-copy .display { letter-spacing: -0.022em; }
.h3, h3 { letter-spacing: -0.015em; }
.stat__num, .metric__num, .kpi__num { letter-spacing: 0; }
.btn { font-weight: 600; letter-spacing: 0.012em; }
body { letter-spacing: 0.006em; }

/* ---------- Legal pages ---------- */
.legal-wrap { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); }
.legal { max-width: 780px; }
.legal__meta { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }
.legal .lead { margin-top: 28px; max-width: 60ch; }
.legal h2 { margin: 44px 0 12px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal p { margin-top: 12px; max-width: 68ch; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; max-width: 68ch; list-style: disc; }
.legal li::marker { color: var(--teal); }
.legal a { color: var(--white); background: linear-gradient(var(--teal), var(--teal)) 0 100% / 100% 1px no-repeat; transition: color .3s; }
.legal a:hover { color: var(--teal); }
.legal strong { color: var(--white); font-weight: 600; }
.socials[hidden] { display: none; }

/* ---------- Planner chat (home) ---------- */
.planner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.planner__intro .h2 { margin-top: 22px; }
.planner__intro .lead { margin-top: 20px; }
.planner__points { margin-top: 28px; display: grid; gap: 12px; }
.planner__points li { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 0.98rem; }
.planner__points i { color: var(--teal); font-size: 20px; }
.pl { position: relative; display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid rgba(0, 229, 208, 0.22);
  background: radial-gradient(110% 80% at 100% 0%, rgba(0, 229, 208, 0.09), transparent 55%), #0d1217;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(0, 229, 208, 0.35); overflow: hidden; }
.pl__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pl__badge { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #0f2a29; border: 1px solid var(--teal-a20); }
.pl__badge img { width: 20px; height: auto; }
.pl__name { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 0.92rem; }
.pl__sub { font-size: 0.74rem; color: var(--muted); }
.pl__left { margin-left: auto; font-size: 0.76rem; color: var(--teal); padding: 4px 10px; border-radius: 4px; background: var(--teal-a10); border: 1px solid var(--teal-a20); white-space: nowrap; }
.pl__log { height: 340px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(245,247,250,.15) transparent; }
.pl__msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.55; animation: plIn .45s var(--ease) both; }
.pl__msg p + p, .pl__msg p + ul, .pl__msg ul + p { margin-top: 8px; }
.pl__msg ul { margin: 8px 0 0; padding-left: 1.1em; list-style: disc; display: grid; gap: 4px; }
.pl__msg li::marker { color: var(--teal); }
.pl__msg--ai { align-self: flex-start; color: var(--white); background: rgba(0, 229, 208, 0.08); border: 1px solid var(--teal-a20); border-bottom-left-radius: 4px; }
.pl__msg--me { align-self: flex-end; color: var(--white); background: #222a31; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.pl__msg--err { align-self: flex-start; color: #ffd0d0; background: rgba(255, 138, 138, 0.08); border: 1px solid rgba(255, 138, 138, 0.3); }
.pl__typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.pl__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .35; animation: plDot 1.1s infinite; }
.pl__typing span:nth-child(2) { animation-delay: .15s; } .pl__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes plDot { 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes plIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pl__cta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--teal-a20); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pl__cta p { font-size: 0.82rem; color: var(--soft); flex-basis: 100%; }
.pl__starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.pl__chip { font-size: 0.82rem; color: var(--soft); padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line-2); background: rgba(245, 247, 250, 0.03); transition: all .3s var(--ease); text-align: left; }
.pl__chip:hover { color: var(--teal); border-color: rgba(0, 229, 208, 0.45); }
.pl__form { border-top: 1px solid var(--line); padding: 14px 18px 10px; }
.pl__input { width: 100%; resize: none; background: var(--midnight-2); color: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; font: inherit; font-size: 0.95rem; line-height: 1.5; transition: border-color .3s, box-shadow .3s; }
.pl__input::placeholder { color: #7d8692; }
.pl__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-a20); }
.pl__input:disabled { opacity: .55; }
.pl__actions { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl__count { font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pl__count.is-near { color: #ffc46b; }
.pl__send[disabled] { opacity: .5; pointer-events: none; }
.pl__note { padding: 0 18px 14px; font-size: 0.74rem; color: var(--muted); }
.pl__note a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.form__planner { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--teal-a10); border: 1px solid var(--teal-a20); color: var(--white); font-size: 0.9rem; }
.form__planner i { color: var(--teal); font-size: 18px; margin-top: 2px; }
.form__planner[hidden] { display: none; }
@media (max-width: 960px) { .planner { grid-template-columns: 1fr; } .pl__log { height: 300px; } }
@media (max-width: 480px) { .pl__msg { max-width: 94%; } .pl__left { display: none; } }
.pl__starters[hidden] { display: none; }
#project-form { scroll-margin-top: calc(var(--nav-h) + 28px); }

/* ---------- Agent previews (replace the robot videos): what each agent produces ---------- */
.ap { display: grid; place-items: center; width: 100%; height: 100%; padding: 22px;
  background: radial-gradient(90% 90% at 50% 0%, rgba(0, 229, 208, 0.1), transparent 60%), #0d1217; }
.ap__doc { width: 100%; max-width: 360px; padding: 16px; border-radius: var(--r-sm); background: rgba(26, 31, 36, 0.85); border: 1px solid rgba(0, 229, 208, 0.22);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9); transition: transform .6s var(--ease), border-color .4s var(--ease); }
.agent-card:hover .ap__doc, .case:hover .ap__doc { transform: translateY(-3px); border-color: rgba(0, 229, 208, 0.45); }
.ap__head { display: flex; align-items: center; gap: 12px; }
.ap__ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; font-size: 19px; color: var(--teal); background: #0f2a29; border: 1px solid var(--teal-a20); }
.ap__t { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--white); }
.ap__s { font-size: 0.76rem; color: var(--muted); }
.ap__tag { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--midnight); background: var(--teal); padding: 3px 9px; border-radius: 4px; }
.ap__lines { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 0.82rem; }
.ap__lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.ap__lines b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.ap__lines .is-total { padding-top: 8px; border-top: 1px solid var(--line-2); }
.ap__lines .is-total span, .ap__lines .is-total b { color: var(--white); font-weight: 600; }
.ap__inbox { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ap__inbox li { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--soft); padding: 8px 10px; border-radius: 8px; background: rgba(245, 247, 250, 0.03); }
.ap__inbox em { font-style: normal; font-size: 0.7rem; color: var(--muted); }
.ap__dot { width: 8px; height: 8px; border-radius: 50%; background: #6f7883; }
.ap__dot--hot { background: #ff8a6b; } .ap__dot--teal { background: var(--teal); }
.ap__prompt { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(0, 229, 208, 0.4); background: var(--midnight-2); font-size: 0.84rem; color: #8a939e; }
.ap__prompt i { color: var(--teal); font-size: 18px; }
.ap__chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ap__chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--teal); padding: 4px 9px; border-radius: 4px; background: var(--teal-a10); border: 1px solid var(--teal-a20); }
.ap__chips i { font-size: 13px; }

/* Home agent cards */
.agent-card__visual { height: 270px; border-bottom: 1px solid var(--line); }
.agent-card__links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }

/* Links back to the planner chat */
.plan-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--teal); transition: color .3s; }
.plan-link i { font-size: 17px; }
.plan-link:hover { color: var(--white); }
.plan-link--strong { padding: 9px 14px; border-radius: 4px; background: var(--teal-a10); border: 1px solid var(--teal-a20); }
.plan-link--strong:hover { border-color: var(--teal); color: var(--teal); }
.feat__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.feat__body .feat__links .link-arrow { margin-top: 0; padding-top: 0; }
.plan-row { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.95rem; color: var(--soft); }

/* Services: example agents list */
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-list a { display: grid; grid-template-columns: 38px 1fr 18px; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-sm); background: rgba(26, 31, 36, 0.7); border: 1px solid var(--line); transition: border-color .35s var(--ease); }
.ex-list a:hover { border-color: rgba(0, 229, 208, 0.45); }
.ex-list b { display: block; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.ex-list small { font-size: 0.8rem; color: var(--muted); }
.ex-list a > i { color: var(--teal); }
.ex-plan { margin-top: 14px; }

/* Agents page: preview panel in place of the video */
.case__visual { height: 100%; min-height: 360px; }
.case__visual .ap { padding: 32px; }
.case__visual .ap__doc { max-width: 380px; }
.case__plan { margin-top: 20px; }
.case__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.page-hero .hero-ctas { margin-top: 28px; }
#describe { scroll-margin-top: calc(var(--nav-h) + 10px); }
@media (max-width: 900px) { .case__visual { min-height: 300px; } }
@media (max-width: 720px) { .agent-card__visual { height: auto; } .agent-card__visual .ap { padding: 22px 16px; } }
.agent-card__visual { height: 290px; }
.agent-card__visual .ap { padding: 18px; }
.agent-card__visual .ap__inbox { gap: 6px; }
.agent-card__visual .ap__inbox li { padding: 6px 10px; }
.case__visual .ap__doc { max-width: 420px; transform: scale(1.08); }
.case:hover .case__visual .ap__doc { transform: scale(1.08) translateY(-3px); }
