:root {
  --gs-navy: #09223c;
  --gs-navy-dark: #061b31;
  --gs-teal: #078b85;
  --gs-teal-dark: #056d68;
  --gs-teal-light: #dff1ef;
  --gs-gold: #d4a62a;
  --gs-gold-light: #fbf4df;
  --gs-text: #53677d;
  --gs-muted: #6f7f8f;
  --gs-line: #d4dfe3;
  --gs-page: #edf5f6;
  --gs-white: #ffffff;
  --gs-planned: #f3f5f6;
  --shadow-sm: 0 10px 30px rgba(6, 27, 49, .07);
  --shadow-md: 0 24px 64px rgba(6, 27, 49, .12);
  --radius-sm: .65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --page-width: min(75rem, calc(100% - 2rem));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--gs-page);
  color: var(--gs-text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

a {
  color: var(--gs-teal-dark);
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}

a:hover { color: var(--gs-navy); }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: .2rem solid var(--gs-gold);
  outline-offset: .2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gs-navy-dark);
  color: var(--gs-white);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-width { width: var(--page-width); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(212, 223, 227, .9);
  background: rgba(255, 255, 255, .97);
}

.header-row {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--gs-navy);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img { width: 2.5rem; height: 2.5rem; }

.nav-toggle {
  min-width: 5.2rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--gs-line);
  border-radius: var(--radius-sm);
  background: var(--gs-white);
  color: var(--gs-navy);
  font-weight: 750;
}

.no-js .nav-toggle { display: none; }
.no-js .header-row { flex-wrap: wrap; }
.no-js .site-nav { flex-basis: 100%; }

.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  width: 1.1rem;
  height: .12rem;
  display: block;
  border-radius: 1rem;
  background: currentColor;
}

.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { position: absolute; left: 0; content: ""; }
.nav-toggle-icon::before { top: -.35rem; }
.nav-toggle-icon::after { top: .35rem; }

.site-nav {
  position: static;
  display: block;
  width: 100%;
  max-height: calc(100vh - 4.5rem);
  overflow: auto;
  border-bottom: 1px solid var(--gs-line);
  background: var(--gs-white);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.js .site-nav { position: absolute; inset: 4.5rem 0 auto; display: none; }
.js .site-nav[data-open="true"] { display: block; }

.nav-list {
  width: min(75rem, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  list-style: none;
}

.nav-list > li > a,
.products-menu summary {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: .55rem;
  color: var(--gs-navy);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list > li > a:hover,
.products-menu summary:hover { background: var(--gs-page); }

.nav-list > li > a[aria-current="page"] { background: var(--gs-teal-light); color: var(--gs-teal-dark); }

.nav-list .nav-contact {
  margin-top: .4rem;
  justify-content: center;
  background: var(--gs-teal);
  color: var(--gs-white);
}

.nav-list .nav-contact:hover { background: var(--gs-teal-dark); color: var(--gs-white); }

.products-menu { position: relative; }
.products-menu summary { cursor: pointer; list-style: none; }
.products-menu summary::-webkit-details-marker { display: none; }
.products-menu summary::after { margin-left: auto; content: "+"; font-size: 1.2rem; }
.products-menu[open] summary::after { content: "−"; }

.products-panel {
  display: grid;
  gap: .35rem;
  padding: .35rem .8rem .8rem;
}

.products-panel a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gs-line);
  color: var(--gs-text);
  font-weight: 650;
  text-decoration: none;
}

.products-panel a:last-child { border-bottom: 0; }
.products-panel a:hover { color: var(--gs-teal-dark); }

main { min-height: 60vh; }

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background: var(--gs-navy-dark);
  color: var(--gs-white);
}

.hero::before, .page-hero::before {
  position: absolute;
  width: 24rem;
  height: 24rem;
  top: -13rem;
  right: -8rem;
  border-radius: 50%;
  background: rgba(7, 139, 133, .32);
  content: "";
}

.hero-grid, .page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gs-teal-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow, .page-hero .eyebrow { color: #8fdbd6; }

h1, h2, h3 {
  margin: 0;
  color: var(--gs-navy);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero h1, .page-hero h1 { color: var(--gs-white); }

h1 { max-width: 17ch; font-size: clamp(2.25rem, 6vw, 4.75rem); font-weight: 830; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.65rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 780; }

.lead {
  max-width: 66ch;
  margin: 1.25rem 0 0;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.62;
}

.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .78); }

.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: var(--gs-teal);
  color: var(--gs-white);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: var(--gs-teal-dark); color: var(--gs-white); }
.button-secondary { border-color: var(--gs-line); background: var(--gs-white); color: var(--gs-navy); }
.button-secondary:hover { border-color: var(--gs-navy); background: var(--gs-white); color: var(--gs-navy); }
.hero .button-secondary, .page-hero .button-secondary { border-color: rgba(255,255,255,.4); background: transparent; color: var(--gs-white); }
.hero .button-secondary:hover, .page-hero .button-secondary:hover { background: var(--gs-white); color: var(--gs-navy); }

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

.portfolio-map a {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  color: var(--gs-white);
  font-weight: 780;
  text-decoration: none;
}

.portfolio-map a::before { width: 2rem; height: .2rem; margin-bottom: auto; border-radius: 1rem; background: var(--gs-gold); content: ""; }
.portfolio-map a:hover { border-color: #8fdbd6; background: rgba(7,139,133,.22); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section + .section { padding-top: 0; }
.section-white { background: var(--gs-white); }
.section-dark { background: var(--gs-navy); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: var(--gs-white); }
.section-dark .eyebrow { color: #8fdbd6; }

.section-heading { max-width: 48rem; margin-bottom: 2rem; }
.section-heading p { max-width: 66ch; margin: .8rem 0 0; }

.grid { display: grid; gap: 1rem; }
.ecosystem-grid, .featured-grid, .product-grid, .pathway-grid, .free-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--gs-line);
  border-radius: var(--radius-md);
  background: var(--gs-white);
  box-shadow: var(--shadow-sm);
}

.card::before {
  width: 2.6rem;
  height: .22rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: var(--gs-teal);
  content: "";
}

.card[data-status="Planned"] { background: var(--gs-planned); box-shadow: none; }
.card[data-status="Planned"]::before { background: var(--gs-muted); }
.card h2, .card h3 { margin-bottom: .65rem; }
.card p { margin: 0 0 1rem; }
.card .card-link { margin-top: auto; font-weight: 760; }
.card-meta { margin-bottom: .8rem; color: var(--gs-muted); font-size: .86rem; font-weight: 700; }

.status {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  padding: .34rem .62rem;
  border: 1px solid var(--gs-line);
  border-radius: 999px;
  background: var(--gs-white);
  color: var(--gs-navy);
  font-size: .77rem;
  font-weight: 780;
  line-height: 1.2;
}

.status::before { width: .46rem; height: .46rem; border-radius: 50%; background: currentColor; content: ""; }
.status-available { border-color: transparent; background: var(--gs-teal-light); color: var(--gs-teal-dark); }
.status-pilot { border-color: #ead69d; background: var(--gs-gold-light); color: var(--gs-navy); }
.status-pilot::before { background: var(--gs-gold); }
.status-prototype { border-color: var(--gs-navy); background: #f5f8fb; color: var(--gs-navy); }
.status-in-development { border-color: transparent; background: var(--gs-teal-light); color: var(--gs-teal-dark); }
.status-in-development::before { border: 2px dotted currentColor; background: transparent; }
.status-planned { background: #eef1f3; color: #435564; }

.breadcrumbs { padding: 1.1rem 0; background: var(--gs-white); border-bottom: 1px solid var(--gs-line); }
.breadcrumbs ol { width: var(--page-width); margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .7rem; list-style: none; font-size: .86rem; }
.breadcrumbs li:not(:last-child)::after { margin-left: .7rem; color: var(--gs-muted); content: "/"; }
.breadcrumbs [aria-current="page"] { color: var(--gs-navy); font-weight: 700; }

.product-hero-grid { display: grid; gap: 1.75rem; align-items: end; }
.product-hero-meta { padding: 1.25rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); background: rgba(255,255,255,.06); }
.product-hero-meta dt { color: #8fdbd6; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-hero-meta dd { margin: .2rem 0 1rem; color: var(--gs-white); }
.product-hero-meta dd:last-child { margin-bottom: 0; }

.capability-grid { display: grid; gap: 1rem; }
.capability-panel { padding: 1.5rem; border-radius: var(--radius-md); background: var(--gs-white); box-shadow: var(--shadow-sm); }
.capability-panel-current { border-left: .3rem solid var(--gs-teal); }
.capability-panel-future { border-left: .3rem solid var(--gs-gold); background: #faf8f1; }
.capability-panel ul, .check-list { margin: 1rem 0 0; padding: 0; display: grid; gap: .65rem; list-style: none; }
.capability-panel li, .check-list li { position: relative; padding-left: 1.35rem; }
.capability-panel li::before, .check-list li::before { position: absolute; left: 0; top: .62em; width: .46rem; height: .46rem; border-radius: 50%; background: var(--gs-teal); content: ""; }
.capability-panel-future li::before { background: var(--gs-gold); }
.empty-capability { margin: 1rem 0 0; color: var(--gs-muted); font-style: italic; }

.audience-list { margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.audience-list li { padding: .4rem .68rem; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-white); color: var(--gs-navy); font-size: .84rem; font-weight: 680; }

.relationship-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.relationship-list a { padding: .58rem .8rem; border: 1px solid var(--gs-line); border-radius: .6rem; background: var(--gs-white); font-weight: 700; text-decoration: none; }

.notice {
  padding: 1rem 1.15rem;
  border-left: .3rem solid var(--gs-gold);
  border-radius: .3rem var(--radius-sm) var(--radius-sm) .3rem;
  background: var(--gs-gold-light);
  color: var(--gs-navy);
}

.split { display: grid; gap: 2rem; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; font-size: 1.65rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose ul { margin: .8rem 0 0; }
.prose code { padding: .1rem .3rem; border-radius: .25rem; background: var(--gs-page); color: var(--gs-navy); }

.free-product-list { margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; list-style: none; }
.free-product-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding-top: .6rem; border-top: 1px solid var(--gs-line); }
.free-product-list .status { margin: 0; flex: 0 0 auto; }

.contact-layout { display: grid; gap: 1.5rem; }
.enquiry-form { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--gs-line); border-radius: var(--radius-lg); background: var(--gs-white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { color: var(--gs-navy); font-weight: 730; }
.field .hint { margin: 0; color: var(--gs-muted); font-size: .86rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #aab9c1;
  border-radius: .55rem;
  background: var(--gs-white);
  color: var(--gs-navy);
  padding: .68rem .75rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gs-teal); outline: .18rem solid rgba(7,139,133,.2); }
.field [aria-invalid="true"] { border-color: #9f2727; box-shadow: 0 0 0 .18rem rgba(159, 39, 39, .14); }
.field-full { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--gs-teal-light); color: var(--gs-navy); }
.form-feedback[data-type="error"] { border-left: .3rem solid #a22; background: #fff0f0; }
.form-feedback[data-type="notice"] { border-left: .3rem solid var(--gs-gold); background: var(--gs-gold-light); }
.form-feedback ul { margin: .55rem 0 0; padding-left: 1.3rem; }

.site-footer { padding-block: 3rem; background: var(--gs-navy-dark); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { color: var(--gs-white); font-size: 1.1rem; font-weight: 800; }
.footer-copy { max-width: 38rem; margin: .65rem 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.footer-links a { min-height: 2.5rem; display: flex; align-items: center; color: rgba(255,255,255,.84); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .84rem; }

.error-page { min-height: 68vh; display: grid; place-items: center; padding-block: 4rem; }
.error-card { max-width: 44rem; padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--radius-lg); background: var(--gs-white); box-shadow: var(--shadow-md); }

@media (min-width: 40rem) {
  :root { --page-width: min(75rem, calc(100% - 4rem)); }
  .grid { gap: 1.25rem; }
  .capability-grid, .split, .contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav { position: static; display: block; width: auto; max-height: none; overflow: visible; border: 0; padding: 0; box-shadow: none; }
  .nav-list { width: auto; display: flex; align-items: center; gap: .15rem; }
  .nav-list .nav-contact { margin: 0 0 0 .35rem; padding-inline: 1rem; }
  .products-menu summary::after { margin-left: .45rem; font-size: 1rem; }
  .products-panel { position: absolute; top: calc(100% + .45rem); left: 0; min-width: 31rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .75rem 1rem; border: 1px solid var(--gs-line); border-radius: var(--radius-md); background: var(--gs-white); box-shadow: var(--shadow-md); }
  .products-panel a { padding-inline: .45rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr); }
  .product-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .cta-row { display: none; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { background: #fff; color: #000; }
  .hero h1, .page-hero h1, .hero .lead, .page-hero .lead { color: #000; }
  .card, .capability-panel { box-shadow: none; break-inside: avoid; }
}
