:root {
  --blue: #1f66d1;
  --blue-600: #1558bd;
  --blue-700: #0f4ba6;
  --sky: #dfeeff;
  --sky-2: #f3f8ff;
  --ink: #172033;
  --muted: #5d6a7d;
  --line: #dbe6f5;
  --card: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --green: #16a779;
  --purple: #6756e8;
  --coral: #f06f70;
  --shadow: 0 22px 55px rgba(25, 75, 150, 0.15);
  --shadow-soft: 0 14px 32px rgba(31, 102, 209, 0.11);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(31, 102, 209, 0.13), transparent 34rem),
    radial-gradient(circle at 90% 15%, rgba(91, 161, 255, 0.18), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #ffffff 100%);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(31, 102, 209, 0.78);
  outline-offset: 4px;
}

.button:focus-visible,
.sample-refresh:focus-visible,
.scenario-pill:focus-visible,
.service-card:focus-visible,
.faq-list summary:focus-visible,
.email-card button:focus-visible,
.contact-panel input:focus-visible,
.contact-panel textarea:focus-visible {
  box-shadow: 0 0 0 5px rgba(31, 102, 209, 0.16);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: transform 0.2s ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 230, 245, 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(31, 102, 209, 0.11);
  background: rgba(255, 255, 255, 0.95);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 210px;
}

.brand img {
  width: 200px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
}

.primary-nav a {
  position: relative;
  color: #243046;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 10px 2px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--blue);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta {
  min-width: 154px;
  padding: 15px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  box-shadow: 0 14px 28px rgba(31, 102, 209, 0.26);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button {
  padding: 16px 20px;
  min-height: 52px;
}

.button svg,
.nav-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  color: white;
  box-shadow: 0 16px 34px rgba(31, 102, 209, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  border: 1px solid rgba(31, 102, 209, 0.35);
  box-shadow: 0 12px 25px rgba(31, 102, 209, 0.1);
}

.button-soft {
  background: #eef5ff;
  color: var(--blue);
  border: 1px solid #d6e7ff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  justify-self: end;
  border: 1px solid #d7e5f7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: auto;
  padding: clamp(54px, 7vw, 76px) 0 clamp(48px, 6vw, 66px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 243, 255, 0.95), rgba(241, 247, 255, 0.84) 54%, rgba(211, 229, 255, 0.95)),
    #f1f7ff;
  border-bottom: 1px solid #dfeaff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 48%, rgba(255,255,255,.75), transparent 20rem),
    radial-gradient(circle at 88% 0%, rgba(31, 102, 209, 0.15), transparent 30rem);
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(31, 102, 209, 0.08);
  filter: blur(0.2px);
  pointer-events: none;
}

.orb-one {
  width: 680px;
  height: 680px;
  right: 18%;
  top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.6), rgba(31,102,209,.05) 55%, transparent 66%);
}

.orb-two {
  width: 420px;
  height: 420px;
  right: -90px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(61,137,245,.12), transparent 70%);
}

.dot-grid {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(31, 102, 209, 0.25) 1.6px, transparent 1.6px);
  background-size: 15px 15px;
  pointer-events: none;
}

.dot-grid-left {
  left: 0;
  bottom: 18px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
}

.hero-copy .eyebrow {
  max-width: none;
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #cfe3ff;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.request-card h2,
.faq-grid h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(4rem, 7.2vw, 5.85rem);
  line-height: 0.95;
  max-width: 660px;
}

.hero h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 10px 28px rgba(31, 102, 209, 0.15);
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: #3e4a5f;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(31, 102, 209, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #49576c;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 2% 5% 0;
  border: 1px solid rgba(31, 102, 209, 0.12);
  border-radius: 999px;
  transform: rotate(-12deg);
  z-index: -1;
}

.proficiency-title {
  position: absolute;
  top: 8%;
  left: 8%;
  margin: 0;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tool-logo-grid {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tool-badge {
  --tool-color: var(--blue);
  display: grid;
  position: absolute;
  grid-template-columns: 44px minmax(0, auto);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  border: 1px solid color-mix(in srgb, var(--tool-color) 20%, #dce8f8);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tool-color) 10%, rgba(255, 255, 255, 0.9));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--tool-color) 16%, rgba(20, 37, 70, 0.08));
  backdrop-filter: blur(14px);
}

.tool-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--tool-color);
  background: #fff;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--tool-color) 18%, transparent);
}

.tool-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.tool-name {
  min-width: 0;
  color: #26344c;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.05;
  white-space: nowrap;
}

.tool-tableau {
  --tool-color: #2d6db5;
  top: 18%;
  left: 6%;
}

.tool-tableau .tool-mark svg {
  stroke-width: 2.7;
}

.tool-tableau .mark-blue {
  stroke: #2d6db5;
}

.tool-tableau .mark-orange {
  stroke: #f28c28;
}

.tool-tableau .mark-navy {
  stroke: #1b4f8f;
}

.tool-excel {
  --tool-color: #178f53;
  top: 8%;
  right: 8%;
}

.tool-excel rect {
  fill: #178f53;
  stroke: #178f53;
}

.tool-excel path {
  stroke: #fff;
}

.tool-sql {
  --tool-color: #1f66d1;
  top: 46%;
  left: 0;
}

.tool-python {
  --tool-color: #3671a8;
  top: 40%;
  right: 14%;
}

.tool-python .tool-mark svg {
  fill: color-mix(in srgb, var(--tool-color) 12%, #fff);
}

.tool-python circle {
  fill: currentColor;
  stroke: currentColor;
}

.tool-altair {
  --tool-color: #6756e8;
  bottom: 16%;
  left: 15%;
}

.tool-powerbi {
  --tool-color: #e7a900;
  right: 2%;
  bottom: 8%;
}

.tool-powerbi rect {
  fill: currentColor;
  stroke: currentColor;
}

.float-card,
.dashboard-card,
.service-card,
.service-detail,
.process-card,
.request-card,
.email-card,
.contact-form,
.faq-list details {
  background: var(--card);
  border: 1px solid rgba(219, 230, 245, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.float-card {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  border-radius: 20px;
  padding: clamp(14px, 6cqi, 18px);
}

.float-card span,
.float-card small,
.dashboard-card small,
.big-kpi small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.float-card strong {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  font-size: clamp(1.35rem, 17cqi, 2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.green,
em {
  color: var(--green);
  font-style: normal;
  font-weight: 850;
}

.revenue-card {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  align-self: end;
}

.category-card {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  align-items: center;
}

.category-card-copy {
  width: min(178px, 100%);
  min-width: 0;
}

.category-card-copy > span {
  display: block;
  text-align: center;
}

.category-card ul,
.legend {
  list-style: none;
  padding: 0;
  margin: 7px 0 0;
}

.category-card li,
.legend li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  color: #425067;
  font-size: clamp(0.66rem, 6.5cqi, 0.74rem);
  font-weight: 700;
}

.category-card li strong,
.legend span {
  color: var(--ink);
  font-size: clamp(0.74rem, 8cqi, 0.9rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.category-card b,
.legend b {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--blue);
}

.category-card li:nth-child(2) b,
.legend li:nth-child(2) b { background: #51b8d6; }
.category-card li:nth-child(3) b,
.legend li:nth-child(3) b { background: #56bd8f; }
.legend li:nth-child(4) b { background: #9cb4dc; }

@container (max-width: 245px) {
  .category-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .category-card-copy {
    width: 100%;
  }

  .category-card-copy > span {
    text-align: center;
  }

  .category-card ul {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .category-card li {
    grid-template-columns: 7px minmax(72px, 1fr) auto;
  }
}

.active-card {
  grid-column: 2;
  grid-row: 3;
  width: 100%;
  min-height: 130px;
  align-self: start;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mini-chart {
  width: 100%;
  height: 70px;
  margin-top: 8px;
}

.chart-line,
.dynamic-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.chart-area {
  fill: none;
  stroke: transparent;
}

.donut {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 48%, #59c2e8 48% 76%, #54bd8f 76% 92%, #a9bfdf 92% 100%);
  position: relative;
  justify-self: center;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  background: white;
  border-radius: inherit;
}

.tiny-bars {
  position: absolute;
  right: 15px;
  bottom: 16px;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 56px;
}

.tiny-bars i,
.bar-chart i {
  display: block;
  width: 9px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #7aadff, #1f66d1);
  height: var(--h);
  transform-origin: bottom;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  text-align: left;
}

.section-heading h2,
.about-copy h2,
.request-card h2,
.faq-grid h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.request-card p,
.faq-grid p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  --service-accent: var(--blue);
  --service-heading: #174f9d;
  --service-accent-soft: rgba(31, 102, 209, 0.2);
  --service-surface: #e4f0ff;
  --service-pattern: linear-gradient(90deg, var(--service-accent), var(--service-accent));
  display: flex;
  flex-direction: column;
  min-height: 238px;
  text-align: left;
  border-radius: 22px;
  padding: 26px 26px 24px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), var(--service-surface)),
    var(--service-surface);
  border-color: color-mix(in srgb, var(--service-accent) 42%, white);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 120px;
  background: radial-gradient(circle, var(--service-accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--service-pattern);
  opacity: 0.9;
  pointer-events: none;
}

.service-card[data-service="cleanup"] {
  --service-accent: #008a68;
  --service-heading: #006b50;
  --service-accent-soft: rgba(0, 138, 104, 0.24);
  --service-surface: #e0f6ee;
  --service-pattern: repeating-linear-gradient(90deg, #008a68 0 7px, #4ec4a0 7px 10px);
}

.service-card[data-service="dashboard"] {
  --service-accent: #1f66d1;
  --service-heading: #1558bd;
  --service-accent-soft: rgba(31, 102, 209, 0.24);
  --service-surface: #e1efff;
  --service-pattern: linear-gradient(90deg, #1f66d1, #69a6ff);
}

.service-card[data-service="reporting"] {
  --service-accent: #6c4edb;
  --service-heading: #5740bf;
  --service-accent-soft: rgba(108, 78, 219, 0.24);
  --service-surface: #ede8ff;
  --service-pattern: repeating-linear-gradient(135deg, #6c4edb 0 6px, #ad9eff 6px 10px);
}

.service-card[data-service="volunteer"] {
  --service-accent: #d55e00;
  --service-heading: #a84700;
  --service-accent-soft: rgba(213, 94, 0, 0.24);
  --service-surface: #fff0e4;
  --service-pattern: radial-gradient(circle at 50% 50%, rgba(255,255,255,.82) 0 1.6px, transparent 2.2px) 0 0 / 10px 10px repeat, linear-gradient(90deg, #d55e00, #e6843c);
}

.service-card:hover,
.service-card.active {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--service-accent) 42%, white);
}

.service-card:hover::before,
.service-card.active::before {
  opacity: 1;
}

.service-card h3 {
  margin: 22px 0 10px;
  padding-right: 46px;
  color: var(--service-heading);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.2;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 5px;
  margin-top: 11px;
  border-radius: 999px;
  background: var(--service-pattern);
}

.service-card p {
  margin: 0;
  color: #3f4d63;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(31, 102, 209, 0.18);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-green { background: linear-gradient(135deg, #1d9c62, #116b43); }
.icon-blue { background: linear-gradient(135deg, #2f7bed, #1558bd); }
.icon-purple { background: linear-gradient(135deg, #7d69f2, #5746cf); }
.icon-coral { background: linear-gradient(135deg, #ff8586, #e2565b); }

.card-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 38px;
  display: block;
  border: 1px solid color-mix(in srgb, var(--service-accent) 48%, white);
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--service-accent) 16%, white);
  color: var(--service-accent);
  font-size: 0;
  line-height: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.card-arrow::before,
.card-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: none;
}

.card-arrow::after {
  width: 4px;
  height: 14px;
}

.service-card:hover .card-arrow,
.service-card.active .card-arrow {
  transform: translateY(3px);
  background-color: var(--service-accent);
  color: white;
}

.service-card.active .card-arrow::after {
  display: none;
}

.service-detail {
  --detail-accent: #008a68;
  --detail-heading: #006b50;
  --detail-surface: #e0f6ee;
  grid-column: 1 / -1;
  margin-top: 0;
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), var(--detail-surface)),
    var(--detail-surface);
  border-color: color-mix(in srgb, var(--detail-accent) 42%, white);
}

.service-grid + .service-detail {
  margin-top: 22px;
}

.service-detail[data-active-service="cleanup"] {
  --detail-accent: #008a68;
  --detail-heading: #006b50;
  --detail-surface: #e0f6ee;
}

.service-detail[data-active-service="dashboard"] {
  --detail-accent: #1f66d1;
  --detail-heading: #1558bd;
  --detail-surface: #e1efff;
}

.service-detail[data-active-service="reporting"] {
  --detail-accent: #6c4edb;
  --detail-heading: #5740bf;
  --detail-surface: #ede8ff;
}

.service-detail[data-active-service="volunteer"] {
  --detail-accent: #d55e00;
  --detail-heading: #a84700;
  --detail-surface: #fff0e4;
}

.service-detail h3 {
  margin: 0 0 8px;
  color: var(--detail-heading);
  font-size: 1.6rem;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-detail li {
  position: relative;
  padding-left: 30px;
  color: #334259;
  font-weight: 750;
}

.service-detail li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--detail-accent) 16%, white);
  color: var(--detail-accent);
  font-size: 0.78rem;
}

.work-section {
  padding-top: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(245,249,255,.88));
}

.showcase-heading {
  margin-bottom: 26px;
}

.showcase-heading p:not(.eyebrow) {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.scenario-bar {
  width: fit-content;
  max-width: 100%;
  margin: -6px auto 22px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(31, 102, 209, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 34px rgba(31, 102, 209, 0.1);
}

.scenario-pill {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #425067;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.scenario-pill:hover {
  transform: translateY(-1px);
  background: #edf5ff;
  color: var(--blue);
}

.scenario-pill.active {
  background: #172033;
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.18);
}

.scenario-bar .sample-refresh {
  margin-left: 0;
}

.showcase-shell {
  --case-accent: var(--blue);
  --case-accent-2: #16a779;
  --case-accent-3: #51b8d6;
  --case-accent-soft: rgba(31, 102, 209, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.72fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(23, 32, 51, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--case-accent) 22%, transparent), transparent 30rem),
    radial-gradient(circle at 100% 20%, color-mix(in srgb, var(--case-accent-2) 16%, transparent), transparent 22rem),
    linear-gradient(145deg, #101828, #172033);
  box-shadow: 0 26px 70px rgba(23, 32, 51, 0.18);
  overflow: hidden;
}

.showcase-main,
.showcase-side {
  min-width: 0;
}

.showcase-main {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.has-tip {
  position: relative;
}

.has-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 18px;
  bottom: calc(100% + 12px);
  z-index: 20;
  width: min(290px, calc(100vw - 48px));
  padding: 12px 14px;
  border-radius: 14px;
  background: #101828;
  color: #fff;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.24);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.42;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.has-tip::before {
  content: "";
  position: absolute;
  left: 36px;
  bottom: calc(100% + 4px);
  z-index: 21;
  width: 16px;
  height: 16px;
  background: #101828;
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.has-tip:hover::after,
.has-tip:focus-visible::after,
.has-tip:hover::before,
.has-tip:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.showcase-header span {
  display: block;
  color: var(--case-accent);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-header h3 {
  margin: 5px 0 0;
  color: #111a2c;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.showcase-header > strong {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--case-accent) 10%, white);
  color: var(--case-accent);
  font-size: 0.82rem;
  white-space: nowrap;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.showcase-metrics div {
  min-width: 0;
  container-type: inline-size;
  padding: 14px;
  border: 1px solid #e3edf8;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(246,250,255,.9));
}

.showcase-metrics small {
  display: block;
  color: #617087;
  font-size: 0.74rem;
  font-weight: 900;
}

.showcase-metrics strong {
  display: block;
  margin-top: 5px;
  color: #101828;
  font-size: clamp(1.25rem, 23cqi, 1.85rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.showcase-metrics em {
  display: block;
  margin-top: 6px;
  color: #0e7a58;
  font-size: 0.78rem;
  font-weight: 900;
  font-style: normal;
}

.showcase-insight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  padding: 15px 16px;
  border: 1px solid color-mix(in srgb, var(--case-accent) 18%, #dce8f8);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--case-accent) 12%, white), #fff);
}

.showcase-insight > span {
  grid-row: span 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--case-accent) 12%, white);
  color: var(--case-accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-insight strong {
  color: #101828;
  font-size: 1rem;
  line-height: 1.2;
}

.showcase-insight p {
  margin: 0;
  color: #536176;
  font-size: 0.9rem;
  line-height: 1.45;
}

.showcase-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(190px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.showcase-chart-card,
.showcase-ring-card,
.data-clean-card,
.action-stack {
  border: 1px solid #e3edf8;
  border-radius: 20px;
  background: #fff;
}

.showcase-chart-card {
  min-width: 0;
  padding: 18px;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at 100% 0%, var(--case-accent-soft), transparent 50%),
    #fff;
}

.visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-caption span {
  color: #58677e;
  font-size: 0.82rem;
  font-weight: 900;
}

.visual-caption strong {
  color: var(--case-accent);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.showcase-chart {
  width: 100%;
  min-height: 230px;
}

.showcase-chart line {
  stroke: #e4edf8;
  stroke-width: 1;
}

.showcase-chart-fill {
  fill: color-mix(in srgb, var(--case-accent) 15%, transparent);
  stroke: none;
}

.showcase-chart-line {
  fill: none;
  stroke: var(--case-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-chart circle {
  fill: #fff;
  stroke: var(--case-accent);
  stroke-width: 4;
}

.chart-note {
  margin: -6px 0 0;
  color: #526176;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.chart-takeaway {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--case-accent) 22%, #d7e5f8);
  border-radius: 16px;
  background: color-mix(in srgb, var(--case-accent) 8%, #fff);
}

.chart-takeaway span {
  color: var(--case-accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chart-takeaway strong {
  color: #26344c;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  line-height: 1.35;
}

.showcase-ring-card {
  min-width: 0;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.scenario-ring {
  width: min(172px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--case-accent) 0 61%, #51b8d6 61% 84%, #56bd8f 84% 100%);
}

.scenario-ring > div {
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: inherit;
  background: #fff;
  text-align: center;
}

.scenario-ring strong {
  color: #101828;
  font-size: clamp(1.3rem, 12cqi, 1.75rem);
  line-height: 1;
}

.scenario-ring span {
  color: #617087;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.scenario-legend {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scenario-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #4d5b71;
  font-size: 0.78rem;
  font-weight: 850;
}

.scenario-legend b {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: var(--case-accent);
}

.scenario-legend li:nth-child(2) b { background: var(--case-accent-2); }
.scenario-legend li:nth-child(3) b { background: var(--case-accent-3); }

.scenario-legend strong {
  color: #101828;
  font-variant-numeric: tabular-nums;
}

.showcase-side {
  display: grid;
  gap: 18px;
}

.data-clean-card {
  padding: 22px;
  display: grid;
  gap: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--case-accent-2) 40%, transparent), transparent 60%),
    linear-gradient(145deg, #111a2c, #1f2d44);
  border-color: rgba(255,255,255,.12);
}

.data-clean-card span {
  color: #b9c7dc;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.data-clean-card strong {
  font-size: clamp(3.8rem, 8vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.data-clean-card small {
  color: #dbe7f6;
  font-size: 1rem;
  font-weight: 850;
}

.clean-proof {
  display: grid;
  gap: 11px;
  margin-top: 10px;
}

.clean-proof div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 6px 10px;
  align-items: center;
}

.clean-proof span {
  color: #cbd7ea;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.clean-proof strong {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
}

.clean-proof i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}

.clean-proof b {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--case-accent), var(--case-accent-2));
}

.action-stack {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.action-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.action-stack-head span {
  color: #111a2c;
  font-weight: 950;
}

.action-stack-head strong {
  color: var(--case-accent);
  font-size: 0.76rem;
  white-space: nowrap;
}

.action-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--case-accent) 8%, white), #fff);
  border: 1px solid #e3edf8;
}

.action-card span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--case-accent) 12%, white);
  color: var(--case-accent);
  font-size: 0.82rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.action-card strong {
  color: #273249;
  font-size: 0.94rem;
  line-height: 1.2;
}

.sample-console {
  width: min(100%, 760px);
  margin: -16px auto 24px;
  padding: 10px 10px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(31, 102, 209, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(237,245,255,.88));
  box-shadow: 0 16px 34px rgba(31, 102, 209, 0.1);
}

.sample-console-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sample-pulse {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(31, 102, 209, 0.11);
}

.sample-pulse::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: inherit;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(31, 102, 209, 0.1);
}

.sample-console-copy div > span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-console-copy strong {
  display: block;
  color: #1d2940;
  font-size: 0.94rem;
  line-height: 1.2;
}

.sample-refresh {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  color: white;
  box-shadow: 0 12px 24px rgba(31, 102, 209, 0.24);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-refresh:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(31, 102, 209, 0.28);
}

.sample-refresh:active {
  transform: translateY(0);
}

.sample-refresh svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-card {
  min-width: 0;
  min-height: 286px;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.decision-dashboard {
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,247,255,.9)),
    var(--card);
}

.dashboard-card-accent {
  background:
    linear-gradient(135deg, rgba(237,249,244,.92), rgba(255,255,255,.9)),
    var(--card);
  border-color: rgba(22, 167, 121, 0.18);
}

.dashboard-card-wide {
  grid-row: span 2;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.dashboard-head,
.request-actions,
.footer-inner,
.email-card {
  display: flex;
  align-items: center;
}

.dashboard-head {
  justify-content: space-between;
  gap: 14px;
  color: #1d2940;
  font-weight: 900;
  font-size: 0.94rem;
}

.dashboard-head > span:first-child {
  min-width: 0;
}

.dashboard-head > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-head > div > span {
  line-height: 1.2;
}

.dashboard-head small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 760;
}

.sample-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 0.72rem;
}

.decision-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(31, 102, 209, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 102, 209, 0.13), transparent 55%),
    rgba(255,255,255,.72);
}

.decision-brief small {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-brief strong {
  display: block;
  margin-top: 5px;
  color: #111a2c;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.decision-brief p {
  margin: 0;
  color: #435168;
  font-weight: 720;
  line-height: 1.45;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid div {
  min-width: 0;
  container-type: inline-size;
  padding: 13px;
  border: 1px solid #e4edf8;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.metric-grid small,
.trend-panel small,
.ring-label small,
.pipeline-step span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  max-width: 100%;
  font-size: clamp(1.08rem, 18cqi, 1.55rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.metric-grid em {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
}

.trend-panel {
  flex: 1;
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3edf8;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(242,247,255,.88));
}

.trend-panel strong {
  display: block;
  margin-top: 4px;
  color: #1d2940;
  line-height: 1.35;
}

.trend-panel p {
  margin: 6px 0 0;
  color: #526177;
  line-height: 1.42;
  font-weight: 680;
}

.dashboard-chart {
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.chart-gridline {
  stroke: #dce8f7;
  stroke-width: 1;
}

.chart-fill {
  fill: rgba(31, 102, 209, 0.1);
  stroke: none;
}

.chart-dots circle {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 3;
}

.trend-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trend-callouts span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #3e4c62;
  border: 1px solid #e3edf8;
  font-size: 0.74rem;
  font-weight: 850;
}

.trend-callouts b {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}

.trend-callouts span:nth-child(2) b {
  background: var(--coral);
}

.breakdown-layout {
  display: grid;
  grid-template-columns: minmax(118px, 142px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.ring-wrap {
  position: relative;
  width: 100%;
  max-width: 152px;
  aspect-ratio: 1;
  container-type: inline-size;
}

.data-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 58%, #51b8d6 58% 80%, #56bd8f 80% 93%, #9cb4dc 93% 100%);
}

.data-ring::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: inherit;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4edf8;
}

.ring-label {
  position: absolute;
  inset: 22%;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.ring-label strong {
  max-width: 100%;
  font-size: clamp(1.05rem, 25cqi, 1.45rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ring-label strong span {
  font-size: 0.62em;
  vertical-align: 0.18em;
}

.ring-label small {
  width: min-content;
  min-width: 58px;
  font-size: clamp(0.56rem, 9cqi, 0.68rem);
  line-height: 1.12;
}

.breakdown-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breakdown-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: #425067;
  font-size: 0.82rem;
  font-weight: 760;
}

.breakdown-list b {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue);
}

.breakdown-list li:nth-child(2) b { background: #51b8d6; }
.breakdown-list li:nth-child(3) b { background: #56bd8f; }
.breakdown-list li:nth-child(4) b { background: #9cb4dc; }

.breakdown-list strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 70px;
  margin-top: auto;
}

.bar-chart i {
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #8fbaff, #3478df);
  height: var(--h);
  transform-origin: bottom;
}

.mix-bars i:nth-child(2) { background: linear-gradient(180deg, #7fd0e5, #249fc1); }
.mix-bars i:nth-child(3) { background: linear-gradient(180deg, #8bd7b4, #24a26e); }
.mix-bars i:nth-child(4) { background: linear-gradient(180deg, #b7c8e4, #7392c5); }

.audit-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.audit-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(22, 167, 121, 0.14);
}

.audit-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.audit-list span,
.quality-score span {
  color: #425067;
  font-size: 0.82rem;
  font-weight: 800;
}

.audit-list strong,
.quality-score strong {
  color: #0e7a58;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.quality-score {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(22, 167, 121, 0.16);
}

.quality-score .stage-meter {
  grid-column: 1 / -1;
  background: rgba(22, 167, 121, 0.11);
}

.quality-score .stage-meter i {
  background: linear-gradient(90deg, #16a779, #56bd8f);
}

.pipeline-list,
.insight-list {
  display: grid;
  gap: 14px;
}

.pipeline-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.pipeline-step strong {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-variant-numeric: tabular-nums;
}

.stage-meter {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: #e8f0fb;
  overflow: hidden;
}

.stage-meter i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #51b8d6);
}

.insight-card {
  min-height: 256px;
}

.insight-list div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid #e5eef8;
}

.insight-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.signal {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  min-width: 48px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.signal.up {
  color: #117852;
  background: #e7f7f0;
}

.signal.hold {
  color: var(--blue);
  background: #edf5ff;
}

.signal.down {
  color: #bf4c54;
  background: #fff0f1;
}

.insight-list p {
  margin: 0;
  color: #3d4a60;
  line-height: 1.45;
  font-weight: 720;
}

.analysis-proof-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dfe9f7;
  border-radius: 18px;
  background: #dfe9f7;
  box-shadow: 0 16px 34px rgba(31, 102, 209, 0.08);
}

.analysis-proof-strip div {
  min-width: 0;
  padding: 18px;
  background: rgba(255,255,255,.88);
}

.analysis-proof-strip span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.analysis-proof-strip strong {
  display: block;
  color: #172033;
  font-size: 1rem;
  line-height: 1.2;
}

.analysis-proof-strip p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 680;
}

.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

.about-photo::before {
  content: "";
  position: absolute;
  left: -34px;
  bottom: 8px;
  width: 190px;
  height: 190px;
  background-image: radial-gradient(rgba(31,102,209,.25) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  z-index: 0;
}

.photo-halo {
  position: absolute;
  inset: -22px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(31,102,209,.14), transparent 68%);
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 24px;
  padding: 7px;
  background: white;
  box-shadow: var(--shadow);
}

.about-copy p {
  max-width: 680px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid #d9e7f7;
  border-radius: 999px;
  background: #fff;
  color: #344258;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(31,102,209,.08);
}

.badge-row svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-section {
  padding-top: 64px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  border-top: 4px dotted rgba(31,102,209,.28);
}

.process-card {
  position: relative;
  z-index: 1;
  min-height: 150px;
  border-radius: 22px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 12px;
}

.process-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: 0 12px 25px rgba(31,102,209,.22);
}

.process-card svg {
  align-self: center;
  justify-self: end;
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 18px;
  background: #edf5ff;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.request-section {
  background: #f5f9ff;
}

.request-card {
  border-radius: 30px;
  padding: clamp(24px, 5vw, 42px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
  overflow: hidden;
  position: relative;
}

.request-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,102,209,.15), transparent 68%);
}

.request-builder {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.request-builder label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dce9f8;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  font-weight: 800;
  color: #334158;
}

.request-builder input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.request-output {
  min-height: 66px;
  padding: 16px;
  border-radius: 18px;
  background: #10213b;
  color: white;
  line-height: 1.6;
  font-weight: 720;
}

.request-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 900;
}

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

.faq-list summary::after {
  content: "";
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 11px 3px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 3px 11px no-repeat,
    #edf5ff;
  flex: 0 0 auto;
}

.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--blue), var(--blue)) center / 11px 3px no-repeat,
    #edf5ff;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(135deg, #1558bd, #1f66d1 48%, #0e4aa5);
  color: white;
}

.contact-wave {
  position: absolute;
  inset: auto -10% -42% 42%;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.dot-grid-footer {
  left: 0;
  top: 42px;
  background-image: radial-gradient(rgba(255,255,255,.28) 1.6px, transparent 1.6px);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact-copy {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: start;
}

.contact-copy h2 {
  color: white;
}

.contact-copy p:not(.eyebrow) {
  color: #d9e8ff;
}

.mail-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
}

.mail-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.email-card {
  container-type: inline-size;
  border-radius: 22px;
  padding: 22px;
  gap: 16px;
  color: var(--ink);
}

.email-card > div {
  flex: 1 1 14rem;
  min-width: 0;
}

.email-card svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-card span {
  display: block;
  color: #617086;
  font-weight: 800;
  font-size: 0.86rem;
}

.email-card a {
  display: block;
  max-width: 100%;
  color: var(--blue);
  font-size: clamp(0.82rem, 4.1cqi, 1.1rem);
  font-weight: 900;
  line-height: 1.12;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.email-card button {
  margin-left: auto;
  padding: 10px 12px;
  border: 1px solid #d7e5f7;
  border-radius: 12px;
  background: #f3f8ff;
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  border-radius: 22px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #334158;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dbe7f7;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31,102,209,.12);
}

.form-note {
  margin: 0;
  color: #69778c;
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #dfe9f7;
  padding: 22px 0;
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer-inner img {
  width: 155px;
  height: auto;
}

.footer-inner p {
  color: var(--muted);
  font-weight: 700;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1,
.delay-2,
.delay-3 {
  transition-delay: 0s;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes grow-bar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

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

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: 190px 1fr auto;
  }

  .brand img {
    width: 182px;
  }

  .primary-nav {
    gap: 18px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-shell {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--case-accent) 24%, transparent), transparent 34rem),
      linear-gradient(145deg, #101828, #172033);
  }

  .showcase-side {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  }

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

  .dashboard-card-wide {
    grid-row: auto;
  }

  .process-grid {
    gap: 24px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: clamp(4rem, 9.6vw, 4.7rem);
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 82px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav,
  .nav-cta {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 18px;
    border: 1px solid #dce8f8;
    border-radius: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
    justify-content: stretch;
    gap: 4px;
  }

  .primary-nav.is-open a {
    padding: 15px 14px;
    border-radius: 14px;
  }

  .primary-nav.is-open a:hover,
  .primary-nav.is-open a.active {
    background: #eef5ff;
  }

  .primary-nav.is-open a::after {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-visual::before {
    display: none;
  }

  .proficiency-title {
    position: static;
    margin: 0 0 14px;
    text-align: center;
  }

  .tool-logo-grid {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tool-badge {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-width: 0;
  }

  .section-heading.split,
  .service-detail,
  .about-grid,
  .request-card,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    align-items: start;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-bar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px;
  }

  .scenario-bar .sample-refresh {
    margin-left: 0;
  }

  .decision-brief {
    grid-template-columns: 1fr;
  }

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

  .process-card {
    grid-template-columns: 1fr 64px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand img {
    width: 152px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-copy .eyebrow {
    font-size: 0.72rem;
    white-space: normal;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row span {
    font-size: 0.82rem;
  }

  .proficiency-title {
    font-size: 0.68rem;
  }

  .tool-badge {
    grid-template-columns: 38px minmax(0, auto);
    gap: 8px;
    padding: 8px;
  }

  .tool-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .tool-mark svg {
    width: 25px;
    height: 25px;
  }

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

  .service-card {
    min-height: 210px;
  }

  .service-detail {
    padding: 22px;
  }

  .showcase-heading p:not(.eyebrow) {
    max-width: 30rem;
  }

  .scenario-bar {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 18px;
    width: 100%;
  }

  .scenario-pill,
  .scenario-bar .sample-refresh {
    width: 100%;
  }

  .showcase-shell {
    padding: 12px;
    border-radius: 22px;
  }

  .showcase-main {
    padding: 16px;
    border-radius: 18px;
  }

  .showcase-header {
    display: grid;
  }

  .showcase-header > strong {
    justify-self: start;
  }

  .showcase-insight {
    grid-template-columns: 1fr;
  }

  .showcase-insight > span {
    grid-row: auto;
    justify-self: start;
    min-height: 32px;
  }

  .showcase-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-tip::after {
    left: 10px;
    right: 10px;
    width: auto;
    font-size: 0.74rem;
  }

  .showcase-visual-grid,
  .showcase-side {
    grid-template-columns: 1fr;
  }

  .showcase-chart-card,
  .showcase-ring-card,
  .data-clean-card,
  .action-stack {
    border-radius: 18px;
  }

  .showcase-chart {
    min-height: 190px;
  }

  .chart-takeaway {
    padding: 11px 12px;
  }

  .scenario-ring {
    width: min(148px, 72vw);
  }

  .action-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .sample-console {
    margin: -14px 0 20px;
    padding: 14px;
    align-items: stretch;
    border-radius: 20px;
    flex-direction: column;
  }

  .sample-console-copy {
    align-items: flex-start;
  }

  .sample-refresh {
    width: 100%;
    min-height: 46px;
  }

  .dashboard-card {
    min-height: auto;
    padding: 18px;
  }

  .dashboard-head {
    align-items: flex-start;
  }

  .dashboard-head > div {
    gap: 6px;
  }

  .decision-brief {
    padding: 14px;
  }

  .trend-panel {
    grid-template-rows: auto 170px auto;
    padding: 14px;
  }

  .dashboard-chart {
    min-height: 170px;
  }

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

  .breakdown-list {
    width: 100%;
  }

  .insight-list div {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .analysis-proof-strip {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: min(340px, 88vw);
  }

  .contact-copy {
    grid-template-columns: 1fr;
  }

  .mail-icon {
    width: 60px;
    height: 60px;
  }

  .email-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .email-card button {
    margin-left: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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