/* bitline Solutions - site stylesheet
   Brand tokens are carried over unchanged from the holding page: green #36ac6a and gold #be9a3f come from the logo;
   #1f7a4a / #155c37 are used for text, links and buttons (WCAG AA on white). Gold is decorative only: it is too
   light for small text on white.

   Contents: tokens · base · layout · header & nav · buttons · sections · hero · cards · lists · steps · feature
   panels · FAQ · CTA band · breadcrumbs · forms · legal pages · status pages · footer · utilities · motion */

/* ---------- Tokens ---------- */
:root {
  --green: #36ac6a;
  --green-dark: #1f7a4a;
  --green-deep: #155c37;
  --gold: #be9a3f;
  --ink: #12261c;
  --muted: #55605c;
  --bg: #f6faf7;
  --surface: rgba(255, 255, 255, 0.72);
  --border: rgba(18, 38, 28, 0.09);

  /* added neutrals and semantic colours */
  --white: #ffffff;
  --ink-soft: #2d3a34;
  --mint: #eef7f1;
  --mint-strong: #ddefe4;
  --forest: #0f3f27;
  --gold-soft: rgba(190, 154, 63, 0.14);
  --gold-ink: #7f6420;          /* gold-family text colour with 5.6:1 contrast on white */
  --line: rgba(18, 38, 28, 0.12);
  --error: #b42318;
  --error-bg: #fef3f2;
  --success-bg: #ecf8f1;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 38, 28, 0.06), 0 2px 8px -2px rgba(18, 38, 28, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(18, 38, 28, 0.35), 0 2px 6px rgba(18, 38, 28, 0.05);
  --container: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --header-h: 4.75rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

main { flex: 1; display: block; }
main:focus { outline: none; }

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.18; color: var(--green-deep); text-wrap: balance; }
h1 { font-size: clamp(2rem, 2.6vw + 1.2rem, 3.1rem); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.35rem); font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
p + p { margin-top: 1em; }

a { color: var(--green-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-deep);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-sm { width: 1.1rem; height: 1.1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 50rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.grid-services { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-services { grid-template-columns: repeat(3, 1fr); } .grid-services .card-cta { grid-column: span 2; } }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split-top { align-items: start; }
  .split-wide-left { grid-template-columns: 1.3fr 0.7fr; }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.logo { display: inline-flex; flex: none; border-radius: 8px; }
.logo img { display: block; width: 104px; }
.logo-footer img { width: 132px; }

.nav-list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--green-deep); background: var(--mint); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--green-dark); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.chevron { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown { display: none; }
.has-dropdown.is-open > .dropdown { display: block; }
html:not(.js) .has-dropdown:focus-within > .dropdown { display: block; }
.dropdown ul { margin: 0; padding: 0; list-style: none; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.dropdown a:hover, .dropdown a[aria-current="page"] { color: var(--green-deep); background: var(--mint); }
.dropdown-icon { display: inline-flex; color: var(--green-dark); }
.dropdown-icon .icon { width: 1.25rem; height: 1.25rem; }
.dropdown-all { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--border); }
.dropdown-all a { font-weight: 650; color: var(--green-dark); }

.nav-cta-item { margin-left: 0.5rem; }
.btn.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.95rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-toggle > span { display: inline-flex; }
.menu-toggle > .menu-icon-close, .menu-open .menu-toggle > .menu-icon-open { display: none; }
.menu-open .menu-toggle > .menu-icon-close { display: inline-flex; }

/* Desktop dropdown panel */
@media (min-width: 1080px) {
  .dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    width: 21rem;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transform: translateX(-50%);
  }
  .dropdown::before { content: ""; position: absolute; inset: -0.6rem 0 auto; height: 0.6rem; } /* hover bridge */
}

/* Mobile navigation */
@media (max-width: 1079.98px) {
  :root { --header-h: 4.25rem; }
  .logo-header img { width: 92px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .js .menu-open .site-nav { display: block; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav { width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.8rem 0.75rem; font-size: 1.05rem; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
  .dropdown { padding: 0.15rem 0 0.5rem 0.75rem; }
  html:not(.js) .dropdown { display: block; }
  .dropdown a { padding: 0.65rem 0.75rem; }
  .nav-cta-item { margin: 0.75rem 0 0; }
  .btn.nav-cta { width: 100%; justify-content: center; padding: 0.85rem 1.2rem; font-size: 1rem; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.8rem 1.45rem;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  box-shadow: 0 10px 24px -12px rgba(21, 92, 55, 0.7);
}
.btn-primary:hover { color: var(--white); box-shadow: 0 14px 28px -12px rgba(21, 92, 55, 0.8); }
.btn-secondary { color: var(--green-deep); background: var(--white); border-color: rgba(31, 122, 74, 0.35); }
.btn-secondary:hover { color: var(--green-deep); border-color: var(--green-dark); background: var(--mint); }
.btn-light { color: var(--green-deep); background: var(--white); }
.btn-light:hover { color: var(--forest); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45); }
.btn-ghost-light { color: var(--white); border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.btn-ghost-light:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg); }
.section-mint { background: linear-gradient(180deg, var(--mint), var(--bg)); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + p, .section-head .lead { margin-top: 1rem; }
.section-foot { margin-top: clamp(2rem, 4vw, 2.75rem); text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 1.75rem; height: 2px; background: var(--gold); border-radius: 2px; }

.lead { font-size: clamp(1.08rem, 0.5vw + 1rem, 1.22rem); color: var(--muted); }
.prose { max-width: 68ch; color: var(--ink-soft); }
.prose h2 { margin: 2.25rem 0 0.75rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose > :first-child { margin-top: 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 0% 0%, rgba(54, 172, 106, 0.13), transparent 60%),
    radial-gradient(50rem 26rem at 100% 100%, rgba(190, 154, 63, 0.12), transparent 60%),
    var(--bg);
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 38, 28, 0.11) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero > .container, .page-hero > .container { position: relative; }
.hero h1 {
  font-size: clamp(2.3rem, 3.6vw + 1.1rem, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, var(--ink) 35%, var(--green-dark) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 1.1rem; font-size: clamp(1.15rem, 0.8vw + 1rem, 1.4rem); font-weight: 650; color: var(--green-deep); }
.hero .lead { margin-top: 1rem; max-width: 36rem; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(100%, 34rem); }

.trust { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem 0.6rem 0.7rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.trust .icon { width: 1.9rem; height: 1.9rem; padding: 0.35rem; color: var(--green-dark); background: var(--mint-strong); border-radius: 50%; }
.trust strong { color: var(--ink); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(48rem 22rem at 100% 0%, rgba(190, 154, 63, 0.11), transparent 60%),
    linear-gradient(180deg, var(--mint), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .hero-sub { max-width: 40rem; }
.page-hero .prose { margin-top: 1.5rem; font-size: 1.1rem; }
.page-hero .eyebrow { margin-top: 1.75rem; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 { margin-top: 1.1rem; }
.card p { margin-top: 0.6rem; color: var(--muted); }
.card-link h3 a { color: inherit; text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(31, 122, 74, 0.35); }
.card-link:focus-within { border-color: var(--green-dark); }
.card-link h3 a:focus-visible { outline: none; }
.card-link:has(h3 a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.card-more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 1.1rem; font-weight: 650; font-size: 0.95rem; color: var(--green-dark); }
.card-link:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform 0.2s ease; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid rgba(54, 172, 106, 0.22);
  border-radius: 14px;
}
.card-icon-gold { color: var(--gold-ink); background: var(--gold-soft); border-color: rgba(190, 154, 63, 0.3); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 0.22rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: var(--radius-pill);
}

/* Plain feature tiles (differentiators, values, technology groups) */
.tile { padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tile h3 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.08rem; }
.tile h3 .icon { color: var(--green-dark); }
.tile p { margin-top: 0.55rem; color: var(--muted); }

/* ---------- Lists ---------- */
.check-list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--mint-strong);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: calc(0.2em + 0.3rem);
  width: 0.36rem;
  height: 0.62rem;
  border: solid var(--green-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-list.two-col { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); column-gap: 2rem; }

.panel { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { margin-bottom: 1.1rem; }
.panel-note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.35rem;
  right: 1.5rem;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
}
.step-icon { display: inline-flex; padding: 0.6rem; color: var(--white); background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: 12px; }
.step h3 { margin-top: 1rem; }
.step p { margin-top: 0.5rem; color: var(--muted); }

/* ---------- Featured (dark) panel: FBR ---------- */
.section-dark {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(140deg, var(--green-deep) 0%, var(--forest) 100%);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
          mask-image: linear-gradient(90deg, transparent, #000 70%);
  pointer-events: none;
}
.section-dark > .container { position: relative; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #e7d29a; }
.section-dark .lead { color: rgba(255, 255, 255, 0.9); }
.section-dark a:not(.btn) { color: var(--white); }
.section-dark .check-list li { color: rgba(255, 255, 255, 0.92); }
.section-dark .check-list li::before { background: rgba(190, 154, 63, 0.25); }
.section-dark .check-list li::after { border-color: #e7d29a; }
.section-dark .panel { color: var(--ink-soft); }
.section-dark .panel h3 { color: var(--green-deep); }
.glass-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}
.glass-panel h3 { margin-bottom: 1.1rem; font-size: 1.05rem; letter-spacing: 0.02em; }
.compliance-note {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.18);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.compliance-note .icon { color: #e7d29a; margin-top: 0.1rem; }

/* light variant of the scope note (service page) */
.note {
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  color: var(--ink-soft);
  background: #fbf7ec;
  border: 1px solid rgba(190, 154, 63, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}
.note .icon { color: var(--gold-ink); margin-top: 0.15rem; }
.note h2, .note h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--ink); }

/* ---------- Technology groups ---------- */
.tech-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0 0; padding: 0; list-style: none; }
.tech-list li {
  padding: 0.3rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* Homepage technology rows */
.tech-rows { display: grid; gap: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tech-row { display: grid; gap: 0.25rem 1.25rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.tech-row:last-child { border-bottom: 0; }
@media (min-width: 36rem) { .tech-row { grid-template-columns: 12.5rem 1fr; align-items: baseline; } }
.tech-row dt { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--green-deep); }
.tech-row dt .icon { color: var(--green-dark); }
.tech-row dd { margin: 0; color: var(--ink-soft); }

/* Card variant that invites contact (last cell of the services grid) */
.card-cta { background: linear-gradient(150deg, var(--mint), var(--white)); border-style: dashed; border-color: rgba(31, 122, 74, 0.35); }

.flow-diagram { display: block; width: 100%; margin-bottom: 0.5rem; }

/* Related links (services / industries cross-links) */
.related-heading { margin-bottom: 1.1rem; font-size: 1.25rem; }
.related-list { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.related-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  padding: 0.85rem 1rem;
  font-weight: 650;
  color: var(--green-deep);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.related-list a:hover { border-color: rgba(31, 122, 74, 0.4); box-shadow: var(--shadow-sm); }
.related-list .card-icon { width: 2.5rem; height: 2.5rem; flex: none; }
.related-list-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.related-arrow { margin-left: auto; color: var(--green-dark); }

/* Two-column content block: heading column + body */
.content-block { display: grid; gap: 1rem 3rem; padding-block: 2.25rem; border-top: 1px solid var(--line); }
.content-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 62rem) { .content-block { grid-template-columns: 0.8fr 1.2fr; } }
.content-block h2 { font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); }
.content-block > div > p { color: var(--ink-soft); }
.content-block .check-list { margin-top: 0.25rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 650;
  color: var(--green-deep);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--green-dark); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 1.35rem 1.2rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(120deg, var(--green-dark) 0%, var(--green-deep) 55%, var(--forest) 100%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -15rem;
  top: -15rem;
  width: 30rem;
  height: 30rem;
  border: 3px solid rgba(190, 154, 63, 0.45);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 62rem) { .cta-inner { grid-template-columns: 1.5fr auto; } }
.cta-band h2 { color: var(--white); max-width: 32ch; }
.cta-text p { max-width: 44rem; margin-top: 1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.cta-email { margin: 0; font-size: 0.95rem; }
.cta-email a { color: var(--white); font-weight: 600; word-break: break-word; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--green-deep); font-weight: 600; }
.crumb-sep { width: 0.9rem; height: 0.9rem; opacity: 0.6; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(18, 38, 28, 0.22);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 4px rgba(54, 172, 106, 0.2); }
.field .input-validation-error, .field [aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field-hint { font-size: 0.88rem; color: var(--muted); }
.field-error { font-size: 0.9rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 0.8rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid; }
.alert:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
.alert .icon { margin-top: 0.1rem; }
.alert p + p, .alert p + ul { margin-top: 0.4rem; }
.alert ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.alert-error { color: #7a1a12; background: var(--error-bg); border-color: rgba(180, 35, 24, 0.3); }
.alert-error a { color: #7a1a12; font-weight: 600; }
.alert-success { color: var(--green-deep); background: var(--success-bg); border-color: rgba(31, 122, 74, 0.3); }

.next-steps { margin: 0.75rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.next-steps li + li { margin-top: 0.35rem; }
.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-method { display: flex; gap: 0.9rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-method .card-icon { width: 2.6rem; height: 2.6rem; flex: none; }
.contact-method h2, .contact-method h3 { font-size: 1rem; color: var(--ink); }
.contact-method p { margin-top: 0.2rem; font-size: 0.95rem; color: var(--muted); }
.contact-method a { font-weight: 650; word-break: break-word; }

/* ---------- Legal pages ---------- */
.legal {
  width: calc(100% - 2 * var(--gutter));
  max-width: 48rem;
  margin: clamp(2rem, 5vw, 3.5rem) auto var(--section-y);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 40rem) {
  .legal { width: 100%; margin-top: 0; border-inline: 0; border-radius: 0; box-shadow: none; }
}
.legal-head { margin-bottom: 2rem; text-align: center; }
.legal-head .logo { display: none; }          /* the site header already shows the logo */
.legal h1 { font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem); }
.legal h2 { margin: 2.1rem 0 0.5rem; font-size: 1.2rem; color: var(--green-dark); }
.legal h2[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal h3 { margin: 1.4rem 0 0.35rem; font-size: 1.02rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.4rem; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: 0.95rem; }
.legal th, .legal td { padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); background: var(--bg); }
.table-scroll { overflow-x: auto; }
.toc {
  margin: 1.75rem 0 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(54, 172, 106, 0.06);
  border: 1px solid rgba(54, 172, 106, 0.18);
  border-radius: 14px;
}
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 15rem; column-gap: 2rem; }
.toc li { margin: 0.15rem 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.contact-card {
  font-style: normal;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(190, 154, 63, 0.06);
  border-radius: 0 12px 12px 0;
  line-height: 1.8;
}
.muted { margin: 0.5rem 0 0; color: var(--muted); }
.back { margin-top: 2.5rem; }

/* ---------- Status pages (404 / 500) ---------- */
.status-page { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 7rem); text-align: center; background: linear-gradient(180deg, var(--mint), var(--white)); }
.status-code { display: inline-block; padding: 0.35rem 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-dark); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.status-page h1 { margin-top: 1rem; }
.status-page .lead { max-width: 34rem; margin: 1rem auto 0; }
.status-page .actions { justify-content: center; }
.status-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; color: rgba(255, 255, 255, 0.78); background: var(--forest); }
.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
@media (min-width: 62rem) { .footer-grid { grid-template-columns: 1.6fr 1.1fr 1fr 0.8fr; } }
.footer-brand .logo { padding: 0.6rem 0.8rem; background: var(--white); border-radius: 12px; }
.footer-brand p { max-width: 30rem; margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.7; }
.footer-contact { display: grid; gap: 0.8rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.2rem; color: #e7d29a; }
.footer-contact-label { display: block; font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.footer-col h2 { margin-bottom: 1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #e7d29a; }
.footer-col ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.25rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.actions-center { justify-content: center; }
.center { text-align: center; }
.steps-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-muted { color: var(--muted); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Motion & accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .card-link:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero h1 { background: none; color: CanvasText; }
  .card, .tile, .step, .panel { border: 1px solid CanvasText; }
}
@media print {
  .site-header, .site-footer, .cta-band, .skip-link { display: none; }
  .legal { box-shadow: none; border: 0; }
}
