/* Reportia (EN) — standalone stylesheet, independent from the FA site's styles.css.
   Self-hosted Geist, light/ink palette, one accent blue, black pill CTAs. */

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk is self-hosted (latin subset, 700 only — the single weight the
   display type actually uses) so first paint doesn't wait on a third party. */
@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/SpaceGrotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --ink: #101114;
  --ink-soft: #565a63;
  --ink-faint: #868990;
  --line: #e7e8ec;
  --line-strong: #d7d9de;
  --accent: #2f5eff;
  --accent-2: #17347a;
  --accent-ink: #17347a;
  --accent-soft: #ebf0ff;
  --dark: #101114;
  --dark-2: #1b1c20;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 17, 20, 0.05);
  --shadow-md: 0 16px 32px -12px rgba(16, 17, 20, 0.16);
  --shadow-lg: 0 30px 60px -20px rgba(16, 17, 20, 0.22);
  --shadow-glow: 0 12px 28px -10px rgba(47, 94, 255, 0.35);
  /* Icon chips: one shared treatment everywhere. Size/radius stay in a 4:1
     ratio so the larger variants read as the same shape, not a new one. */
  --chip: 2.5rem;
  --chip-radius: 10px;
  --chip-bg: var(--accent-soft);
  --chip-fg: var(--accent);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gradient-brand: linear-gradient(135deg, var(--accent), var(--accent-2));
  /* Aliases for blog.css, which shares this sheet on the EN blog. Mapping them
     here keeps blog.css untouched while it inherits the EN palette. */
  --border: var(--line);
  --muted: var(--ink-soft);
  --navy: var(--accent-ink);
  --navy-soft: var(--accent);
  --font-ui: var(--font);
  --font-serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --ease-out: var(--ease);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

html.i18n-pending:not(.i18n-ready) body {
  visibility: hidden;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: var(--grain);
  background-size: 160px 160px;
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #17181c 0%, var(--dark) 55%, var(--accent-ink) 160%);
  color: #fff;
}

.btn--cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}

.btn--cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn--cta:hover::after {
  left: 130%;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.btn--lg {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
}

.btn--nav-cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.climax-panel .btn--cta,
.cta-band__inner .btn--cta {
  background: #fff;
  color: var(--dark);
}

.climax-panel .btn--cta:hover,
.cta-band__inner .btn--cta:hover {
  background: #ececec;
  box-shadow: var(--shadow-md);
}

.climax-panel .btn--cta::after,
.cta-band__inner .btn--cta::after {
  background: linear-gradient(120deg, transparent, rgba(16, 17, 20, 0.08), transparent);
}

/* ---------- Eyebrow / section head ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: eyebrow-pulse 2.6s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 6px var(--accent-soft);
  }
}

.eyebrow--section {
  margin-bottom: 1rem;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(1.75rem, 2.6vw, 2.5rem);
  text-align: center;
}

.section-head__title {
  margin: 0.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.section-head__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__title-highlight {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(47, 94, 255, 0.35);
}

.hero__title-ink {
  color: var(--ink);
}

section {
  padding: clamp(2.75rem, 4.5vw, 4.25rem) 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.site-header__brand-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  border-radius: 8px;
}

/* Wordmark uses the display face so the brand reads as the brand, not as body
   copy that happens to be bold. */
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Tagline, where a lockup shows one. */
.brand__text span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--ink);
}

.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.site-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(1.75rem, 3.5vw, 3rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 75%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 22% -5%, rgba(47, 94, 255, 0.18), transparent 70%),
    radial-gradient(45% 50% at 88% 14%, rgba(47, 94, 255, 0.1), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 17, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 17, 20, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(55% 55% at 50% 0%, black, transparent 75%);
  mask-image: radial-gradient(55% 55% at 50% 0%, black, transparent 75%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}

.hero__title-line {
  display: block;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Hero engine visual ---------- */
/* An ambient particle mesh (canvas) behind a pulsing core and five real,
   clickable nodes — one per report domain — arranged in a circle. Conveys
   "a complex system is running under here" while staying genuinely
   explorable: every node is a link into that domain on the Solutions page. */

.hero__preview {
  position: relative;
  min-height: 360px;
  aspect-ratio: 1 / 1;
  max-height: 520px;
}

.engine {
  position: absolute;
  inset: 0;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.engine__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.engine__rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.engine__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.engine__ring--outer {
  width: 76%;
  height: 76%;
  border: 1px dashed color-mix(in srgb, var(--accent) 20%, transparent);
  animation: ring-spin 70s linear infinite;
}

.engine__ring--inner {
  width: 34%;
  height: 34%;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
}

@keyframes ring-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .engine__ring--outer {
    animation: none;
  }
}

.engine__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.engine__core-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #1c1d22 0%, var(--dark) 55%, var(--accent-ink) 160%);
  color: #fff;
  animation: engine-pulse 3.2s ease-in-out infinite;
}

.engine__core-dot svg {
  width: 2rem;
  height: 2rem;
}

.engine__core-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@keyframes engine-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px var(--accent-soft), 0 20px 40px -12px rgba(47, 94, 255, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 14px color-mix(in srgb, var(--accent-2) 30%, var(--accent-soft)),
      0 24px 46px -10px rgba(124, 92, 255, 0.5);
  }
}

.engine__nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engine__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  color: var(--ink);
  text-decoration: none;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.engine__node.is-in {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .engine__node {
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: none;
  }
}

.engine__node-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.engine__node-dot svg {
  width: 1.35rem;
  height: 1.35rem;
}

.engine__node-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* The open-ended node: dashed and tinted so it reads as "and anything else"
   rather than as a sixth fixed template. */
.engine__node--open .engine__node-dot {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--chip-bg);
}

.engine__node--open .engine__node-label {
  color: var(--accent-ink);
}

.engine__node--open:hover .engine__node-dot,
.engine__node--open:focus-visible .engine__node-dot {
  border-style: solid;
}

.engine__node-tip {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 50%;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.engine__node:hover .engine__node-dot,
.engine__node:focus-visible .engine__node-dot {
  transform: scale(1.12);
  border-color: var(--accent);
  box-shadow: 0 10px 24px -10px rgba(47, 94, 255, 0.5), 0 0 0 4px color-mix(in srgb, var(--accent-2) 16%, transparent);
}

.engine__node:hover .engine__node-label,
.engine__node:focus-visible .engine__node-label {
  color: var(--ink);
}

.engine__node:hover .engine__node-tip,
.engine__node:focus-visible .engine__node-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.engine__node:focus-visible {
  outline: none;
}

.engine__node:focus-visible .engine__node-dot {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .engine__core-dot {
    animation: none;
  }
}

/* ---------- Value strip ---------- */

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-strip__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.value-strip__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--chip);
  height: var(--chip);
  border-radius: var(--chip-radius);
  background: var(--chip-bg);
  color: var(--chip-fg);
}

.value-strip__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.value-strip__title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.value-strip__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- Demos ---------- */

.demos-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 1180px;
  margin: 0 auto;
}

.demos-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.demos-carousel__btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

.demos-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.demos-carousel__btn[hidden] {
  display: none;
}

.demos-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.demos-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.demos-track {
  display: flex;
  width: 100%;
  gap: 1.25rem;
  padding: 0.2rem 0.1rem 0.4rem;
}

.demos-track .demo-card {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

@media (max-width: 820px) {
  .demos-track .demo-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 640px) {
  .demos-track .demo-card {
    flex-basis: 100%;
  }
}

.demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.demo-card__preview {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.demo-card__preview-head {
  display: grid;
  gap: 0.4rem;
}

.demo-card__skel {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, #e6e7eb);
}

.demo-card__skel--medium {
  width: 78%;
}

.demo-card__skel--short {
  width: 52%;
}

.demo-card__mini-table {
  display: grid;
  gap: 0.32rem;
  padding: 0.55rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.demo-card__mini-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.28rem;
}

.demo-card__mini-cell {
  display: block;
  height: 0.38rem;
  border-radius: 4px;
  background: #e9eaee;
}

.demo-card__mini-cell--wide {
  background: color-mix(in srgb, var(--accent) 30%, #e9eaee);
}

.demo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.15rem 1.3rem 1.35rem;
}

.demo-card__stage {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.demo-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s var(--ease), color 0.2s ease;
}

.demo-card__link:hover {
  gap: 0.55rem;
  color: var(--accent);
}

.demos-empty[hidden] {
  display: none;
}

.demos-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  background: radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 70%);
}

.demos-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 11px;
  background: var(--chip-bg);
  color: var(--chip-fg);
}

.demos-empty__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.demos-empty p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Capabilities ---------- */

.capabilities {
  background: var(--surface-2);
}

/* Five cards in a 2-then-3 bento: the flagship takes two of the three columns,
   so row one is Atlas + one card and row two is the remaining three. */
.capabilities__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.capabilities__item--atlas {
  grid-column: span 2;
}

.capabilities__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s ease;
}

.capabilities__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.capabilities__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--chip);
  height: var(--chip);
  border-radius: var(--chip-radius);
  background: var(--chip-bg);
  color: var(--chip-fg);
}

/* Shared hover accent for value/capability/audience cards */
.value-strip__item:hover,
.capabilities__item:hover,
.audience-row:hover {
  border-color: var(--accent);
}

.capabilities__mark svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Bento layout: the flagship "atlas" card anchors a 2x2 block, with the
   remaining five cards filling the column beside it and the row below —
   no gaps, no manual placement needed beyond the one span rule. */
.capabilities__item--atlas {
  padding: 1.6rem;
  gap: 0.85rem;
  background:
    radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    var(--surface);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

/* The flagship card is two columns wide, so the pipeline runs left-to-right
   across it — matching the order it actually executes in, and using the width
   instead of stacking in a narrow strip. */
.capabilities__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: auto 0 0;
  padding: 0.95rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: atlas-step;
}

.capabilities__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  counter-increment: atlas-step;
}

/* Hairline connector between consecutive steps. */
.capabilities__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 2rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.capabilities__step::before {
  content: counter(atlas-step);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  background: var(--chip-bg);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.capabilities__item--atlas .capabilities__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 11px;
}

.capabilities__item--atlas .capabilities__mark svg {
  width: 1.3rem;
  height: 1.3rem;
}

.capabilities__item--atlas .capabilities__title {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.capabilities__item--atlas .capabilities__desc {
  font-size: 0.94rem;
  max-width: 40rem;
}

.capabilities__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
}

.capabilities__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.capabilities__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- Climax panels (capabilities CTA + final CTA band) ---------- */

.climax-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  text-align: center;
  background: var(--dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.climax-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(47, 94, 255, 0.38), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(47, 94, 255, 0.22), transparent 60%);
}

.climax-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: var(--grain);
  background-size: 140px 140px;
}

.climax-panel > * {
  position: relative;
  z-index: 1;
}

.cta-band__inner h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.cta-band__inner p {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* ---------- Pillars (AI Coach / AI Agent / AI Chat) ---------- */

.pillars__list {
  display: grid;
  gap: clamp(2.25rem, 3.75vw, 3.5rem);
}

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Alternate sides so the eye zig-zags down the section. */
.pillar:nth-child(even) .pillar__copy {
  order: 2;
}

.pillar--no-media {
  grid-template-columns: minmax(0, 46rem);
  justify-content: center;
  text-align: center;
}

.pillar--no-media .pillar__points {
  display: inline-grid;
  text-align: start;
}

.pillar__step {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.pillar__desc {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.pillar__points {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar__point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.pillar__point::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: var(--chip-bg) center / 0.7rem 0.7rem no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5eff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Pillar media frames ---------- */

.pillar__media {
  margin: 0;
  min-width: 0;
}

.pillar__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* The Coach capture ships with its own window chrome and padding, so it renders
   bare — wrapping it in the shared frame would read as a card inside a card. */
.pillar__frame--coach {
  position: relative;
  line-height: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* WCAG 2.2.2: looping motion needs a pause control. */
.pillar__playtoggle {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background-color 0.2s ease;
}

.pillar__playtoggle:hover {
  transform: scale(1.06);
  border-color: var(--accent);
  background: #fff;
}

.pillar__playtoggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Pause glyph (two bars) by default, play triangle when paused — drawn in CSS
   so the control needs no icon asset. */
.pillar__playtoggle::before,
.pillar__playtoggle::after {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: currentColor;
  transition: all 0.18s var(--ease);
}

.pillar__playtoggle::before {
  margin-right: 3px;
}

.pillar__playtoggle.is-paused::before {
  width: 0;
  height: 0;
  margin-right: 0;
  border-radius: 0;
  background: none;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  transform: translateX(1px);
}

.pillar__playtoggle.is-paused::after {
  display: none;
}

.pillar__shot {
  width: 100%;
  height: auto;
}

.pillar__frame-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.pillar__frame-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--line-strong);
}

.pillar__frame-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem;
  min-height: 15rem;
  align-content: start;
}

.pillar__mock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.pillar__mock-spinner {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: pillar-spin 0.9s linear infinite;
}

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

.pillar__mock-line {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
}

.pillar__mock-line--title {
  height: 0.75rem;
  width: 60%;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface-2));
}

.pillar__mock-line--medium {
  width: 82%;
}

.pillar__mock-line--short {
  width: 55%;
}

.pillar__bubble {
  max-width: 88%;
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.pillar__bubble--user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--accent);
  color: #fff;
}

.pillar__bubble--ai {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: var(--surface-2);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .pillar__mock-spinner {
    animation: none;
  }
}

@media (max-width: 860px) {
  .pillar {
    grid-template-columns: 1fr;
  }

  /* Copy always leads on narrow screens, whichever side it sits on above. */
  .pillar:nth-child(even) .pillar__copy {
    order: 0;
  }
}

/* ---------- How it works ---------- */

.how-flow {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 860px) {
  .how-flow::before {
    content: "";
    position: absolute;
    top: 2.55rem;
    left: 10%;
    right: 10%;
    height: 2px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, var(--accent) 15%, var(--accent-2) 50%, var(--accent) 85%, transparent);
    opacity: 0.3;
  }
}

.how-flow__step {
  flex: 1 1 220px;
  max-width: 300px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: start;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.how-flow__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.how-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--chip);
  height: var(--chip);
  margin-bottom: 0.9rem;
  border-radius: var(--chip-radius);
  background: var(--chip-bg);
  /* Deeper blue than --chip-fg: this chip holds text, so it needs the 4.5:1
     text threshold rather than the 3:1 non-text one. */
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.how-flow__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.how-flow__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.how-flow__arrow {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--line-strong);
}

/* ---------- Audience ---------- */

.audience-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.audience-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.audience-row:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.audience-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--chip);
  height: var(--chip);
  border-radius: var(--chip-radius);
  background: var(--chip-bg);
  color: var(--chip-fg);
}

.audience-row__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.audience-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audience-row__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.audience-row__summary {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 2rem;
}

.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--ink);
}

.site-footer__bottom p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */

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

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

.demo-card.reveal {
  transition-delay: calc(var(--reveal-index, 0) * 80ms);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__preview {
    max-height: 400px;
    margin: 0 auto;
  }

  /* Two even columns; the flagship keeps a full-width row of its own. */
  .capabilities__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities__item--atlas {
    grid-column: span 2;
  }

  /* Still full-width here, so the pipeline stays horizontal but halves. */
  .capabilities__steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.1rem;
  }

  .capabilities__step:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero__preview {
    min-height: 280px;
    max-height: 320px;
  }
}

@media (max-width: 880px) {
  .site-header__brand-group {
    gap: 0.75rem;
  }

  .site-nav__toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 4.25rem 1rem auto 1rem;
    z-index: 60;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .site-nav__link {
    display: block;
    width: 100%;
    padding: 0.6rem 0.4rem;
  }
}

@media (max-width: 720px) {
  .value-strip {
    grid-template-columns: 1fr;
  }

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

  .capabilities__item--atlas {
    grid-column: span 1;
  }

  /* Single column: the pipeline stacks and the connectors go away. */
  .capabilities__steps {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .capabilities__step {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  .capabilities__step:not(:last-child)::after {
    display: none;
  }

  .audience-strip__grid {
    grid-template-columns: 1fr;
  }

  .how-flow__step {
    flex-basis: 100%;
    max-width: 100%;
  }

  .how-flow__arrow {
    width: 100%;
    justify-content: center;
    transform: rotate(90deg);
    margin: -0.35rem 0;
  }

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

@media (max-width: 560px) {
  .brand__text {
    display: none;
  }

  .btn--nav-cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Keep the header CTAs at the 44px minimum touch target on phones. */
  .site-header__actions .btn--nav-cta {
    min-height: 44px;
  }

  .site-header__actions {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .eyebrow__dot {
    animation: none;
  }
}

/* ==========================================================================
   Solutions page (EN)
   Ported from the FA sheet's uc-* system onto the EN tokens, so the page reads
   as part of the same design as the landing page. styles.css is untouched.
   ========================================================================== */

.uc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 5.5vw, 4.75rem) 0 clamp(2rem, 3.5vw, 3rem);
  text-align: center;
}

.uc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
}

.uc-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
}

.uc-hero__lead {
  margin: 1rem auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Sticky stage filter */
.uc-domain-nav {
  position: sticky;
  top: 68px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.7rem 0;
  background: linear-gradient(180deg, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.uc-domain-nav__link {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.uc-domain-nav__link:hover,
.uc-domain-nav__link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--chip-bg);
}

.uc-journey__body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* A stage of the journey */
.uc-phase {
  scroll-margin-top: 6.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s var(--ease);
}

.uc-phase:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.uc-phase__head {
  margin-bottom: 1.1rem;
}

.uc-phase__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.uc-phase__outline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.uc-phase__outline-sep {
  color: var(--line-strong);
}

.uc-phase--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--chip-bg);
}

/* Report cards within a stage */
.uc-reports {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.uc-report {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s ease;
}

.uc-report:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.uc-report__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.uc-report__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: var(--chip-bg);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.uc-report__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.uc-report__intro,
.uc-report__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.uc-report__points {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.uc-report__points li {
  display: flex;
  gap: 0.5rem;
}

.uc-report__points li::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
}

.uc-report__footer {
  margin-top: auto;
  padding-top: 0.9rem;
}

.uc-report--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--chip-bg);
}

@media (max-width: 720px) {
  .uc-reports {
    grid-template-columns: 1fr;
  }

  .uc-domain-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .uc-domain-nav::-webkit-scrollbar {
    display: none;
  }
}

