/* The FDE site's colour scheme. Every colour the site's shared styles use comes from here, by role; each site has its
   own file, so the sites can differ (docs/PLAN.md, Step 6). The *-rgb values are the same colour as channels, for
   transparent shades: rgb(var(--ink-rgb) / 0.85). Names describe the role, not the hue, so they stay true when the
   colours change. Written by tools/palettes/generate.mjs fde from tools/palettes/palettes.mjs. */
:root {
  /* Text, from strongest to faintest. */
  --ink: #141a29;
  --ink-rgb: 20 26 41;
  --ink-2: #47413b;
  --ink-3: #59544f;
  --muted: #75716c;
  --muted-2: #8d8884;
  --faint: #a29e99;
  /* Dark surfaces: the film cards, the header call to action on hover, the film cards' shade, the darkest tone. */
  --surface-dark: #0e2459;
  --ink-hover: #283757;
  --ink-deep: #04164b;
  --black: #142650;
  /* Pure black, where the design asks for it: the header's call to action, the footer's headings, mobile menu links. */
  --pure-black: #000000;
  /* Text and marks on dark surfaces, and on the brand colour (filled buttons, the logo's tile). */
  --on-dark: #ffffff;
  --on-brand: #ffffff;

  /* Lines and dividers. */
  --line: #eae7e5;
  --line-rgb: 234 231 229;
  --line-2: #d3d0ce;
  --line-soft: #f5f3f1;
  --line-soft-rgb: 245 243 241;

  /* Backgrounds: the page, raised surfaces (header, menus, buttons, fields), and soft panels. */
  --bg: #ffffff;
  --surface: #ffffff;
  --bg-soft: #faf9f7;
  --selected-bg: #f3f7fe80;

  /* The brand colour and its shades. */
  --brand: #1957d2;
  --brand-600: #0647c1;
  --brand-700: #00359d;
  --brand-50: #f3f7fe;
  --brand-100: #e1ecff;
  --brand-border: #9bbeff;
  --peach: #e9f1fe;
  --amber: #ef806f;
  /* The buttons' hover sweep runs from the brand colour through these two. */
  --sweep-mid: #ef806f;
  --sweep-end: #ffb5a9;

  /* Errors in the contact form. */
  --danger: #ef4444;
  --danger-ink: #b91c1c;

  /* Shadows of the header menus. */
  --shadow-rgb: 20 26 41;
  --shadow-2-rgb: 20 26 41;

  /* Success marks in the process animation (flow-demo.js). */
  --success: #10b981;
  --success-600: #059669;
  --success-700: #047857;
  --success-bg: #ecfdf5;
  --success-rgb: 22 163 74;

  /* Artwork. The art scale, faintest to strongest, colours the SVG illustrations, the light pixel art and the 3D
     cubes; the other groups are the pixel art on peach and dark backgrounds, the hero runner and the cubes' extra
     tones. Scripts read these as #rrggbb (shared/assets/js/theme-colors.js). */
  --art-1: #aac3f1;
  --art-2: #6b97e8;
  --art-3: #2e6ae0;
  --art-4: #1957d2;
  --art-5: #013397;
  --art-wash: #e1ecff;
  --art-mist: #e7e4e1;
  --art-highlight: #99b5e8;
  --pixel-light-line: #e7effe;
  --pixel-light-cell: #ffffff;
  --pixel-peach-line: #d7e5ff;
  --pixel-peach-cell: #e9f1fe;
  --pixel-peach-1: #95b5ee;
  --pixel-peach-2: #5788e5;
  --pixel-peach-3: #2c67dc;
  --pixel-peach-5: #002f8d;
  --pixel-dark-line: #1b387b;
  --pixel-dark-cell: #152c62;
  --pixel-dark-1: #001a58;
  --pixel-dark-2: #00359d;
  --pixel-dark-4: #487fe8;
  --pixel-dark-5: #aac3f1;
  --pixel-run-1: #013aa8;
  --pixel-run-2: #0244be;
  --pixel-run-3: #1251cc;
  --pixel-run-4: #4278e1;
  --pixel-run-5: #87a7df;
  --runner-tile: #5a88df;
  --runner-ink-dark: #003192;
  --runner-ink-light: #799fe4;
  --cube-gap: #000000;
  --cube-ink: #141a29;
  --cube-soot: #293347;
  --cube-ember: #03328f;
  --cube-rust: #013397;
  --cube-coral: #487fe8;
  --cube-amber: #ef806f;
  --cube-sun: #ffc9bf;
  --cube-stone: #847f7a;
  --cube-blush: #99b5e8;
  --cube-wine: #3b4762;
}
/* Every page's styles, in cascade order. A page adds at most one page stylesheet after this one
   (home.css, partnerships.css, contact.css or brand.css). *//* Fonts, design tokens, element defaults, helpers and the page container. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.caret {
  opacity: 0.55;
  transition: transform 0.2s;
}
body.menu-open .nav-toggle span {
  background: transparent;
}
body.menu-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
body.menu-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}
@keyframes sweep {
  from {
    transform: translateX(-40%);
  }
  to {
    transform: translateX(40%);
  }
}
@media (max-width: 1023px) {
  :root {
    --gutter: 24px;
  }
  body.menu-open .site-header {
    background: var(--surface) !important;
  }
  body.menu-open .site-header .nav-toggle span::before,
  body.menu-open .site-header .nav-toggle span::after {
    background: var(--ink) !important;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* Shared typography, verified 2026-11-02. Used by every page. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_astro/inter-latin.8kRkwJBP.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_astro/inter-greek.BQL42Lnq.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/_astro/geist-mono-latin.pyAoGB9p.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono Fallback';
  src: local('Arial');
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}
/* Draems enterprise mock-up — shared styles */
:root {
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: Inter, 'Inter Fallback', Arial, sans-serif;
  --mono: 'Geist Mono', 'Geist Mono Fallback', monospace;
  --hero-size: 36px;
  --section-size: 36px;
  --stat-size: 20px;
}
button,
input,
select,
textarea {
  font-family: var(--font);
}
pre,
code {
  font-family: var(--mono);
}
@media (min-width: 640px) {
  :root {
    --hero-size: 44px;
    --section-size: 48px;
    --stat-size: 24px;
  }
}
@media (min-width: 768px) {
  :root {
    --hero-size: 56px;
    --stat-size: 36px;
  }
}
@media (min-width: 1024px) {
  :root {
    --hero-size: 50px;
    --stat-size: 48px;
  }
}
@media (min-width: 1280px) {
  :root {
    --hero-size: 64px;
  }
}
/* Shared geometry, 2026-11-02.
   Brand assets, editorial copy and film presets remain independent. */
:root {
  --maxw: 1600px;
  --gutter: 24px;
  --header-h: 68px;
}
main {
  padding-top: 16px;
}
.caret {
  width: 14px;
  height: 14px;
}
/* Subpages share the same gutter and heading/body/action rhythm. */
body[data-page='experts'] main {
  padding-top: 0;
}
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}
@media (max-width: 1023px) {
  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body.menu-open {
    overflow: hidden;
  }
}
/* Home data focus: the three fields as colour panels. Each is a <details> in one name group, so one
   is open at a time without any script. Below 1024 px they stack as an accordion. From 1024 px they
   share one row: the open panel widens to show its description, data types and links, and the others
   keep their name, scope and icon, each one big button. */
@media (min-width: 1024px) {
  /* The opening panel lays its text out at its final width from the first frame, so the row keeps its
     height while the panel widens (12px gaps, the open panel 2.2 shares of 4.2). */
}
/* Full-width dropdown and frosted page backdrop. */
:root {
  --nav-fade: 200ms;
}
@media (min-width: 1024px) {
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --nav-fade: 0ms;
  }
}
/* Shared interaction details: the same timing, focus and active-state language. */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
details summary[aria-expanded='false'] > span {
  transform: none !important;
}
details summary[aria-expanded='true'] > span {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* One rhythm and one heading scale for every page. */
:root {
  --sec-gap: clamp(96px, 18vh, 176px); /* between sections */
  --head-gap: clamp(44px, 7vh, 64px); /* a section heading to its content */
  --close-gap: clamp(72px, 12vh, 112px); /* the closing callout to what comes before it */
  --page-end: 64px; /* the last section to the footer */
}
@media (min-width: 640px) and (max-width: 767px) {
  :root {
    --section-size: 36px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-size: 40px;
  }
}
@media (min-width: 1024px) {
  :root {
    --section-size: clamp(36px, (min(100vw, var(--maxw)) - 2 * var(--gutter)) * 0.0385, 48px);
  }
}
@media (max-width: 639px) {
  :root {
    --section-size: 30px;
    --sec-gap: clamp(88px, 12.5vh, 112px);
    --head-gap: 40px;
    --close-gap: 72px;
    --page-end: 24px;
  }
}
@media (max-width: 359px) {
  :root {
    --section-size: 28px;
  }
}
body {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-feature-settings: normal;
  color: var(--ink);
}
::selection {
  background: var(--brand-100);
}
h1 em,
h2 em {
  font-style: normal;
  color: inherit;
}
.dim {
  color: var(--muted-2);
}
.kicker {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.sec-title {
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 18ch;
  text-wrap: balance;
}
/* Home 01. The reference hero: the statement low on the left, two doors, the runner filling the right. */
body[data-page='home'] main {
  padding-top: 0;
}
@media (max-width: 639px) {
  .sec-title {
    line-height: 38px;
  }
}
/* Moving between pages: a short cross-fade with the header held still. Browsers without support simply change page. */
@view-transition {
  navigation: auto;
}
::view-transition-group(site-header) {
  animation: none;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
/* The page-not-found screen. */
body[data-page='not-found'] main {
  min-height: 62vh;
}
@media (min-width: 1024px) {
  :root {
    --gutter: clamp(56px, 56px + (100vw - 1024px) * 0.228, min(100vw, 1600px) * 0.05 + 50.4px);
  }
}
/* Light only: phone browsers that force a dark mode leave the palette alone. The colours are in each site's
   src/assets/css/theme.css. */
:root {
  color-scheme: only light;
}
html {
  -webkit-tap-highlight-color: transparent;
}
/* Site header: logo, menus with their drop-down panels, the call to action, and the mobile menu. */
/* ---------- Header ---------- */
.site-header {
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
}
.nav {
  display: flex;
  align-items: center;
}
.brand {
  gap: 10px;
  flex: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
}
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-item {
  position: relative;
}
.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}
.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 330px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    0 18px 40px -18px rgb(var(--shadow-rgb) / 0.25),
    0 2px 6px rgb(var(--shadow-rgb) / 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}
.nav-item.open .drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.drop a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
}
.drop a:hover {
  background: var(--bg-soft);
}
.drop strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-left: auto;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition:
    transform 0.2s,
    background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1023px) {
  .mobile-menu summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu details[open] summary .caret {
    transform: rotate(180deg);
  }
  .mobile-menu .m-links {
    display: grid;
  }
  .mobile-menu > a.m-top {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
}
.nav-trigger,
.nav-link {
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  letter-spacing: normal;
}
.drop strong,
.mobile-menu .m-links a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.mobile-menu summary,
.mobile-menu > a.m-top {
  font-weight: 400;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}
.nav {
  height: var(--header-h);
}
.nav-trigger,
.nav-link {
  height: 37px;
  padding: 8px 14px;
  gap: 6px;
}
.nav-cta {
  gap: 8px;
}
/* Header "Get in touch" stays black, as the user asked. */
.nav-cta a.nav-contact,
.m-cta a.nav-contact {
  background: var(--pure-black);
  border-color: var(--pure-black);
  color: var(--on-dark);
  font-weight: 500;
}
.nav-cta a.nav-contact:hover,
.m-cta a.nav-contact:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}
@media (max-width: 1023px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    background: var(--surface);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
  }
}
/* Header buttons sized by padding as in the reference (8px around a 20px line), which gives the
   same 38px box. */
.nav-cta .btn {
  height: auto;
  padding: 8px 16px;
}
.site-header {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color var(--nav-fade) ease-in-out,
    border-color var(--nav-fade) ease-in-out,
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav {
  gap: 8px;
}
.nav > .brand {
  margin-right: 10px;
}
.nav-menu {
  gap: 8px;
}
@media (min-width: 640px) {
  .nav > .brand .brand-mark {
    width: 34px;
    height: 34px;
  }
}
.nav-trigger,
.nav-link {
  color: var(--ink);
  transition: color var(--nav-fade) ease-in-out;
}
.nav-trigger:hover,
.nav-link:hover,
.nav-item.open .nav-trigger {
  background: none;
  color: var(--brand-600);
}
.nav-trigger .caret {
  color: var(--line-2);
  opacity: 1;
}
.nav-item.open .caret {
  color: currentColor;
  transform: none;
}
.nav-trigger::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: 16px;
}
.nav-backdrop {
  display: none;
}
.site-header.dropdown-open {
  border-bottom-color: var(--line-soft);
}
@media (min-width: 1024px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgb(var(--line-rgb) / 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--nav-fade) ease-in-out,
      visibility var(--nav-fade) ease-in-out;
  }
  .drop {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    width: 100%;
    min-width: 0;
    padding: 0;
    background: var(--surface);
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgb(var(--shadow-2-rgb) / 0.03);
    transform: none;
    transition:
      opacity var(--nav-fade) ease-in-out,
      visibility var(--nav-fade) ease-in-out;
  }
  .drop-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-top: 23px;
    padding-bottom: 40px;
  }
  .drop-links {
    margin-left: var(--menu-offset, 52px);
    flex-shrink: 0;
  }
  .drop .drop-links a {
    display: block;
    padding: 2px 14px;
    border-radius: 6px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--ink-3);
    transition: color var(--nav-fade) ease-in-out;
  }
  .drop a:hover {
    background: transparent;
  }
  .drop .drop-links a:hover {
    color: var(--brand-600);
  }
  .drop .nav-feature {
    display: flex;
    align-items: flex-start;
    flex: 0 0 320px;
    gap: 16px;
    margin-left: auto;
    padding: 0;
    border-radius: 6px;
  }
  .nav-feature-art {
    position: relative;
    display: none;
    flex: 0 0 144px;
    height: 144px;
  }
  .nav-feature-art::before {
    content: '';
    position: absolute;
    inset: 0 0 0 50px;
    background: var(--brand-50);
    border-radius: 8px;
  }
  .nav-feature-art svg {
    position: relative;
    width: 144px;
    height: 144px;
    object-fit: contain;
  }
  .nav-feature-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .nav-feature-label {
    color: var(--faint);
    font-size: 12px;
    line-height: 16px;
  }
  .nav-feature-title {
    margin-top: 4px;
    color: var(--ink);
    font-size: 15px;
    line-height: 22.5px;
    transition: color var(--nav-fade) ease-in-out;
  }
  .nav-feature-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 20px;
  }
  .nav-feature:hover .nav-feature-title {
    color: var(--brand-600);
  }
}
@media (min-width: 1110px) {
  .drop .nav-feature {
    flex-basis: 420px;
  }
  .nav-feature-art {
    display: block;
  }
}
@media (min-width: 1140px) {
  .drop .nav-feature {
    flex-basis: 440px;
  }
}
@media (min-width: 1440px) {
  .drop .nav-feature {
    flex-basis: 520px;
  }
}
@media (max-width: 1023px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 32px;
    transform: none;
    transition:
      opacity var(--nav-fade) ease-in-out,
      visibility var(--nav-fade) ease-in-out;
  }
  .mobile-links {
    flex: 1;
  }
  .mobile-menu details {
    border: 0;
  }
  /* "Data Partnerships" is a plain link (.m-top) among the drop-downs, so it takes the same row. */
  .mobile-menu summary,
  .mobile-menu .m-top {
    padding: 12px 8px;
    border-radius: 6px;
    color: var(--pure-black);
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }
  .mobile-menu .m-top {
    display: block;
  }
  .mobile-menu summary .caret {
    width: 16px;
    height: 16px;
    opacity: 1;
  }
  .mobile-menu summary:hover,
  .mobile-menu .m-top:hover,
  .mobile-menu .m-links a:hover {
    background: rgb(var(--line-soft-rgb) / 0.8);
  }
  .mobile-menu .m-links {
    margin-top: 4px;
    padding: 0 0 0 12px;
    gap: 4px;
  }
  .mobile-menu .m-links a {
    padding: 10px 8px;
    border-radius: 6px;
    color: var(--pure-black);
    font-size: 14px;
    line-height: 21px;
  }
  .mobile-menu .m-cta .btn-outline {
    padding-inline: 24px;
    border-color: var(--line);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  }
}
/* As in the reference, the current section's trigger keeps the gray-900 of the others. */
.nav-link.active,
.nav-item.active .nav-trigger {
  color: var(--ink);
}
/* Brand: the D on its orange tile. */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.brand .brand-mark,
.nav > .brand .brand-mark {
  display: block;
  width: 32px;
  height: 32px;
}
.nav-cta .btn-primary,
.m-cta .btn-primary {
  background: var(--pure-black);
  border-color: var(--pure-black);
}
.site-header.scrolled {
  border-bottom: 1px solid var(--line);
}
/* Navigation feature art: each tile carries its own peach ground. */
.nav-feature-art::before {
  display: none;
}
.nav-feature-art svg {
  border-radius: 8px;
}
:root .nav-cta .btn.btn,
:root .m-cta .btn.btn {
  --btn-square: 10px;
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
@media (hover: hover) {
  .nav-trigger:hover,
  .nav-link:hover,
  .nav-item.open .nav-trigger,
  .drop .drop-links a:hover,
  .nav-feature:hover .nav-feature-title {
    color: var(--brand-700);
  }
}
.site-header:not(.dropdown-open) {
  view-transition-name: site-header;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.scrolled:not(.dropdown-open) {
    background: rgb(255 255 255 / 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
  }
}
@media (hover: hover) and (min-width: 1024px) {
  .nav-menu > * {
    transition: opacity var(--nav-fade) ease-in-out;
  }
  .nav-menu:has(> .open, > :hover) > :not(.open, :hover) {
    opacity: 0.4;
  }
}
@media (max-width: 1023px) {
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    margin-left: 0;
  }
  .mobile-menu .m-cta {
    flex: none;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    display: none;
  }
}
.nav-trigger:active,
.nav-link:active,
.drop .drop-links a:active,
.nav-feature:active .nav-feature-title {
  color: var(--brand-700);
}
@media (max-width: 1023px) {
  .mobile-menu summary:active,
  .mobile-menu .m-top:active,
  .mobile-menu .m-links a:active {
    background: rgb(var(--line-soft-rgb) / 0.8);
  }
}
/* The language switch: short codes before the header button, the current language in ink, the others muted like
   the footer links. Below 1024 px the header has no room for it; it sits in the mobile menu, under the links. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
}
.lang-switch a {
  padding: 6px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.1s;
}
.lang-switch a:hover,
.lang-switch a[aria-current] {
  color: var(--ink);
}
.mobile-menu .lang-switch {
  display: none;
}
@media (max-width: 1023px) {
  .nav-cta .lang-switch {
    display: none;
  }
  .mobile-menu .lang-switch {
    display: flex;
    margin: 24px 0 0;
  }
  .mobile-menu .lang-switch a {
    padding: 10px 8px;
    font-size: 16px;
    line-height: 24px;
  }
}
/* Site footer. */
.foot-grid {
  display: grid;
}
.foot-col h5 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 14px;
}
.foot-col a {
  display: block;
  font-size: 13px;
}
.foot-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.foot-bottom a:hover {
  color: var(--ink);
}
.foot-meta {
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}
.foot-meta .loc {
  display: inline-flex;
  align-items: center;
}
.foot-meta .loc::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.foot-brand {
  gap: 8px;
}
@media (max-width: 1023px) {
  .foot-grid,
  .foot-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 48px;
  }
  .foot-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.foot-col h2,
.foot-col a {
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 400;
  letter-spacing: normal;
}
.foot-bottom,
.foot-meta {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.site-footer {
  padding: 0 0 48px;
  margin: 0 auto;
  border: 0;
  max-width: var(--maxw);
}
.site-footer > .container {
  width: calc(100% - 2 * var(--gutter));
  padding: clamp(40px, 4vw, 64px) 0 0;
  border-top: 0;
}
.foot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.foot-col {
  min-width: 0;
}
.foot-col h2 {
  color: var(--pure-black);
  font-weight: 500;
  margin: 2px 0 8px;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-col a {
  padding: 0;
  color: var(--ink-3);
  transition: color 0.1s;
  overflow-wrap: break-word;
}
.foot-col a:hover {
  color: var(--faint);
}
.foot-col a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
/* Reference rhythm: 84px from the tallest link column to the legal row, 69px to the location line. */
.foot-bottom {
  gap: 16px;
  margin-top: 84px;
}
.foot-meta {
  margin-top: 49px;
}
@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .foot-bottom {
    margin-top: 48px;
  }
}
/* Footer foot: a hairline above the row with the location line (hidden for now) and the logo. */
.foot-meta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}
.foot-meta .loc {
  grid-column: 1;
  gap: 2px;
}
.foot-meta .loc::before {
  display: none;
}
.foot-meta .loc svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.foot-meta .foot-brand {
  grid-column: 4;
  justify-self: start;
}
@media (min-width: 768px) {
  .foot-meta::before {
    content: '';
    position: absolute;
    inset: -25px 0 auto;
    border-top: 1px solid var(--line-soft);
  }
}
@media (max-width: 767px) {
  .foot-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .foot-meta .foot-brand {
    grid-column: 1;
  }
}
@media (min-width: 481px) {
  .foot-bottom {
    margin-top: 88px;
  }
}
.site-footer {
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .foot-meta {
    height: 20px;
    align-items: start;
  }
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.foot-brand .brand-mark {
  display: block;
  width: 28px;
  height: 28px;
}
@media (hover: hover) {
  .foot-col a:hover,
  .foot-bottom a:hover {
    color: var(--brand-700);
  }
}
@media (min-width: 768px) {
  .foot-grid {
    column-gap: 40px;
  }
  .foot-bottom,
  .foot-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
  }
  /* The logo sits at the bottom left, under the copyright (design review, 24 November 2026). */
  .foot-meta .foot-brand {
    grid-column: 1;
  }
  .foot-meta .loc {
    grid-column: 1 / span 2;
  }
}
.foot-col a:active,
.foot-bottom a:active {
  color: var(--brand-700);
}
/* Contrast: the footer's city line in the muted grey (the inactive home step titles take it where they are defined). */
.foot-meta .loc {
  color: var(--muted);
}
/* The legal pages share the second column of the legal row, where a single Contact link used to be, so the row
   keeps its columns; on narrow screens the links wrap. */
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
/* Buttons and text links. */
/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 6px;
}
.btn-outline {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--ink);
}
.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(2px);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.btn,
.btn-sm {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: normal;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex: none;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-family: var(--font);
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
  vertical-align: middle;
  white-space: nowrap;
  opacity: 0.8;
}
.btn {
  border-radius: 6px;
}
/* Buttons keep the draems.io geometry; the primary is orange, the header call to action black. */
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-700);
}
.btn svg.arrow {
  width: 16px;
  height: 16px;
}
.hp-copy .btn {
  height: 48px;
  padding: 0 20px 0 22px;
  gap: 10px;
  font-size: 15px;
}
.offer-card.dark .btn:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: var(--surface);
  color: var(--on-dark);
}
.offer-card.light .btn:hover {
  background: rgb(255 255 255 / 0.6);
  border-color: var(--ink);
  color: var(--ink);
}
/* Data Partnerships hero, in the micro1 arrangement: a referral pill, a centred two-line statement, one line of copy, one button. */
.btn.btn-tile {
  height: 56px;
  padding: 0 5px 0 24px;
  gap: 18px;
  font-size: 17px;
  font-weight: 500;
}
.btn-tile-end {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--brand);
}
.btn-tile-end svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 359px) {
  .btn.btn-tile {
    padding-left: 16px;
    gap: 10px;
    font-size: 15px;
  }
}
/* Every button on the site is the same white button with a brand-coloured hairline and small corners, on any
   background. On hover, four bands of the brand colour sweep in from the left at different speeds, each led by a
   square in the accent colour (--sweep-mid); the top band stops at the right edge, so its square stays in the top
   right corner, while the others run on past it. The text takes the colour for the brand surface; the bands retract
   faster than they arrive. The fill is defined on the buttons themselves (here, and for the contact form's buttons),
   so each sets the square size for its own height. */
:root .btn.btn,
:root .enquiry-next.enquiry-next,
:root .enquiry-back.enquiry-back {
  --btn-square: 11.8px;
  --btn-band: linear-gradient(
    90deg,
    var(--brand) 0 calc(100% - var(--btn-square)),
    var(--sweep-mid) calc(100% - var(--btn-square)) 100%
  );
  /* Bands 28 % high on a quarter's spacing: each overlaps the next by over a pixel, so their smoothed edges leave no
     hairlines. The square is as high as a band: 28 % of the button (42 px here). */
  --btn-fill:
    var(--btn-band) 0 0 no-repeat, var(--btn-band) 0 33.333% no-repeat, var(--btn-band) 0 66.667% no-repeat,
    var(--btn-band) 0 100% no-repeat;
  --btn-fill-empty: 0 28%, 0 28%, 0 28%, 0 28%;
  --btn-fill-full: 100% 28%, 136% 28%, 118% 28%, 127% 28%;
}
:root .btn.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  min-height: 0;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--surface);
  color: rgb(var(--ink-rgb) / 0.85);
  box-shadow: none;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
:root .btn.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  background-size: var(--btn-fill-empty);
  transition: background-size 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  :root .btn.btn:hover {
    border-color: var(--brand);
    background: var(--surface);
    color: var(--on-brand);
  }
  :root .btn.btn:hover::before {
    background-size: var(--btn-fill-full);
    transition: background-size 0.62s cubic-bezier(0.3, 0.7, 0.35, 1);
  }
}
:root .btn.btn:focus-visible {
  border-color: var(--brand);
  background: var(--surface);
  color: var(--on-brand);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
:root .btn.btn:focus-visible::before {
  background-size: var(--btn-fill-full);
}
:root .btn.btn .btn-tile-end,
:root .btn.btn svg.arrow,
:root .btn.btn i[data-icon] {
  display: none;
}
:root .btn.btn[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  :root .btn.btn,
  :root .btn.btn::before {
    transition: none;
  }
}
/* Pills start a conversation or a main path. Links that only move around the site are quieter. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 1px no-repeat;
  transition:
    background-size 0.3s ease,
    color 0.18s ease;
}
.text-link svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.text-link.is-down svg {
  transform: rotate(90deg);
}
.btn-row .text-link {
  margin-left: 12px;
}
@media (max-width: 639px) {
  .btn-row .text-link {
    margin-left: 0;
  }
}
@media (hover: hover) {
  .text-link:hover {
    background-size: 100% 1px;
    color: var(--brand-700);
  }
  .text-link:hover svg {
    transform: translateX(3px);
  }
  .text-link.is-down:hover svg {
    transform: rotate(90deg) translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .text-link,
  .text-link svg {
    transition: none;
  }
}
/* Small parts shared across pages. */
.soon-badge {
  border-radius: 999px;
}
body[data-page='not-found'] .btn-row {
  margin-top: 32px;
}
body[data-page='not-found'] .btn.btn {
  --btn-square: 13.4px;
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
/* Pressed: buttons dip a little; links, menu rows and accordion rows take their hover look. */
:root .btn.btn {
  transition:
    color 0.18s ease,
    transform 0.12s ease;
}
:root .btn.btn:active {
  transform: scale(0.98);
}
.text-link:active {
  background-size: 100% 1px;
  color: var(--brand-700);
}
.text-link:active svg {
  transform: translateX(3px);
}
.text-link.is-down:active svg {
  transform: rotate(90deg) translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  :root .btn.btn {
    transition: none;
  }
}
/* The primary button of an area (one per area) is filled from the start: it shows the end of its sweep, in the brand
   colour with the site's --on-brand text, and its bands darken on hover (design review, 24 November 2026). Without
   the sweep's square: standing in the corner of a filled button it looked like a glitch (Alex, 4 December 2026). The
   header's black call to action keeps its own look. */
:root .btn.btn.btn-primary:not(.nav-contact) {
  --btn-band: linear-gradient(90deg, var(--brand) 0 100%);
  color: var(--on-brand);
}
:root .btn.btn.btn-primary:not(.nav-contact)::before {
  background-size: var(--btn-fill-full);
}
@media (hover: hover) {
  :root .btn.btn.btn-primary:not(.nav-contact):hover {
    --btn-band: linear-gradient(90deg, var(--brand-600) 0 100%);
    border-color: var(--brand-600);
  }
}
/* Callouts, cards, pixel art and other blocks used on several pages. */
/* Pixel art hosts. */
.pixel-art {
  position: relative;
  width: 100%;
}
.pixel-art canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Home 05. The boxed callout. */
.callout {
  padding: var(--close-gap) 0 var(--page-end);
}
.callout-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 48px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.callout h2 {
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 16ch;
  text-wrap: balance;
}
.callout .btn-row {
  margin: 0;
  gap: 12px;
}
.callout .btn {
  height: 56px;
  padding: 0 24px 0 26px;
  gap: 12px;
  font-size: 17px;
}
.callout .btn svg.arrow {
  flex: none;
  width: 18px;
  height: 18px;
}
@media (max-width: 359px) {
  .callout .btn {
    height: 48px;
    padding: 0 16px 0 18px;
    gap: 10px;
    font-size: 15px;
  }
  .callout .btn svg.arrow {
    width: 16px;
    height: 16px;
  }
}
@media (min-width: 1024px) and (max-width: 1079px) {
  .callout-box.callout-box {
    padding-inline: 48px;
  }
}
@media (min-width: 1024px) {
  .callout-box {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 60px 72px;
  }
  .callout .btn-row {
    justify-content: flex-end;
  }
}
/* Data Partnerships shares AI Labs' parts; these are the only additions. */
.spectrum-growth .pixel-art {
  aspect-ratio: 45 / 30;
}
.growth-key {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.01em;
}
.growth-key span:first-child {
  color: var(--muted);
}
@media (min-width: 1024px) {
  .spectrum-growth .growth-key {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }
}
.spectrum {
  position: relative;
  width: 100%;
  max-width: 720px;
}
.spectrum .pixel-art {
  aspect-ratio: 47 / 30;
}
/* AI Labs: seven bars, one per data type, on a 41-column grid (7 x 6 - 1); 26 rows keep the height of a 47 x 30 grid.
   The gap between labels equals the one-cell gap between the bars, so each label centres under its bar. */
.spectrum-types .pixel-art {
  aspect-ratio: 41 / 26;
}
.spectrum-labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: calc(100% / 41);
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.spectrum-labels li {
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}
@media (min-width: 1024px) {
  .spectrum {
    max-width: none;
    align-self: end;
  }
  .spectrum-labels {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }
  .spectrum-labels li {
    font-size: clamp(10px, 0.9vw, 12px);
  }
}
@media (max-width: 639px) {
  .spectrum-labels li {
    justify-self: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-content: flex-start;
    font-size: 11px;
    line-height: 14px;
  }
}
:root .callout .btn.btn {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
@media (max-width: 639px) {
  .callout h2 {
    line-height: 38px;
  }
}
/* The opening section of every page: copy on the left, art on the right. */
.hp {
  padding: 112px 0 64px;
}
.hp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
/* Always two lines. The longer line is 8.34em wide, and 11.3cqi keeps it inside the column at every width. */
.hp-copy {
  container-type: inline-size;
}
.hp-copy h1 {
  font-size: var(--hero-size);
  font-size: min(var(--hero-size), 11.3cqi);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 300;
  color: var(--ink);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .hp {
    padding: 128px 0 80px;
  }
}
.hp-copy .btn-row {
  margin-top: 36px;
  gap: 12px;
}
/* The box holds every pose of the stride; its base is the line the foot lands on. */
.hp-art {
  position: relative;
  aspect-ratio: 971 / 1000;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hp-art .pixel-art {
  position: absolute;
  inset: 0;
}
@media (min-width: 1024px) {
  /* The reference's proportions: 46.2% of the window wide, right on the header button's edge.
     The buttons end level with the box's base, so each step lands on the bottom of the buttons. */
  .hp {
    padding: calc(var(--header-h) + 1.5vw) 0 max(56px, 4vw);
  }
  .hp-art {
    align-self: end;
    max-width: none;
  }
  .hp-copy {
    padding-bottom: 0;
  }
}
/* AI Labs and Company use the home hero's arrangement: the statement low on the left, the page's own lit-cell art on the right.
   Headlines stay on two lines; the cqi caps size each to its longest line. */
.sub-hero {
  padding-bottom: 40px;
}
.sub-hero .hp-copy h1 {
  font-size: min(var(--hero-size), 10.5cqi);
}
.sub-hero .hp-copy p {
  max-width: 32em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.sub-hero .hp-copy .btn-row {
  margin-top: 32px;
}
.sub-hero .hp-copy .btn-outline {
  height: 56px;
  padding: 0 24px;
  font-size: 17px;
}
.page-mark {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 9 / 10;
}
.page-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media (min-width: 1024px) {
  .sub-hero {
    padding-top: calc(var(--header-h) + 112px);
  }
  .page-mark {
    justify-self: end;
    align-self: end;
    width: min(100%, 340px);
  }
}
@media (max-width: 639px) {
  .sub-hero .hp-copy p {
    font-size: 17px;
    line-height: 26px;
  }
}
:root .hp-copy .btn.btn {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
@media (min-width: 1024px) {
  .hp-grid {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) min(46.2vw, 50%);
  }
  .sub-hero .hp-grid {
    grid-template-columns: minmax(0, 1fr) min(40vw, 43%);
  }
}
/* draems.io's hero (design review, 24 November 2026): the statement sits at the middle of the hero with a line of
   copy under it, set like the subpages' intro, so the band above it is free for the data trail. */
.hp-lead {
  max-width: 32em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
@media (max-width: 639px) {
  .hp-lead {
    font-size: 17px;
    line-height: 26px;
  }
}
@media (min-width: 1024px) {
  .hp-centred .hp-copy {
    align-self: center;
  }
}
/* draems.io's and draems.tech's home hero (Alex, 4 December 2026): the statement low on the left as before the design
   review, lifted a little off the runner's base, with the data trail in the band above it. */
@media (min-width: 1024px) {
  .hp-home .hp-copy {
    padding-bottom: max(40px, 4vw);
  }
}
/* The data trail's canvas (data-trail.js) covers the hero above the runner; it never draws over the text and lets
   every click through. */
.hp-centred,
.hp-home {
  position: relative;
}
.data-trail {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Content sections of the subpages: headings, grids, lists, the offering table, specs and FAQs. */
/* Data Partnerships: one heading pattern, one item pattern and one rhythm for every section below the hero. */
.dp-sec {
  position: relative;
  padding-top: var(--sec-gap);
}
.dp-head {
  display: grid;
  gap: 20px;
  margin-bottom: var(--head-gap);
}
.dp-head h2 {
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.dp-head p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.dp-flow-head {
  padding-top: var(--sec-gap);
  margin-bottom: calc(var(--head-gap) - 24px);
}
.dp-label {
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.dp-grid {
  display: grid;
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dp-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.dp-item h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.dp-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.dp-cta {
  margin-top: 44px;
}
.dp-note {
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.dp-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.dp-rows li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.dp-rows strong {
  display: block;
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.dp-rows span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.dp-panel {
  padding: 48px 28px;
  border-radius: 16px;
}
.dp-dark {
  background: var(--black);
  color: var(--on-dark);
}
.dp-dark .dp-head h2 span {
  color: rgb(255 255 255 / 0.55);
}
.dp-dark .dp-head p,
.dp-dark .dp-rows span {
  color: rgb(255 255 255 / 0.72);
}
.dp-dark .dp-rows,
.dp-dark .dp-rows li {
  border-color: rgb(255 255 255 / 0.16);
}
.dp-faq {
  display: grid;
  gap: 32px;
  padding-bottom: var(--page-end);
}
.dp-faq h2 {
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.dp-faq .dp-cta {
  margin-top: 32px;
}
.dp-faq-list details {
  border-top: 1px solid var(--line);
}
.dp-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.dp-faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.dp-faq-list summary::-webkit-details-marker {
  display: none;
}
.dp-faq-list summary:hover {
  color: var(--brand-700);
}
.dp-faq-list summary svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  transition: transform 0.2s;
}
.dp-faq-list details[open] summary svg {
  transform: rotate(180deg);
}
.dp-faq-list details p {
  max-width: 60ch;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .dp-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .dp-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 860px) {
  .dp-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .dp-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: end;
  }
  .dp-rows-wide li {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: baseline;
  }
  .dp-rows-wide span {
    margin-top: 0;
  }
  .dp-panel {
    padding: 88px 72px;
  }
  .dp-faq {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }
}
@media (max-width: 639px) {
  .dp-head p {
    font-size: 16px;
    line-height: 26px;
  }
  .dp-faq-list summary {
    font-size: 20px;
    line-height: 28px;
  }
  .dp-faq-list details p {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dp-faq-list summary svg {
    transition: none;
  }
}
/* One column of reading per section. */
.dp-pin {
  display: grid;
  gap: 40px;
}
.dp-pin-head h2 {
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.dp-pin-head p {
  max-width: 26em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.dp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.dp-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.dp-list svg {
  display: block;
  width: 44px;
  height: 44px;
}
.dp-list h3,
.dp-row h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.dp-list p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.dp-pair {
  grid-template-columns: minmax(0, 1fr);
  gap: 0 64px;
}
.dp-page .dp-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 22px;
  padding: 26px 0 30px;
}
.dp-row svg {
  display: block;
  width: 44px;
  height: 44px;
}
.dp-page .dp-row p {
  margin-top: 6px;
  font-size: 16px;
  line-height: 24px;
}
.dp-faq-list details a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 860px) {
  .dp-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .dp-pin {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
  }
  .dp-pin-head {
    position: sticky;
    top: calc(var(--header-h) + 56px);
  }
}
@media (max-width: 639px) {
  .dp-pin-head p {
    font-size: 16px;
    line-height: 26px;
  }
}
/* One heading pattern for the closing question and its answers; the rest of the section grammar is the .dp- system above. */
.dp-faq-lead {
  max-width: 34ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.dp-item-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.dp-item p.dp-item-label {
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
}
.dp-dark .dp-item {
  border-color: rgb(255 255 255 / 0.16);
}
.dp-dark .dp-item p {
  color: rgb(255 255 255 / 0.72);
}
@media (min-width: 640px) {
  .dp-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .dp-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 32px;
  }
}
/* AI Labs: which offering serves which stage, as a signboard of lit and unlit cells. */
.stage-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid var(--line);
}
.stage-table col:not(:first-child) {
  width: 15%;
}
.stage-table th,
.stage-table td {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}
.stage-table thead th {
  padding: 0 0 14px;
  border-top: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}
.stage-table thead th:first-child,
.stage-table tbody th {
  padding-right: 24px;
  text-align: left;
}
.stage-name {
  color: var(--ink);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
}
.stage-name:hover {
  color: var(--brand-700);
}
.stage-table small {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.stage-cell {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: var(--line);
  vertical-align: middle;
}
.stage-cell.is-on {
  background: var(--brand);
}
.stage-cell.is-soon {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
@media (max-width: 559px) {
  /* Too narrow for four columns: each offering becomes a row with its three stages named beneath it. */
  .stage-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .stage-table,
  .stage-table tbody {
    display: block;
  }
  .stage-table tr {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 10px 8px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .stage-table tbody th {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
  }
  .stage-table td {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
  }
  .stage-table td::after {
    content: attr(data-stage);
  }
  .stage-name {
    font-size: 20px;
    line-height: 28px;
  }
  .stage-cell {
    width: 12px;
    height: 12px;
    border-radius: 2px;
  }
}
/* AI Labs: one offering per section, the words on the left, one specification panel on the right. */
.lab-offer {
  display: grid;
  gap: 36px;
}
.offer-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-copy h2 {
  margin-top: 14px;
  font-size: var(--section-size);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.offer-body {
  max-width: 46ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.offer-copy .btn {
  margin-top: 32px;
}
.spec {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-soft);
}
.spec-art {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
}
.spec-key {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.spec-key span:last-child {
  text-align: right;
}
.spec-rows {
  margin: 18px 0 0;
  border-bottom: 1px solid var(--line-2);
}
.spec-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line-2);
}
.spec-rows dt {
  font-size: 15px;
  line-height: 23px;
}
.spec-rows dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 23px;
  text-wrap: pretty;
}
.spec-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.spec-steps li {
  position: relative;
  padding: 16px 16px 0 0;
  border-top: 1px solid var(--line-2);
}
.spec-steps li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--brand);
}
.spec-steps strong {
  display: block;
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
}
.spec-steps span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  text-wrap: pretty;
}
.spec-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
@media (min-width: 640px) {
  .spec {
    padding: 32px;
  }
}
@media (min-width: 1024px) {
  .lab-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: start;
  }
}
@media (max-width: 519px) {
  .spec-rows > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .spec-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .offer-body {
    font-size: 16px;
    line-height: 26px;
  }
}
:root .dp-faq .btn.btn {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
.offer-copy .text-link {
  margin-top: 32px;
}
@media (max-width: 639px) {
  .dp-head h2,
  .dp-pin-head h2,
  .dp-faq h2,
  .offer-copy h2 {
    line-height: 38px;
  }
  .dp-list h3,
  .dp-row h3,
  .dp-item h3,
  .dp-rows strong {
    font-size: 20px;
    line-height: 28px;
  }
  .dp-faq-lead {
    font-size: 16px;
    line-height: 26px;
  }
}
.dp-faq-list summary:active {
  color: var(--brand-700);
}
/* Company and brand pages: these are h2 for an unbroken heading order, drawn exactly as the h3s they were. */
.dp-item h2 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.012em;
}
@media (max-width: 639px) {
  .dp-item h2 {
    font-size: 20px;
    line-height: 28px;
  }
}
