/* nxxs-gateway.css - the researcher gateway shown before the storefront.
   Redesign 2026-10-20, mobile pass 2026-10-20: written mobile first.

   Graphite hero with a floating band of monograms and molecules, form card on
   a dusty-blue panel. Loaded by the gateway document on its own, after
   assets/fonts/fonts.css; the theme's flow, bright and kinetic sheets are not
   loaded here.

   Project rules this sheet keeps: flexbox only (no grid), no absolute, fixed
   or sticky positioning, no visible pseudo-elements, every colour, font,
   size and spacing value declared once in :root and read through var().
   Inline SVG in the gateway markup takes its colours from the gw-c-* and
   gw-k-* classes below, and its animation timings from gw-t-* classes.

   Every class starts with gw-. The theme owns gate-page, gate-body and
   gate-card for an older entrance page. */

:root {
  /* Colour: brand */
  --gw-graphite: #252C38;
  --gw-royal: #075BE8;
  --gw-royal-hi: #1E6EF5;
  --gw-royal-ink: #0A4CBC;
  --gw-royal-mid: #1366F0;
  --gw-royal-deep: #0A3A99;
  --gw-navy: #09234C;
  --gw-white: #FFFFFF;

  /* Colour: dusty blue family */
  --gw-dusty: #7896B8;
  --gw-dusty-light: #9DB8D8;
  --gw-dusty-line: #B3C4D8;
  --gw-dusty-tint: #EEF3F9;
  --gw-dusty-strip: #DCE5EF;
  --gw-dusty-strip-line: #C3D2E3;
  --gw-dusty-seg: #A3B8D0;
  --gw-dusty-hover: #7F93AD;
  --gw-panel: #4F6A8A;
  --gw-panel-top: #6683A6;
  --gw-panel-foot: #3E5571;

  /* Colour: hero */
  --gw-hero-glow: rgba(74, 95, 122, .85);
  --gw-hero-glow-clear: rgba(74, 95, 122, 0);
  --gw-hero-text: #BCD0E6;
  --gw-xx: #5B9BFF;
  --gw-hero-accent: #8DB4FF;
  --gw-hero-sub: #A9BACD;
  --gw-link-hover: #CFE0FF;
  --gw-dot: rgba(255, 255, 255, .06);

  /* Colour: scene */
  --gw-atom: #3A4C63;
  --gw-glow: #7FB0FF;
  --gw-steel-1: #E9ECF0;
  --gw-steel-2: #A3AAB5;
  --gw-steel-3: #666E7A;
  --gw-steel-4: #424955;
  --gw-mark-grey: #C3C8D0;
  --gw-mark-blue: #3D82FF;

  /* Colour: form */
  --gw-ink: #252C38;
  --gw-ink-2: #4B5565;
  --gw-ink-3: #5F6B7C;
  --gw-ink-legal: #3F4857;
  --gw-icon: #5A6372;
  --gw-field-bg: #F2F6FA;
  --gw-field-line: #73869E;
  --gw-field-hover: #5F7590;
  --gw-divider: #DCE4EE;
  --gw-checked-bg: #EAF2FF;
  --gw-alert: #B42318;
  --gw-alert-bg: #FEF3F2;

  /* Colour: light, shade and focus */
  --gw-sheen-hi: rgba(255, 255, 255, .25);
  --gw-sheen: rgba(255, 255, 255, .14);
  --gw-sheen-lo: rgba(255, 255, 255, .08);
  --gw-sheen-panel: rgba(255, 255, 255, .18);
  --gw-clear: rgba(255, 255, 255, 0);
  --gw-band-glow: rgba(7, 91, 232, .45);
  --gw-band-clear: rgba(7, 91, 232, 0);
  --gw-focus: rgba(7, 91, 232, .14);
  --gw-focus-ring: rgba(7, 91, 232, .45);
  --gw-inset: rgba(9, 35, 76, .05);
  --gw-shade-1: rgba(0, 0, 0, .25);
  --gw-shade-2: rgba(0, 0, 0, .5);
  --gw-shade-navy: rgba(9, 35, 76, .55);

  /* Type */
  --gw-display: 'Archivo', 'IBM Plex Sans', system-ui, sans-serif;
  --gw-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gw-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  --gw-fs-micro: 8.5px;
  --gw-fs-tiny: 9.5px;
  --gw-fs-xs: 11.5px;
  --gw-fs-sm: 12px;
  --gw-fs-note: 12.5px;
  --gw-fs-label: 13px;
  --gw-fs-row: 14px;
  --gw-fs-md: 15px;
  --gw-fs-base: 16px;
  --gw-fs-brand: 18px;
  --gw-fs-brand-sm: 15px;
  --gw-fs-card: 24px;
  --gw-fs-card-lg: 26px;
  --gw-fs-title: 32px;
  --gw-fs-title-lg: 46px;

  /* Space */
  --gw-s-1: 4px;
  --gw-s-2: 6px;
  --gw-s-3: 8px;
  --gw-s-4: 10px;
  --gw-s-5: 12px;
  --gw-s-6: 14px;
  --gw-s-7: 16px;
  --gw-s-8: 18px;
  --gw-s-9: 20px;
  --gw-s-10: 22px;
  --gw-s-11: 24px;
  --gw-s-12: 28px;
  --gw-s-13: 32px;
  --gw-s-14: 36px;
  --gw-s-15: 40px;
  --gw-s-16: 48px;
  --gw-s-17: 56px;

  /* Size */
  --gw-tap: 44px;
  --gw-field-h: 50px;
  --gw-submit-h: 56px;
  --gw-check: 22px;
  --gw-seg-h: 4px;
  --gw-rule-w: 8px;
  --gw-rule-h: 1.5px;
  --gw-scene-h: 190px;
  --gw-card-max: 520px;
  --gw-copy-max: 560px;
  --gw-radius-sm: 8px;
  --gw-radius: 10px;
  --gw-radius-lg: 14px;
  --gw-line: 1px;
  --gw-band: 3px;
  --gw-hero-basis: 540px;
  --gw-side-basis: 480px;

  /* Tracking: the wordmark letter-spacing, also used to cancel the trailing gap it leaves */
  --gw-track-brand: .32em;
  --gw-track-brand-sm: .3em;
  --gw-track-sub: .42em;
  --gw-track-sub-sm: .4em;

  /* Motion */
  --gw-ease: cubic-bezier(.16, 1, .3, 1);
  --gw-float: cubic-bezier(.45, 0, .55, 1);
  --gw-fast: 160ms;
  --gw-mid: 200ms;
}

/* ---- Page --------------------------------------------------------------------- */

.gw-root {
  background-color: var(--gw-graphite);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.gw-body {
  margin: 0;
  background-color: var(--gw-graphite);
  background-image: radial-gradient(var(--gw-dot) 1px, transparent 1.4px);
  background-size: var(--gw-s-10) var(--gw-s-10);
  color: var(--gw-ink);
  font-family: var(--gw-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  -webkit-tap-highlight-color: var(--gw-focus);
}

.gw-body ::selection {
  background: var(--gw-royal);
  color: var(--gw-white);
}

.gw-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* ---- Hero ----------------------------------------------------------------------- */

.gw-hero {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-5);
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: var(--gw-s-11) max(var(--gw-s-9), env(safe-area-inset-right)) 0 max(var(--gw-s-9), env(safe-area-inset-left));
  color: var(--gw-white);
  /* The dot grid lives on the page; the hero adds only a glow behind the molecule band,
     faded to clear before its edge, so the hero meets the page ground with no seam. */
  background-image: radial-gradient(85% 30% at 50% 70%, var(--gw-hero-glow) 0%, var(--gw-hero-glow-clear) 100%);
}

.gw-brand,
.gw-card-brand {
  display: flex;
  align-items: center;
  gap: var(--gw-s-5);
}

.gw-brand {
  align-self: flex-start;
  min-height: var(--gw-tap);
}

.gw-mark {
  display: block;
  flex: none;
}

.gw-mark-grey {
  fill: var(--gw-mark-grey);
}

.gw-mark-blue {
  fill: var(--gw-mark-blue);
}

/* NXXS sits centred over the RESEARCH line. Letter-spacing adds space after
   the last letter too, so each word gives that trailing space back with a
   matching negative margin and centres on its letters, not its box. */
.gw-brand-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.gw-brand-name {
  font-family: var(--gw-display);
  font-size: var(--gw-fs-brand);
  font-weight: 700;
  letter-spacing: var(--gw-track-brand);
  margin-right: calc(var(--gw-track-brand) * -1);
  color: var(--gw-white);
}

.gw-brand-name-sm {
  font-size: var(--gw-fs-brand-sm);
  letter-spacing: var(--gw-track-brand-sm);
  margin-right: calc(var(--gw-track-brand-sm) * -1);
}

.gw-xx {
  color: var(--gw-xx);
}

.gw-brand-sub {
  display: flex;
  align-items: center;
  gap: var(--gw-s-1);
  margin-top: var(--gw-s-2);
  font-family: var(--gw-mono);
  font-size: var(--gw-fs-tiny);
  font-weight: 600;
  letter-spacing: var(--gw-track-sub);
  color: var(--gw-hero-accent);
}

.gw-brand-sub-text {
  margin-right: calc(var(--gw-track-sub) * -1);
}

.gw-brand-sub-sm {
  font-size: var(--gw-fs-micro);
  letter-spacing: var(--gw-track-sub-sm);
  color: var(--gw-hero-sub);
}

.gw-brand-sub-sm .gw-brand-sub-text {
  margin-right: calc(var(--gw-track-sub-sm) * -1);
}

.gw-rule {
  width: var(--gw-rule-w);
  height: var(--gw-rule-h);
  background: currentColor;
}

.gw-intro {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-7);
  max-width: var(--gw-copy-max);
  margin-top: var(--gw-s-7);
}

.gw-title {
  margin: 0;
  font-family: var(--gw-display);
  font-size: var(--gw-fs-title);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--gw-white);
}

.gw-chip {
  display: inline-block;
  padding: 0 var(--gw-s-5) var(--gw-s-1);
  border-radius: var(--gw-radius-sm);
  background: linear-gradient(180deg, var(--gw-royal-hi) 0%, var(--gw-royal) 100%);
  box-shadow: inset 0 1px 0 var(--gw-sheen-hi), 0 var(--gw-s-3) var(--gw-s-8) calc(var(--gw-s-4) * -1) var(--gw-shade-2);
  color: var(--gw-white);
}

.gw-lede {
  margin: 0;
  max-width: 58ch;
  font-size: var(--gw-fs-md);
  line-height: 1.6;
  color: var(--gw-hero-text);
}

.gw-who-name {
  font-weight: 600;
  color: var(--gw-white);
}

.gw-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gw-s-3) var(--gw-s-9);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gw-points li {
  display: flex;
  align-items: center;
  gap: var(--gw-s-3);
  font-size: var(--gw-fs-row);
  font-weight: 600;
  color: var(--gw-white);
}

.gw-points svg {
  flex: none;
}

.gw-scene {
  display: flex;
  margin: var(--gw-s-3) calc(max(var(--gw-s-9), env(safe-area-inset-left)) * -1) 0;
}

.gw-scene svg {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: var(--gw-scene-h);
}

/* Molecule lines stay hairline-sharp at any scale. */
.gw-molg * {
  vector-effect: non-scaling-stroke;
}

.gw-link-light {
  display: inline-flex;
  align-items: center;
  min-height: var(--gw-tap);
  color: var(--gw-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gw-who .gw-link-light {
  display: inline;
  min-height: 0;
}

/* ---- Form side ------------------------------------------------------------------ */

.gw-side {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-5);
  min-width: 0;
  box-sizing: border-box;
  padding: var(--gw-s-11) max(var(--gw-s-5), env(safe-area-inset-right)) max(var(--gw-s-13), env(safe-area-inset-bottom)) max(var(--gw-s-5), env(safe-area-inset-left));
  background-color: var(--gw-panel);
  background-image:
    radial-gradient(80% 60% at 50% 0%, var(--gw-sheen-panel) 0%, var(--gw-clear) 100%),
    linear-gradient(180deg, var(--gw-panel-top) 0%, var(--gw-panel) 55%, var(--gw-panel-foot) 100%);
}

.gw-card {
  width: 100%;
  max-width: var(--gw-card-max);
  margin: 0 auto;
  overflow: hidden;
  background: var(--gw-white);
  border-radius: var(--gw-radius-lg);
  box-shadow: 0 1px 2px var(--gw-shade-1), 0 var(--gw-s-8) var(--gw-s-14) calc(var(--gw-s-8) * -1) var(--gw-shade-2);
}

.gw-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gw-s-4) var(--gw-s-7);
  padding: var(--gw-s-7) var(--gw-s-9);
  background-color: var(--gw-navy);
  background-image:
    linear-gradient(180deg, var(--gw-sheen-lo) 0%, var(--gw-clear) 100%),
    radial-gradient(60% 140% at 100% 0%, var(--gw-band-glow) 0%, var(--gw-band-clear) 70%);
  box-shadow: inset 0 1px 0 var(--gw-sheen), inset 0 calc(var(--gw-band) * -1) 0 var(--gw-royal);
}

.gw-secure {
  display: flex;
  align-items: center;
  gap: var(--gw-s-3);
  font-size: var(--gw-fs-label);
  font-weight: 500;
  color: var(--gw-hero-text);
}

.gw-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-9);
  padding: var(--gw-s-11) var(--gw-s-9) var(--gw-s-12);
}

.gw-card-intro {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-3);
  padding-bottom: var(--gw-s-9);
  border-bottom: var(--gw-line) solid var(--gw-divider);
}

.gw-card-title {
  margin: 0;
  font-family: var(--gw-display);
  font-size: var(--gw-fs-card);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--gw-navy);
}

.gw-card-sub {
  margin: 0;
  max-width: 40ch;
  font-size: var(--gw-fs-md);
  line-height: 1.55;
  color: var(--gw-ink-2);
}

/* ---- Errors ---------------------------------------------------------------------- */

.gw-errors {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-2);
  padding: var(--gw-s-6) var(--gw-s-7);
  background: var(--gw-alert-bg);
  border: var(--gw-line) solid var(--gw-alert);
  border-radius: var(--gw-radius);
}

.gw-errors-title {
  margin: 0;
  font-size: var(--gw-fs-md);
  font-weight: 600;
  color: var(--gw-alert);
}

.gw-errors-list {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-1);
  margin: 0;
  padding-left: var(--gw-s-9);
  font-size: var(--gw-fs-row);
  line-height: 1.5;
}

.gw-link {
  color: var(--gw-alert);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gw-error {
  margin: 0;
  font-size: var(--gw-fs-label);
  line-height: 1.45;
  color: var(--gw-alert);
}

/* ---- Fields ---------------------------------------------------------------------- */

.gw-form {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-10);
}

.gw-trap {
  display: none;
}

.gw-fields {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-7);
}

.gw-field {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-2);
}

.gw-label {
  font-size: var(--gw-fs-label);
  font-weight: 600;
  color: var(--gw-navy);
}

.gw-optional {
  font-weight: 400;
  color: var(--gw-ink-2);
}

/* The box draws the field; the icon and the input sit side by side inside it. */
.gw-input-box {
  display: flex;
  align-items: center;
  gap: var(--gw-s-4);
  padding-left: var(--gw-s-6);
  border: var(--gw-line) solid var(--gw-field-line);
  border-radius: var(--gw-radius-sm);
  background: var(--gw-field-bg);
  box-shadow: inset 0 1px 2px var(--gw-inset);
  transition: border-color var(--gw-fast) ease, box-shadow var(--gw-fast) ease, background-color var(--gw-fast) ease;
}

.gw-input-box:focus-within {
  border-color: var(--gw-royal);
  background: var(--gw-white);
  box-shadow: 0 0 0 var(--gw-s-1) var(--gw-focus);
}

.gw-input-box:has(.gw-input[aria-invalid="true"]) {
  border-color: var(--gw-alert);
}

.gw-input-icon {
  flex: none;
  stroke: var(--gw-icon);
}

.gw-input {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--gw-field-h);
  padding: 0 var(--gw-s-7) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: var(--gw-fs-base);
  color: var(--gw-ink);
  caret-color: var(--gw-royal);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.gw-input::placeholder {
  color: var(--gw-ink-3);
  opacity: 1;
}

.gw-hint {
  margin: 0;
  font-size: var(--gw-fs-sm);
  line-height: 1.45;
  color: var(--gw-ink-2);
}

/* ---- Attestation ------------------------------------------------------------------- */

.gw-attest {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-4);
}

.gw-attest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gw-s-1) var(--gw-s-5);
}

.gw-legend {
  margin: 0;
  font-family: var(--gw-display);
  font-size: var(--gw-fs-row);
  font-weight: 700;
  color: var(--gw-navy);
}

.gw-count {
  margin: 0;
  font-family: var(--gw-mono);
  font-size: var(--gw-fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--gw-royal-ink);
}

.gw-segs {
  display: flex;
  gap: var(--gw-s-2);
  margin-bottom: var(--gw-s-2);
}

.gw-seg {
  flex: 1 1 0;
  height: var(--gw-seg-h);
  border-radius: var(--gw-seg-h);
  background: var(--gw-dusty-seg);
  transition: background-color var(--gw-mid) ease;
}

.gw-seg.is-on {
  background: var(--gw-royal);
}

.gw-row {
  display: flex;
  align-items: flex-start;
  gap: var(--gw-s-5);
  min-height: var(--gw-tap);
  box-sizing: border-box;
  padding: var(--gw-s-6) var(--gw-s-6);
  border: var(--gw-line) solid var(--gw-dusty-line);
  border-radius: var(--gw-radius);
  background: var(--gw-dusty-tint);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color var(--gw-mid) ease, background-color var(--gw-mid) ease, box-shadow var(--gw-mid) ease;
}

.gw-row:has(.gw-check:checked) {
  border-color: var(--gw-royal);
  background: var(--gw-checked-bg);
  box-shadow: inset 0 0 0 1px var(--gw-royal);
}

.gw-row:has(.gw-check[aria-invalid="true"]) {
  border-color: var(--gw-alert);
}

.gw-check {
  flex: none;
  width: var(--gw-check);
  height: var(--gw-check);
  margin: 0;
  accent-color: var(--gw-royal);
  cursor: pointer;
}

.gw-check:focus-visible {
  outline: 3px solid var(--gw-focus-ring);
  outline-offset: 2px;
}

.gw-row-text {
  font-size: var(--gw-fs-row);
  line-height: 1.6;
  color: var(--gw-ink);
}

/* ---- Submit ------------------------------------------------------------------------- */

.gw-submit-group {
  display: flex;
  flex-direction: column;
  gap: var(--gw-s-5);
}

.gw-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gw-s-4);
  width: 100%;
  min-height: var(--gw-submit-h);
  padding: 0 var(--gw-s-7);
  border: 0;
  border-radius: var(--gw-radius);
  background: var(--gw-navy);
  box-shadow: inset 0 1px 0 var(--gw-sheen-lo), 0 var(--gw-s-3) var(--gw-s-8) calc(var(--gw-s-5) * -1) var(--gw-shade-navy);
  font-family: var(--gw-display);
  font-size: var(--gw-fs-md);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gw-white);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--gw-fast) var(--gw-ease), box-shadow var(--gw-mid) ease, filter var(--gw-mid) ease;
}

.gw-form.is-ready .gw-submit {
  background: linear-gradient(180deg, var(--gw-royal-hi) 0%, var(--gw-royal) 100%);
  box-shadow: inset 0 1px 0 var(--gw-sheen-hi), 0 var(--gw-s-6) var(--gw-s-12) calc(var(--gw-s-5) * -1) var(--gw-shade-navy);
}

.gw-submit:active {
  transform: scale(.98);
}

.gw-submit:focus-visible,
.gw-signin:focus-visible,
.gw-link-light:focus-visible {
  outline: 3px solid var(--gw-focus-ring);
  outline-offset: 3px;
}

.gw-note {
  margin: 0;
  font-size: var(--gw-fs-note);
  line-height: 1.55;
  text-align: center;
  color: var(--gw-ink-2);
}

/* ---- Card foot and legal ------------------------------------------------------------- */

.gw-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gw-s-5);
  padding-top: var(--gw-s-9);
  border-top: var(--gw-line) solid var(--gw-divider);
}

.gw-card-foot-text {
  margin: 0;
  font-size: var(--gw-fs-row);
  color: var(--gw-ink);
}

.gw-card-foot-text strong {
  color: var(--gw-navy);
}

.gw-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--gw-tap);
  padding: 0 var(--gw-s-10);
  border: var(--gw-line) solid var(--gw-navy);
  border-radius: var(--gw-radius);
  background: var(--gw-white);
  font-family: var(--gw-display);
  font-size: var(--gw-fs-note);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gw-navy);
  touch-action: manipulation;
  transition: background-color var(--gw-fast) ease, color var(--gw-fast) ease;
}

.gw-legal {
  display: flex;
  align-items: flex-start;
  gap: var(--gw-s-4);
  padding: var(--gw-s-6) var(--gw-s-9);
  background: var(--gw-dusty-strip);
  border-top: var(--gw-line) solid var(--gw-dusty-strip-line);
}

.gw-legal svg {
  flex: none;
  margin-top: 1px;
  stroke: var(--gw-ink-2);
}

.gw-legal-text {
  margin: 0;
  font-size: var(--gw-fs-sm);
  line-height: 1.5;
  color: var(--gw-ink-legal);
}

.gw-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--gw-s-8);
  margin: 0;
  font-size: var(--gw-fs-label);
}

/* ---- Inline SVG colours (classes stand in for fill and stroke attributes) --------------- */

.gw-c-tick { fill: var(--gw-dusty); }
.gw-c-tick-mark { stroke: var(--gw-white); }
.gw-c-lock { stroke: var(--gw-dusty-light); }
.gw-c-bond { stroke: var(--gw-dusty-light); }
.gw-c-atom { fill: var(--gw-atom); }
.gw-c-glow { fill: var(--gw-glow); }
.gw-c-spark { fill: var(--gw-dusty-light); }
.gw-c-edge { stroke: var(--gw-white); }
.gw-k-white { stop-color: var(--gw-white); }
.gw-k-glow { stop-color: var(--gw-glow); }
.gw-k-royal { stop-color: var(--gw-royal); }
.gw-k-xx { stop-color: var(--gw-xx); }
.gw-k-steel-1 { stop-color: var(--gw-steel-1); }
.gw-k-steel-2 { stop-color: var(--gw-steel-2); }
.gw-k-steel-3 { stop-color: var(--gw-steel-3); }
.gw-k-steel-4 { stop-color: var(--gw-steel-4); }
.gw-k-royal-mid { stop-color: var(--gw-royal-mid); }
.gw-k-royal-deep { stop-color: var(--gw-royal-deep); }

/* ---- Hover, only where a pointer can hover ---------------------------------------------- */

@media (hover: hover) {
  .gw-link-light:hover { color: var(--gw-link-hover); }
  .gw-input-box:hover { border-color: var(--gw-field-hover); }
  .gw-row:hover { border-color: var(--gw-dusty-hover); }
  .gw-submit:hover { filter: brightness(1.08); }
  .gw-signin:hover { background: var(--gw-navy); color: var(--gw-white); }
}

/* ---- Motion ------------------------------------------------------------------------------ */

.gw-anim {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .gw-f1 { animation: gw-f1 12s var(--gw-float) infinite; }
  .gw-f2 { animation: gw-f2 14s var(--gw-float) infinite; }
  .gw-f3 { animation: gw-f3 16s var(--gw-float) infinite; }
  .gw-f4 { animation: gw-f4 18s var(--gw-float) infinite; }
  .gw-node { animation: gw-pulse 5.5s ease-in-out infinite; }
  .gw-in { animation: gw-fade 1100ms var(--gw-ease) both; }
  .gw-intro { animation: gw-rise 700ms var(--gw-ease) both; }
  .gw-card { animation: gw-rise 700ms var(--gw-ease) 80ms both; }
}

@keyframes gw-f1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -8px); } }
@keyframes gw-f2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(7px, -5px); } }
@keyframes gw-f3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -7px); } }
@keyframes gw-f4 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, 6px); } }
@keyframes gw-pulse { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes gw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gw-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- Larger phones and tablets -------------------------------------------------------------- */

@media (min-width: 600px) {
  :root {
    --gw-scene-h: 260px;
  }

  .gw-hero {
    padding: var(--gw-s-15) var(--gw-s-15) 0;
    gap: var(--gw-s-7);
  }

  .gw-intro {
    gap: var(--gw-s-8);
    margin-top: var(--gw-s-14);
  }

  .gw-title {
    font-size: var(--gw-fs-title-lg);
  }

  .gw-lede {
    font-size: var(--gw-fs-base);
    line-height: 1.65;
  }

  .gw-scene {
    margin: var(--gw-s-11) calc(var(--gw-s-15) * -1) 0;
  }

  .gw-side {
    padding: var(--gw-s-15) var(--gw-s-15) var(--gw-s-16);
  }

  .gw-card-head {
    padding: var(--gw-s-8) var(--gw-s-12);
  }

  .gw-card-body {
    gap: var(--gw-s-10);
    padding: var(--gw-s-12) var(--gw-s-14) var(--gw-s-13);
  }

  .gw-card-title {
    font-size: var(--gw-fs-card-lg);
  }

  .gw-row {
    gap: var(--gw-s-6);
    padding: var(--gw-s-6) var(--gw-s-7);
  }

  .gw-legal {
    padding: var(--gw-s-6) var(--gw-s-12);
  }
}

/* ---- Side by side: hero on the left, the form on the right ------------------------------------ */

@media (min-width: 1020px) {
  .gw-page {
    flex-direction: row;
    align-items: flex-start;
  }

  /* The hero is as tall as its content and ends on the molecule band; the page
     ground below it is the same graphite, so nothing needs to stick. */
  .gw-hero {
    flex: 1 1 var(--gw-hero-basis);
    padding: var(--gw-s-15) var(--gw-s-17) 0;
  }

  .gw-intro {
    margin-top: var(--gw-s-16);
  }

  .gw-scene {
    margin: var(--gw-s-11) calc(var(--gw-s-17) * -1) 0;
  }

  .gw-side {
    flex: 1 1 var(--gw-side-basis);
    align-self: stretch;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: var(--gw-s-16) var(--gw-s-17);
  }
}

/* ---- Scene timings (one class per element, in place of inline styles) ---- */

.gw-t-1 { animation-delay: 150ms; }
.gw-t-2 { animation-delay: -2s; }
.gw-t-3 { animation-delay: -4.1s; }
.gw-t-4 { animation-delay: 330ms; }
.gw-t-5 { animation-delay: -6s; }
.gw-t-6 { animation-delay: -1.2s; }
.gw-t-7 { animation-delay: 420ms; }
.gw-t-8 { animation-duration: 15s; animation-delay: -4s; }
.gw-t-9 { animation-delay: -4.6s; }
.gw-t-10 { animation-delay: -2.2s; }
.gw-t-11 { animation-delay: 540ms; }
.gw-t-12 { animation-delay: -9s; }
.gw-t-13 { animation-delay: -0.4s; }
.gw-t-14 { animation-delay: 700ms; }
.gw-t-15 { animation-duration: 17s; animation-delay: -5s; }
.gw-t-16 { animation-delay: -3.3s; }
.gw-t-17 { animation-delay: 240ms; }
.gw-t-18 { animation-duration: 19s; animation-delay: -11s; }
.gw-t-19 { animation-delay: -2.7s; }
.gw-t-20 { animation-delay: 480ms; }
.gw-t-21 { animation-duration: 13s; animation-delay: -3s; }
.gw-t-22 { animation-delay: 100ms; }
.gw-t-23 { animation-duration: 11s; animation-delay: -7s; }
.gw-t-24 { animation-delay: 760ms; }
.gw-t-25 { animation-duration: 13s; animation-delay: -10s; }
.gw-t-26 { animation-delay: 120ms; }
.gw-t-27 { animation-duration: 14s; animation-delay: -12s; }
.gw-t-28 { animation-delay: 260ms; }
.gw-t-29 { animation-delay: -1s; }
.gw-t-30 { animation-delay: 300ms; }
.gw-t-31 { animation-duration: 16s; animation-delay: -3s; }
.gw-t-32 { animation-delay: 360ms; }
.gw-t-33 { animation-duration: 13s; animation-delay: -9s; }
.gw-t-34 { animation-delay: 400ms; }
.gw-t-35 { animation-duration: 12s; animation-delay: -8s; }
.gw-t-36 { animation-delay: 500ms; }
.gw-t-37 { animation-duration: 13s; animation-delay: -5s; }
.gw-t-38 { animation-delay: 560ms; }
.gw-t-39 { animation-duration: 14s; animation-delay: -6s; }
.gw-t-40 { animation-delay: 620ms; }
.gw-t-41 { animation-duration: 15s; animation-delay: -2s; }
.gw-t-42 { animation-delay: 680ms; }
.gw-t-43 { animation-delay: -0.6s; }
.gw-t-44 { animation-delay: -3.9s; }
.gw-t-45 { animation-delay: -1.5s; }
.gw-t-46 { animation-delay: -4.4s; }
