:root {
  --navy: #002b5c;
  --navy-deep: #03162d;
  --navy-black: #020d1a;
  --teal: #00b1a9;
  --teal-dark: #008f89;
  --yellow: #f5c800;
  --ink: #142238;
  --muted: #607089;
  --line: #dce5ee;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --shadow: 0 20px 50px rgba(0, 43, 92, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0,43,92,.10);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 155px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 25px; color: var(--navy); font-size: 14px; font-weight: 650; }
.primary-nav a { text-decoration: none; letter-spacing: 0; }
.primary-nav a:not(.button):hover { color: var(--teal-dark); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--teal);
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 16px; }
.button-ghost { background: transparent; color: white; border-color: rgba(255,255,255,.55); }
.button-ghost:hover { background: rgba(255,255,255,.1); }

.hero { min-height: 740px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--navy-black); color: white; }
.hero-media { position: absolute; inset: 0; background: url('../assets/hero.jpg') center / cover no-repeat; opacity: .82; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,13,26,.98) 0%, rgba(3,22,45,.93) 43%, rgba(3,22,45,.42) 72%, rgba(3,22,45,.16) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 70px; align-items: center; padding-block: 96px; }
.hero-copy { max-width: 710px; }
.eyebrow { margin: 0 0 16px; color: #59ddd6; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--teal-dark); }
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: -.03em; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(42px, 5vw, 70px); }
h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 48px); }
h3 { margin-bottom: 12px; font-size: 21px; }
.hero-lead { max-width: 680px; margin: 0 0 32px; color: #d7e2ed; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 34px 0 0; list-style: none; color: #bed0e0; font-size: 13px; font-weight: 600; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,200,0,.12); }

.stage-card { padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(3,22,45,.78); box-shadow: 0 24px 70px rgba(0,0,0,.30); backdrop-filter: blur(14px); }
.stage-card h2 { font-size: 27px; }
.card-kicker { margin: 0 0 10px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; margin: 12px 0; }
.check-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: #55ddd5; font-weight: 800; }
.check-list.compact { margin-top: 14px; }
.check-list.compact li { margin: 9px 0; }

.signal-strip { background: var(--navy); color: white; border-top: 1px solid rgba(255,255,255,.08); }
.signal-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.signal-grid div { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.signal-grid div:last-child { border-right: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { color: #fff; }
.signal-grid span { color: #a9c1d8; font-size: 13px; }

.section { padding: 100px 0; }
.section-tint { background: var(--surface-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy-black), var(--navy)); color: white; }
.section-heading { max-width: 800px; margin-bottom: 44px; }
.section-heading.centred { margin-inline: auto; text-align: center; }
.section-heading p:last-child, .section-heading.light p:last-child { color: var(--muted); font-size: 18px; }
.section-heading.light p:last-child { color: #bad0e3; }
.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: start; margin-bottom: 48px; }
.body-copy { color: var(--muted); font-size: 17px; }
.body-copy p:first-child { margin-top: 0; }

@supports (content-visibility: auto) {
  main > .section,
  main > .brief-section,
  main > .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }

  .legal-content {
    content-visibility: auto;
    contain-intrinsic-size: auto 1100px;
  }
}

.card-grid { display: grid; gap: 22px; }
.three-up { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,43,92,.05); }
.feature-card p { color: var(--muted); }
.number { display: inline-block; margin-bottom: 24px; color: var(--teal-dark); font-weight: 800; }

.product-showcase { display: grid; gap: 22px; }
.product-showcase figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.product-showcase img { width: 100%; }
.product-primary figcaption, .product-grid figcaption { display: flex; gap: 12px; justify-content: space-between; padding: 18px 20px; }
.product-showcase figcaption span { color: var(--muted); font-size: 13px; text-align: right; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid figure img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

.workflow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.workflow-grid article { padding: 25px 22px; border-top: 4px solid var(--teal); background: var(--surface-alt); border-radius: 0 0 14px 14px; }
.workflow-grid article span { display: block; color: var(--teal-dark); font-size: 13px; font-weight: 800; margin-bottom: 22px; }
.workflow-grid article p { color: var(--muted); font-size: 14px; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { padding: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.partner-card.accented { border-top: 4px solid var(--yellow); }
.validation-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #afc5d8; font-size: 13px; }

.pilot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.pilot-proposition > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.pilot-facts { display: grid; gap: 12px; margin-top: 28px; }
.pilot-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.pilot-facts span { color: var(--muted); }
.exchange-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.exchange-panel > div { padding: 30px; }
.exchange-panel > div:first-child { background: var(--navy); color: white; }
.exchange-panel > div:last-child { background: white; }

.brief-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy-black), var(--navy));
  color: #fff;
}
.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}
.brief-copy { max-width: 760px; }
.brief-copy h2 {
  margin-bottom: 18px;
  color: #fff;
}
.brief-copy > p:not(.eyebrow) {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.7;
}
.brief-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 310px;
}
.button-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.button-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.governance-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.governance-points p { margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.governance-points p:last-child { border-bottom: 0; }
.governance-points strong { color: var(--ink); }

.contact-section { padding: 100px 0; background: var(--navy-black); color: white; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-grid > div > p:not(.eyebrow) { color: #bcd0e2; font-size: 17px; }
.contact-person { display: grid; margin-top: 28px; color: #bcd0e2; }
.contact-person strong { color: white; }
.preview-form { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.preview-form label { display: grid; gap: 7px; margin-bottom: 18px; color: #dce7f0; font-size: 13px; font-weight: 600; }
.preview-form input, .preview-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.96); color: var(--ink); padding: 12px 13px; outline: none; }
.preview-form input:focus, .preview-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,177,169,.18); }
.consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: start; }
.consent input { width: auto; margin-top: 4px; }
.form-note { margin: 14px 0 0; color: #9fb6ca; font-size: 12px; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 50px; align-items: start; }
.footer-grid img { width: 135px; }
.footer-grid p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-meta { text-align: right; }

.legal-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0,177,169,.22), transparent 28rem),
    linear-gradient(135deg, var(--navy-black), var(--navy));
  color: #fff;
  padding: clamp(4rem, 8vw, 6.25rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.legal-hero h1 {
  max-width: 820px;
  margin: .9rem 0 1rem;
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: .98;
}
.legal-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}
.legal-updated {
  margin-top: 1rem !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .9rem !important;
}
.legal-content {
  background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.legal-summary,
.info-card {
  border: 1px solid rgba(0,43,92,.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.legal-summary {
  position: sticky;
  top: 104px;
  padding: 1.2rem;
}
.legal-summary h2,
.legal-stack h3,
.legal-stack h4 { color: var(--navy); }
.legal-summary p,
.legal-summary li,
.legal-stack p,
.legal-stack li {
  color: var(--muted);
}
.legal-summary a {
  color: var(--teal-dark);
  font-weight: 700;
}
.plain-list { margin: 0; padding-left: 1.1rem; }
.legal-stack {
  display: grid;
  gap: 1rem;
}
.info-card { padding: 1.25rem; }
.legal-stack h4 {
  margin: .9rem 0 .35rem;
  font-size: .98rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 9px 13px; font-weight: 700; }
  .primary-nav { position: absolute; display: none; left: 20px; right: 20px; top: 72px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .hero-grid, .pilot-grid, .contact-grid, .governance-row, .split-heading { grid-template-columns: 1fr; gap: 45px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 80px; }
  .stage-card { max-width: 640px; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: repeat(3, 1fr); }
  .signal-grid div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-meta { text-align: left; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
}

@media (max-width: 900px) {
  .brief-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brief-actions {
    min-width: 0;
    width: 100%;
  }
  .brief-actions .button { width: 100%; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section, .contact-section { padding: 72px 0; }
  .hero-overlay { background: linear-gradient(180deg, rgba(2,13,26,.97), rgba(3,22,45,.89)); }
  .hero-grid { padding-block: 66px; }
  h1 { font-size: 42px; }
  .three-up, .partner-grid, .workflow-grid, .form-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .product-primary figcaption, .product-grid figcaption { display: block; }
  .product-showcase figcaption span { display: block; margin-top: 5px; text-align: left; }
  .pilot-facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
}

/* Production integrations carried forward from the live site */
.field-full { grid-column: 1 / -1; }
.preview-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
.preview-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,177,169,.18); }
.security-check {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.security-check strong,
.security-check span { display: block; }
.security-check span,
.security-check p { color: #bcd0e2; font-size: 12px; margin: 0; }
#formStatus { min-height: 1.4em; }
.preview-form .button:disabled { cursor: wait; opacity: .7; transform: none; }
.footer-compliance { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; margin-top: 10px; }
.footer-compliance a,
.footer-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}
.footer-compliance a:hover,
.footer-link-button:hover { color: var(--teal-dark); }
.cookie-consent[hidden],
.cookie-modal[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  z-index: 2000;
  width: min(900px, calc(100% - 28px));
  transform: translateX(-50%);
}
.cookie-consent-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(3,22,45,.96);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  color: #fff;
}
.cookie-title { margin: 0 0 4px; font-weight: 800; }
.cookie-text { margin: 0; color: #c5d7e8; font-size: 13px; }
.cookie-actions,
.cookie-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn,
.cookie-modal-actions .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--teal);
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.cookie-actions .btn-secondary,
.cookie-modal-actions .btn-secondary { color: var(--navy); background: #fff; border-color: #fff; }
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,13,26,.64);
  backdrop-filter: blur(8px);
}
.cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  padding: 22px;
  border: 1px solid rgba(130,204,220,.32);
  border-radius: 8px;
  background: #061b31;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  color: #fff;
}
.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(130,204,220,.22);
}
.cookie-modal-head .eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e7fbfa;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
}
.cookie-modal-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(130,204,220,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}
.icon-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(130,204,220,.16);
}
.cookie-option h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 16px;
}
.cookie-option p {
  margin: 0;
  color: rgba(230,244,250,.72);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-required {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(32,201,151,.32);
  border-radius: 999px;
  color: #5fe6c2;
  font-size: 12px;
  font-weight: 800;
}
.cookie-toggle { cursor: pointer; }
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle > span {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  border: 1px solid rgba(130,204,220,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  transition: background .2s ease, border-color .2s ease;
}
.cookie-toggle > span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
.cookie-toggle input:checked + span {
  border-color: rgba(22,199,211,.68);
  background: rgba(22,199,211,.78);
}
.cookie-toggle input:checked + span::after { transform: translateX(22px); }
.cookie-modal-actions {
  justify-content: flex-end;
  padding-top: 16px;
}
@media (max-width: 720px) {
  .footer-compliance { justify-content: flex-start; }
  .cookie-consent-panel { align-items: stretch; flex-direction: column; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .cookie-actions .btn { width: 100%; padding-inline: 8px; }
}
