/* coordiNATE — page sections. Graphics modules style themselves in their own files. */

/* ================= NAV ================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: 14px;
  pointer-events: none;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: auto;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  padding: 8px 14px 8px 10px; border-radius: var(--r-pill);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.logo-mark { width: 28px; height: 28px; }
.logo-word {
  font-weight: 800; font-size: 1.55rem; letter-spacing: 0.02em;
  font-variation-settings: "wdth" 70; line-height: 1;
}
.logo-word .brand-pre { font-weight: 650; letter-spacing: 0; }

/* Language switch (nav, mobile menu, footer) */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); }
.lang-switch button {
  height: 32px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-lang {
  background: rgba(248, 249, 251, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(12, 18, 56, 0.07), 0 8px 24px -14px rgba(12, 18, 56, 0.35);
}
.sheet-lang { margin: 8px 6px 4px; background: var(--paper); justify-self: start; }
.sheet-lang button { height: 40px; padding: 0 16px; font-size: 0.95rem; }
.footer-lang { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.footer-lang button { color: var(--mist-2); }
.footer-lang button:hover { color: #fff; }
.footer-lang button[aria-pressed="true"] { background: #fff; color: var(--night); }
.nav-links {
  display: flex; gap: 2px; padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(248, 249, 251, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(12, 18, 56, 0.07), 0 8px 24px -14px rgba(12, 18, 56, 0.35);
}
.nav-links a {
  padding: 9px 16px; border-radius: var(--r-pill);
  font-size: 0.93rem; font-weight: 550; text-decoration: none; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--cue-soft); color: var(--cue); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav.is-scrolled .logo {
  background: rgba(248, 249, 251, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(12, 18, 56, 0.07), 0 8px 24px -14px rgba(12, 18, 56, 0.35);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(248, 249, 251, 0.85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(12, 18, 56, 0.08);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet {
  pointer-events: auto;
  margin: 10px var(--gutter) 0;
  padding: 10px;
  border-radius: var(--r-lg);
  background: rgba(248, 249, 251, 0.94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(12, 18, 56, 0.08), 0 24px 48px -20px rgba(12, 18, 56, 0.4);
  display: grid;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a {
  padding: 14px 14px; border-radius: var(--r-md);
  font-size: 1.1rem; font-weight: 600; text-decoration: none;
}
.nav-sheet a:hover { background: var(--cue-soft); }

/* ================= HERO ================= */
.hero { padding-top: clamp(100px, min(14vw, 17svh), 172px); padding-bottom: clamp(56px, 7vw, 96px); overflow: clip; }
.hero-copy { display: grid; justify-items: center; text-align: center; }
.hero-title { font-size: var(--t-hero); }
.hero-title .line {
  display: block;
  animation: rise 1s var(--ease) both;
}
.hero-title .line:nth-child(2) { animation-delay: 0.08s; }
.hero-title .line:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(0.35em); }
}
.live-pill {
  /* font-size is relative to the headline; everything inside is relative to the pill */
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.34em; height: 2.1em; padding: 0 0.75em 0 0.65em;
  vertical-align: 0.62em;
  margin-inline: 0.1em;
  border-radius: var(--r-pill);
  background: var(--cue); color: #fff;
  font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em;
  font-variation-settings: normal; text-transform: none;
  line-height: 1;
  box-shadow: 0 0.4em 1.2em -0.4em rgba(47, 69, 255, 0.8);
}
.live-pill .dot { width: 0.42em; height: 0.42em; background: #7cf2c6; }
.hero-lead { text-align: center; margin-top: clamp(28px, 3.2vw, 40px); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: var(--t-small); }
.hero-lead, .hero-ctas, .hero-note { animation: rise 1s var(--ease) 0.28s both; }
.hero-stage { margin-top: clamp(56px, 7vw, 96px); animation: stage-in 1.3s var(--ease) 0.4s both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(48px) scale(0.98); } }
.hero-sim { min-height: 200px; }

.built-for {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; justify-items: center; gap: 16px; text-align: center;
}
.built-for p { font-size: var(--t-small); }
.built-for ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.built-for li {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--paper-2); box-shadow: 0 0 0 1px var(--line);
  font-weight: 600; font-variation-settings: "wdth" 90; font-size: 0.98rem;
}

/* ================= PROBLEM ================= */
.problem { padding-top: clamp(40px, 6vw, 96px); }
.problem-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.problem-copy { display: grid; gap: 28px; }
.pains { display: grid; gap: 18px; margin-top: 8px; }
.pains li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; color: var(--ink-2); }
.pains strong { color: var(--ink); font-weight: 650; }
.pain-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); margin-top: 8px; box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.15); }

.problem-viz {
  position: relative;
  background: var(--paper-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-window);
  padding: 18px;
  display: grid; gap: 14px;
}
.toggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: var(--r-pill); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  justify-self: center; width: min(100%, 320px);
}
.toggle button {
  position: relative; z-index: 1; height: 40px; border-radius: var(--r-pill);
  font-weight: 650; font-size: 0.95rem; color: var(--ink-2); transition: color 0.3s;
}
.toggle button[aria-selected="true"] { color: #fff; }
.toggle-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: var(--r-pill); background: var(--signal);
  transition: transform 0.5s var(--ease-spring), background 0.4s;
}
.problem-viz.is-nate .toggle-thumb { transform: translateX(100%); background: var(--cue); }

.chaos {
  position: relative; aspect-ratio: 1 / 0.92; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 91, 46, 0.08), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(12, 18, 56, 0.04) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(12, 18, 56, 0.04) 31px 32px);
  transition: background 0.6s;
  container-type: size;
  max-height: max(340px, calc(100svh - 210px)); width: 100%;
}
.problem-viz.is-nate .chaos {
  background:
    radial-gradient(circle at 50% 38%, rgba(124, 92, 255, 0.12), transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(12, 18, 56, 0.04) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(12, 18, 56, 0.04) 31px 32px);
}
.chaos-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.chaos-lines line {
  stroke: rgba(255, 91, 46, 0.45); stroke-width: 1.5; stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  transition: all 0.8s var(--ease);
  animation: dash 1.2s linear infinite;
}
.problem-viz.is-nate .chaos-lines line { stroke: rgba(47, 69, 255, 0.35); stroke-dasharray: 2 6; }
.chaos-lines line.ai-line { stroke: rgba(124, 92, 255, 0.55); }
@keyframes dash { to { stroke-dashoffset: -18; } }

/* Positioned items use --x/--y (today) and --nx/--ny (with coordiNATE) in % */
/* --ax: horizontal anchor (0 = left edge sits on x, 0.5 = centre, 1 = right edge) so edge chips never clip */
.chaos .node {
  position: absolute; left: 0; top: 0;
  transform: translate(calc(var(--x) * 1cqw - var(--ax, 0.5) * 100%), calc(var(--y) * 1cqh - 50%));
  transition: transform 0.9s var(--ease), opacity 0.5s, background 0.4s, box-shadow 0.4s;
}
.problem-viz.is-nate .chaos .node {
  transform: translate(calc(var(--nx) * 1cqw - 50%), calc(var(--ny) * 1cqh - 50%));
}
@container (max-width: 520px) {
  .tool .tool-label { max-width: 9.5em; text-overflow: ellipsis; }
}
.tool {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: var(--r-pill);
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(12, 18, 56, 0.3);
  font-size: clamp(0.7rem, 2.6cqw, 0.84rem); font-weight: 600; white-space: nowrap;
}
.tool i {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  display: grid; place-items: center; color: #fff; font-style: normal; font-size: 0.7rem; font-weight: 800;
}
.tool .tool-label { transition: opacity 0.4s, max-width 0.6s var(--ease); max-width: 14em; overflow: hidden; }
.problem-viz.is-nate .tool .tool-label { opacity: 0; max-width: 0; }
.problem-viz.is-nate .tool { padding-right: 8px; gap: 0; }

.chaos-hub {
  --x: 50; --y: 56; --nx: 26; --ny: 80;
  display: grid; justify-items: center; gap: 4px; text-align: center;
}
.chaos-hub { position: absolute; left: 0; top: 0; transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqh - 50%)); transition: transform 0.9s var(--ease); }
.problem-viz.is-nate .chaos-hub { transform: translate(calc(var(--nx) * 1cqw - 50%), calc(var(--ny) * 1cqh - 50%)); }
.hub-avatar {
  width: clamp(52px, 15cqw, 72px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px rgba(255, 91, 46, 0.18), 0 0 0 14px rgba(255, 91, 46, 0.08);
  transition: box-shadow 0.5s;
}
.chaos.is-stressed .hub-avatar { animation: shake 0.4s; }
@keyframes shake {
  25% { transform: translateX(-3px) rotate(-3deg); }
  75% { transform: translateX(3px) rotate(3deg); }
}
.problem-viz.is-nate .hub-avatar { box-shadow: 0 0 0 6px rgba(47, 69, 255, 0.14), 0 0 0 14px rgba(47, 69, 255, 0.06); }
.hub-label { font-weight: 700; font-size: clamp(0.72rem, 2.8cqw, 0.9rem); }
.hub-count {
  font-size: clamp(0.66rem, 2.5cqw, 0.8rem); font-weight: 650; color: var(--signal);
  background: rgba(255, 91, 46, 0.1); padding: 3px 10px; border-radius: var(--r-pill);
}
.problem-viz.is-nate .hub-count { color: var(--cue); background: var(--cue-soft); }

.bubble {
  position: absolute; left: 0; top: 0; z-index: 3;
  max-width: 46cqw;
  padding: 7px 11px; border-radius: 14px 14px 14px 4px;
  background: #fff; color: var(--ink);
  font-size: clamp(0.68rem, 2.6cqw, 0.82rem); font-weight: 550; line-height: 1.3;
  box-shadow: 0 0 0 1px var(--line), 0 10px 20px -10px rgba(12, 18, 56, 0.35);
  transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqh - 50%)) scale(0.6);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.35s;
}
.bubble.in { opacity: 1; transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqh - 50%)) scale(1); }
.bubble.out {
  opacity: 0;
  transform: translate(calc(50cqw - 50%), calc(56cqh - 50%)) scale(0.3);
  transition: transform 0.6s var(--ease), opacity 0.6s;
}

.brain {
  --x: 50; --y: -20; --nx: 50; --ny: 40;
  display: grid; justify-items: center; gap: 6px; opacity: 0;
}
.problem-viz.is-nate .brain { opacity: 1; transition-delay: 0.2s; }
.brain-orb {
  width: clamp(64px, 19cqw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-1));
  filter: saturate(1.1);
  box-shadow: 0 0 40px 4px rgba(124, 92, 255, 0.45), inset 0 -8px 20px rgba(12, 18, 56, 0.3);
  position: relative;
  animation: spin 8s linear infinite;
}
.brain-orb::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 60%);
  animation: spin 8s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(1turn); } }
.brain-label { font-weight: 750; font-size: clamp(0.74rem, 2.8cqw, 0.92rem); }

.crew-node {
  --x: 50; --y: 120; --nx: 74; --ny: 80;
  display: grid; justify-items: center; gap: 4px; opacity: 0; text-align: center;
}
.problem-viz.is-nate .crew-node { opacity: 1; transition-delay: 0.3s; }
.crew-faces { display: flex; }
.crew-faces span {
  width: clamp(28px, 8cqw, 38px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; margin-left: -8px;
  background: var(--cue); color: #fff; font-size: 0.66rem; font-weight: 750;
  box-shadow: 0 0 0 2.5px var(--paper-2);
}
.crew-faces span:first-child { margin-left: 0; }
.crew-faces span:nth-child(2) { background: #5a6bff; }
.crew-faces span:nth-child(3) { background: #8592ff; }
.crew-node .hub-count { color: var(--go); background: rgba(16, 185, 129, 0.12); }
.chaos .sent {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 10px; height: 10px; border-radius: 50%; background: var(--cue);
  box-shadow: 0 0 12px var(--cue);
}

/* ================= INTEGRATIONS ================= */
.integrations { padding-top: 0; }
.integrations-flow { min-height: 120px; }
.connectors {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}
.conn {
  display: grid; align-content: start; gap: 10px;
  padding: 22px; border-radius: var(--r-lg);
  background: var(--paper-2); box-shadow: 0 0 0 1px var(--line);
}
.conn h3 { font-weight: 750; font-size: 1.15rem; }
.conn p { font-size: 0.96rem; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips li {
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.82rem; font-weight: 650;
}

/* ================= PRODUCT / PILLARS ================= */
.product { overflow: clip; }
.pillar {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
  margin-bottom: clamp(96px, 12vw, 168px);
}
.pillar.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.pillar.flip .pillar-copy { order: 2; }
.pillar-copy { display: grid; gap: 20px; max-width: 34rem; }
.pillar-tag {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line);
  font-size: var(--t-small); font-weight: 650; color: var(--mist);
}
.tag-num {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cue); color: #fff; font-size: 0.78rem; font-weight: 800;
}
.ticks { display: grid; gap: 12px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 30px; color: var(--mist); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2310b981' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.pillar-viz { min-width: 0; }

/* Flywheel */
.flywheel {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--night-2), rgba(21, 28, 74, 0.4));
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.fw-ring {
  width: clamp(96px, 12vw, 140px); aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--night-line); position: relative;
  animation: spin 12s linear infinite;
}
.fw-ring::before {
  content: ""; position: absolute; inset: 26%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-1));
  box-shadow: 0 0 30px rgba(124, 92, 255, 0.5);
}
.fw-orbit {
  position: absolute; top: -7px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%;
  background: var(--cue); box-shadow: 0 0 14px var(--cue);
}
.fw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: fw; }
.fw-steps li {
  counter-increment: fw; position: relative; padding-top: 40px;
  color: var(--mist); font-size: 0.98rem; line-height: 1.45;
}
.fw-steps li::before {
  content: counter(fw); position: absolute; top: 0; left: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); box-shadow: inset 0 0 0 1.5px var(--cue);
  color: #fff; font-size: 0.8rem; font-weight: 750;
}
.fw-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 14px; left: 38px; right: -10px; height: 1.5px;
  background: linear-gradient(90deg, var(--cue), transparent);
}

/* ================= LIVE ================= */
.live { overflow: clip; }

/* ================= HOW ================= */
.how { overflow: clip; }
.roles {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
}
.role {
  display: grid; align-content: start; gap: 10px;
  padding: 22px; border-radius: var(--r-lg);
  background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line);
}
.role h3 { font-weight: 700; font-size: 1.15rem; }
.role p { font-size: 0.95rem; line-height: 1.45; }
.role-where {
  justify-self: start; margin-top: 6px;
  font-size: 0.78rem; font-weight: 650; color: #b9c1ff;
  padding: 4px 10px; border-radius: var(--r-pill); background: rgba(47, 69, 255, 0.18);
}

/* ================= HUMAN IN CONTROL ================= */
.control-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.control-copy { display: grid; gap: 28px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 8px; }
.principles li { color: var(--ink-2); font-size: 0.98rem; padding-top: 16px; border-top: 1.5px solid var(--line); }
.principles strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }

.decision { display: grid; gap: 12px; }
.decision-card {
  background: var(--paper-2); border-radius: var(--r-xl);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: var(--shadow-window), 0 0 60px -20px rgba(124, 92, 255, 0.45);
  display: grid; gap: 10px;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.dc-head { display: flex; justify-content: space-between; align-items: center; }
.dc-ai { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; }
.ai-orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-1));
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.6);
  animation: spin 6s linear infinite;
}
.dc-title { font-weight: 750; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.01em; }
.dc-sub { font-size: 0.95rem; }
.dc-sub::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.dc-why { border-radius: var(--r-md); background: var(--paper); padding: 4px 14px; }
.dc-why summary {
  cursor: pointer; padding: 8px 0; font-weight: 650; font-size: 0.92rem; color: var(--cue);
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.dc-why summary::-webkit-details-marker { display: none; }
.dc-why summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; }
.dc-why[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.dc-why ul { display: grid; gap: 6px; padding-bottom: 10px; }
.dc-why li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }
.why-k { font-weight: 700; color: var(--ink); }
.dc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dc-actions .btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line); }
.decision-card.is-approved .dc-actions [data-decide="approve"] { --bg: var(--go); box-shadow: 0 10px 30px -12px rgba(16, 185, 129, 0.8); }
.decision-card.is-dismissed { opacity: 0.55; transform: scale(0.98); }
.audit { display: grid; gap: 0; padding-left: 8px; }
.audit li {
  position: relative; padding: 4px 0 4px 22px; font-size: 0.86rem; color: var(--ink-2);
  border-left: 1.5px solid var(--line);
}
.audit li::before {
  content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink-2);
}
.audit li.new { animation: log-in 0.5s var(--ease) both; }
.audit li.new::before { box-shadow: inset 0 0 0 4px var(--go); }
@keyframes log-in { from { opacity: 0; transform: translateY(-6px); } }
.audit .mono { color: var(--ink); margin-right: 8px; }

/* ================= FOR ================= */
.big-claim { font-size: clamp(3.4rem, 1.4rem + 9vw, 10.5rem); }
.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aud {
  display: grid; align-content: start; gap: 14px;
  padding: 28px 24px 32px; border-radius: var(--r-lg);
  background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.aud:hover { box-shadow: inset 0 0 0 1.5px var(--cue); transform: translateY(-3px); }
.aud .h3 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); }
.aud p { font-size: 0.97rem; line-height: 1.5; }

/* ================= PILOT ================= */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { position: relative; display: grid; align-content: start; gap: 10px; padding-top: 72px; }
.step-n {
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2); box-shadow: 0 0 0 1.5px var(--line);
  font-weight: 800; font-size: 1.3rem; font-variation-settings: "wdth" 70;
}
.steps li:first-child .step-n { background: var(--cue); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 69, 255, 0.8); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -12px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}
.steps h3 { font-weight: 750; font-size: 1.2rem; }
.steps p { font-size: 0.98rem; }
.pilot-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1.5px solid var(--line);
}
.pilot-cta p { font-size: 0.95rem; max-width: 34em; }

/* ================= FAQ ================= */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > h2 { position: sticky; top: 110px; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); }
.faq-list { display: grid; }
.faq-list details { border-top: 1.5px solid var(--line); }
.faq-list details:last-child { border-bottom: 1.5px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 650; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1238' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--cue-soft); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 40em; }

/* ================= BOOK ================= */
.book { overflow: clip; }
.book::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), rgba(79, 209, 255, 0.08) 40%, transparent 65%);
  pointer-events: none;
}
.book-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book-copy { display: grid; gap: 28px; position: sticky; top: 110px; }
.book-list { display: grid; gap: 12px; }
.book-list li { position: relative; padding-left: 30px; color: var(--mist); }
.book-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2310b981' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.book-alt a { color: #fff; font-weight: 650; }
.book-embed {
  background: #fff; color: var(--ink); border-radius: var(--r-xl); overflow: hidden;
  min-height: 640px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.book-embed iframe { width: 100%; height: 720px; border: 0; }
.book-placeholder {
  min-height: 640px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 32px; text-align: center;
}
.book-placeholder p { color: var(--ink-2); max-width: 26em; }

/* ================= FOOTER ================= */
.footer { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 32px; overflow: clip; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-claim { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-weight: 650; max-width: 22em; line-height: 1.25; letter-spacing: -0.01em; }
.footer-word {
  font-size: clamp(4rem, 19.5vw, 18.5rem); line-height: 0.8; text-align: center;
  margin: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, var(--night-line), rgba(42, 50, 104, 0.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
/* inside the gradient-clipped wordmark, "coordi" gets its own colour */
.footer-word .brand-pre { color: rgba(125, 139, 255, 0.55); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: var(--t-small); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ================= FLOATING BADGE ================= */
.badge {
  position: fixed; z-index: 40; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px);
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--cue); color: #fff;
  box-shadow: 0 18px 40px -14px rgba(47, 69, 255, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  display: grid; place-items: center;
  transform: scale(0) rotate(-40deg); opacity: 0; pointer-events: none;
  transition: transform 0.6s var(--ease-spring), opacity 0.3s, box-shadow 0.3s;
}
.badge.is-visible { transform: scale(1); opacity: 1; pointer-events: auto; }
.badge.is-visible:hover { transform: scale(1.06); box-shadow: 0 22px 50px -14px rgba(47, 69, 255, 0.95); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-ring text {
  fill: #fff; font-family: var(--font); font-size: 11.4px; font-weight: 700; letter-spacing: 0.08em;
  font-variation-settings: "wdth" 80;
}
.badge-core {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--cue);
}
.badge-core svg { width: 24px; height: 24px; }

/* ================= BOOKING DIALOG ================= */
.booking {
  width: min(820px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 48px));
  max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: var(--r-xl);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(12, 18, 56, 0.6);
  overflow: hidden;
}
.booking[open] { display: grid; grid-template-rows: auto 1fr; animation: dialog-in 0.45s var(--ease) both; }
.booking::backdrop { background: rgba(12, 18, 56, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.booking-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 22px 24px 18px; border-bottom: 1px solid var(--line);
}
.booking-head h2 { font-weight: 750; font-size: 1.35rem; letter-spacing: -0.01em; }
.booking-head p { font-size: 0.94rem; margin-top: 2px; }
.booking-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); transition: background 0.2s;
}
.booking-close:hover { background: var(--line); }
.booking-close svg { width: 20px; height: 20px; }
.booking-body { min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.booking-body iframe { width: 100%; height: 100%; min-height: 640px; border: 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 12px; }
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 900px) {
  .problem-grid, .pillar, .pillar.flip, .control-grid, .book-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar.flip .pillar-copy { order: 0; }
  .pillar-copy { max-width: 40rem; }
  .faq-grid > h2, .book-copy { position: static; }
  .flywheel { grid-template-columns: 1fr; justify-items: start; }
  .fw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .fw-steps li:nth-child(2)::after { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .logo-word { font-size: 1.35rem; }
  .nav-actions .btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.88rem; }
  .nav-lang { display: none; }
  .logo { padding-right: 8px; }
  .logo-word { font-size: 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
  .btn-lg { min-height: 56px; font-size: 1rem; padding: 0 22px; }
  .roles, .audiences, .principles, .connectors { grid-template-columns: 1fr; }
  .fw-steps, .steps { grid-template-columns: 1fr; }
  .fw-steps li::after, .steps li::after { display: none; }
  .steps li { padding-top: 0; padding-left: 68px; min-height: 52px; }
  .dc-why li { grid-template-columns: 1fr; gap: 0; }
  .faq-list details p { padding-right: 0; }
  .book-embed, .book-placeholder { min-height: 560px; }
  .badge { width: 80px; height: 80px; }
  .badge-ring text { font-size: 12.5px; }
  .badge-core { width: 32px; height: 32px; }
  .badge-core svg { width: 18px; height: 18px; }
  .booking { width: 100vw; height: 100dvh; border-radius: 0; }
  .booking[open] { animation-name: sheet-in; }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
}
