/* Shared visual tokens. Layout and functional styles live in site.css. */
:root {
  --bg: #f8faff;
  --surface: #fff;
  --soft: #edf3ff;
  --ink: #15264b;
  --muted: #53627c;
  --line: #dce4f1;
  --green: #2453cb;
  --green-soft: #e8efff;
  --accent: #ffcc9c;
  --focus: #1b49c6;
  --shadow: 0 16px 45px #193c7c0e;
  --blue: #2459df;
  --mint: #dff6ec;
  --mint-ink: #176955;
  --peach: #fff0e3;
  --peach-ink: #96501f;
  --yellow: #fff6d9;
  --yellow-ink: #74581a;
  --radius: 24px;
}
:root[data-theme=dark] {
  --bg: #0e172b;
  --surface: #17243e;
  --soft: #1b2c4c;
  --ink: #f0f5ff;
  --muted: #b5c4de;
  --line: #344966;
  --green: #a8c7ff;
  --green-soft: #263f6d;
  --focus: #ffcd97;
  --shadow: 0 18px 50px #0003;
  --mint: #173c35;
  --mint-ink: #b5edda;
  --peach: #463023;
  --peach-ink: #ffcea8;
  --yellow: #3d3521;
  --yellow-ink: #f9df9a;
}
body {
  background: radial-gradient(ellipse 75% 600px at 100% 80px, #e9efff 0, transparent 75%), var(--bg);
}
:root[data-theme=dark] body {
  background: radial-gradient(ellipse 75% 600px at 100% 80px, #1a3055 0, transparent 75%), var(--bg);
}
h1, h2, h3 { font-weight: 650; }
.button {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  border-radius: 11px;
  box-shadow: 0 5px 13px #2459df13;
}
.button:hover { box-shadow: 0 9px 22px #2459df26; }
.button-outline {
  background: var(--surface);
  color: var(--green);
  border-color: var(--line);
  box-shadow: none;
}
.button-light {
  background: #c7f2df;
  color: #153d35;
  border-color: #c7f2df;
}
.tiny-square { border-radius: 50%; box-shadow: 0 0 0 4px var(--green-soft); }
.eyebrow { letter-spacing: .13em; }
.site-header {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px);
  border-bottom-color: color-mix(in srgb, var(--line) 75%, transparent);
}
.brand { font-weight: 750; letter-spacing: -.055em; }
.primary-nav { gap: 3px; }
.primary-nav a { padding: 9px 10px; border-radius: 8px; font-size: .75rem; }
.primary-nav a:hover, .primary-nav a[aria-current=page] { background: var(--green-soft); color: var(--green); }
.header-actions { gap: 10px; }
.icon-button:hover { background: var(--green-soft); }

/* Home: a bright introduction balanced by an inky journey canvas. */
.hero { gap: 60px; padding-block: 80px; }
.hero-copy > .eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 4px 12px #18396705;
}
.hero h1 { letter-spacing: -.055em; }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: 1rem; }
.hero .secondary-link { padding: 12px 0; }
.journey-canvas {
  --ink: #f5f8ff;
  --muted: #c1d1ed;
  --green: #bdeedb;
  --surface: #1e396d;
  --bg: #203a6a;
  --line: #456297;
  --green-soft: #345584;
  padding: 29px 30px 20px;
  transform: none;
  border: 1px solid #4f73b1;
  border-radius: 27px;
  background: radial-gradient(circle at 100% 0, #3b66ae 0, transparent 55%), #142d59;
  box-shadow: 0 25px 55px #204e9b26;
  color: var(--ink);
}
.journey-canvas .eyebrow { color: #c5dafd; }
.canvas-mark { color: #ffd09d; }
.journey-canvas h2 { font-size: 1.6rem; font-weight: 550; }
.path-area { fill: #396bab; opacity: .3; }
.path-line { stroke: #a0d9ef; stroke-width: 3; }
.map-node { fill: #213d6e; stroke: #b1d1ff; stroke-width: 2; }
.map-number { fill: #fff; }
.path-map g:nth-of-type(3n+2) .map-node { stroke: #a7edd5; }
.path-map g:nth-of-type(3n) .map-node { stroke: #ffd09d; }
.pilot-card { background: #29477b; border-color: #4c6a9a; border-radius: 15px; padding: 17px; }
.pilot-card .eyebrow { color: #c6dbff; }
.pilot-icon { color: #143c35; background: #bdeedb; }
.pilot-card .circle-link { background: #bdeedb; color: #173d36; border: 0; }
.trust-strip { background: var(--surface); }
.trust-strip span span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); }
.trust-strip > .shell > span:nth-child(2) span { background: var(--peach); color: var(--peach-ink); }
.trust-strip > .shell > span:nth-child(3) span { background: var(--green-soft); color: var(--green); }
.pain-grid { gap: 20px; }
.pain-card, .pain-card + .pain-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 29px;
  background: var(--surface);
}
.pain-card:nth-child(1) { background: var(--soft); border-color: color-mix(in srgb, var(--green) 18%, var(--line)); }
.pain-card:nth-child(2) { background: var(--mint); border-color: color-mix(in srgb, var(--mint-ink) 16%, var(--line)); }
.pain-card:nth-child(3) { background: var(--peach); border-color: color-mix(in srgb, var(--peach-ink) 16%, var(--line)); }
.card-icon { border-radius: 13px; background: var(--surface); color: var(--green); }
.pain-card:nth-child(2) .card-icon { color: var(--mint-ink); }
.pain-card:nth-child(3) .card-icon { color: var(--peach-ink); }
.pain-card p { font-size: .88rem; }

/* The seven-stage visual is color-coded, with labels remaining the source of meaning. */
.journey-section { background: var(--soft); }
.journey-grid { gap: 10px; }
.journey-grid li { --step-color: var(--green); --step-bg: var(--green-soft); }
.journey-grid li:nth-child(3n+2) { --step-color: var(--mint-ink); --step-bg: var(--mint); }
.journey-grid li:nth-child(3n) { --step-color: var(--peach-ink); --step-bg: var(--peach); }
.journey-grid li::before, .journey-grid li::after { display: none !important; }
.journey-step { height: 100%; padding: 18px 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); transition: transform .18s, box-shadow .18s; }
.step-number { width: 40px; height: 40px; margin-bottom: 20px; background: var(--step-bg); color: var(--step-color); border-color: transparent; border-radius: 12px; }
.journey-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey-step:hover .step-number { background: var(--step-bg); color: var(--step-color); }
.journey-step h2, .journey-step h3 { font-size: .88rem; }
.journey-step p { font-size: .71rem; }
.step-arrow { color: var(--step-color); }

/* Cards and tools share the same fresh surfaces and stronger accents. */
.card { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 5px 22px #20376404; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); }
.card:nth-child(3n+2)::before { background: #46bd9c; }
.card:nth-child(3n)::before { background: #f2a771; }
.card .card-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); }
.card:nth-child(3n+2) .tag, .card:nth-child(3n+2) .card-icon { background: var(--mint); color: var(--mint-ink); }
.card:nth-child(3n) .tag, .card:nth-child(3n) .card-icon { background: var(--peach); color: var(--peach-ink); }
.card h2, .card h3 { font-weight: 650; }
.card-bottom { font-size: .68rem; }
.method-panel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 100% 0, #2c4f8e 0, transparent 60%), #142d59;
  color: #f4f7ff;
  border-radius: 26px;
  box-shadow: 0 20px 40px #1d408618;
}
.method-panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #78a5ff 35%, #8ee0c4 35% 67%, #ffd0a0 67%); }
.method-panel .eyebrow { color: #bed2f4; }
.method-panel p { color: #cad8f0; }
.method-steps li > span:first-child { color: #bbceec; }
.method-steps li > span:last-child { color: #bdeedb; }
.shield-illustration { background: var(--mint); color: var(--mint-ink); border-radius: 35%; transform: rotate(-7deg); }
.shield-illustration svg { transform: rotate(7deg); }
.services-row { border-radius: 16px; background: var(--surface); }
.services-row a:nth-child(2):hover { background: var(--mint); }
.services-row a:nth-child(3):hover { background: var(--peach); }
.services-row a:nth-child(5):hover { background: var(--yellow); }
.cta-section { background: radial-gradient(ellipse at 0 100%, var(--mint), transparent 65%), radial-gradient(ellipse at 100% 0, var(--peach), transparent 65%), var(--soft); }
.cta-section h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); }
.page-heading { position: relative; padding-bottom: 45px; }
.page-heading .eyebrow { display: inline-flex; border-radius: 999px; background: var(--green-soft); padding: 7px 13px; margin-bottom: 22px; }
.page-heading .eyebrow .tiny-square { box-shadow: none; }
.page-heading h1 { max-width: 970px; }
.side-panel, .tool-panel, .checklist, .filter-bar { border-radius: 19px; }
.side-panel, .stage-summary { background: var(--soft); }
.side-panel { border-top: 4px solid #72a1fa; top: 112px; }
.stage-nav { top: 112px; }
.stage-nav a { border-radius: 0 9px 9px 0; }
.stage-summary { padding: 24px; border-radius: 16px; border: 1px solid var(--line); }
.callout { background: var(--mint); border-color: color-mix(in srgb, var(--mint-ink) 20%, var(--line)); border-radius: 17px; }
.callout h2 { color: var(--mint-ink); }
.filter-bar { background: var(--surface); box-shadow: var(--shadow); }
.roi-results { background: var(--mint); border: 1px solid color-mix(in srgb, var(--mint-ink) 20%, var(--line)); border-radius: 20px; }
.roi-metric dd { color: var(--mint-ink); }
.roi-metric { border-color: color-mix(in srgb, var(--mint-ink) 20%, var(--line)); }
.assessment-progress { gap: 6px; }
.assessment-progress span { height: 6px; border-radius: 5px; }
.assessment-progress .done { background: var(--blue); }
.answer-grid label { border-radius: 10px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-radius: 10px; }

/* Services: five substantial offers, arranged as a responsive bento grid. */
body[data-page=services] { background: radial-gradient(ellipse 70% 650px at 100% 100px, #e0ebff, transparent 80%), var(--bg); }
:root[data-theme=dark] body[data-page=services] { background: radial-gradient(ellipse 70% 650px at 100% 100px, #243e68, transparent 80%), var(--bg); }
body[data-page=services] .page-heading h1 { max-width: 920px; font-size: clamp(2.75rem, 4.8vw, 4.5rem); }
body[data-page=services] .page-heading .lead { max-width: 740px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card {
  --service-bg: var(--soft);
  --service-color: var(--green);
  position: relative;
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--service-bg);
  border: 1px solid color-mix(in srgb, var(--service-color) 16%, transparent);
  border-radius: 24px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #1c3b7912; }
.service-2 { --service-bg: var(--mint); --service-color: var(--mint-ink); }
.service-3 { --service-bg: var(--peach); --service-color: var(--peach-ink); }
.service-5 { --service-bg: var(--yellow); --service-color: var(--yellow-ink); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.service-icon { display: inline-grid; place-items: center; width: 61px; height: 61px; border-radius: 18px; color: var(--service-color); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid color-mix(in srgb, var(--service-color) 10%, transparent); }
.service-index { color: var(--service-color); font-size: 3.25rem; line-height: 1; font-weight: 650; letter-spacing: -.07em; opacity: .8; }
.service-card h2 { max-width: 340px; font-size: 1.55rem; line-height: 1.27; letter-spacing: -.04em; }
.service-card p { color: var(--muted); font-size: .88rem; line-height: 1.85; margin-bottom: 25px; }
.service-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: fit-content; margin-top: auto; font-size: .8rem; font-weight: 650; color: var(--service-color); }
.service-link-arrow { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--service-color) 25%, transparent); }
.service-link:hover .service-link-arrow { background: var(--service-color); color: var(--service-bg); }
.service-4 { --service-bg: #172f5b; --service-color: #c4eedd; grid-column: span 2; background: radial-gradient(ellipse at 100% 0, #355e9f, transparent 65%), var(--service-bg); border-color: #47628c; color: #f4f7ff; }
.service-4 .service-icon { background: #2d4d7a; border-color: #4a6c99; }
.service-4 .service-index { color: #d1e2ff; opacity: .85; }
.service-4 h2 { max-width: 100%; }
.service-4 p { max-width: 570px; color: #d2def2; }

/* A dark footer provides an anchor for the lighter, colorful page sections. */
.site-footer { --ink: #f0f5ff; --muted: #becde4; --line: #344c72; --green: #c3d8ff; --surface: #142646; color: var(--ink); background: var(--surface); border: 0; }
.footer-grid h2 { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-dot { background: #a0e2c9; }
.footer-grid > div > a:not(.brand):hover, .footer-grid button:hover { color: #fff; }

@media (max-width: 1180px) {
  .hero { gap: 35px; padding-block: 65px; }
  .journey-canvas { padding: 25px; }
  .journey-grid { gap: 14px; }
  .journey-step { padding: 21px; }
  .service-card { padding: 26px; }
  .service-card h2 { font-size: 1.4rem; }
}
@media (max-width: 1000px) {
  .primary-nav a { font-size: .69rem; padding-inline: 7px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-4 { grid-column: auto; }
  .service-5 { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .primary-nav { background: var(--surface); }
  .primary-nav a { padding: 12px; font-size: .9rem; }
  .hero { gap: 40px; padding-block: 45px 50px; }
  .hero .lead { font-size: 1rem; }
  .hero-copy > .eyebrow { font-size: .61rem; }
  .pain-card .card-icon { float: none; margin: 0 0 20px; }
  .pain-card, .pain-card + .pain-card { padding: 26px; }
  .side-panel, .stage-nav { top: 96px; }
  .stage-nav { position: static; }
  .services-row a { padding: 19px 22px; }
}
@media (max-width: 650px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .service-4, .service-5 { grid-column: auto; }
  .service-card { padding: 26px; }
  .service-card-top { margin-bottom: 23px; }
  .service-card h2 { font-size: 1.6rem; max-width: none; }
  .service-card p { font-size: .91rem; }
  .service-index { font-size: 3rem; }
}
@media (max-width: 540px) {
  .hero-copy > .eyebrow { font-size: .53rem; padding: 7px 10px; }
  .journey-canvas { padding: 23px 20px; border-radius: 22px; }
  .journey-canvas h2 { font-size: 1.45rem; }
  .journey-grid { gap: 11px; }
  .journey-step { padding: 21px 35px 21px 76px; min-height: 106px; }
  .step-number { left: 17px; top: 21px; width: 41px; height: 41px; }
  .journey-step h2, .journey-step h3 { font-size: .96rem; }
  .journey-step p { font-size: .77rem; }
  .step-arrow { top: 19px; right: 16px; }
  .hero-buttons .secondary-link { padding: 4px 0; }
  .method-panel { border-radius: 22px; padding: 30px 26px; }
  .page-heading h1, body[data-page=services] .page-heading h1 { font-size: 2.55rem; }
  .page-heading .eyebrow { font-size: .59rem; }
  .stage-summary { padding: 20px; }
}
@media print {
  body, body[data-page=services] { background: #fff !important; }
  .site-header { position: static; }
  .service-card { background: #fff; color: #111; border: 1px solid #aaa; break-inside: avoid; }
  .service-card p { color: #333; }
  .service-card-top, .service-link { display: none; }
}
