@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@500;600&display=swap');
/* =====================================================================
   Agentic AI — landing page (dots-style layout, Dec 2026)
   Off-white canvas, large tight headlines, pill buttons, rounded media,
   floating pill nav and colour panels behind each product shot.
   Light and dark via light-dark(); color-modes.js sets data-bs-theme.
   ===================================================================== */
:root {
  color-scheme: light dark;
  --bg:        light-dark(#F9F9F9, #121212);
  --surface:   light-dark(#FFFFFF, #1E1E1E);
  --surface-2: light-dark(#F1F1F1, #242424);
  --ink:       light-dark(#0D0D0D, #F5F5F5);
  --ink-2:     light-dark(#5D5D5D, #B4B4B4);
  --ink-3:     light-dark(#8F8F8F, #8A8A8A);
  --line:      light-dark(#E6E6E6, #2E2E2E);
  --brand:     light-dark(#9626AF, #C164D6);
  --btn-dark:  light-dark(#0D0D0D, #F5F5F5);
  --btn-dark-ink: light-dark(#FFFFFF, #0D0D0D);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --r-xl: 40px; --r-lg: 32px; --r-md: 24px;
  --wrap: 1120px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
:root:has(html[data-bs-theme="light"]), html[data-bs-theme="light"] { color-scheme: light; }
html[data-bs-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
.d-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.d-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 99px; background: var(--btn-dark); color: var(--btn-dark-ink); }
.d-skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- Type */
.d-display { font: 500 clamp(48px, 7.4vw, 88px)/1.05 var(--f-display); letter-spacing: -.03em; }
.d-h1 { font: 500 clamp(40px, 5.6vw, 64px)/1.08 var(--f-display); letter-spacing: -.028em; }
.d-h2 { font: 500 clamp(30px, 3.4vw, 40px)/1.15 var(--f-display); letter-spacing: -.02em; }
.d-h3 { font: 500 clamp(22px, 2.1vw, 26px)/1.25 var(--f-display); letter-spacing: -.012em; }
.d-sub { max-width: 760px; margin: 22px auto 0; font: 400 clamp(20px, 2.6vw, 34px)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--ink-3); }
.d-lead { max-width: 620px; margin: 14px auto 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* ------------------------------------------------------------- Buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--f-body); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.d-btn:active { transform: scale(.98); }
.d-btn--dark { background: var(--btn-dark); color: var(--btn-dark-ink); }
.d-btn--dark:hover { background: light-dark(#333, #D9D9D9); color: var(--btn-dark-ink); }
.d-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.d-btn--ghost:hover { background: var(--surface-2); color: var(--ink); }
.d-btn--sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.d-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

/* -------------------------------------------------------------- Mascot
   The black agent orb from the product shots, in CSS. */
.d-orb { --s: 56px; --c: #0D0D0D; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.28), transparent 42%), var(--c);
  box-shadow: 0 0 0 calc(var(--s) * .08) light-dark(rgba(13,13,13,.06), rgba(255,255,255,.08)), 0 18px 30px -16px rgba(0,0,0,.45); }
.d-orb i { position: absolute; top: 38%; width: 9%; height: 22%; border-radius: 99px; background: #fff; animation: d-blink 5s infinite; }
.d-orb i:first-child { left: 36%; } .d-orb i:last-child { right: 36%; }
.d-orb--xs { --s: 22px; box-shadow: none; }
.d-orb--md { --s: 64px; }
.d-orb--lg { --s: 104px; }
.d-orb--crew { --s: clamp(76px, 13vw, 150px); }
.d-orb--black { --c: #0D0D0D; } .d-orb--violet { --c: #A133B9; } .d-orb--magenta { --c: #C64EC7; } .d-orb--orange { --c: #FEA718; } .d-orb--peach { --c: #F7C98B; }
.d-orb--peach i, .d-orb--orange i { background: #0D0D0D; }
@keyframes d-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.d-hero__mascot .d-orb, .d-hero__bot { animation: d-float 6s ease-in-out infinite; }
.d-hero__bot { display: block; width: clamp(112px, 12vw, 156px); height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.14)); }
html[data-bs-theme="dark"] .d-hero__bot { filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)); }
@keyframes d-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------- Top bar */
.d-top { position: relative; z-index: 20; }
.d-top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.d-top .logo, .d-footer .logo, .d-pill .logo { height: 22px; width: auto; }
.d-top__nav { display: flex; gap: 28px; font-size: 15px; }
.d-top__nav a { color: var(--ink); opacity: .85; }
.d-top__nav a:hover { opacity: 1; }

/* ---------------------------------------------------- Floating pill nav */
.d-pill { position: fixed; top: 12px; left: 50%; z-index: 50; display: flex; align-items: center; gap: 24px; width: min(760px, calc(100% - 24px)); padding: 6px 6px 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: light-dark(rgba(242,242,242,.82), rgba(36,36,36,.82)); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  transform: translate(-50%, -140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.d-pill.is-visible { transform: translate(-50%, 0); opacity: 1; }
.d-pill__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.d-pill__links { display: flex; gap: 22px; margin: 0 auto; font-size: 14px; }
.d-pill__links a { color: var(--ink-2); } .d-pill__links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Hero */
.d-hero { padding: 48px 0 0; text-align: center; }
.d-hero__in { display: flex; flex-direction: column; align-items: center; }
.d-hero__mascot { margin-bottom: 24px; }
.d-hero__media { margin: 64px auto 0; max-width: 1000px; border-radius: var(--r-xl); overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.d-hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ Sections */
.d-sec { padding: 128px 0 0; }
.d-head { text-align: center; margin: 0 auto 72px; }
.d-head__mascot { display: block; width: fit-content; margin: 0 auto 24px; }
.d-head__bot { display: block; width: clamp(96px, 9vw, 124px); height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.14)); animation: d-float 6s ease-in-out infinite; animation-delay: -2s; }
html[data-bs-theme="dark"] .d-head__bot { filter: drop-shadow(0 18px 26px rgba(0,0,0,.5)); }
.d-sec--center .d-head { margin-bottom: 56px; }

/* Feature rows: narrow copy beside a large colour panel */
.d-feats { display: grid; gap: 40px; max-width: 1000px; margin: 0 auto; }
.d-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.d-feat__copy { max-width: 300px; }
.d-feat__copy p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.d-feat--rev { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.d-feat--rev .d-feat__copy { order: 2; justify-self: end; }
.d-feat--rev .d-feat__panel { order: 1; }
.d-feat__panel { position: relative; display: grid; place-items: center; aspect-ratio: 1.45 / 1; padding: 6% 8%; border-radius: var(--r-lg); overflow: hidden; }
.d-feat__panel:has(video) { padding: 6%; }
.d-feat__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.55), transparent 55%); pointer-events: none; }
.d-feat__panel img { position: relative; width: auto; height: 100%; max-height: 380px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 30px 60px -28px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.d-feat__panel video { position: relative; width: 100%; height: auto; max-height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: var(--r-md); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 30px 60px -28px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.d-feat:hover .d-feat__panel video, .d-feat:hover .d-feat__panel img { transform: translateY(-4px) scale(1.01); }
.d-tone--sun    { background: linear-gradient(150deg, #FFF6C9 0%, #FFE07A 55%, #FFC93D 100%); }
.d-tone--coral  { background: linear-gradient(150deg, #FFD3C2 0%, #FF9E7D 55%, #FF7A59 100%); }
.d-tone--sky    { background: linear-gradient(150deg, #CFF0FF 0%, #7DD3FC 55%, #38A8F5 100%); }
.d-tone--mint   { background: linear-gradient(150deg, #E6FAD0 0%, #B6EB8A 55%, #7FD35C 100%); }
.d-tone--violet { background: linear-gradient(150deg, #F3DCFA 0%, #D78BEA 55%, #A933C3 100%); }

/* Why Agent cards */
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 820px; margin: 0 auto; text-align: left; }
.d-card { padding: 24px; border-radius: var(--r-md); background: var(--surface-2); }
.d-card__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.d-card h3 { font: 500 18px/1.3 var(--f-display); letter-spacing: -.01em; }
.d-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* Final CTA with the agent crew */
.d-cta { padding: 112px 0 0; text-align: center; overflow: hidden; }
.d-display--cta { font-size: clamp(44px, 6.4vw, 80px); }

/* -------------------------------------------------------------- Footer */
.d-footer { position: relative; z-index: 3; padding: 24px 0; border-top: 1px solid var(--line); background: var(--bg); }
.d-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.d-footer__nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.d-footer__nav a:hover { color: var(--ink); }
.d-footer__copy { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.d-footer__copy a:hover { color: var(--ink); }

/* ------------------------------------------------------------- Reveal */
.d-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.d-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d-orb i, .d-hero__mascot .d-orb, .d-hero__bot, .d-head__bot { animation: none; }
  .d-pill, .d-btn, .d-feat__panel img { transition: none; }
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .d-top__nav { display: none; }
  .d-pill__links { display: none; }
  .d-pill { width: auto; gap: 16px; }
  .d-sec { padding-top: 96px; }
  .d-head { margin-bottom: 48px; }
  .d-feats { gap: 64px; }
  .d-feat, .d-feat--rev { grid-template-columns: 1fr; gap: 24px; }
  .d-feat__copy, .d-feat--rev .d-feat__copy { order: 2; max-width: 560px; justify-self: start; }
  .d-feat__panel, .d-feat--rev .d-feat__panel { order: 1; }
  .d-cards { grid-template-columns: 1fr; max-width: 520px; }
  .d-cta { padding-top: 88px; }
}
@media (max-width: 560px) {
  .d-container { padding: 0 18px; }
  .d-hero { padding-top: 32px; }
  .d-hero__mascot { margin-bottom: 20px; }
  .d-orb--lg { --s: 80px; }
  .d-hero__media { margin-top: 40px; border-radius: var(--r-md); aspect-ratio: 4 / 3; }
  .d-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .d-feat__panel { aspect-ratio: 1 / 1; padding: 10%; border-radius: var(--r-md); }
  .d-feat__panel img, .d-feat__panel video { height: auto; width: 100%; border-radius: 18px; }
  .d-pill { padding-left: 12px; }
  .d-pill .d-btn { padding: 8px 14px; }
  .d-footer__top { flex-direction: column; align-items: flex-start; }
}



/* ------------------------------------------------- Agent crew (footer)
   Five transparent renders standing on the footer line. On reveal they
   rise in one after another, then bob gently; hover lifts one up. */
.d-crew { --u: clamp(120px, 15vw, 200px); position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 40px auto 0; padding-top: 24px; overflow: hidden; }
.d-crew__item { position: relative; flex: none; height: calc(var(--u) * var(--h)); aspect-ratio: var(--ar); margin: 0 calc(var(--u) * -.08) calc(var(--u) * var(--h) * -.2); transform: translateY(105%); }
.d-crew__item:nth-child(3) { z-index: 2; }
.d-crew__item:nth-child(2), .d-crew__item:nth-child(4) { z-index: 1; }
.d-crew__item picture, .d-crew__img { display: block; width: 100%; height: 100%; }
.d-crew__img { object-fit: contain; object-position: bottom; transform-origin: 50% 100%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.10)); animation: d-bob 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.85s); }
.d-crew__item picture { transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.d-crew__item:hover picture { transform: translateY(-16px) rotate(-2deg); }
/* Rise-in when the row scrolls into view (main.js adds .is-in; without JS they simply show). */
.d-crew.is-in .d-crew__item, .no-js .d-crew__item { animation: d-rise .9s cubic-bezier(.2,1.25,.3,1) both; animation-delay: calc(.12s + var(--i) * .11s); }
@keyframes d-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes d-bob { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(.985, 1.03); } }
html[data-bs-theme="dark"] .d-crew__img { filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); }
@media (max-width: 900px) { .d-crew { margin-top: 32px; } }
@media (max-width: 560px) { .d-crew { --u: clamp(60px, 21.5vw, 120px); margin-top: 28px; } .d-crew__item { margin-left: calc(var(--u) * -.14); margin-right: calc(var(--u) * -.14); } }
@media (prefers-reduced-motion: reduce) {
  .d-crew__item, .d-crew.is-in .d-crew__item { animation: none; transform: none; }
  .d-crew__img { animation: none; }
  .d-crew__item picture { transition: none; }
}

/* Feature panels without colour backgrounds: the video (or image) sits on the page as a card. */
.d-feat__panel, .d-feat__panel:has(video) { aspect-ratio: auto; padding: 0; background: none; overflow: visible; }
.d-feat__panel::before { content: none; }
.d-feat__panel video, .d-feat__panel img { width: 100%; height: auto; max-height: none; border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 24px 50px -30px rgba(0,0,0,.35); }
@media (max-width: 560px) { .d-feat__panel video, .d-feat__panel img { border-radius: var(--r-md); } }
