/* =========================================================================
   Omni Annotate AI: shared site styles

   Colour: blue and white across the page, dark for the footer only.
     White  header, proof sections, menu panels, cards
     Sky    soft blue section grounds (hero, services, process)
     Blue   buttons, links, labels, highlights and the closing band
     Dark   footer
   The page stays light whatever the device's dark-mode setting.
   Type: Outfit for headings and the wordmark, Instrument Sans for text and
   interface (the same pair as the services video).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Blues */
  --blue: #1F5BFF;
  --blue-deep: #1747D1;
  --blue-soft: #93B2FF;
  --sky: #EDF4FF;
  --sky-strong: #DCE8FF;
  --sky-line: #D3E2FB;
  --sky-line-strong: #A9C4F5;

  /* White and ink */
  --white: #FFFFFF;
  --navy: #0B1A30;
  --text: #0B1A30;
  --text-muted: #4A5B75;
  --line: #E1E9F5;
  --line-strong: #B9CBE8;
  --link: #1F5BFF;
  --link-hover: #1747D1;
  --focus: #1F5BFF;
  --shadow-panel: 0 24px 48px -22px rgba(23, 71, 209, 0.28), 0 2px 8px rgba(11, 26, 48, 0.05);
  --shadow-card: 0 28px 64px -30px rgba(23, 71, 209, 0.40), 0 2px 6px rgba(11, 26, 48, 0.04);

  /* Type */
  --font-display: "Outfit", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape and layout */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --header-h: 72px;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);

  /* Section theme defaults (white) */
  --s-bg: var(--white);
  --s-text: var(--text);
  --s-muted: var(--text-muted);
  --s-line: var(--line);
  --s-line-strong: var(--line-strong);
  --s-link: var(--link);
  --s-link-hover: var(--link-hover);
  --s-focus: var(--focus);
}

/* ---------- Section themes ---------- */
.theme-light {
  --s-bg: var(--white);
  --s-text: var(--text);
  --s-muted: var(--text-muted);
  --s-line: var(--line);
  --s-line-strong: var(--line-strong);
  --s-link: var(--link);
  --s-link-hover: var(--link-hover);
  --s-focus: var(--focus);
}
.theme-sky {
  --s-bg: var(--sky);
  --s-text: var(--text);
  --s-muted: var(--text-muted);
  --s-line: var(--sky-line);
  --s-line-strong: var(--sky-line-strong);
  --s-link: var(--link);
  --s-link-hover: var(--link-hover);
  --s-focus: var(--focus);
}
.theme-blue {
  --s-bg: var(--blue);
  --s-text: #FFFFFF;
  --s-muted: #FFFFFF;
  --s-line: rgba(255, 255, 255, 0.30);
  --s-line-strong: rgba(255, 255, 255, 0.72);
  --s-link: #FFFFFF;
  --s-link-hover: #FFFFFF;
  --s-focus: #FFFFFF;
}
.theme-dark {
  --s-bg: var(--navy);
  --s-text: #FFFFFF;
  --s-muted: #AFBDD2;
  --s-line: rgba(255, 255, 255, 0.14);
  --s-line-strong: rgba(255, 255, 255, 0.34);
  --s-link: #93B2FF;
  --s-link-hover: #C2D3FF;
  --s-focus: #93B2FF;
}
.theme-light,
.theme-sky,
.theme-blue,
.theme-dark {
  background: var(--s-bg);
  color: var(--s-text);
}

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

:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 1.35rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; }

a {
  color: var(--s-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--s-link-hover); }

:focus-visible {
  outline: 3px solid var(--s-focus);
  outline-offset: 2px;
}

::selection { background: var(--sky-strong); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon { width: 20px; height: 20px; flex: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main:focus { outline: none; }

.skip-link {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--blue-deep);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #FFFFFF; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }

.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-deep); color: #FFFFFF; }

.btn-secondary { background: var(--white); border-color: var(--sky-line-strong); color: var(--blue-deep); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-deep); }

/* On the blue band the buttons turn white. */
.theme-blue .btn-primary { background: var(--white); color: var(--blue-deep); }
.theme-blue .btn-primary:hover { background: var(--sky); color: var(--blue-deep); }
.theme-blue .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.72); color: #FFFFFF; }
.theme-blue .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #FFFFFF; color: #FFFFFF; }

.text-link {
  color: var(--s-link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
.text-link:hover { color: var(--s-link-hover); }

/* =========================================================================
   Header: brand far left, six menu items centred, Scope a Project far right
   ========================================================================= */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.bar {
  display: grid;
  /* Equal side columns keep the menu centred on the page. */
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  column-gap: 20px;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-block;
  color: var(--s-text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--s-text); }
.brand sup {
  margin-left: 0.1em;
  color: var(--s-link);
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0;
  vertical-align: 0.88em;
}

.header-cta { grid-column: 3; justify-self: end; }
.nav-cta { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--sky-line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--blue-deep);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Main menu (desktop) ---------- */
.site-nav { grid-column: 2; align-self: stretch; }

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { position: relative; display: flex; align-items: center; }

/* Blue bar under the open item, sitting on the header's bottom rule */
.nav-item::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-item.is-open::after { transform: scaleX(1); }

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-md);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.nav-trigger:hover,
.nav-item.is-open > .nav-trigger,
.nav-item.is-current > .nav-trigger { color: var(--link); }

.chevron { width: 11px; height: 11px; flex: none; transition: transform 0.18s ease; }
.nav-item.is-open .chevron { transform: rotate(180deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 1px solid var(--sky-line);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-panel);
  color: var(--text);
  translate: calc(-50% + var(--shift, 0px)) 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}
.nav-panel:focus { outline: none; }
.nav-item.is-open > .nav-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.nav-panel--mega { padding: 20px 16px; }

.nav-groups {
  display: grid;
  grid-template-columns: var(--cols, 260px);
  gap: 12px 0;
}
.nav-panel--mega .nav-group { padding-right: 12px; }
.nav-panel--mega .nav-group + .nav-group { padding-left: 12px; border-left: 1px solid var(--line); }
/* AI Evaluation menu: six groups in three columns and two rows */
.nav-panel--grid3 .nav-groups { row-gap: 18px; }
.nav-panel--grid3 .nav-group:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.nav-panel--grid3 .nav-group:nth-child(n + 4) { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 74.99em) {
  .nav-panel--grid3 .nav-group:nth-child(n + 4) { padding-top: 0; border-top: 0; }
}

.nav-group ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-group-title {
  margin: 2px 12px 8px;
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-panel a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.nav-panel a:hover { background: var(--sky); color: var(--link); }
.nav-panel a:focus-visible { outline-offset: 0; }

/* Resources menu: icon and title for each item */
.nav-panel--rich a { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 8px 12px; }
.nav-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sky); }
.nav-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-panel--rich a:hover .nav-ico { background: var(--white); }
.nav-title { display: block; font-weight: 600; line-height: 1.3; }
@media (max-width: 74.99em) {
  .nav-panel--rich a { grid-template-columns: 32px minmax(0, 1fr); align-items: center; }
  .nav-ico { width: 32px; height: 32px; }
}

/* =========================================================================
   Hero (soft blue): centred headline, room for the services video
   ========================================================================= */
.hero { padding-block: clamp(72px, 9vw, 136px) clamp(72px, 9vw, 128px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 14em; font-size: clamp(2.5rem, 1rem + 5.4vw, 5.75rem); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
/* The services video, once embedded, sits centred under the buttons. */
.hero video {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding-block: var(--section-y); }

.section-head { max-width: 46rem; }
.section-head p { margin-top: 14px; color: var(--s-muted); font-size: 1.125rem; }

/* ---------- Four checkable points (white) ---------- */
.claims {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 1px solid var(--s-line-strong);
  list-style: none;
}
.claim {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 2fr) minmax(200px, 0.9fr);
  align-items: baseline;
  gap: 12px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--s-line);
}
.claim-name { font-size: 1.3125rem; }
.claim-name .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  color: var(--blue);
  vertical-align: -0.22em;
}
.claim-text { max-width: 36em; }
.claim-text > p + p { margin-top: 10px; }
.claim-clock { color: var(--s-muted); font-size: 0.9375rem; font-weight: 600; }
.claim-where-label { color: var(--s-muted); font-size: 0.8125rem; font-weight: 700; }
.claim-where ul { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; }
.claim-where a { display: inline-block; padding-block: 3px; font-size: 0.9375rem; font-weight: 700; }

/* ---------- Why Omni Annotate AI ---------- */
.why-head { max-width: 44rem; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.why-tagline {
  margin-top: 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: 0.005em;
}
.why-intro { margin-top: 10px; color: var(--s-muted); font-size: 1.125rem; line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(11, 26, 48, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(23, 71, 209, 0.14); }
.why-icon { display: block; width: 36px; height: 36px; margin-bottom: 16px; color: var(--blue); }
.why-label {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.why-card h3 { margin-top: 10px; font-size: 1.25rem; line-height: 1.32; }
.why-rule { width: 44px; height: 3px; margin: 14px 0 16px; border-radius: 2px; background: var(--blue); }
.why-card p { color: var(--text-muted); font-size: 0.975rem; line-height: 1.7; }

/* ---------- What makes AI work: centred statement ---------- */
.statement { max-width: 48rem; margin-inline: auto; text-align: center; }
.statement-tagline {
  margin-top: 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
}
.statement p:not(.statement-tagline) {
  margin-top: 20px;
  color: var(--s-muted);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
}
.statement .statement-tagline + p { margin-top: 28px; }
.statement p.statement-lead { color: var(--text); font-weight: 600; }

/* ---------- AI Data Solutions: four capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--sky-line);
  border-radius: 18px;
  background: var(--sky);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cap-card:hover { border-color: var(--blue); box-shadow: 0 12px 28px -18px rgba(23, 71, 209, 0.5); }
.cap-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--white); }
.cap-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap-card h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.cap-card > p { margin-top: 12px; color: var(--text-muted); font-size: 0.97rem; line-height: 1.65; }
.cap-list { display: grid; align-content: start; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--sky-line); list-style: none; }
.cap-list li { position: relative; padding-left: 18px; font-size: 0.91rem; line-height: 1.4; }
.cap-list li::before { content: ""; position: absolute; top: 0.45em; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.cap-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 22px; color: var(--link); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.cap-link .icon { width: 16px; height: 16px; }
/* The link covers the whole card, so the card is one click target. */
.cap-link::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.cap-card:hover .cap-link { text-decoration: underline; text-underline-offset: 0.2em; }
@supports selector(:has(*)) {
  .cap-link:focus-visible { outline: none; }
  .cap-card:has(.cap-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
}
/* Line up icons, titles, descriptions, lists and links across the cards */
@supports (grid-template-rows: subgrid) {
  .cap-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .cap-link { align-self: end; justify-self: start; margin-top: 0; }
}
@media (max-width: 1199.98px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- AI Evaluation: six categories, three per row ---------- */
.cap-grid--eval { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-note { margin-top: 14px; color: var(--text-muted); font-size: 0.86rem; line-height: 1.5; }
.theme-sky .cap-card { background: var(--white); }
.theme-sky .cap-icon { background: var(--sky); }
@supports (grid-template-rows: subgrid) {
  .cap-grid--eval .cap-card { grid-row: span 6; }
  .cap-note { grid-row: -3 / -2; }
  .cap-link { grid-row: -2 / -1; }
}
@media (max-width: 1023.98px) { .cap-grid--eval { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid--eval { grid-template-columns: minmax(0, 1fr); } }

/* ---------- How we help you train and evaluate LLMs: four stages ---------- */
.llm-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: llm;
}
.llm-step {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(11, 26, 48, 0.06);
  counter-increment: llm;
}
.llm-step::before {
  content: counter(llm, decimal-leading-zero);
  content: counter(llm, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}
.llm-step h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.llm-step .llm-sub { margin-top: 8px; color: var(--blue); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.llm-step p:not(.llm-sub) { margin-top: 12px; color: var(--text-muted); line-height: 1.7; }
.llm-close {
  max-width: 52rem;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--sky-line);
  border-radius: 22px;
  background: var(--sky);
  text-align: center;
}
.llm-close h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); letter-spacing: -0.015em; }
.llm-close p { max-width: 40rem; margin: 14px auto 0; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; }
.llm-close .btn { margin-top: 26px; }
.llm-close .btn .icon { width: 18px; height: 18px; }
.theme-sky .llm-close { background: var(--white); }

/* ---------- Our Process: steps 1 to 4, then 5 to 7, details on demand ---------- */
.proc {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: proc;
}
.proc-step {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(11, 26, 48, 0.06);
  counter-increment: proc;
}
.proc-step:nth-child(n + 5) { grid-column: span 4; }
.proc-step::before {
  content: counter(proc);
  content: counter(proc) / "";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.proc-step h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
.proc-sub { margin-top: 6px; color: var(--blue); font-family: var(--font-display); font-size: 0.97rem; font-weight: 600; line-height: 1.4; }
.proc-more { margin-top: 10px; }
.proc-more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--link);
  font-size: 0.9375rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.proc-more summary::-webkit-details-marker { display: none; }
.proc-more summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.proc-more summary .icon { width: 12px; height: 12px; transition: transform 0.18s ease; }
.proc-more[open] summary .icon { transform: rotate(180deg); }
.proc-close { display: none; }
.proc-more[open] .proc-open { display: none; }
.proc-more[open] .proc-close { display: inline; }
.proc-detail { padding-top: 4px; border-top: 1px solid var(--line); }
.proc-detail p { margin-top: 12px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }
.proc-detail .proc-outcome { padding: 12px 14px; border-radius: 12px; background: var(--sky); color: var(--text); font-size: 0.91rem; line-height: 1.55; }
.proc-outcome strong { color: var(--blue-deep); font-weight: 700; }
/* Keep closed cards in a row the same height */
@media (min-width: 75em) {
  .proc-step h3 { min-height: 2.6em; }
  .proc-step:nth-child(n + 5) h3 { min-height: 1.3em; }
  .proc-sub { min-height: 2.8em; }
}
@media (prefers-reduced-motion: no-preference) {
  .proc-more[open] .proc-detail { animation: proc-in 0.2s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-more summary .icon { transition: none; }
}
@keyframes proc-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 74.99em) {
  .proc-step,
  .proc-step:nth-child(n + 5) { grid-column: span 6; }
}
@media (max-width: 767.98px) {
  .proc-step,
  .proc-step:nth-child(n + 5) { grid-column: span 12; }
}

/* ---------- Frequently Asked Questions: answers open on demand ---------- */
.faq-head { max-width: 880px; margin: 0 auto; padding: 0 4px; }
.faq-tagline { margin-top: 14px; color: var(--blue); font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; line-height: 1.3; }
.faq-head p:not(.faq-tagline) { max-width: 46rem; margin-top: 16px; color: var(--s-muted); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.7; }
.faq {
  max-width: 880px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.faq > li { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 30px;
  align-items: center;
  column-gap: 12px;
  min-height: 44px;
  padding: 18px 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-q { color: var(--link); }
.faq-num { color: var(--blue); font-variant-numeric: tabular-nums; }
.faq-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  transition: transform 0.18s ease;
}
.faq-icon svg { width: 12px; height: 12px; }
.theme-sky .faq-icon { background: var(--white); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 46px 22px calc(2.2rem + 16px); }
.faq-answer p { color: var(--text-muted); line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }
.faq-all { margin-top: 28px; text-align: center; }
.faq-all .text-link { display: inline-flex; align-items: center; gap: 6px; }
.faq-all .icon { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: proc-in 0.2s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-icon { transition: none; }
}
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: 1.8rem minmax(0, 1fr) 28px; font-size: 1.0313rem; }
  .faq-answer { padding: 0 4px 20px calc(1.8rem + 16px); }
}
@media (max-width: 767.98px) {
  .llm-steps { grid-template-columns: minmax(0, 1fr); }
  .llm-step { padding: 26px 22px; }
}

/* ---------- Services: Data Solutions and AI Evaluation cards (kept for later; see snippets/) ---------- */
.section-head--center { max-width: 48rem; margin-inline: auto; text-align: center; }

.svc-block + .svc-block { margin-top: clamp(48px, 6vw, 72px); }
.svc-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sky-line-strong);
}
.svc-block-head h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); letter-spacing: -0.015em; }

.svc-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--sky-line);
  border-radius: 18px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.svc-card:hover { border-color: var(--blue); box-shadow: 0 10px 24px -14px rgba(23, 71, 209, 0.45); }
.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--sky);
}
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-go { position: absolute; top: 30px; right: 26px; width: 18px; height: 18px; color: var(--blue); }
.svc-card h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }
.svc-card h3 a { color: var(--text); text-decoration: none; }
/* The title link covers the whole card, so the card is one click target. */
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card:hover h3 a { color: var(--link); }
.svc-card p { margin-top: 10px; color: var(--text-muted); font-size: 1rem; line-height: 1.55; }
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.svc-tags li {
  padding: 5px 11px;
  border: 1px solid var(--sky-line);
  border-radius: 999px;
  background: var(--sky);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}
@supports selector(:has(*)) {
  .svc-card h3 a:focus-visible { outline: none; }
  .svc-card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
}

/* ---------- What a delivery contains (white, soft blue card) ---------- */
.delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.delivery-copy > * + * { margin-top: 16px; }
.delivery-copy > h2 + p { margin-top: 20px; }
.delivery-copy p { max-width: 34em; color: var(--s-muted); }
.delivery-copy > p:last-child { margin-top: 24px; }

.files { margin: 0; }
.files-card {
  overflow: hidden;
  border: 1px solid var(--sky-line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.files-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--sky);
  font-family: var(--font-display);
  font-weight: 600;
}
.files-head .icon { color: var(--blue); }
.files-list { margin: 0; padding: 4px 0; list-style: none; }
.files-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 22px;
}
.files-list li + li { border-top: 1px solid var(--sky-line); }
.files-list .icon { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }
.files-list .is-report .icon { color: var(--blue-deep); }
.file-name { font-weight: 700; overflow-wrap: anywhere; }
.file-desc { grid-column: 2; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Process (soft blue) ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.process-head {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
}
.process-head > * + * { margin-top: 16px; }
.process-head p { max-width: 30em; color: var(--s-muted); }

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--s-line-strong);
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--s-line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  content: counter(step) / "";
  grid-row: 1 / span 2;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: 4px; color: var(--s-muted); }

/* ---------- Scope a Project (blue) ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.cta-copy { max-width: 46rem; }
.cta-copy p { margin-top: 16px; color: var(--s-muted); font-size: 1.125rem; line-height: 1.6; }
.cta-copy h2 + p { margin-top: 20px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cta-note { max-width: 18rem; color: var(--s-muted); font-size: 0.9375rem; line-height: 1.5; }

/* =========================================================================
   Footer (dark)
   ========================================================================= */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 32px; }
.site-footer a { color: var(--s-text); text-decoration: none; }
.site-footer a:hover {
  color: var(--s-text);
  text-decoration: underline;
  text-decoration-color: var(--blue-soft);
}
.site-footer .brand { font-size: 1.5rem; }
.site-footer .brand:hover { text-decoration: none; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, clamp(15rem, 18vw, 17rem)) minmax(0, 1fr);
  gap: 40px 32px;
}
.footer-brand p { max-width: 24em; margin-top: 14px; color: var(--s-muted); font-size: 0.9375rem; line-height: 1.7; }
.footer-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px 16px; }
.footer-title { color: var(--s-muted); font-size: 0.875rem; font-weight: 700; }
.footer-nav ul { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding-block: 3px; font-size: 0.875rem; }
/* One row on laptops and desktops; on tablets and phones the description moves above the links */
@media (max-width: 1199.98px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023.98px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: normal; } }
@media (max-width: 899.98px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bottom bar: copyright left, legal links right */
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy legal";
  align-items: center;
  gap: 16px 32px;
  margin-top: 56px;
  padding-top: 24px;
  /* Rule drawn at content width, not across the gutters */
  background: linear-gradient(var(--s-line), var(--s-line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--s-muted);
  font-size: 0.875rem;
}
.footer-copy { grid-area: copy; }
.footer-legal {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Social links sit in the left column, below the description */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--s-line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.footer-social a:hover { border-color: var(--blue-soft); text-decoration: none; }

/* =========================================================================
   Responsive
   ========================================================================= */

/* 1200 to 1439px: the same menu, tightened so all six items fit. */
@media (min-width: 75em) and (max-width: 89.99em) {
  .bar { column-gap: 14px; padding-inline: 28px; }
  .brand { font-size: 1.375rem; }
  .nav-list { gap: 2px; }
  .nav-trigger { padding: 0 8px; font-size: 0.875rem; }
  .nav-item::after { right: 8px; left: 8px; }
  .header-cta { padding: 0 16px; font-size: 0.875rem; }
}

/* Below 1200px the six menu items move into a drawer of accordions. */
@media (max-width: 74.99em) {
  .bar { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 10px; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .menu-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: none;
    padding: 8px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
  }
  .site-header.is-menu-open .site-nav { display: block; }

  .nav-list { display: block; height: auto; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-item::after { display: none; }

  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding: 0;
    border-radius: 0;
    font-size: 1.0625rem;
  }
  .nav-trigger .chevron { width: 14px; height: 14px; }

  .nav-panel,
  .nav-panel--mega {
    position: static;
    display: none;
    width: auto;
    max-width: none;
    padding: 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    translate: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-item.is-open > .nav-panel { display: block; }

  .nav-groups { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .nav-panel--mega .nav-group,
  .nav-panel--mega .nav-group + .nav-group { padding: 0; border-left: 0; }
  .nav-panel a { padding: 11px 12px; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 1023.98px) {
  .svc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery,
  .process { grid-template-columns: minmax(0, 1fr); }
  .process-head { position: static; }
  .claim { grid-template-columns: minmax(0, 1fr) minmax(180px, 0.6fr); }
  .claim-name { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .svc-grid--2,
  .svc-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .svc-card { padding: 24px; }
  .claim { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .claim-where ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "legal";
  }
}

/* Phones: the menu button shows only its icon */
@media (max-width: 40em) {
  .menu-toggle { width: 44px; padding: 0; }
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Small phones: Discuss Your Project moves from the bar into the menu (and stays in the hero). */
@media (max-width: 32.49em) {
  .bar { column-gap: 8px; padding-inline: 16px; }
  .site-nav { padding-inline: 16px; }
  .header-cta { display: none; }
  .nav-cta { display: flex; width: 100%; margin-top: 24px; }
  .brand { font-size: 1.375rem; }
  .hero-actions { align-self: stretch; }
  .hero-actions .btn,
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-actions { align-items: stretch; }
  .cta-note { max-width: none; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .why-card { transition: none; }
  .why-card:hover { transform: none; }
  .nav-panel,
  .nav-item::after,
  .chevron,
  .btn { transition: none; }
  .nav-panel { transform: none; }
}


/* ===== Inner pages: overview, category and service pages ===== */
.page-hero { padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 80px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--text-muted); font-size: 0.875rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.55; }
.crumbs a { color: var(--link); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.page-hero h1 { max-width: 20em; font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem); line-height: 1.1; }
.page-lead { max-width: 40rem; margin-top: 16px; color: var(--text-muted); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.6; }
.page-actions { margin-top: 28px; }
.pg-h2 { max-width: 44rem; }
.pg-lead { max-width: 46rem; margin-top: 14px; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pg-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pg-text p { margin-top: 14px; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.75; }
.pg-aside, .pg-panel { padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.theme-light .pg-aside { border-color: var(--sky-line); background: var(--sky); }
.pg-aside h3, .pg-panel h3 { font-size: 1.0625rem; line-height: 1.3; }
.pg-aside p, .pg-panel p { margin-top: 10px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 12px; border: 1px solid var(--sky-line); border-radius: 999px; background: var(--white); color: var(--text); font-size: 0.875rem; line-height: 1.3; }
.task-grid, .svc-grid, .strength-grid, .link-grid { display: grid; gap: 16px; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.task-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.task-card { padding: 22px 22px 24px; border: 1px solid var(--sky-line); border-radius: 16px; background: var(--sky); }
.task-card h3 { font-size: 1.0625rem; line-height: 1.35; }
.task-card p { margin-top: 8px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 2px 10px rgba(11, 26, 48, 0.06); transition: box-shadow 0.18s ease; }
.svc-card:hover { box-shadow: 0 12px 30px -14px rgba(11, 26, 48, 0.3); }
.svc-card h3 { font-size: 1.1875rem; line-height: 1.3; }
.svc-card h3 a { color: var(--text); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.svc-card:has(h3 a:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card p { margin-top: 8px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.svc-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--sky-line); list-style: none; }
.svc-list a { position: relative; z-index: 1; color: var(--text); font-size: 0.875rem; text-decoration: none; }
.svc-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: var(--link); font-size: 0.9375rem; font-weight: 600; }
.svc-more .icon { width: 16px; height: 16px; }
.svc-card:hover .svc-more { text-decoration: underline; text-underline-offset: 0.2em; }
.strength-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.strength-card { padding: 24px; border: 1px solid var(--sky-line); border-radius: 18px; background: var(--sky); }
.strength-card h3 { font-size: 1.125rem; line-height: 1.3; }
.strength-card p { margin-top: 8px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.link-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color 0.18s ease, color 0.18s ease; }
.link-card:hover { border-color: var(--link); color: var(--link); }
.link-card .icon { flex: none; width: 16px; height: 16px; color: var(--link); }
.pg-back { margin-top: 24px; }
.steps-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: st; }
.steps-row li { counter-increment: st; padding: 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 0.875rem; font-weight: 600; line-height: 1.35; }
.steps-row li::before { content: counter(st); content: counter(st) / ""; display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-family: var(--font-display); font-size: 0.875rem; }
.pg-note { max-width: 52rem; margin-top: 18px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 1199.98px) { .steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pg-split, .pg-two { grid-template-columns: minmax(0, 1fr); }
  .strength-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Menu group titles open their category pages */
.nav-panel .nav-group-title a { display: inline; padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; }
.nav-panel .nav-group-title a:hover { background: none; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
/* Home page cards: each listed service opens its own page, above the card wide link */
.cap-list a { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.cap-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; }

/* ===== FAQs page ===== */
.page-tagline { margin-top: 12px; color: var(--blue); font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-cats-title { color: var(--text); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.faq-cats ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.faq-cats a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 6px; padding: 9px 10px; border-radius: 10px; color: var(--text); font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.faq-cats a:hover { background: var(--sky); color: var(--link); }
.faq-cat-num { color: var(--blue); font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.faq-guide-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }
.faq-cat { scroll-margin-top: 96px; }
.faq-cat + .faq-cat { margin-top: clamp(40px, 5vw, 56px); }
.faq-cat > .faq-cat-num { font-size: 0.875rem; letter-spacing: 0.08em; }
.faq-cat h2 { margin-top: 4px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.faq-page .faq { max-width: none; margin: 18px 0 0; }
.faq-answer strong { color: var(--text); font-weight: 600; }
.faq-bullets, .faq-steps { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 1.25rem; color: var(--text-muted); line-height: 1.65; }
.faq-bullets li::marker, .faq-steps li::marker { color: var(--blue); font-weight: 600; }
.faq-bullets { list-style: disc; }
.faq-bullets + p, .faq-steps + p { margin-top: 12px; }
.faq-steps li span { display: block; margin-top: 2px; }
.cta-copy .cta-tagline { margin-top: 12px; color: #FFFFFF; font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
}

/* ===== How We Work pages ===== */
.hw-layout { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hw-aside { position: sticky; top: 96px; }
.hw-toc-title { color: var(--text); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.hw-toc ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.hw-toc a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.hw-toc a:hover { background: var(--sky); color: var(--link); }
.hw-main { max-width: 46rem; }
.hw-sec { scroll-margin-top: 96px; }
.hw-sec + .hw-sec { margin-top: clamp(32px, 4vw, 44px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.hw-sec h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.25; }
.hw-sec p { margin-top: 14px; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.75; }
.hw-sec strong { color: var(--text); font-weight: 600; }
.hw-list { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 1.25rem; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; list-style: disc; }
.hw-list li::marker { color: var(--blue); }
.hw-steps { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: hw; }
.hw-steps li { position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--sky-line); border-radius: 14px; background: var(--sky); counter-increment: hw; }
.hw-steps li::before { content: counter(hw); content: counter(hw) / ""; position: absolute; top: 18px; left: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; }
.hw-steps h3 { font-size: 1.0625rem; line-height: 1.35; }
.hw-steps p { margin-top: 6px; font-size: 0.97rem; line-height: 1.65; }
.hw-table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.hw-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.hw-table th, .hw-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hw-table th { background: var(--sky); color: var(--text); font-weight: 600; }
.hw-table td { color: var(--text-muted); }
.hw-table td:first-child { min-width: 11rem; color: var(--text); font-weight: 600; }
.hw-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) {
  .hw-layout { grid-template-columns: minmax(0, 1fr); }
  .hw-aside { position: static; }
}

/* ===== Company pages ===== */
.hw-steps-text li { padding-top: 20px; padding-bottom: 20px; }
.hw-steps-text li > p:first-child { margin-top: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.hw-steps-text li::before { top: 18px; }
.hw-layout-single { grid-template-columns: minmax(0, 46rem); }

/* Footer: general inquiries and client support, under the Company links */
.footer-support { margin-top: 22px; }
.footer-support .footer-title { max-width: 12rem; color: #FFFFFF; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.footer-support p:not(.footer-title) { margin-top: 8px; color: var(--s-muted); font-size: 0.875rem; line-height: 1.5; }
.footer-nav .footer-support a { display: inline; padding: 0; }
.footer-support .footer-support-label { margin-top: 10px; max-width: 13rem; }
.footer-support .footer-support-label + p { margin-top: 4px; }

/* ===== Contact form ===== */
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-form-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 44px -26px rgba(11, 26, 48, 0.4); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: var(--text); font-size: 0.9375rem; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--sky-line-strong); border-radius: 10px; background: var(--white); color: var(--text); font: inherit; font-size: 1rem; line-height: 1.5; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8592A6; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--link); outline: 2px solid var(--link); outline-offset: 1px; }
.form-submit { width: 100%; justify-content: center; }
.form-submit:disabled { opacity: 0.7; cursor: progress; }
.form-note { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.5; }
.form-consent { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.5; }
.form-consent a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
.form-consent + .form-note { margin-top: -6px; }
.form-status { padding: 12px 14px; border-radius: 10px; font-size: 0.9375rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #E7F6EC; color: #11603A; }
.form-status.is-error { background: #FDECEC; color: #9B1C1C; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ===== Project Preparation Checklist ===== */
.page-lead-note { max-width: 40rem; margin-top: 12px; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.btn-ico { flex: none; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ck-sec h2 { display: flex; align-items: center; gap: 12px; }
.ck-num { display: inline-grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.ck-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ck-list li { position: relative; padding: 12px 16px 12px 46px; border: 1px solid var(--sky-line); border-radius: 12px; background: var(--sky); color: var(--text); font-size: 1rem; line-height: 1.6; }
.ck-list { counter-reset: ck-item; }
.ck-list li { counter-increment: ck-item; }
.ck-list li::before { content: counter(ck-item, lower-roman) "."; position: absolute; top: 12px; left: 10px; width: 26px; color: var(--blue); font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.6; text-align: right; }
.hw-sec .ck-note { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--sky-line-strong); font-size: 0.97rem; }
.hw-sec .ck-important { margin-top: 18px; padding: 16px 18px; border: 1px solid #F1D49A; border-radius: 12px; background: #FFF8E6; color: #5A4210; font-size: 1rem; }
.hw-sec .ck-important strong { color: #5A4210; }

/* ===== Privacy Policy ===== */
.pp-meta { margin-top: 14px; color: var(--text-muted); font-size: 0.9375rem; }
.pp-meta strong { color: var(--text); font-weight: 600; }
.hw-sec .pp-h3 { margin-top: 26px; font-size: 1.125rem; line-height: 1.35; }

.pp-footnote { margin-top: clamp(32px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }
