/* IBM Plex Mono, self-hosted (the CSP allows font-src 'self' only). Latin, Latin Extended and symbols subsets, weights 400/500/600. */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400-symbols2.woff2") format("woff2"); unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400-latin.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500-symbols2.woff2") format("woff2"); unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500-latin.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: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600-symbols2.woff2") format("woff2"); unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600-latin.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; }

/* Shared styles for every page: tokens, type, header, demo card, footer.
   Page-specific styles stay inline in each page. A page sets its brand colour by overriding --page in its own
   :root block (Platform Blue 1, Tools Blue 2, Insights Blue 0, Customers Green 3, About Blue 3; the homepage keeps
   cyan.9). Colour values are Mantine defaults unless marked as a Singularity brand colour. */

/* ---------- Tokens ----------
   Text-role colors are >= 4.5:1 on every light surface they sit on; --flow and --amber are graphic-only (>= 3:1)
   and never carry text. Exactly one dark background: --band. */
:root {
  /* Color: light */
  --ink: #2e2e2e;          /* dark.6 · logo wordmark · 13.6:1 white */
  --muted: #495057;        /* gray.7 · 8.2:1 white · 7.6:1 frost */
  --ground: #ffffff;
  --surface: #ffffff;
  --line: #dee2e6;         /* gray.3 · decorative only */
  --spruce: #0b7285;       /* cyan.9 · brand primary · 5.6:1 white */
  --signal: #087f5b;       /* teal.9 · text accent · 5.0:1 white */
  --signal-soft: #c3fae8;  /* teal.1 · icon wells */
  --frost: #e6fcf5;        /* teal.0 · tinted sections */
  --flow: #099268;         /* teal.8 · graphics only */
  --amber: #e8590c;        /* orange.8 · graphics only */
  --wave: rgba(9, 146, 104, 0.30);
  /* The one dark background, used for bands, device chrome and footer */
  --band: #242424;         /* dark.7 */
  --band-ink: #f8f9fa;     /* gray.0 · 14.7:1 on band */
  --band-muted: #b8b8b8;   /* dark.1 · 7.8:1 on band */
  --band-line: rgba(248, 249, 250, 0.12);
  --band-signal: #63e6be;  /* teal.3 · 10.1:1 on band */
  --band-amber: #ffa94d;   /* orange.4 · 8.2:1 on band */
  --indigo-wash: #edf2ff;  /* indigo.0 */

  /* Singularity brand colours */
  --hero-bg: #2A384D;      /* Blue 3 */
  --blue-1: #4D7396;       /* Blue 1 · 5.0:1 on white */
  --green-2: #3F9493;      /* Green 2 */
  --green-3: #1A7371;      /* Green 3 · white on it 5.6:1 */
  --insight-art-bg: #54637A;
  --insight-art-ink: #63e6be;

  /* Type */
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-display-xl: clamp(2.6rem, 5.6vw, 4.75rem);  /* 42 -> 76px */
  --text-display-lg: clamp(2rem, 3.8vw, 3.2rem);     /* 32 -> 51px */
  --text-display-md: clamp(1.35rem, 2vw, 1.6rem);    /* 22 -> 26px */
  --text-display-sm: 1.2rem;                          /* 19.2px */
  --text-quote: clamp(1.25rem, 2.1vw, 1.6rem);       /* 20 -> 26px */
  /* Text: two sizes only. --text-md is all running text (ledes, body copy, article text, text links): 16px on
     phones, 18px from ~900px wide. --text-sm is secondary text. (Replaces --text-lede, --text-body, --text-lg.) */
  --text-md: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);  /* 16 -> 18px */
  --text-sm: 0.875rem;
  --text-label: 0.875rem;  /* mono eyebrow */
  --text-micro: 0.6875rem; /* mono stat label */

  /* Spacing: 4px base */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 40px; --space-8: 48px; --space-9: 64px; --space-10: 80px;
  --space-11: 96px; --space-12: 120px;
  /* Gap between a section's title block and the module, image or grid below it */
  --head-gap: clamp(var(--space-8), 6vw, var(--space-10));
  --container: 1320px;
  --header-h: 68px;

  /* Cards and motion */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --card-radius: 16px;
  --card-radius-inner: 12px;
  --card-pad: clamp(24px, 3vw, 32px);
  --card-border: 1px solid var(--line);
  --card-shadow: 0 24px 50px -30px rgba(20, 20, 20, 0.35);
  --card-shadow-hover: 0 30px 60px -28px rgba(20, 20, 20, 0.45);
  --card-lift: -4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-base: 0.25s;
  --dur-slow: 0.5s;

  /* Page colour: fills the hero, primary buttons and selected states; --page-ink carries coloured text */
  --page: #0b7285;  /* cyan.9 */
  --page-hover: color-mix(in oklab, var(--page) 80%, #000);
  --page-ink: var(--page);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #c9c9c9;          /* dark.0 */
    --muted: #b8b8b8;        /* dark.1 */
    --ground: #1f1f1f;       /* dark.8 */
    --surface: #2e2e2e;      /* dark.6 */
    --line: #424242;         /* dark.4 */
    --signal: #38d9a9;       /* teal.4 */
    --signal-soft: #3b3b3b;  /* dark.5 */
    --frost: #242424;        /* dark.7 */
    --wave: rgba(18, 184, 134, 0.2);
    --flow: #12b886;
    --amber: #ff922b;
    --band-line: rgba(248, 249, 250, 0.10);
    --indigo-wash: #242424;
    --page-ink: color-mix(in oklab, var(--page) 40%, #f8f9fa);
  }
}
:root[data-theme="dark"] {
  --ink: #c9c9c9;
  --muted: #b8b8b8;
  --ground: #1f1f1f;
  --surface: #2e2e2e;
  --line: #424242;
  --signal: #38d9a9;
  --signal-soft: #3b3b3b;
  --frost: #242424;
  --wave: rgba(18, 184, 134, 0.2);
  --flow: #12b886;
  --amber: #ff922b;
  --band-line: rgba(248, 249, 250, 0.10);
  --indigo-wash: #242424;
  --page-ink: color-mix(in oklab, var(--page) 40%, #f8f9fa);
}
/* Coloured text follows the page colour */
html:root { --spruce: var(--page-ink); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { background: var(--ground); color: var(--ink); overflow-x: clip; }
body { margin: 0; font-family: var(--display); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; }
input, button, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
/* Every weight on the site is regular (400); eyebrows and buttons are the exceptions. */
th, b, strong { font-weight: 400; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-md); }
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.section { padding-block: clamp(var(--space-9), 9vw, var(--space-12)); }
.band { background: var(--band); color: var(--band-ink); }
.tint { background: var(--frost); }
.indigo-wash { background: var(--indigo-wash); }
.stack { display: flex; flex-direction: column; }
.group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: var(--text-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spruce); margin: 0; }
.band .eyebrow { color: var(--band-signal); }
.display-xl { font-family: var(--display); font-weight: 400; font-size: var(--text-display-xl); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; margin: 0; color: var(--ink); }
.display-lg { font-family: var(--display); font-weight: 400; font-size: var(--text-display-lg); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
/* Title scale: four levels only. H1 display-xl (page heroes), H2 display-lg (sections), H3 display-md (cards,
   modules, post sections), H4 display-sm (small cards, feature labels, subheads). All regular weight. */
.display-md { font-family: var(--display); font-weight: 400; font-size: var(--text-display-md); line-height: 1.22; letter-spacing: -0.012em; text-wrap: balance; margin: 0; }
.display-sm { font-family: var(--display); font-weight: 400; font-size: var(--text-display-sm); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.accent { color: var(--signal); }
.band .accent-amber { color: var(--band-amber); }
.lede { font-size: var(--text-md); line-height: 1.55; color: var(--muted); max-width: 36rem; text-wrap: pretty; margin: 0; }
.body { font-size: var(--text-md); line-height: 1.6; color: var(--muted); max-width: 65ch; margin: 0; }
.band .body, .band .lede { color: var(--band-muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */
/* Solid buttons take the page colour; .btn-teal and .btn-dark are the header and demo-card variants. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-md); background: var(--page); color: #ffffff; font-size: 1rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) ease; }
.btn:hover { background: var(--page-hover); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 50px; padding: 0 22px; font-size: var(--text-md); }
.btn-sm { height: 36px; padding: 0 14px; font-size: var(--text-sm); }
.btn-block { width: 100%; }
.btn-teal { background: #63e6be; color: var(--band); }  /* teal.3 */
.btn-teal:hover { background: #38d9a9; }                 /* teal.4 */
.btn-dark { background: var(--band); color: #ffffff; }
.btn-dark:hover { background: #141414; }                 /* dark.9 */
.btn-white { background: #ffffff; color: var(--hero-bg); }
.btn-white:hover { background: #f1f3f5; }                /* gray.1 */
.btn-outline { background: transparent; border-color: currentColor; color: var(--spruce); }
.btn-outline:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* Text links with an arrow; a text link next to a button takes the button's text size. */
.text-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: var(--text-md); color: var(--spruce); text-decoration: none; }
.text-cta svg { transition: transform var(--dur-base) var(--ease-out); }
.text-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-cta:hover svg { transform: translateX(3px); }
.group:has(> .btn:not(.btn-lg)) > .text-cta { font-size: 1rem; } /* the regular button's label size */
/* Inline text links inside running text */
.inline-link { color: var(--spruce); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover { text-decoration-thickness: 2px; }

.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--spruce) 12%, transparent); color: var(--spruce); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Announcement bar ---------- */
/* Singularity Blue 3, white text in both themes (12.1:1). */
.announce { background: var(--hero-bg); color: #ffffff; font-size: var(--text-sm); }
.announce[hidden] { display: none; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding-block: 8px; }
.announce p { margin: 0; text-align: center; }
.announce a { color: inherit; text-underline-offset: 3px; }
.announce-close { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: transparent; color: #ffffff; cursor: pointer; }
.announce-close:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid var(--line); transition: border-color var(--dur-base) ease; }
/* The frosted fill sits on a pseudo-element: a backdrop-filter on .header itself would make it the containing
   block for the fixed mobile drawer. */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: opacity var(--dur-base) ease; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.nav-links { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
/* Underline drawn as a background line so it can animate: it grows on hover / keyboard focus; the current page's
   2px line is always drawn. */
.navlink { color: var(--ink); font-size: 0.9375rem; text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size var(--dur-base) var(--ease-out); }
.navlink:hover, .navlink:focus-visible { background-size: 100% 1px; }
.navlink[aria-current="page"], .navlink[aria-current="page"]:hover { background-size: 100% 2px; }
/* Pages whose hero is dark (body.has-dark-hero) start with a transparent header: light links, reversed logo. */
.has-dark-hero .header.is-top { border-bottom-color: transparent; }
.has-dark-hero .header.is-top::before { opacity: 0; }
.has-dark-hero .header.is-top .header-inner .navlink, .has-dark-hero .header.is-top .header-inner .nav-toggle { color: #f8f9fa; }
.has-dark-hero .header.is-top .header-inner .logo .logo-color { display: none; }
.has-dark-hero .header.is-top .header-inner .logo .logo-white { display: block; }

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 28px; width: auto; display: block; }
/* Official lockups: colour on light backgrounds, the white file on dark ones. */
.logo .logo-white { display: none; }
.band .logo .logo-color { display: none; }
.band .logo .logo-white { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .logo-color { display: none; }
  :root:not([data-theme="light"]) .logo .logo-white { display: block; }
}
:root[data-theme="dark"] .logo .logo-color { display: none; }
:root[data-theme="dark"] .logo .logo-white { display: block; }

.nav-toggle { display: none; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 61.99em) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 35.99em) {
  .header-actions .btn { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 100%); background: var(--ground); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-5); overflow-y: auto; box-shadow: -12px 0 40px -20px rgba(0, 0, 0, 0.4); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.drawer-close:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.drawer-links { display: flex; flex-direction: column; gap: var(--space-5); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.drawer-links .navlink { font-size: var(--text-md); }
body.drawer-open { overflow: hidden; }

/* ---------- Customer logo row ---------- */
.customer-logo { display: block; width: auto; max-width: 200px; }
/* Dark scheme: the marks are dark-on-light artwork, so show them as white monochrome. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .customer-logo { filter: brightness(0) invert(1); opacity: 0.85; } }
:root[data-theme="dark"] .customer-logo { filter: brightness(0) invert(1); opacity: 0.85; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--signal); text-decoration: none; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Demo card ---------- */
/* A teal panel carrying the ask beside a --band panel carrying an illustrative program day. */
.cta-section { padding-block: clamp(var(--space-8), 7vw, var(--space-11)); background: var(--ground); }
.cta-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--card-radius); overflow: hidden; box-shadow: 0 30px 70px -40px rgba(20, 20, 20, 0.45); }
/* Stacked (tablet and phone): the visual leads, the ask follows. */
@media (max-width: 62em) { .cta-card { grid-template-columns: 1fr; } .cta-visual { order: -1; } }
.cta-ask { background: #63e6be; color: var(--band); padding: clamp(var(--space-6), 5vw, var(--space-10)); display: grid; gap: var(--space-5); align-content: center; justify-items: start; }
.cta-ask h2 { color: var(--band); margin: 0; font-size: var(--text-display-lg); line-height: 1.08; letter-spacing: -0.02em; font-weight: 400; }
.cta-ask p { margin: 0; color: #2e2e2e; font-size: var(--text-md); line-height: 1.55; max-width: 34rem; }
.cta-visual { background: var(--band); position: relative; padding: clamp(var(--space-5), 3vw, var(--space-7)); display: grid; align-content: center; gap: var(--space-3); min-height: 280px; }
.cta-visual svg { display: block; width: 100%; height: auto; }
.cta-visual .spark { fill: #63e6be; }
.cta-visual .grid-dot { fill: #828282; }
.cta-visual .axis { font-family: var(--mono); font-size: 10px; fill: var(--band-muted); letter-spacing: 0.06em; }
.cta-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-family: var(--mono); font-size: var(--text-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--band-muted); }
.cta-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cta-legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
/* Columns light up left to right like hours of the day; the resting frame is fully visible. */
@keyframes cta-hour { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.cta-visual .col { animation: cta-hour 4.8s ease-in-out infinite; }
.cta-below { margin-top: var(--space-6); }
.cta-note { display: grid; gap: var(--space-1); padding-inline: clamp(var(--space-6), 5vw, var(--space-10)); }
.cta-note p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--muted); }
.cta-note p:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(48px, 6vw, 64px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8) var(--space-9); align-items: start; }
@media (max-width: 62em) { .foot-grid { grid-template-columns: 1fr; } }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 30em) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-col { display: grid; gap: var(--space-3); align-content: start; }
.foot-head { margin: 0 0 var(--space-1); font-family: var(--display); font-size: var(--text-md); font-weight: 400; letter-spacing: -0.01em; color: var(--band-ink); }
/* Newsletter signup: a white pill with the field and a cyan.9 arrow button. */
.foot-news { display: grid; gap: var(--space-3); }
.foot-news-copy { margin: 0; color: var(--band-muted); font-size: 0.9375rem; line-height: 1.55; }
.foot-news-copy[data-state="error"] { color: var(--band-amber); }
.foot-news-copy[data-state="sent"] { color: var(--band-signal); }
.foot-pill { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); background: #ffffff; border-radius: var(--radius-md); padding: 6px 6px 6px 20px; max-width: 480px; }
.foot-pill[hidden] { display: none; }
.foot-pill:focus-within { box-shadow: 0 0 0 3px var(--band-signal); }
.foot-pill input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 1rem var(--display); color: #2e2e2e; padding-block: 10px; }
.foot-pill input::placeholder { color: #495057; opacity: 1; }  /* gray.7 */
.foot-pill button { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); border: 0; display: grid; place-items: center; background: #0b7285; color: #ffffff; cursor: pointer; }  /* cyan.9 */
.foot-pill button:hover { background: #0c8599; }  /* cyan.8 */
.foot-pill button:disabled { opacity: 0.6; cursor: progress; }
.foot-pill button svg { width: 20px; height: 20px; }
.foot-link { color: var(--band-muted); font-size: 0.9375rem; text-decoration-line: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--dur-fast) ease, text-decoration-color var(--dur-fast) ease; }
.foot-link:hover, .foot-link:focus-visible { color: var(--band-ink); text-decoration-color: currentColor; }
.foot-legal { margin-top: var(--space-9); padding-top: var(--space-5); border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-6); }
.foot-legal p { margin: 0; font-size: var(--text-sm); color: var(--band-muted); line-height: 1.6; }
.foot-legal a { color: var(--band-ink); text-underline-offset: 3px; }

/* ---------- Pause animations (WCAG 2.2.2) ----------
   One site-wide setting saved in this browser; the toggle sits in every footer. */
:root[data-motion="paused"] *, :root[data-motion="paused"] *::before, :root[data-motion="paused"] *::after { animation-play-state: paused !important; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: var(--text-sm); line-height: 1; cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.motion-toggle:hover { color: var(--ink); border-color: currentColor; }
.motion-toggle svg { flex: none; }
.motion-toggle .icon-play, :root[data-motion="paused"] .motion-toggle .icon-pause { display: none; }
:root[data-motion="paused"] .motion-toggle .icon-play { display: block; }
.band .motion-toggle { color: var(--band-ink); border-color: var(--band-line); }
.band .motion-toggle:hover { border-color: var(--band-ink); }

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

/* ---------- Accordions ----------
   site.js animates every <details> open and closed. While one closes it is still [open], so .is-closing puts its
   icons back to the closed state as the animation starts. */
details.is-closing > summary svg { transform: none !important; }

/* ---------- Arrows ----------
   One arrow everywhere (the text-cta arrow). Where it replaces a typed → or ← inside running text, it sits on the
   text's middle and scales with the text. A disabled button hides it while the form submits. */
svg.arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex: none; }
:is(.text-cta, .card-textlink) svg.arrow { width: 16px; height: 16px; }
button:disabled svg.arrow { display: none; }

/* ---------- FAQs ----------
   The question and its answer read apart: the question in ink at medium weight (500, approved 2026-11-16), the
   answer in neutral grey (dark.3 #696969, 5.5:1 on white). Dark theme: question gray.0, answer dark.1. */
:root { --faq-q: var(--ink); --faq-a: #696969; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --faq-q: #f8f9fa; --faq-a: #b8b8b8; } }
:root[data-theme="dark"] { --faq-q: #f8f9fa; --faq-a: #b8b8b8; }
details.faq-item > summary, .faq details > summary { color: var(--faq-q); font-weight: 500; }
details.faq-item > p, .faq details > p { color: var(--faq-a); }
/* Side by side (Home, Platform): the eyebrow's text lines up with the first question's text. The heading column
   drops by the card border (1px), the question padding (16px) and half the difference between the two lines
   (body 16px vs eyebrow 14px, both at line-height 1.55). Stacked on phones, so no offset there. */
@media (min-width: 62em) {
  .faq-grid > :first-child { padding-top: calc(1px + var(--space-4) + (var(--text-md) - var(--text-label)) * 1.55 / 2); }
}

/* ---------- Compact page hero ----------
   For pages whose hero leads into a form, a download or a legal text (Talk to us, Academia, Open Grid Emissions,
   the white paper download, Privacy, Terms): the same gradient as the Customers hero (solid page colour, lighter
   glows only at the right edge, deeper shades behind the copy), pulled up under the transparent header, but at
   content height instead of the full-height hero of the main pages. It ends on its own colour at a clean edge.
   Pair it with body.has-dark-hero. */
:root { --teal-pale: #E8F3F3; } /* Singularity teal-pale: compact-hero eyebrows (5.0:1 on Green 3) */
.hero-compact { --glow-a: #63e6be; /* teal.3 */ --glow-b: #66d9e8; /* cyan.3 */ --glow-c: #74c0fc; /* blue.3 */
  position: relative; overflow: hidden; margin-top: calc(-1 * (var(--header-h) + 1px));
  padding-top: calc(var(--header-h) + 1px + clamp(var(--space-9), 9vh, var(--space-12)));
  padding-bottom: clamp(var(--space-9), 8vh, var(--space-11));
  background:
    radial-gradient(46% 66% at 98% 2%, color-mix(in oklab, color-mix(in oklab, var(--page) 28%, var(--glow-a)) 72%, transparent), transparent 70%),
    radial-gradient(40% 58% at 90% 80%, color-mix(in oklab, color-mix(in oklab, var(--page) 34%, var(--glow-b)) 64%, transparent), transparent 70%),
    radial-gradient(58% 80% at -6% 0%, color-mix(in oklab, color-mix(in oklab, color-mix(in oklab, #0b7285 55%, var(--hero-bg)) 60%, var(--page)) 75%, transparent), transparent 72%),
    radial-gradient(48% 58% at 34% 60%, color-mix(in oklab, color-mix(in oklab, color-mix(in oklab, var(--page) 70%, var(--glow-c)) 80%, #000) 45%, transparent), transparent 70%),
    var(--page); }
.hero-compact > * { position: relative; z-index: 1; }
.hero-compact-copy { display: flex; flex-direction: column; gap: 28px; max-width: 52rem; }
.hero-compact .eyebrow { color: var(--teal-pale); }
.hero-compact .display-xl { color: #f8f9fa; }  /* gray.0 */
.hero-compact .lede { color: #f8f9fa; max-width: 40rem; }
.hero-compact .inline-link { color: #f8f9fa; }

/* ---------- Forms ----------
   Talk to us and Academia. A form sits on a card; labels and fields use the text tokens, so both themes work. */
.form-card { background: var(--surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--card-pad); }
.form-section { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 35em) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-sm); color: var(--ink); }
.form-optional, .field-note, .form-note { color: var(--muted); }
.field-note, .form-note { margin: 0; font-size: var(--text-sm); line-height: 1.5; }
.form-input, .form-textarea, .form-select { font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 14px; width: 100%; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
/* Placeholders sit a step lighter than typed text so they don't read as filled in (still >= 4.5:1 in both themes). */
.form-input::placeholder, .form-textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, var(--ground)); opacity: 1; }
.form-input:hover, .form-textarea:hover, .form-select:hover { border-color: var(--muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px color-mix(in srgb, var(--spruce) 22%, transparent); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
/* The chevron is a graphic (gray.6, >= 3:1 on white and on dark.8). */
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23868e96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 2.5rem; cursor: pointer; }
.form-checkbox-group { display: flex; align-items: flex-start; gap: var(--space-3); }
.form-checkbox-group input[type="checkbox"] { accent-color: var(--page); width: 16px; height: 16px; flex-shrink: 0; margin: 3px 0 0; cursor: pointer; }
.form-checkbox-group label { font-size: var(--text-sm); color: var(--muted); line-height: 1.55; cursor: pointer; }
.form-checkbox-group label a { color: var(--spruce); text-decoration: underline; text-underline-offset: 3px; }
/* Submit: the page's primary button (.btn .btn-lg), full width. */
.form-submit { margin-top: var(--space-2); }
.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }
.form-success { display: none; background: var(--frost); border-radius: var(--card-radius-inner); padding: var(--space-6); }
.form-success h3 { margin: 0 0 var(--space-2); color: var(--ink); }
.form-success p { margin: 0; font-size: var(--text-md); color: var(--muted); }
/* Form page layout: the form card beside a narrower column of notes. */
.form-main { padding-block: clamp(var(--space-9), 8vw, var(--space-11)); }
.form-layout { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 62em) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10); } }
