@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/OpenSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/OpenSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Poppins-SemiBold.ttf") format("truetype");
}

:root {
  --brand-navy: #002d62;
  --brand-steel: #2f6fa7;
  --brand-white: #ffffff;
  --brand-grey: #f5f5f5;
  --brand-amber: #e8a400;

  --font-heading: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-ui: "Poppins", "Montserrat", "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --container: 1160px;
  --focus-ring: 0 0 0 3px rgba(232, 164, 0, 0.34);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--brand-navy);
  line-height: 1.55;
  overflow-x: hidden;
  background: var(--brand-grey);
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.12;
}

p,
ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 45, 98, 0.32);
  background: var(--brand-white);
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

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

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: rgba(0, 45, 98, 0.82);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.26);
  background: var(--brand-white);
  color: var(--brand-navy);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav-links[hidden] {
  display: none !important;
}

.site-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.2rem;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.9);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.btn-outline {
  border-color: rgba(0, 45, 98, 0.26);
  background: var(--brand-white);
  color: var(--brand-navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(0, 45, 98, 0.5);
}

.btn-primary {
  border-color: var(--brand-amber);
  background: var(--brand-amber);
  color: #2f2200;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffc13a;
  border-color: #ffc13a;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--brand-white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.1);
}

.site-main {
  padding-bottom: 0;
}

:where(#home, #main-content, #about, #services, #use-cases, #current-work, #resources, #contact) {
  scroll-margin-top: 6rem;
}

.hero {
  position: relative;
  background: var(--brand-navy);
  color: var(--brand-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 20H120'/%3E%3Cpath d='M0 60H120'/%3E%3Cpath d='M0 100H120'/%3E%3Cpath d='M20 0V120'/%3E%3Cpath d='M60 0V120'/%3E%3Cpath d='M100 0V120'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 3.4vw, 2.1rem);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 164, 0, 0.5);
  color: #ffd98d;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 0.9rem;
  max-width: 12ch;
  font-size: clamp(2.05rem, 5vw, 3.75rem);
}

.lead {
  margin-top: 1rem;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.trust-strip {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
}

.trust-strip-title {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd98d;
}

.trust-strip ul {
  margin-top: 0.58rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.trust-strip li {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.62rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
}

.hero-stats {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
}

.hero-stat-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.5rem;
}

.hero-stat-icon svg {
  width: 17px;
  height: 17px;
}

.hero-stats li > span:not(.hero-stat-icon) {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: 1.14rem;
}

.hero-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 45, 98, 0.16);
  background: var(--brand-white);
  color: var(--brand-navy);
  padding: 1rem;
}

.hero-panel h2 {
  font-size: 1.2rem;
}

.panel-divider {
  height: 1px;
  margin: 1rem 0;
  background: rgba(0, 45, 98, 0.12);
}

.panel-intro {
  margin-top: 0.56rem;
  color: rgba(0, 45, 98, 0.86);
}

.proof-preview {
  margin-top: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(245, 245, 245, 0.9);
  padding: 0.85rem;
  position: relative;
  overflow: hidden;
}

.proof-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23002D62' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M0 14H84'/%3E%3Cpath d='M0 42H84'/%3E%3Cpath d='M0 70H84'/%3E%3Cpath d='M14 0V84'/%3E%3Cpath d='M42 0V84'/%3E%3Cpath d='M70 0V84'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.proof-preview > * {
  position: relative;
}

.proof-preview-compact {
  padding: 0.78rem;
}

.preview-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.82);
}

.mini-table {
  width: 100%;
  margin-top: 0.55rem;
  border-collapse: collapse;
  font-size: 0.86rem;
  color: rgba(0, 45, 98, 0.88);
}

.mini-table th,
.mini-table td {
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(0, 45, 98, 0.1);
}

.mini-table th {
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(0, 45, 98, 0.82);
}

.mini-table thead th {
  border-bottom: 1px solid rgba(0, 45, 98, 0.14);
}

.preview-lines {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.38rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.84rem;
  color: rgba(0, 45, 98, 0.88);
}

.snapshot-list {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.7rem;
}

.snapshot-list div {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.78rem;
}

.snapshot-list dt {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snapshot-list dd {
  margin-top: 0.2rem;
  color: rgba(0, 45, 98, 0.86);
  font-size: 0.9rem;
}

.about,
.resources {
  background: var(--brand-white);
}

.services,
.contact {
  background: var(--brand-grey);
}

.current-work {
  background: var(--brand-white);
}

.use-cases {
  background: var(--brand-navy);
  color: var(--brand-white);
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-actions {
  margin-top: 1rem;
}

.section-label {
  margin-bottom: 0.46rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.72);
}

.section-title {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

.use-cases .section-label {
  color: rgba(255, 255, 255, 0.74);
}

.use-cases .section-title {
  color: var(--brand-white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.about-grid > p {
  color: rgba(0, 45, 98, 0.9);
}

.section-image-band {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.design-board {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 45, 98, 0.16);
  background: var(--brand-white);
  padding: 0.85rem;
}

.design-board-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.8);
}

.design-lanes {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.design-lane {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.62rem;
}

.design-lane-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.84);
}

.design-tags {
  margin-top: 0.45rem;
  list-style: none;
  display: grid;
  gap: 0.32rem;
}

.design-tags li {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
  padding: 0.3rem 0.56rem;
  color: rgba(0, 45, 98, 0.88);
  font-size: 0.8rem;
}

.design-lane-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 45, 98, 0.46);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.service-board-grid {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.service-board-col {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.62rem;
  display: grid;
  gap: 0.32rem;
}

.service-board-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.84);
}

.service-board-col span {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
  padding: 0.3rem 0.56rem;
  color: rgba(0, 45, 98, 0.88);
  font-size: 0.8rem;
}

.trust-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.trust-list li {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.16);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.9rem;
}

.flow-strip {
  margin-top: 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.06);
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.flow-strip::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(0, 45, 98, 0.12);
  pointer-events: none;
}

.flow-step {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.12);
  background: var(--brand-white);
  padding: 0.72rem;
}

.flow-step::before {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  left: -8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(0, 45, 98, 0.28);
  background: var(--brand-white);
}

.flow-step:first-child::before {
  border-color: rgba(232, 164, 0, 0.78);
}

.flow-step-label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.78);
}

.flow-step-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 45, 98, 0.18);
  background: rgba(47, 111, 167, 0.08);
  color: var(--brand-steel);
}

.flow-step-icon svg {
  width: 17px;
  height: 17px;
}

.flow-step-text {
  margin-top: 0.28rem;
  color: rgba(0, 45, 98, 0.9);
}

.trust-list h3 {
  font-size: 1.08rem;
}

.trust-list p {
  margin-top: 0.34rem;
  color: rgba(0, 45, 98, 0.88);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.service-map {
  margin-bottom: 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}

.section-image-band-services .design-board {
  background: rgba(47, 111, 167, 0.04);
}

.service-map-step {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.62rem;
  display: grid;
  gap: 0.22rem;
}

.service-map-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.82);
}

.service-map-text {
  color: rgba(0, 45, 98, 0.9);
  font-size: 0.9rem;
}

.service-map-arrow {
  color: rgba(0, 45, 98, 0.46);
  font-family: var(--font-heading);
  font-size: 1.22rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: start;
}

.problem-strip {
  margin-bottom: 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}

.problem-step {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.62rem;
}

.problem-step-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

.problem-step-icon svg {
  width: 17px;
  height: 17px;
}

.problem-step-title {
  margin-top: 0.48rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.problem-step-text {
  margin-top: 0.26rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.problem-step-arrow {
  color: rgba(232, 164, 0, 0.9);
  font-family: var(--font-heading);
  font-size: 1.22rem;
}

.proof-panel {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.proof-panel-large {
  grid-column: 1 / -1;
}

.cafm-map {
  margin-top: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.06);
  padding: 0.78rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

.cafm-column {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
  padding: 0.6rem;
  display: grid;
  gap: 0.35rem;
}

.cafm-column-title {
  font-family: var(--font-ui);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.82);
}

.cafm-node {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.36rem 0.58rem;
  color: rgba(0, 45, 98, 0.9);
  font-size: 0.82rem;
}

.cafm-flow-arrow {
  color: rgba(0, 45, 98, 0.46);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.cafm-steps,
.cafm-controls {
  margin-top: 0.64rem;
  display: grid;
  gap: 0.42rem;
  padding-left: 1.1rem;
}

.cafm-steps li,
.cafm-controls li {
  color: rgba(0, 45, 98, 0.88);
}

.proof-kicker {
  margin-top: 0.25rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 45, 98, 0.7);
}

.proof-actions {
  margin-top: 0.9rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.proof-links {
  margin-top: auto;
  padding-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.proof-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-steel);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.proof-details {
  margin-top: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.06);
  padding: 0.65rem 0.75rem;
}

.proof-details summary {
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(0, 45, 98, 0.86);
}

.proof-details p {
  margin-top: 0.5rem;
  color: rgba(0, 45, 98, 0.86);
  font-size: 0.92rem;
}

.proof-note {
  margin-top: 1rem;
  max-width: 70ch;
  color: rgba(0, 45, 98, 0.82);
  font-size: 0.92rem;
}

.service-card,
.resource-card,
.case-card {
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 45, 98, 0.16);
  background: rgba(47, 111, 167, 0.08);
  color: var(--brand-steel);
  flex: 0 0 auto;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0;
}

.service-card,
.resource-card {
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-white);
}

.service-card h3,
.resource-card h3,
.case-card h3 {
  font-size: 1.16rem;
}

.service-card p,
.resource-card p,
.case-card p {
  margin-top: 0.45rem;
  color: rgba(0, 45, 98, 0.88);
}

.service-summary {
  margin-top: 0.55rem;
  color: rgba(0, 45, 98, 0.88);
}

.service-chips {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.service-chips li {
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  color: rgba(0, 45, 98, 0.86);
  font-size: 0.78rem;
}

.card-cta {
  margin-top: auto;
  padding-top: 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-steel);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.case-card {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.case-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.case-icon svg {
  width: 20px;
  height: 20px;
}

.case-card p {
  color: rgba(255, 255, 255, 0.9);
}

.case-metric {
  margin-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 217, 141, 0.92);
}

.case-summary {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.case-points {
  margin-top: 0.5rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.case-points li {
  color: rgba(255, 255, 255, 0.9);
}

.resource-preview {
  margin-top: 0.62rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.14);
  background: rgba(47, 111, 167, 0.08);
  padding: 0.52rem;
  display: grid;
  gap: 0.28rem;
}

.resource-preview span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 45, 98, 0.2);
}

.resource-preview span:nth-child(1) {
  width: 90%;
}

.resource-preview span:nth-child(2) {
  width: 78%;
}

.resource-preview span:nth-child(3) {
  width: 62%;
}

.contact-shell {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 45, 98, 0.16);
  background: var(--brand-white);
  padding: clamp(1.1rem, 3.2vw, 1.9rem);
}

.contact-intro {
  margin-top: 0.6rem;
  max-width: 56ch;
  color: rgba(0, 45, 98, 0.87);
}

.contact-email {
  margin-top: 0.55rem;
  color: rgba(0, 45, 98, 0.9);
  font-size: 0.95rem;
}

.contact-email a {
  color: var(--brand-steel);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  font-family: var(--font-ui);
  font-weight: 600;
}

.form-status {
  display: none;
  margin-bottom: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 45, 98, 0.18);
  padding: 0.72rem;
  color: rgba(0, 45, 98, 0.9);
  background: rgba(47, 111, 167, 0.08);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: rgba(232, 164, 0, 0.72);
  background: rgba(232, 164, 0, 0.16);
  color: #3f2e00;
}

.form-status-success {
  display: none;
}

.form-status-success.is-visible {
  display: block;
}

.form-required-note {
  margin-bottom: 0.75rem;
  color: rgba(0, 45, 98, 0.82);
  font-size: 0.82rem;
}

.required-marker {
  color: var(--brand-amber);
  font-family: var(--font-ui);
  font-weight: 600;
}

.form-error-summary {
  display: none;
  margin-bottom: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 164, 0, 0.72);
  padding: 0.72rem;
  background: rgba(232, 164, 0, 0.16);
  color: #3f2e00;
}

.form-error-summary.is-visible {
  display: block;
}

.form-error-summary h3 {
  font-size: 0.95rem;
}

.form-error-summary ul {
  margin-top: 0.48rem;
  list-style: none;
  display: grid;
  gap: 0.28rem;
}

.form-error-summary a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.88rem;
}

.form-field {
  display: grid;
  gap: 0.38rem;
}

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

.form-field label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(0, 45, 98, 0.92);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 45, 98, 0.24);
  background: var(--brand-white);
  padding: 0.68rem 0.74rem;
  font: inherit;
  color: var(--brand-navy);
}

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

.field-hint {
  margin: 0;
  color: rgba(0, 45, 98, 0.72);
  font-size: 0.82rem;
}

.form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.62rem;
}

.form-check input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
}

.form-check label {
  font-family: var(--font-body);
  font-size: 0.93rem;
}

.form-meta {
  margin-top: 0.4rem;
  color: rgba(0, 45, 98, 0.78);
  font-size: 0.82rem;
}

.form-meta a {
  color: var(--brand-steel);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.field-error {
  display: none;
  margin: 0;
  color: #6a4a00;
  font-size: 0.82rem;
}

.field-error.is-visible {
  display: block;
}

:where(input, textarea, select)[aria-invalid="true"] {
  border-color: rgba(232, 164, 0, 0.85);
  box-shadow: 0 0 0 1px rgba(232, 164, 0, 0.3);
}

.contact-actions {
  margin-top: 1rem;
  display: grid;
  gap: 0.62rem;
}

.contact-submit {
  justify-self: start;
}

.contact-alternatives {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.contact-link-alt {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-steel);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.contact-form.is-submitting :where(button, input, textarea, select) {
  cursor: wait;
}

.chat-trigger {
  min-width: 128px;
}

.contact .btn-ghost {
  border-color: rgba(0, 45, 98, 0.26);
  color: var(--brand-navy);
}

.contact .btn-ghost:hover,
.contact .btn-ghost:focus-visible {
  border-color: rgba(0, 45, 98, 0.52);
  background: rgba(47, 111, 167, 0.1);
}

.site-footer {
  padding: 1.3rem 0 1.8rem;
  border-top: 1px solid rgba(0, 45, 98, 0.14);
  background: var(--brand-grey);
}

.footer-shell {
  display: grid;
  gap: 0.34rem;
  color: rgba(0, 45, 98, 0.84);
  font-size: 0.88rem;
}

.footer-details {
  display: grid;
  gap: 0.18rem;
}

.footer-note {
  color: rgba(0, 45, 98, 0.8);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--brand-steel);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.resource-sheet {
  display: grid;
  gap: 1rem;
}

.resource-sheet h2 {
  font-size: 1.2rem;
}

.resource-sheet p {
  color: rgba(0, 45, 98, 0.9);
}

.doc-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  display: grid;
  gap: 0.46rem;
  color: rgba(0, 45, 98, 0.9);
}

.doc-list li {
  padding-left: 0.15rem;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(0, 45, 98, 0.18);
}

.doc-table th,
.doc-table td {
  text-align: left;
  padding: 0.64rem;
  border-bottom: 1px solid rgba(0, 45, 98, 0.16);
}

.doc-table th {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 45, 98, 0.8);
  background: rgba(47, 111, 167, 0.08);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

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

@media (max-width: 1020px) {
  .hero-grid,
  .about-grid,
  .card-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

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

  .service-map-arrow {
    display: none;
  }

  .design-lanes,
  .service-board-grid,
  .cafm-map {
    grid-template-columns: 1fr;
  }

  .design-lane-arrow,
  .cafm-flow-arrow {
    display: none;
  }

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

  .problem-step-arrow {
    display: none;
  }

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

  .flow-strip::before {
    display: none;
  }

  .flow-step::before {
    display: none;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding-block: clamp(2.2rem, 8vw, 3.8rem);
  }

  .nav-shell {
    min-height: auto;
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 13rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 45, 98, 0.2);
    background: var(--brand-white);
    padding: 0.45rem;
    box-shadow: 0 10px 20px rgba(0, 45, 98, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav-links a {
    display: block;
    border-radius: 8px;
    padding: 0.56rem 0.68rem;
  }

  .site-nav-links a:hover,
  .site-nav-links a:focus-visible {
    background: rgba(47, 111, 167, 0.14);
  }

  .hero-stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  :where(#home, #main-content, #about, #services, #use-cases, #resources, #contact) {
    scroll-margin-top: 8.2rem;
  }
}

@media (max-width: 540px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.8rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-submit {
    width: 100%;
  }

  .contact-alternatives {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
