:root {
  --bg:#F4F6F8;
  --surface:#FFFFFF;
  --ink:#142033;
  --muted:#4D5B6E;
  --line:#D6DCE4;
  --spruce:#1B2B42;
  --spruce-2:#2A3D58;
  --on-spruce:#EEF2F7;
  --ai:#2563A6;
  --ai-soft:#E1ECF7;
  --mint:#E6CB86;
  --match:#1F7A5A;
  --flag:#B5531B;
  --flag-soft:#FBE7DA;
  --focus:#2563A6;
  --display:"Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --body:"Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg:#0C121B;
    --surface:#141C28;
    --ink:#E6ECF3;
    --muted:#A3B0C2;
    --line:#27354A;
    --spruce:#111B2B;
    --spruce-2:#1F2E46;
    --on-spruce:#E8EDF4;
    --ai:#7DB7EC;
    --ai-soft:#182B40;
    --mint:#C9A955;
    --match:#6FD3A8;
    --flag:#F2A36F;
    --flag-soft:#3E2616;
    --focus:#7DB7EC;
    color-scheme: dark;
  }
}
:root[data-theme=dark] {
  --bg:#0C121B;
  --surface:#141C28;
  --ink:#E6ECF3;
  --muted:#A3B0C2;
  --line:#27354A;
  --spruce:#111B2B;
  --spruce-2:#1F2E46;
  --on-spruce:#E8EDF4;
  --ai:#7DB7EC;
  --ai-soft:#182B40;
  --mint:#C9A955;
  --match:#6FD3A8;
  --flag:#F2A36F;
  --flag-soft:#3E2616;
  --focus:#7DB7EC;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 76px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
  font-weight: 800;
  max-width: 20ch;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.125rem;
}

/* Header */
header.site {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 1rem;
}

.bar > div:last-child {
  justify-self: end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand {
  justify-self: start;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.brand-name span {
  font-weight: 400;
  color: var(--muted);
}

nav.main ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main ul {
  justify-content: center;
}

nav.main a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}

nav.main a:hover {
  color: var(--ink);
  background: var(--surface);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: 600 1rem/1 var(--body);
  padding: 0.9rem 1.3rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--ai);
  color: #fff;
}

:root[data-theme=dark] .btn-primary {
  color: #100F2E;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .btn-primary {
    color: #100F2E;
  }
}
.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: var(--ink);
  cursor: pointer;
}

.header-cta {
  padding: 0.7rem 1rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .bar {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .header-cta {
    display: none;
  }
  nav.main {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  nav.main.open {
    display: block;
  }
  nav.main ul {
    flex-direction: column;
    padding: 0.5rem 1.25rem 1rem;
  }
  nav.main a {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
  }
}
/* Hero */
.hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem);
  font-weight: 800;
  max-width: 13ch;
}

.hero .lede {
  margin-top: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  max-width: 46ch;
}

.hero-note svg {
  flex: none;
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
/* Sections */
section.block {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}
/* Services explorer */
.explorer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.6fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-list button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  font: 500 1rem var(--body);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.svc-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ai);
  font-variant-numeric: tabular-nums;
  min-width: 1.4rem;
}

.svc-list button[aria-selected=true] .svc-num {
  color: var(--mint);
}

.svc-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.best-for {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.97rem;
}

.best-for b {
  color: var(--ink);
  font-weight: 600;
}

.svc-list button:hover {
  color: var(--ink);
  background: var(--bg);
}

.svc-list button[aria-selected=true] {
  background: var(--spruce);
  color: var(--on-spruce);
}

.svc-list .ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai);
  flex: none;
}

.svc-list button[aria-selected=true] .ai-dot {
  background: var(--mint);
}

.svc-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.svc-panel h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem);
  font-weight: 800;
}

.svc-panel .summary {
  margin-top: 0.8rem;
  color: var(--muted);
  max-width: 56ch;
}

.svc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.svc-cols h4 {
  font: 600 0.95rem var(--body);
  margin: 0 0 0.6rem;
}

.svc-cols ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
}

.svc-cols li {
  margin: 0.3rem 0;
}

.ai-box {
  background: var(--ai-soft);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.ai-box h4 {
  color: var(--ai);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-box p {
  font-size: 0.97rem;
}

.svc-legend {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-legend .ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai);
}

@media (max-width: 820px) {
  .explorer {
    grid-template-columns: 1fr;
  }
  .svc-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem;
  }
  .svc-list li {
    flex: none;
  }
  .svc-list button {
    white-space: nowrap;
  }
  .svc-cols {
    grid-template-columns: 1fr;
  }
}
/* AI section */
.ai-section {
  background: var(--spruce);
  color: var(--on-spruce);
  border-top: 0;
}

.ai-section .lede {
  color: color-mix(in srgb, var(--on-spruce) 78%, transparent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: color-mix(in srgb, var(--on-spruce) 18%, transparent);
  border-radius: 18px;
  overflow: hidden;
}

.split > div {
  background: var(--spruce-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.split h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.split ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.split li {
  padding: 0.7rem 0;
  border-top: 1px solid color-mix(in srgb, var(--on-spruce) 14%, transparent);
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.5rem;
}

.split li:first-child {
  border-top: 0;
}

.split li svg {
  margin-top: 0.3rem;
}

.ai-callout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 70ch;
  color: color-mix(in srgb, var(--on-spruce) 85%, transparent);
}

@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}
/* Hero dashboard */
.hero-dash .kpis {
  grid-template-columns: 1fr 1fr;
}

.trend {
  margin-top: 1.25rem;
}

.sw-rev {
  background: var(--spruce-2);
}

.trend-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  height: 150px;
  margin-top: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.tcol {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  position: relative;
}

.tbars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: calc(100% - 1.4rem);
  width: 100%;
  justify-content: center;
}

.tbars i {
  display: block;
  width: 40%;
  max-width: 18px;
  border-radius: 3px 3px 0 0;
}

.tbars i.rev {
  background: var(--spruce-2);
}

.tbars i.exp {
  background: var(--line);
}

.tcol span {
  font-size: 0.78rem;
  color: var(--muted);
  position: absolute;
  bottom: -1.3rem;
}

.close-status {
  margin-top: 2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}

.close-status svg {
  flex: none;
  margin-top: 0.1rem;
}

.close-status b {
  color: var(--ink);
  font-weight: 600;
}

/* Reporting & CFO */
.cfo-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .cfo-top {
    grid-template-columns: 1fr;
  }
}
.dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1rem;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.dash-head strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

.dash-head small {
  color: var(--muted);
  font-size: 0.84rem;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}

.kpis > div {
  background: var(--surface);
  padding: 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.kpis span {
  font-size: 0.8rem;
  color: var(--muted);
}

.kpis b {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.kpis em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.kpis em.up {
  color: var(--match);
}

.kpis em.down {
  color: var(--flag);
}

@media (max-width: 620px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
}
.bva {
  margin-top: 1.25rem;
}

.bva-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.bva-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 0.6rem;
}

.bva-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bva-legend i {
  width: 12px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.sw-b {
  background: var(--line);
}

.sw-a {
  background: var(--spruce-2);
}

.bva-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 3.6rem;
  gap: 0.6rem;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.86rem;
}

.bva-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bva-bars i {
  height: 7px;
  border-radius: 2px;
  display: block;
}

.bva-bars i.b {
  background: var(--line);
}

.bva-bars i.a {
  background: var(--spruce-2);
}

.bva-bars i.a.over {
  background: var(--flag);
}

.bva-row .pct {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.bva-row .pct.over {
  color: var(--flag);
  font-weight: 600;
}

.dash-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.dash-note svg {
  flex: none;
  margin-top: 0.25rem;
}

.close-cal h3, .cfo-services h3 {
  font-size: 1.45rem;
  font-weight: 600;
}

.close-steps {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.close-steps li {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.9rem;
  padding: 0.25rem 0 1.15rem 1rem;
  position: relative;
}

.close-steps li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ai);
}

.close-steps .days {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ai);
  padding-top: 0.1rem;
  white-space: nowrap;
}

.close-steps b {
  display: block;
}

.close-steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cfo-services {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.cfo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
  margin: 1.25rem 0 2rem;
}

.cfo-list > div {
  border-top: 2px solid var(--ink);
  padding: 1rem 0 1.5rem;
}

.cfo-list dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.cfo-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  .cfo-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cfo-list {
    grid-template-columns: 1fr;
  }
  .close-steps li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
/* Industries */
.ind-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ind-tabs button {
  font: 500 0.96rem var(--body);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.ind-tabs button:hover {
  border-color: var(--ink);
}

.ind-tabs button[aria-selected=true] {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--on-spruce);
}

.ind-panel {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.ind-panel h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800;
}

.ind-panel .who {
  margin-top: 0.6rem;
  color: var(--muted);
}

.ind-panel h4 {
  font: 600 0.95rem var(--body);
  margin: 0 0 0.6rem;
}

.ind-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.ind-panel li {
  margin: 0.3rem 0;
}

.metric-list {
  list-style: none;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.metric-list li {
  margin: 0;
  background: var(--ai-soft);
  color: var(--ai);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.ind-foot {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.ind-foot a {
  color: var(--ai);
  font-weight: 600;
}

@media (max-width: 900px) {
  .ind-panel {
    grid-template-columns: 1fr;
  }
}
/* Comparison */
.cmp-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.96rem;
}

.cmp th, .cmp td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cmp tbody tr:last-child th, .cmp tbody tr:last-child td {
  border-bottom: 0;
}

.cmp thead th {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.cmp tbody th {
  font-weight: 600;
}

.cmp td {
  color: var(--muted);
}

.cmp .us {
  background: color-mix(in srgb, var(--mint) 20%, transparent);
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
}

.cmp thead .us {
  color: #7E5C10;
  font-family: var(--display);
  font-size: 1.05rem;
  background: color-mix(in srgb, var(--mint) 45%, transparent);
  border-top: 3px solid var(--mint);
}

.cmp tbody tr:last-child .us {
  border-bottom: 2px solid var(--mint);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .cmp thead .us {
    color: #F0D79A;
  }
}
:root[data-theme=dark] .cmp thead .us {
  color: #F0D79A;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
  color: var(--ai);
}

.steps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
/* FAQ */
.faq {
  max-width: 780px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ai);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 1.3rem;
  color: var(--muted);
  max-width: 64ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-aside .lede {
  margin-top: 1rem;
}

.expect {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.expect li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0;
  color: var(--ink);
}

form.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1/-1;
}

@media (max-width: 560px) {
  .fields {
    grid-template-columns: 1fr;
  }
}
label, .legend {
  font-weight: 600;
  font-size: 0.94rem;
}

.opt {
  font-weight: 400;
  color: var(--muted);
}

input[type=text], input[type=email], input[type=tel], select, textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ai);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai) 25%, transparent);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  grid-column: 1/-1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}

.chip input:checked + span {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--on-spruce);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.err {
  color: var(--flag);
  font-size: 0.86rem;
  min-height: 0;
}

[aria-invalid=true] {
  border-color: var(--flag) !important;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-foot small {
  color: var(--muted);
  max-width: 40ch;
}

.hp {
  position: absolute;
  left: -9999px;
}

.status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  display: none;
}

.status.show {
  display: block;
}

.status.ok {
  background: color-mix(in srgb, var(--match) 14%, transparent);
  color: var(--ink);
}

.status.bad {
  background: var(--flag-soft);
  color: var(--ink);
}

/* Hero eyebrow + title */
.hero h1.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: 600 0.9rem/1.3 var(--body);
  letter-spacing: 0.02em;
  color: var(--ai);
  background: var(--ai-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  max-width: none;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 15ch;
  color: var(--ink);
}

.ai-word {
  color: var(--ai);
  white-space: nowrap;
}

.foot-about {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 44ch;
}

.foot-brand {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.founder-text {
  align-self: center;
}

.founder-photo {
  margin: 0;
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 580px;
  justify-self: center;
}

.photo-frame {
  position: relative;
}

.photo-frame img {
  display: block;
  width: 84%;
  height: auto;
  margin-inline: auto;
}

.initials {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--mint);
  letter-spacing: -0.03em;
}

.quote-card {
  position: relative;
  margin-top: -13%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.25rem 1.1rem;
  box-shadow: 0 18px 40px -26px rgba(16, 48, 44, 0.35);
}

.quote-card::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--mint), var(--ai));
}

.quote-card .qmark {
  color: var(--ai);
  display: block;
  margin-bottom: 0.45rem;
  width: 22px;
  height: 18px;
}

.quote-card .q {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.4;
}

.quote-card .sig {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4rem;
  align-items: baseline;
  line-height: 1.35;
  font-size: 0.84rem;
}

.quote-card .sig b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
}

.quote-card .sig span {
  color: var(--muted);
}

.kicker {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ai);
  margin-bottom: 0.6rem;
}

.founder-text .lede {
  margin-top: 1.1rem;
}

.founder-body {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.founder blockquote {
  margin: 1.6rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--ai);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 600;
  max-width: 40ch;
}

.focus {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.focus li {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
}

@media (max-width: 820px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-text {
    padding-bottom: 0;
  }
  .founder-photo {
    order: 2;
    max-width: min(420px, 92%);
  }
}
/* Typography: Libre Franklin weights */
h1, h2, h3, .hero h1, .hero-title, .brand-name, .kpis b, .svc-panel h3, .ind-panel h3, .steps li::before, .cfo-list dt, .quote-card .q {
  font-weight: 700 !important;
}

.hero h1.eyebrow {
  font-weight: 600 !important;
}

.brand-name span, .svc-list button, .focus li {
  font-weight: 400 !important;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.foot nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}
