/* Poppins, self-hosted (SIL Open Font License — see assets/fonts/OFL.txt).
   Served from this site so visitors' browsers never contact Google. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The AI Lead landing page.
   Brand tokens from the brand guide;
   white canvas, oversized tight headlines, soft grey bento tiles, round arrow buttons. */

:root {
  --surface: #ffffff;
  --surface-100: #faf9fc;
  --tile: #f4f2f8; /* soft lavender-grey tile */
  --wash: #f7f5fd; /* page-band tint */
  --wash-end: #f1edfb; /* where the closing band meets the footer */
  --border: #e7e1f5;
  --ink: #1b1030;
  --ink-2: #5b5470;
  --teal: #0b7a82;
  --teal-hover: #085c63;
  --purple: #6b2fbf;
  --blue: #0f6cbd;
  --gold: #b8860b;
  --success: #0e7a0d;
  --warning: #9a6700;
  --danger: #c4314b;

  --font: "Poppins", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(27, 16, 48, 0.04), 0 12px 32px -8px rgba(27, 16, 48, 0.14);
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

img {
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap--narrow {
  max-width: 820px;
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Clear keyboard focus everywhere (mouse clicks don't show it) */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible,
.tile__arrow:focus-visible {
  outline-offset: 4px;
}

main:focus,
.h2:focus {
  outline: none; /* scroll targets (skip link / in-page links), not interactive controls */
}

/* Pause control for moving content (WCAG 2.2.2) */
.motion-toggle {
  display: block;
  margin: 0 auto 20px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.motion-toggle:hover {
  color: var(--ink);
}

.motion-paused .orbit-ic__spin,
.motion-paused .float,
.motion-paused .strip__track,
.hero.is-offscreen .orbit-ic__spin,
.hero.is-offscreen .float,
.hero.is-offscreen .strip__track {
  animation-play-state: paused !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 15px;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-hover);
}

.btn--soft {
  background: #e3f1f2; /* solid, so contrast doesn't depend on the hero gradient behind it */
  color: var(--teal-hover);
}

.btn--soft:hover {
  background: #d3eaec;
}

.btn--white {
  background: #fff;
  color: var(--teal);
}

.btn--white:hover {
  background: var(--surface-100);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff; /* solid: a blurred see-through bar is redrawn on every scroll frame */
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

/* Transparent over the hero background until the page scrolls */
.nav:not(.is-scrolled) {
  background: transparent;
}

.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* the transparent mark carries its own padding */
  font-weight: 600; /* SemiBold, same as every heading */
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav__brand--lg {
  font-size: 18px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav__links a {
  color: var(--ink);
  opacity: 0.85;
}

.nav__links a:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -64px; /* slide under the sticky nav so the mesh runs behind it */
  padding-top: 136px;
  overflow: hidden;
}

/* Brand background (from the main site's hero): pastel teal/lavender mesh,
   the same mesh at full strength in a diagonal ribbon, fading to white. */
.hero__bg {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 85%);
}

.hero__mesh,
.hero__ribbon {
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(60% 70% at 38% 100%, #cbbdf6 0%, rgba(203, 189, 246, 0) 100%),
    radial-gradient(55% 80% at 100% 55%, #a3e3e7 0%, rgba(163, 227, 231, 0) 100%),
    linear-gradient(120deg, #f6f4fd 0%, #dcdcf8 45%, #c6e6f3 100%);
}

.hero__mesh {
  opacity: 0.45;
}

.hero__ribbon {
  opacity: 0.85;
  clip-path: polygon(-5% -30%, 105% 55%, 105% 90%, -5% 5%);
}

.hero__inner,
.hero__stage,
.strip {
  position: relative;
}

/* Headline sits above the product window and floating cards */
.hero__inner {
  z-index: 3;
}

/* Orbit icon (logo motif) — used in the eyebrow and the headline chip */
.orbit-ic {
  width: 1em;
  height: 1em;
  flex: none;
  overflow: visible;
}

.orbit-ic__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0.45;
}

.orbit-ic__core {
  fill: currentColor;
}

.orbit-ic__sat {
  fill: var(--teal);
  stroke: #fff;
  stroke-width: 1.2;
}

.orbit-ic__spin {
  transform-origin: 12px 12px;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-weight: 600;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink);
}

/* Headline pill: glass pill with a brand
   gradient border, a spinning orbit icon, and the cycling word in the brand gradient. */
.chip {
  --chip: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.02em 0.4em 0.1em 0.28em;
  border-radius: 999px;
  border: 3px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)) padding-box,
    linear-gradient(90deg, var(--teal), var(--blue), var(--purple)) border-box;
  box-shadow: 0 12px 30px -12px rgba(107, 47, 191, 0.35);
  vertical-align: baseline;
}

.chip .orbit-ic {
  width: 0.62em;
  height: 0.62em;
  color: var(--chip);
  transition: color 0.4s ease;
}

.chip .orbit-ic__ring {
  stroke-width: 2.4;
}

.chip__word {
  display: inline-block;
  white-space: nowrap; /* the cycling word never breaks across lines */
  background: linear-gradient(90deg, var(--teal), var(--blue) 55%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em; /* keep descenders inside the clipped gradient */
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.chip__word.is-out {
  opacity: 0;
  transform: translateY(0.2em);
}

.hero__sub {
  margin-top: 24px;
  max-width: 760px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stage {
  margin-top: 72px;
  max-width: 1040px;
}


/* Floating satellite cards */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -14px rgba(27, 16, 48, 0.3);
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
  animation: bob 6s ease-in-out infinite;
}

.float b {
  display: block;
  font-weight: 600;
}

.float small {
  color: var(--ink-2);
  font-size: 11.5px;
}

.float__ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  font-size: 15px;
}

.float__ic--teal { background: var(--teal); }
.float__ic--blue { background: var(--blue); }
.float__ic--purple { background: var(--purple); }

.float--health {
  left: -64px;
  bottom: 56px;
}

.float--flow {
  right: -64px;
  top: 40px;
  animation-delay: -2s;
}

.float--agent {
  right: -36px;
  bottom: -26px;
  animation-delay: -4s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* App window mock */
.window {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 80px -30px rgba(27, 16, 48, 0.32), 0 0 0 8px rgba(255, 255, 255, 0.55);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.window__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-100);
}

.window__dots {
  display: inline-flex;
  gap: 6px;
}

.window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

/* Brand gradient edge along the top of the window */
.window__bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
}

.window__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.window__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}

.window__side {
  padding: 14px 10px;
  border-right: 1px solid var(--border);
  background: var(--surface-100);
}

.side__ws {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  font-weight: 600;
}

.side__logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
}

.side__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--ink-2);
}

.side__item.is-active {
  background: rgba(27, 16, 48, 0.05);
  color: var(--ink);
  font-weight: 500;
}

.side__label {
  margin: 14px 8px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.window__main {
  padding: 28px 32px;
}

.board__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.board__head img {
  border-radius: 10px;
}

.board__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.board__tabs {
  display: flex;
  gap: 16px;
  margin: 18px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}

.board__tabs .is-active {
  color: var(--ink);
  font-weight: 600;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--surface-100);
}

.col__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 16, 48, 0.05);
  font-weight: 500;
}

/* Tags & dots (pastel property chips) */
.tag {
  --t: var(--ink-2);
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  color: color-mix(in srgb, var(--t) 85%, #000);
  background: color-mix(in srgb, var(--t) 13%, #fff);
}

.tag--teal { --t: var(--teal); }
.tag--blue { --t: var(--blue); }
.tag--purple { --t: var(--purple); }
.tag--green { --t: var(--success); }
.tag--red { --t: var(--danger); }
.tag--gold { --t: var(--gold); color: #6e5004; }
.tag--grey { --t: var(--ink-2); }

.dot {
  flex: none;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot--ok { background: var(--success); }
.dot--warn { background: var(--warning); }
.dot--bad { background: var(--danger); }

/* Product strip (text only — no third-party logos) */
.strip {
  margin-top: 72px;
  text-align: center;
}

.strip__lead {
  font-size: 15px;
  color: #4a4360; /* passes 4.5:1 even over the darkest point of the hero gradient */
}

.strip__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(27, 16, 48, 0.72); /* ≥5.5:1 over the hero gradient in the worst case */
}

/* Duplicate list only exists for the mobile marquee loop */
.strip__list--dupe {
  display: none;
}

@keyframes strip-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-top: 128px;
}

.h2 {
  scroll-margin-top: 32px; /* + html scroll-padding (80px) = heading lands ~112px down, just under the sticky nav */
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.h2--center {
  text-align: center;
}

.lede {
  margin-top: 16px;
  max-width: 640px;
  font-size: 18px;
  color: var(--ink-2);
}

.lede--center {
  margin-inline: auto;
  text-align: center;
}

/* Flow-of-work pillars */
.pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar p {
  margin-top: 8px;
  color: var(--ink-2);
}

.pillar__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
}

.pillar__ic--teal { background: var(--teal); }
.pillar__ic--blue { background: var(--blue); }
.pillar__ic--purple { background: var(--purple); }

.pillar__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* Bento tiles */
.bento {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 0;
  border-radius: var(--radius-lg);
  background: var(--tile);
  overflow: hidden;
  min-height: 400px;
}

.tile--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  padding: 36px;
  min-height: 0;
}

.tile__text {
  padding-right: 56px;
}

.tile__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Official Microsoft product icons — shown unmodified, always beside the product name
   (usage terms: website-notes/microsoft-icons.md in the project, not deployed) */
.ms-ic {
  flex: none;
  width: 18px;
  height: 18px;
}

.node__img {
  flex: none;
  width: 26px;
  height: 26px;
}

.duo__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mock-cap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.mock-cap__on {
  margin-inline: 2px;
  color: var(--ink-2);
  opacity: 0.7;
}

.bc__app {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 4px;
  font-size: 12px;
  font-weight: 600;
}

.tile__title {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tile--wide .tile__title {
  font-size: 30px;
  letter-spacing: -0.025em;
}

.tile__body {
  margin-top: 14px;
  color: var(--ink-2);
}

.tile__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.tile:hover .tile__arrow {
  transform: translateX(3px);
  background: var(--teal);
}

.tile__mock {
  margin-top: 32px;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.tile__mock > .mock {
  width: 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.tile--wide .tile__mock {
  margin-top: 0;
  padding-top: 44px; /* clears the round arrow in the corner */
  align-items: center;
}

.tile__mock--duo {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.mock {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
  font-size: 13px;
  line-height: 1.4;
  transition: transform 0.35s var(--ease);
}

.tile:hover .mock,
.tile:hover .phone {
  transform: translateY(-4px);
}

.mock small {
  display: block;
  color: var(--ink-2);
  font-size: 11px;
}

/* Health */
.health {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.ring {
  position: relative;
}

.ring svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 11;
}

.ring__track {
  stroke: var(--tile);
}

.ring__val {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 88;
}

.ring p {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.ring b {
  font-size: 28px;
  line-height: 1;
}

.ring span {
  color: var(--ink-2);
  font-size: 11px;
}

.health__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.health__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink-2);
}

.health__list b {
  color: var(--ink);
  font-weight: 600;
}

/* Flow */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(var(--border) 1px, transparent 1px) 0 0 / 14px 14px, #fff;
}

.node {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.node b {
  font-weight: 600;
}

.node__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
}

.node__ic--blue { background: var(--blue); }
.node__ic--purple { background: var(--purple); }

.flow__line {
  width: 2px;
  height: 18px;
  background: var(--border);
}

.flow__split {
  margin-top: 18px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.node--sm {
  padding: 8px 10px;
}

/* Phone (canvas app) */
.phone {
  padding: 12px;
  border: 6px solid var(--ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
  transition: transform 0.35s var(--ease);
}

.phone__head {
  padding: 12px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.phone__head b {
  display: block;
  font-size: 14px;
}

.phone__head small {
  opacity: 0.85;
}

.phone__row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--surface-100);
  font-weight: 500;
}

/* Trades job app (canvas) */
.phone__head--trade {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.phone__row .ok {
  color: var(--success);
  font-weight: 600;
}

.phone__row .count {
  color: var(--blue);
  font-weight: 600;
}

.phone__row .todo {
  color: var(--warning);
  font-weight: 600;
}

.phone__btn.phone__btn--trade {
  background: var(--teal);
}

/* Four-stage business process flow */
.md__bpf--4 span {
  padding-left: 14px;
  font-size: 11px;
}

.phone__btn {
  margin-top: 10px;
  padding: 9px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

/* Model-driven */
.md__entity {
  font-size: 11px;
  color: var(--ink-2);
}

.md__title {
  font-size: 16px;
  font-weight: 700;
}

.md__bpf {
  display: flex;
  margin: 14px 0;
}

.md__bpf span {
  flex: 1;
  padding: 6px 8px 6px 16px;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--tile);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%);
}

.md__bpf span.done {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 14%, #fff);
}

.md__bpf span.on {
  color: #fff;
  background: var(--teal);
}

.md__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.md__fields > div {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Business Central */
.bc {
  padding: 8px 16px 16px;
}

.bc__row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid var(--tile);
}

.bc__row--head {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom-color: var(--border);
}

.bc__no {
  color: var(--blue);
  font-weight: 600;
}

/* Copilot chat */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat__q {
  align-self: flex-end;
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--tile);
}

.chat__a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat__avatar img {
  border-radius: 6px;
}

.chat__a p {
  color: var(--ink);
}

.chat__input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
}

.chat__input span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

/* Stats */
.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 32px 8px 0;
}

.stat + .stat {
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.stat__num {
  font-weight: 600;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* Six-figure layout: 3 × 2 grid, dividers only between columns */
.stats--six {
  row-gap: 8px;
}

.stats--six .stat:nth-child(3n + 1) {
  padding-left: 0;
  border-left: none;
}

.stats--six .stat:nth-child(n + 4) {
  border-top: 1px solid var(--border);
}

.stats--six .stat__num {
  font-size: clamp(48px, 5.4vw, 76px);
}

.stat__num--teal { color: var(--teal); }
.stat__num--blue { color: var(--blue); }
.stat__num--purple { color: var(--purple); }

.stat__label {
  font-size: 18px;
  font-weight: 500;
}

.stat__src {
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

.stat__src:hover {
  color: var(--teal);
}

/* Who it's for: tall colour cards */
.people {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.person {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}

.person::after {
  /* faint orbit ring, echoing the logo */
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.05);
}

.person--teal { background: linear-gradient(160deg, #0b7a82, #06474d); }
.person--blue { background: linear-gradient(160deg, #0f6cbd, #0a4a85); }
.person--purple { background: linear-gradient(160deg, #6b2fbf, #4a1f87); }

.person__who {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.person__line {
  margin-top: auto;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.person__meta {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.85;
}

/* Proof */
.proof {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proof__item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.proof__item:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.proof__item b {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}

.proof__item small {
  color: var(--ink-2);
  font-size: 13px;
}

.badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.badge--teal { background: var(--teal); }
.badge--blue { background: var(--blue); }
.badge--purple { background: var(--purple); }
.badge--ink { background: var(--ink); }

/* FAQ */
.faq {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-2);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 22px;
  color: var(--ink-2);
  max-width: 680px;
}

/* Soft tinted band (the "in numbers" section): fades in and out of white, no hard edges */
.section--band {
  padding-bottom: 112px;
  background:
    radial-gradient(40% 55% at 0% 50%, rgba(163, 227, 231, 0.32), rgba(163, 227, 231, 0) 70%),
    radial-gradient(40% 55% at 100% 50%, rgba(203, 189, 246, 0.36), rgba(203, 189, 246, 0) 70%),
    linear-gradient(180deg, #fff 0%, var(--wash) 24%, var(--wash) 76%, #fff 100%);
}

.section--band + .section {
  padding-top: 16px;
}

/* CTA band: the hero's colours return to close the page, fading in from white and
   running straight into the footer (same colour), so there's no hard line on either side */
.cta {
  margin-top: 32px;
  padding-block: 176px 128px;
  background:
    radial-gradient(45% 60% at 12% 58%, rgba(163, 227, 231, 0.55), rgba(163, 227, 231, 0) 70%),
    radial-gradient(45% 60% at 88% 58%, rgba(203, 189, 246, 0.6), rgba(203, 189, 246, 0) 70%),
    linear-gradient(180deg, #fff 0%, var(--wash) 45%, var(--wash-end) 100%);
}

body:not(.page-legal) .footer {
  background: var(--wash-end);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer — one slim row: brand on the left, legal + copyright on the right */
.footer {
  padding-block: 24px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__tag {
  margin-top: 0;
  padding-left: 6px; /* line up with the mark's visible ring */
  color: var(--ink-2);
  font-size: 14px;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-2);
}

.footer__meta a:hover {
  color: var(--teal);
}

/* Legal pages (privacy.html) — simple readable document layout */
.legal {
  padding-block: 64px 96px;
}

.legal__eyebrow {
  font-size: 14px;
  color: var(--ink-2);
}

.legal__title {
  margin-top: 8px;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal__lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-2);
}

.legal h2 {
  margin-top: 40px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal p,
.legal ul {
  margin-top: 12px;
  color: var(--ink);
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-legal .footer {
  border-top: 1px solid var(--border);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .float--health { left: -12px; }
  .float--flow { right: -12px; }
  .float--agent { right: -8px; }
}

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

  .bento,
  .people,
  .proof,
  .pillars {
    grid-template-columns: 1fr;
  }

  .tile--wide {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .tile {
    min-height: 0;
  }

  .tile__mock {
    margin-top: 24px;
  }

  .tile--wide .tile__mock {
    padding-bottom: 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat + .stat {
    padding: 28px 0;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  .stats--six .stat:nth-child(n + 4) {
    border-top: none;
  }

  .person {
    min-height: 320px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__meta {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 112px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  /* Phones: let the headline wrap naturally into three balanced lines
     ("Your Microsoft / tools, finally / [pill]") instead of forcing the desktop line break */
  .hero__br {
    display: none;
  }

  /* Tiles: only the label row makes room for the round arrow; text uses the full width */
  .tile__text {
    padding-right: 0;
  }

  .tile__label {
    padding-right: 48px;
    min-height: 34px;
  }

  .tile--wide .tile__title {
    font-size: 24px;
  }

  .phone__row {
    gap: 8px;
  }

  .board__title {
    font-size: 22px;
  }

  /* Four-step process bar fits a phone: smaller labels, no wrapping */
  .md__bpf--4 span {
    padding: 6px 4px 6px 12px;
    font-size: 10.5px;
    white-space: nowrap;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(36px, 10.4vw, 44px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .window__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .window__side {
    display: none;
  }

  .window__main {
    padding: 20px;
  }

  .board {
    grid-template-columns: 1fr;
  }

  .col:nth-child(n + 2) {
    display: none;
  }

  .float {
    display: none;
  }

  .tile__mock--duo {
    grid-template-columns: 1fr;
  }

  .phone {
    max-width: 240px;
    margin-inline: auto;
  }

  .health {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .health__list {
    width: 100%;
  }

  .section {
    padding-top: 88px;
  }

  /* Product strip becomes a single moving row, faded at the edges */
  .strip__marquee {
    margin-inline: -24px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  .strip__track {
    display: flex;
    width: max-content;
    animation: strip-marquee 22s linear infinite;
  }

  .strip__list,
  .strip__list--dupe {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-right: 26px; /* same as the gap, so the seam between copies is even */
  }

  .cta {
    margin-top: 88px;
    padding-block: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-toggle {
    display: none; /* nothing moves, so nothing to pause */
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orbit-ic__spin,
  .float,
  .strip__track {
    animation: none;
  }

  /* Without motion, let people swipe the strip instead */
  .strip__marquee {
    overflow-x: auto;
  }

  .strip__list--dupe {
    display: none !important;
  }

  .chip__word,
  .mock,
  .phone,
  .tile__arrow {
    transition: none;
  }
}
