/* Annata redesign: Module template (templates/module.php), design system v1.0 sections 7 and 8.6.
   Loaded only on module pages that use the new template. Design tokens only. Added 27 Nov 2026. */

.an-mod { background: var(--surface); color: var(--text); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); }
.an-mod p, .an-mod ul { margin: 0; }
/* Kadence gives every <button> a fill colour and a drop shadow on hover, focus and click; the template's
   own buttons (feature list, area tabs, industry tabs, video, play/pause) set their own look instead. */
:root .an-mod button:not(.an-btn):is(:hover, :focus, :active) { box-shadow: none; }
:root .an-feat__toggle:is(:hover, :focus, :active),
:root .an-tabs__tab:is(:hover, :focus, :active),
:root .an-video__play:is(:hover, :focus, :active) { background: transparent; }
:root .an-feat__toggle:is(:hover, :focus, :active) { color: var(--text); }
:root .an-feat__control:is(:hover, :focus, :active) { background: var(--a-white); color: var(--a-black); box-shadow: var(--shadow-1); }
.an-mod ul { padding: 0; list-style: none; }
.an-mod__in { max-width: calc(var(--container) + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); display: grid; gap: var(--sp-6); }
.an-mod__in > * { min-width: 0; }
.an-mod__section { padding: var(--section-y) 0; }
.an-mod__muted { background: var(--surface-muted); }

/* Section header (spec 7.3): left aligned, up to 8 columns */
.an-mod__head { display: grid; gap: var(--sp-3); max-width: calc(var(--container) * 2 / 3); }
.an-mod__head--row { max-width: none; grid-auto-flow: column; justify-content: space-between; align-items: end; }
:root .an-mod__h1,
:root .an-mod__h2,
:root .an-mod__h3 { margin: 0; color: var(--text); font-family: var(--font-sans); letter-spacing: -0.01em; text-transform: none; }
:root .an-mod__h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: var(--lh-h1); }
:root .an-mod__h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: var(--lh-h2); }
:root .an-mod__h3 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: var(--lh-h4); letter-spacing: normal; }
.an-mod__eyebrow { color: var(--eyebrow); font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold); line-height: var(--lh-small); letter-spacing: 0.1em; text-transform: uppercase; }
.an-mod__lead { color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: var(--measure); }
.an-mod__text { max-width: var(--measure); }

/* ---------- Hero: split on a light grey field (spec 7.3, page hero "Split") ---------- */
.an-mod__hero { --hinge-colour: var(--accent); padding: var(--hero-y) 0; background: var(--surface-muted); }
.an-mod__split { align-items: center; gap: var(--sp-7); }
.an-mod__hero-text { display: grid; gap: var(--sp-4); align-content: start; }
.an-mod__hero-text .an-crumbs { margin-bottom: var(--sp-2); }
.an-mod__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-6); margin-top: var(--sp-3); }

/* Video poster: the player loads only on click (spec 11.3) */
.an-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-24); background: var(--a-black); }
.an-video__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.an-video picture { display: contents; }
.an-video .an-video__poster,
.an-video .an-video__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.an-video__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: calc(var(--sp-8) + var(--sp-2));   /* 72px */
  height: calc(var(--sp-8) + var(--sp-2));
  border-radius: var(--r-full);
  background: var(--a-white);
  color: var(--a-black);
  box-shadow: var(--shadow-2);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-1) var(--ease);
}
.an-video__icon svg { width: var(--sp-5); height: var(--sp-5); margin-left: var(--sp-1); }
.an-video__play:hover .an-video__icon { transform: translate(-50%, -50%) scale(1.06); }
:root .an-video__play:focus { outline: none; }
:root .an-video__play:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: calc(-1 * var(--sp-2)); }
.an-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Why: capability list and cards ---------- */
/* Why: heading, intro and capability list beside the text on desktop; stacked on smaller screens */
.an-mod__why { display: grid; gap: var(--sp-5); grid-template-areas: "head" "body" "list"; }
.an-mod__why-head { grid-area: head; display: grid; gap: var(--sp-3); align-content: start; }
.an-mod__why-body { grid-area: body; display: grid; gap: var(--sp-4); align-content: start; }
/* Capability labels: side by side and wrapping, as on today's pages. Plain labels, not links, so square-ish
   corners and no chevron (the module map's pill chips are the links). */
.an-mod__why-list { grid-area: list; display: grid; gap: var(--sp-5); align-content: start; }
/* "Built for": links to the industry pages, on pages without industry tabs */
.an-mod__built { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-5); margin: 0; }
.an-mod__built-label { flex-basis: 100%; color: var(--text-muted); font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.an-mod__chips, .an-list.an-mod__chips { display: flex; flex-wrap: wrap; align-content: start; gap: var(--sp-2); }
.an-list.an-mod__chips li { display: block; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--hairline); border-radius: calc(var(--r-16) / 2); background: var(--surface); font-size: var(--fs-small); font-weight: var(--fw-semibold); line-height: var(--lh-small); }
.an-mod__chips .an-chev { display: none; }
.an-mod .an-card__eyebrow { font-variant-numeric: tabular-nums; }

/* ---------- Industry tabs (spec 7.3) ---------- */
.an-tabs { display: grid; gap: var(--sp-6); }
.an-tabs__list { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); border-bottom: 1px solid var(--hairline); }
:root .an-tabs__tab {
  position: relative;
  margin: 0;
  padding: var(--sp-3) 0;
  min-height: var(--btn-h-lg);
  border: 0;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-small);
  cursor: pointer;
}
.an-tabs__tab[aria-selected="true"] { color: var(--text); }
.an-tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
:root .an-tabs__tab:hover { color: var(--text); }
:root .an-tabs__tab:focus { outline: none; }
:root .an-tabs__tab:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--sp-1); }
.an-tabs__panel { display: grid; gap: var(--sp-6); }
.an-tabs__panel[hidden] { display: none; }
.an-tabs__intro { display: grid; gap: var(--sp-4); align-content: start; }
.an-tabs__features { display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-6); border-radius: var(--r-24); background: var(--surface); }
/* Before the script runs (or without it) every panel shows, each under its own heading */
.an-tabs:not(.is-ready) .an-tabs__panel + .an-tabs__panel { padding-top: var(--sp-6); border-top: 1px solid var(--hairline); }
:root .an-tabs__nojs { margin: 0; color: var(--text); font-family: var(--font-sans); font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: var(--lh-h3); }
.an-tabs.is-ready .an-tabs__nojs { display: none; }

/* Chevron list (spec 7.3): chevron in the accent, on the first line */
.an-list { display: grid; gap: var(--sp-2); }
.an-list li { display: flex; align-items: baseline; gap: var(--sp-3); }
.an-list .an-chev { flex: none; transform: translateY(-0.1em) rotate(-45deg); }

/* ---------- Where it fits (wireframe F3): a layered map of the A365 modules ---------- */
/* Cross-solution as a band across the top, the business areas as columns, Microsoft as the base.
   The area holding this page has a black outline; this page has the red dot. */
.an-map { display: grid; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-24); background: var(--surface-muted); }
.an-map__areas { display: grid; gap: var(--sp-3); }
.an-map__area { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--hairline); border-radius: var(--r-16); background: var(--surface); }
.an-map__area.is-current { border: var(--focus-width) solid var(--a-black); padding: calc(var(--sp-4) - 1px) calc(var(--sp-5) - 1px); box-shadow: var(--shadow-1); }
:root .an-map__label { margin: 0; color: var(--text-muted); font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold); line-height: var(--lh-small); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.an-map__area.is-current .an-map__label { color: var(--eyebrow); }
/* Each module is a chip; chips wrap inside their area */
.an-map__links { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
:root .an-map__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--btn-h-md);
  padding: var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-4);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-small);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
:root .an-map__link:hover { border-color: var(--border); color: var(--text); box-shadow: var(--shadow-1); }
.an-map__link .an-chev { flex: none; transition: transform var(--dur-1) var(--ease); }
.an-map__link:hover .an-chev { transform: translateX(var(--sp-1)) rotate(-45deg); }
/* This page: pale red chip, red text and the red dot */
:root .an-map__link[aria-current="page"] { border-color: var(--action-subtle); background: var(--action-subtle); color: var(--text-link); }
.an-map__link[aria-current="page"]::before { content: ""; flex: none; width: var(--sp-2); height: var(--sp-2); border-radius: var(--r-full); background: var(--a-red); }
:root .an-map__link:focus { outline: none; }
:root .an-map__link:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
/* The base: the Microsoft platform everything runs on */
/* Quiet on purpose: the modules are the subject, the platform is the ground they stand on */
.an-map__base { display: grid; gap: var(--sp-3); padding: var(--sp-3) var(--sp-5) var(--sp-2); color: var(--text); }
.an-map__base-label { color: var(--text-muted); font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold); line-height: var(--lh-small); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.an-map__base-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); }
.an-map__base-list li { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--btn-h-lg); padding: var(--sp-2) var(--sp-3); border: 1px solid var(--hairline); border-radius: var(--r-16); background: color-mix(in srgb, var(--hairline) 35%, var(--surface-muted)); color: var(--text-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); text-align: center; }
.an-map__base-icon { flex: none; width: var(--sp-5); height: var(--sp-5); }

/* ---------- Case studies (wireframe F4): metric-led case cards ---------- */
.an-stories { display: grid; gap: var(--sp-4); }
.an-stories__side { display: grid; gap: var(--sp-4); align-content: start; }
.an-story {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  align-content: start;
  padding: var(--sp-5);
  border: 1px solid var(--hairline);
  border-radius: var(--r-20);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-2) var(--ease);
}
.an-story:hover, .an-story:focus-within { box-shadow: var(--shadow-2); }
.an-story__copy { display: grid; gap: var(--sp-3); align-content: start; }
.an-story__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.an-story__name { color: var(--text-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
/* Customer logo: 32px tall, up to 176px wide, original colours on the white card (spec 7.3) */
.an-story__logo { display: block; width: auto; max-width: calc(var(--sp-10) + var(--sp-7)); height: var(--sp-6); object-fit: contain; object-position: left center; }
:root .an-story__title { margin: 0; color: var(--text); font-family: var(--font-sans); font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: var(--lh-h4); letter-spacing: normal; }
:root .an-story--feature .an-story__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: var(--lh-h3); }
/* One link per card: the title link is stretched over the whole card */
:root .an-story__title a { color: inherit; font-family: inherit; text-decoration: none; }
:root .an-story__title a:focus { outline: none; }
.an-story__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-20); }
.an-story__title a:focus-visible::after { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
.an-story__foot { margin-top: var(--sp-2) !important; }
.an-story:hover .an-link .an-chev { transform: translateX(var(--sp-1)) rotate(-45deg); }
.an-story__figures { display: grid; gap: var(--sp-4); align-content: start; }
.an-story__figure { display: grid; gap: var(--sp-1); padding-top: var(--sp-3); border-top: 3px solid var(--accent); }
.an-story__figure strong { font-size: var(--fs-stat); font-weight: var(--fw-bold); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.an-story__figure span { color: var(--text-muted); font-size: var(--fs-small); }

@media (min-width: 600px) {
  .an-map { gap: var(--sp-4); padding: var(--sp-4); }
  .an-map__areas { gap: var(--sp-4); }
  .an-map__base-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .an-story--feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .an-stories__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .an-mod__split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); }
  .an-tabs__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); }
  .an-map { padding: var(--sp-5); }
  /* Columns share the width by how many modules they hold, so none is left mostly empty */
  .an-map__areas { display: flex; gap: var(--sp-4); }
  .an-map__area:not(.an-map__area--span) { flex: var(--w, 1) 1 0; min-width: 0; }
  /* The band: its label on the left, its modules side by side */
  .an-map__area--span { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: center; gap: var(--sp-5); }
  .an-map__base { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: center; gap: var(--sp-5); }
  .an-stories { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
  .an-stories--single { grid-template-columns: minmax(0, 1fr); }
  .an-stories__side { grid-template-columns: minmax(0, 1fr); }
  .an-story--feature { padding: var(--sp-6); }
}
/* Below 600px the industry tabs become an accordion: the script shows every panel under its heading */
@media (max-width: 599px) {
  .an-tabs.is-ready .an-tabs__list { display: none !important; }
  .an-tabs.is-ready .an-tabs__panel[hidden] { display: grid; }
  .an-tabs.is-ready .an-tabs__nojs { display: block; }
  .an-tabs.is-ready .an-tabs__panel + .an-tabs__panel { padding-top: var(--sp-6); border-top: 1px solid var(--hairline); }
}

/* ---------- Feature explorer: one capability open at a time, with its animation ---------- */
/* Desktop: the list on the left, the open feature's animation on the right. Phones and tablets: the
   animation sits under the open feature's text. Without the script every description shows, and only
   the first animation's poster. */
/* A clean list with thin rules; the open feature is marked by the vertical accent bar (spec 6.4) */
.an-feat { position: relative; display: grid; }
.an-feat__item { border-top: 1px solid var(--hairline); }
.an-feat__item:last-child { border-bottom: 1px solid var(--hairline); }
.an-feat__text { position: relative; }
.an-feat__text::before {
  content: "";
  position: absolute;
  top: var(--sp-4);
  bottom: var(--sp-4);
  left: 0;
  width: var(--accent-bar-w);
  border-radius: var(--r-full);
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.an-feat__item.is-active .an-feat__text::before { opacity: 1; }
:root .an-feat__heading { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
:root .an-feat__toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--sp-3);
  width: 100%;
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
  border: 0;
  border-radius: var(--r-16);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
}
:root .an-feat__toggle:hover { background: transparent; color: var(--text); }
.an-feat__item:not(.is-active) .an-feat__toggle:hover .an-feat__title { text-decoration: underline; text-underline-offset: 0.2em; }
:root .an-feat__toggle:focus { outline: none; }
:root .an-feat__toggle:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
.an-feat__n { grid-row: span 2; padding-top: 0.2em; color: var(--text-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.an-feat__item.is-active .an-feat__n { color: var(--eyebrow); }
.an-feat__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: var(--lh-h4); }
.an-feat__sub { color: var(--text-muted); font-size: var(--fs-body); line-height: var(--lh-small); }
.an-feat__panel { padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + var(--sp-3) + 2ch); color: var(--text-muted); }
/* Product screens sit on a light grey field with 32px padding (spec 7.3) */
.an-feat__panel p { max-width: var(--measure); }
.an-feat__media { position: relative; margin: 0 0 var(--sp-5); padding: var(--sp-4); border-radius: var(--r-24); background: var(--surface-muted); }
.an-feat__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-16); background: var(--a-white); box-shadow: var(--shadow-1); }
:root .an-feat__control {
  position: absolute;
  right: calc(var(--sp-4) + var(--sp-3));
  bottom: calc(var(--sp-4) + var(--sp-3));
  display: grid;
  place-items: center;
  width: calc(var(--sp-7) - var(--sp-1));   /* 44px touch target */
  height: calc(var(--sp-7) - var(--sp-1));
  margin: 0;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: var(--a-white);
  color: var(--a-black);
  box-shadow: var(--shadow-1);
  cursor: pointer;
}
.an-feat__control[hidden] { display: none; }
:root .an-feat__control:focus { outline: none; }
:root .an-feat__control:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
.an-feat__control svg { width: var(--sp-5); height: var(--sp-5); }
/* Button shows play, pause or replay (after the animation has played once and stopped on its last frame) */
.an-feat__control .an-feat__icon-pause,
.an-feat__control .an-feat__icon-replay { display: none; }
.an-feat__control.is-playing .an-feat__icon-play,
.an-feat__control.is-ended .an-feat__icon-play { display: none; }
.an-feat__control.is-playing .an-feat__icon-pause,
.an-feat__control.is-ended .an-feat__icon-replay { display: block; }

/* With the script: only the open feature shows its text and animation */
.an-feat.is-ready .an-feat__item:not(.is-active) .an-feat__panel,
.an-feat.is-ready .an-feat__item:not(.is-active) .an-feat__media { display: none; }
/* Without it: every description, and only the first animation */
.an-feat:not(.is-ready) .an-feat__item + .an-feat__item .an-feat__media { display: none; }

@media (min-width: 1024px) {
  .an-feat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--sp-8); align-items: start; }
  .an-feat__item { grid-column: 1; }
  /* The animation sits in the right-hand column, level with the top of the list */
  .an-feat__media { position: absolute; top: 0; right: 0; width: calc((100% - var(--sp-8)) * 7 / 12); margin: 0; padding: var(--sp-6); }
  :root .an-feat__control { right: calc(var(--sp-6) + var(--sp-3)); bottom: calc(var(--sp-6) + var(--sp-3)); }
  .an-mod__why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head body" "list body"; column-gap: var(--sp-8); row-gap: var(--sp-5); }
}

/* ---------- Potential impact: today's simulated ROI scenario (A365 Inspections), added 27 Nov 2026 ---------- */
.an-impact__grid { display: grid; gap: var(--sp-4); }
.an-impact__story { display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-5); border-radius: var(--r-24); background: var(--surface-muted); }
.an-impact__eyebrow { color: var(--text-muted); font-weight: var(--fw-semibold); }
:root .an-impact__title { margin-top: calc(-1 * var(--sp-3)); font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: var(--lh-h3); }
.an-impact__part { display: grid; gap: var(--sp-1); }
.an-impact__label { font-weight: var(--fw-bold); }
.an-impact__results { display: grid; gap: var(--sp-4); align-content: start; }
:root .an-impact__figs { display: grid; gap: var(--sp-4); }
.an-impact__fig { display: grid; gap: var(--sp-1); align-content: start; padding: var(--sp-5); border-radius: var(--r-20); background: var(--surface-muted); }
.an-impact__fig-title { font-weight: var(--fw-bold); }
.an-impact__fig-basis { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.an-impact__fig-value { margin-top: var(--sp-2); font-weight: var(--fw-semibold); }
.an-impact__fig-value strong { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.an-impact__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-4); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-20); background: var(--surface-inverse); color: var(--text-on-dark); font-weight: var(--fw-semibold); }
.an-impact__total strong { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.an-impact__roi { display: grid; gap: var(--sp-2); align-items: center; padding: var(--sp-5); border-radius: var(--r-20); background: var(--action-subtle); }
.an-impact__roi-value { color: var(--eyebrow); font-size: var(--fs-stat); font-weight: var(--fw-bold); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.an-impact__note { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
@media (min-width: 600px) {
  :root .an-impact__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-impact__roi { grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-5); }
}
@media (min-width: 1024px) {
  .an-impact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-5); }
  .an-impact__story { padding: var(--sp-6); }
}
