@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Colours: every page reads these tokens. The site is always light. */
:root {
  color-scheme: only light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --band: #eaf1fa;
  --ink: #0c1a36;
  --ink-soft: #2e3f5c;
  --muted: #5b6a82;
  --line: #e2e8f1;
  --line-strong: #cfd9e6;
  --blue: #175eea;
  --blue-strong: #0f47b8;
  --blue-tint: #e7efff;
  --lagoon: #13a8a0;
  --lagoon-ink: #0b7c76;
  --lagoon-tint: #dff3f1;
  --danger: #b42318;
  --button: #175eea;
  --button-hover: #0f47b8;
  --on-button: #ffffff;
  --device: #0e1626;
  --shadow: 0 30px 80px -20px rgba(12, 26, 54, 0.28);
  --shadow-soft: 0 1px 2px rgba(12, 26, 54, 0.05), 0 12px 32px -12px rgba(12, 26, 54, 0.12);
  --focus: rgba(23, 94, 234, 0.45);

  /* Names kept for the applications and island stylesheets. */
  --paper: var(--bg);
  --white: var(--surface);
  --soft: var(--blue-tint);
  --blue-dark: var(--blue-strong);
  --night: var(--ink);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-large: 32px;
  --section-space: 128px;
  --grid-gap: 72px;
  --header-height: 76px;
}

/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(23, 94, 234, 0.15);
}
button,
input,
select,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--font);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
[hidden],
.form-trap {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  clip-path: inset(100%);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 8px;
}
.skip-link:focus-visible {
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A phrase coloured inside a headline reads as template decoration. */
.accent-text {
  color: inherit;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

/* Header: a floating bar that stays in view, one row on every screen. */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 12px 0 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(207, 217, 230, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 8px 30px -14px rgba(12, 26, 54, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--blue-tint);
  color: var(--blue-strong);
}
.text-link:hover,
.back-top:hover,
.footer-nav a:hover {
  color: var(--blue);
}
.languages {
  display: flex;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.languages a[aria-current="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(12, 26, 54, 0.12);
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  padding: 14px 26px;
  background: var(--button);
  color: var(--on-button);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(23, 94, 234, 0.7);
  transition: background 0.2s, box-shadow 0.2s;
}
.button:hover {
  background: var(--button-hover);
}
.button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.button-small {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 2px solid var(--lagoon);
  font-size: 15px;
  font-weight: 700;
}

/* Hero: the headline across the page, then the real screens on a stage. */
.hero {
  padding: 88px 0 var(--section-space);
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-place {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.hero-title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.hero-lede {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px var(--grid-gap);
  margin-top: 40px;
}
.hero-intro {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.hero-assurances li {
  position: relative;
  padding-left: 26px;
}
.hero-assurances li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lagoon-tint);
}
/* The tick is placed on the circle's centre (9px, 11px), then lifted
   1.25px so its visual weight, not its box, sits in the middle. */
.hero-assurances li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  box-sizing: border-box;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--lagoon-ink);
  border-bottom: 2px solid var(--lagoon-ink);
  transform: translate(-50%, calc(-50% - 1.25px)) rotate(45deg);
}

/* The memorable element: real screens over the outline of Saint-Martin. */
.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 64px 0 0;
  padding: 72px 14% 0 8%;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--band);
}
.hero-island {
  position: absolute;
  left: 18%;
  top: -18%;
  width: 92%;
  height: auto;
  z-index: -1;
}
.hero-island path {
  fill: color-mix(in srgb, var(--lagoon) 18%, transparent);
}
.device-laptop {
  position: relative;
  margin-bottom: -4%;
  padding: 1.6% 1.6% 4%;
  border-radius: 20px 20px 0 0;
  background: var(--device);
  box-shadow: var(--shadow);
}
.device-laptop img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.device-phone {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 19%;
  filter: drop-shadow(0 26px 40px rgba(8, 16, 30, 0.38));
}
.device-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15% / 7%;
}
.hero-visual figcaption {
  position: absolute;
  left: 8%;
  top: 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
/* One entrance on load: the screens rise onto the stage. */
@media (prefers-reduced-motion: no-preference) {
  .device-laptop {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .device-phone {
    animation: rise 0.9s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* Sections */
.section {
  padding: 0 0 var(--section-space);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: end;
  gap: var(--grid-gap);
  margin-bottom: 56px;
}
.section-heading h2,
.work-preview h2,
.use-cases-heading h2,
.region-copy h2,
.approach h2,
.faq-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.section-heading > p,
.work-preview-copy p,
.region-copy > p,
.faq-heading > p,
.contact-copy > p,
.approach-copy > p {
  max-width: 36em;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Services: an index of rows, each one a kind of project. */
.service-grid {
  border-top: 1px solid var(--line-strong);
}
.service-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-strong);
}
.service-card .icon {
  width: 56px;
  height: 56px;
  padding: 15px;
  border-radius: 16px;
  background: var(--blue-tint);
  color: var(--blue);
}
.service-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.service-card a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.service-card a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Applications preview: one featured app, four alongside. */
.work-preview {
  padding-bottom: var(--section-space);
}
.work-preview-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: var(--grid-gap);
  margin-bottom: 48px;
}
.work-preview-copy p {
  margin-bottom: 24px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-grid li:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.work-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.work-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: var(--band);
}
.work-grid li:first-child img {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.work-card-category {
  margin: 16px 10px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.work-card strong {
  margin-inline: 10px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.work-grid li:first-child strong {
  font-size: 24px;
}
.work-card-text {
  margin: 6px 10px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Everyday impact: the heading stays in view beside four outcomes. */
.use-cases {
  padding: var(--section-space) 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.use-cases > .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: var(--grid-gap);
}
.use-cases-heading h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}
.use-cases-heading {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 40px;
}
.use-case-grid article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.use-case-grid .icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 14px;
  background: var(--lagoon-tint);
  color: var(--lagoon-ink);
}
.use-case-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.use-case-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Islands: the map on a lagoon-coloured panel. */
.region-section {
  padding: var(--section-space) 0;
}
.region-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--grid-gap);
  padding: 72px;
  border-radius: var(--radius-large);
  background: var(--lagoon-tint);
}
.region-copy > p {
  margin-top: 24px;
  color: var(--ink-soft);
}
.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.region-links .text-link {
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}
.island-map {
  margin: 0;
}
.island-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.map-land {
  fill: var(--lagoon-tint);
  stroke: var(--lagoon);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.region-map .map-land {
  fill: var(--surface);
  stroke: var(--lagoon-ink);
}
.map-border {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}
.map-town {
  fill: var(--blue);
  stroke: var(--surface);
  stroke-width: 3;
}
.map-label {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
}
.island-map figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.region-map figcaption {
  color: var(--ink-soft);
  text-align: right;
}
.island-map figcaption a {
  display: inline-block;
  padding-block: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Method: a three-step timeline. */
.approach {
  padding: 0 0 var(--section-space);
}
.approach-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: end;
  gap: var(--grid-gap);
  margin-bottom: 64px;
}
.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.process-list li {
  position: relative;
  padding: 32px 28px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.step-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-button);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--blue-tint);
}
.process-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Questions */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: var(--grid-gap);
  padding: 0 0 var(--section-space);
}
.faq-heading > p {
  margin-top: 24px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  position: relative;
  list-style: none;
  padding: 22px 72px 22px 26px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat,
    var(--blue-tint);
}
.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--on-button), var(--on-button)) center / 12px 2px no-repeat,
    var(--blue);
}
.faq-list details p {
  max-width: 40em;
  margin: -6px 72px 24px 26px;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact: the page ends on the brand blue. */
.contact-section {
  padding: 0 0 var(--section-space);
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 72px;
  border-radius: var(--radius-large);
  background: var(--blue);
  color: var(--on-button);
}
.contact-panel :focus-visible {
  outline-color: rgba(255, 255, 255, 0.85);
}
.contact-copy > p {
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.84);
}
.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.contact-direct > span:first-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.email-link {
  display: inline-block;
  padding-block: 10px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.email-link:hover {
  text-decoration-color: currentColor;
}
.project-composer {
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(6, 22, 70, 0.55);
}
.project-composer :focus-visible {
  outline-color: var(--focus);
}
.project-composer h3 {
  margin: 0 0 22px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-row-full {
  grid-column: 1 / -1;
}
.project-composer label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.optional-label {
  color: var(--muted);
  font-weight: 500;
}
.project-composer input,
.project-composer select,
.project-composer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.project-composer input,
.project-composer select {
  height: 52px;
}
.project-composer input:focus,
.project-composer select:focus,
.project-composer textarea:focus {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--focus);
}
.project-composer [aria-invalid="true"] {
  border-color: var(--danger);
}
.project-composer > .button {
  width: 100%;
  margin-top: 22px;
}
.field-hint,
.composer-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.composer-note a {
  display: inline-block;
  padding-block: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-status {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}
.contact-status[data-state="error"] {
  color: var(--danger);
}
.contact-status[data-state="sending"] {
  color: var(--muted);
}

/* Footer: a small site map. */
.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--grid-gap);
}
.footer-brand .brand {
  margin-right: 0;
}
.footer-brand p {
  max-width: 22em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}
.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: inline-block;
  padding-block: 8px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.back-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
}

/* Simple pages */
.not-found {
  max-width: 760px;
  min-height: 65vh;
  padding-block: 96px;
}
.not-found h1,
.legal-page h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.042em;
}
.not-found > p:not(.eyebrow),
.legal-page p,
.legal-page dd {
  color: var(--muted);
  line-height: 1.7;
}
.legal-page {
  max-width: 760px;
  padding-block: 72px 96px;
}
.legal-page h2 {
  margin-top: 48px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.legal-page h3 {
  margin-top: 28px;
  font-size: 17px;
}
.legal-page dt {
  margin-top: 16px;
  font-weight: 700;
}
.legal-page dd {
  margin: 4px 0 0;
}
.legal-page p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lagoon);
  text-underline-offset: 3px;
}
.legal-updated {
  font-size: 14px;
}

/* Tablet */
@media (max-width: 1100px) {
  .service-card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    row-gap: 12px;
  }
  .service-card p {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .region-inner,
  .contact-panel {
    padding: 56px;
  }
}
@media (max-width: 960px) {
  :root {
    --section-space: 96px;
    --grid-gap: 40px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .js .menu-toggle {
    display: inline-flex;
    order: 3;
  }
  .languages {
    order: 2;
  }
  /* The links and the button open below the bar. */
  .header-inner nav,
  .header-cta {
    order: 4;
    width: 100%;
  }
  .js .header-inner nav,
  .js .header-cta {
    display: none;
  }
  .js .header-inner:has(nav[data-menu-open]) nav,
  .js .header-inner:has(nav[data-menu-open]) .header-cta {
    display: flex;
  }
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .nav-links a {
    padding: 14px 4px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-links a:hover {
    background: none;
  }
  .header-cta {
    margin: 4px 0 4px;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-lede {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    margin-top: 48px;
    padding: 64px 10% 0 6%;
  }
  .hero-visual figcaption {
    left: 6%;
    top: 20px;
  }
  .section-heading,
  .work-preview-copy,
  .use-cases > .container,
  .region-inner,
  .approach-copy,
  .faq-section,
  .contact-panel,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .use-cases-heading {
    position: static;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-grid li:first-child {
    grid-row: auto;
  }
  .work-grid li:first-child img {
    aspect-ratio: 16 / 9;
  }
  .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .process-list::before {
    top: 60px;
    bottom: 60px;
    left: 51px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px);
  }
  .process-list li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 28px;
  }
  .step-number {
    margin: 0;
  }
}

/* Phone */
@media (max-width: 620px) {
  :root {
    --section-space: 72px;
    --grid-gap: 24px;
    --header-height: 60px;
  }
  .container {
    width: min(1200px, 100% - 32px);
  }
  .site-header {
    top: 8px;
    padding-top: 8px;
  }
  .header-inner {
    min-height: 56px;
    padding: 6px 6px 6px 10px;
    border-radius: 16px;
  }
  .brand {
    gap: 8px;
    font-size: 15px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-place {
    font-size: 15px;
  }
  .hero-title {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1;
  }
  .hero-lede {
    margin-top: 24px;
  }
  .hero-intro {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .text-link {
    align-self: flex-start;
  }
  .hero-visual {
    margin-top: 40px;
    padding: 72px 16px 0;
    border-radius: 24px;
  }
  .hero-visual figcaption {
    left: 16px;
    right: 16px;
    top: 14px;
    font-size: 12px;
  }
  .device-laptop {
    border-radius: 12px 12px 0 0;
  }
  .device-laptop img {
    border-radius: 4px;
  }
  .device-phone {
    right: 4%;
    bottom: 6%;
    width: 22%;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .section-heading > p,
  .work-preview-copy p,
  .region-copy > p,
  .faq-heading > p,
  .contact-copy > p,
  .approach-copy > p {
    font-size: 16px;
  }
  .service-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 28px 0;
  }
  .service-card .icon {
    width: 48px;
    height: 48px;
    padding: 12px;
  }
  .service-card h3 {
    font-size: 21px;
  }
  .service-card p,
  .service-card a {
    grid-column: 1 / -1;
  }
  .service-card p {
    grid-row: auto;
  }
  .service-card a {
    justify-self: start;
  }
  .work-grid {
    gap: 10px;
  }
  .work-grid li:first-child strong {
    font-size: 19px;
  }
  .work-card {
    padding: 6px 6px 16px;
    border-radius: 18px;
  }
  .work-card img {
    border-radius: 12px;
  }
  .work-card-category,
  .work-card strong {
    margin-inline: 6px;
  }
  .work-card-text {
    display: none;
  }
  .use-case-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .use-case-grid article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }
  .region-inner {
    padding: 32px 20px 20px;
    border-radius: 24px;
  }
  .approach-copy {
    margin-bottom: 32px;
  }
  .process-list::before {
    left: 43px;
  }
  .process-list li {
    gap: 16px;
    padding: 20px;
  }
  .faq-list summary {
    padding: 18px 60px 18px 18px;
    font-size: 16px;
  }
  .faq-list summary::after {
    right: 14px;
  }
  .faq-list details p {
    margin: -4px 18px 20px;
  }
  .contact-panel {
    padding: 32px 16px 16px;
    border-radius: 24px;
  }
  .contact-copy {
    padding-inline: 4px;
  }
  .project-composer {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .form-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .form-row-full {
    grid-column: auto;
  }
  .site-footer {
    padding-top: 48px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .footer-nav > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Small phones: the menu button keeps its label for screen readers only,
   so the bar stays on one row. */
@media (max-width: 420px) {
  .header-inner {
    gap: 8px;
  }
  .menu-toggle {
    justify-content: center;
    min-width: 44px;
    padding: 8px;
  }
  .menu-toggle span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
