/* Built from nexusclinic/src/css/nexus-tokens.css, shared/wmnexus-brand/brand.css and public-web/src/css/site.css */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter.f052ee44c3.woff2) format("woff2")}
/*
 * NexusClinic design system: tokens, global fixes and base elements (design-system Task 1, 5 Nov 2026).
 *
 * Three layers, in this order:
 *   1. Palette   raw colours. Only the semantic layer below uses them; components never do.
 *   2. Semantic  what a value is for (surface, text-muted, primary, danger-text, focus...). Components
 *                (nexus-components.css, nx-*) use these only. Dark mode redefines this layer, nothing else.
 *   3. Base      global fixes and plain elements (text inflation, Bootstrap neutralisation, headings,
 *                fields, focus ring, reduced motion).
 * The legacy --nc-* tokens (nc-tokens.css, loaded next) alias these where the meaning is the same; see there.
 *
 * Load order (build-site.py, after the platform's Bootstrap and theme.css):
 *   nc-fonts.css -> nexus-tokens.css -> nc-tokens.css -> nc-components.css -> nc-public.css -> nexus-components.css
 *
 * Contrast (WCAG 2.2 AA, checked by script for both themes): every text token >= 4.5:1 on the surfaces it is
 * used on; focus and field edges >= 3:1. Three deliberate additions to the brief's palette, each for AA:
 *   --nx-danger-700  red text on the red tint (#DC2626 on #FEF2F2 is 4.41:1; #B91C1C is 5.91:1)
 *   --nx-edge-500    field edges (#CBD5E1 is 1.48:1 on white; a field's edge needs 3:1, #7F8EA3 is 3.33:1)
 *   text-subtle      is for white surfaces only (#64748B is 4.76:1 on white, 4.44:1 on the page background)
 */

:root {
  /* ---------------- 1. Palette ---------------- */
  --nx-brand-50: #EFF6FF;
  --nx-brand-600: #2563EB;
  --nx-brand-700: #1D4ED8;
  --nx-ink-900: #0F172A;
  --nx-ink-600: #475569;
  --nx-ink-500: #64748B;
  --nx-edge-500: #7F8EA3;
  --nx-line-300: #CBD5E1;
  --nx-line-200: #E2E8F0;
  --nx-mist-100: #F1F5F9;
  --nx-mist-50: #F8FAFC;
  --nx-paper: #F5F7FB;
  --nx-white: #FFFFFF;
  --nx-success-600: #15803D;
  --nx-success-50: #F0FDF4;
  --nx-warning-700: #B45309;
  --nx-warning-50: #FFFBEB;
  --nx-danger-600: #DC2626;
  --nx-danger-700: #B91C1C;
  --nx-danger-50: #FEF2F2;
  --nx-night-950: #0B1220;
  --nx-night-200: #E2E8F0;

  /* ---------------- 2. Semantic (light) ---------------- */
  color-scheme: light;
  --nx-bg: var(--nx-paper);
  --nx-surface: var(--nx-white);
  --nx-surface-raised: var(--nx-white);          /* menus, dialogs, toasts: white plus --nx-shadow-pop */
  --nx-surface-sunken: var(--nx-mist-50);        /* read-only and disabled fields */
  --nx-surface-hover: var(--nx-mist-100);        /* rows and menu items under the pointer */
  --nx-overlay: rgba(15, 23, 42, .45);
  --nx-text: var(--nx-ink-900);
  --nx-text-muted: var(--nx-ink-600);
  --nx-text-subtle: var(--nx-ink-500);           /* white surfaces only (see above) */
  --nx-border: var(--nx-line-200);
  --nx-border-strong: var(--nx-line-300);
  --nx-border-input: var(--nx-edge-500);
  --nx-primary: var(--nx-brand-600);
  --nx-primary-hover: var(--nx-brand-700);
  --nx-primary-subtle: var(--nx-brand-50);
  --nx-primary-text: var(--nx-brand-700);        /* blue as text: links, selected items on the tint */
  --nx-on-primary: var(--nx-white);
  --nx-link: var(--nx-brand-700);
  --nx-success: var(--nx-success-600);
  --nx-success-subtle: var(--nx-success-50);
  --nx-warning: var(--nx-warning-700);
  --nx-warning-subtle: var(--nx-warning-50);
  --nx-danger: var(--nx-danger-600);             /* fills and borders: destructive buttons, invalid fields */
  --nx-danger-hover: var(--nx-danger-700);
  --nx-danger-text: var(--nx-danger-700);        /* red words, on white or on the tint */
  --nx-danger-subtle: var(--nx-danger-50);
  --nx-on-danger: var(--nx-white);
  --nx-info: var(--nx-brand-700);
  --nx-info-subtle: var(--nx-brand-50);
  --nx-neutral: var(--nx-ink-600);
  --nx-neutral-subtle: var(--nx-mist-100);
  --nx-focus: var(--nx-brand-600);
  --nx-header-bg: var(--nx-night-950);
  --nx-on-header: var(--nx-night-200);
  --nx-header-hover: rgba(226, 232, 240, .1);
  --nx-skeleton: var(--nx-line-200);

  /* ---------------- Typography: Inter (self-hosted, nc-fonts.css), rem so "larger text" scales ---------------- */
  --nx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nx-fs-display: 1.75rem;   --nx-lh-display: 2.25rem;   /* 28/36, marketing hero only */
  --nx-fs-title: 1.5rem;      --nx-lh-title: 2rem;        /* 24/32, one page title */
  --nx-fs-h2: 1.125rem;       --nx-lh-h2: 1.625rem;       /* 18/26, section, card and dialog titles */
  --nx-fs-h3: 1rem;           --nx-lh-h3: 1.5rem;         /* 16/24, sub-sections, a patient's name in a list */
  --nx-fs-body: .9375rem;     --nx-lh-body: 1.375rem;     /* 15/22, default text */
  --nx-fs-sm: .8125rem;       --nx-lh-sm: 1.125rem;       /* 13/18, help, meta, secondary */
  --nx-fs-label: .8125rem;    --nx-lh-label: 1.125rem;    /* 13/18, field labels, sentence case, weight 500 */
  --nx-fs-overline: .6875rem; --nx-lh-overline: 1rem;     /* 11/16, UPPERCASE section labels only */
  --nx-fs-metric: 1.5rem;     --nx-lh-metric: 1.75rem;    /* 24/28, KPI numbers, tabular */
  --nx-fs-input: max(16px, 1rem);                         /* field values: 16px at least, or iPhone Safari zooms */
  --nx-fw-regular: 400; --nx-fw-medium: 500; --nx-fw-semibold: 600;   /* nothing heavier */
  --nx-tracking-overline: .06em;

  /* ---------------- Space (4px grid), shape, elevation ---------------- */
  --nx-s-1: 4px; --nx-s-2: 8px; --nx-s-3: 12px; --nx-s-4: 16px; --nx-s-5: 20px; --nx-s-6: 24px; --nx-s-8: 32px;
  --nx-r-sm: 6px; --nx-r-ctl: 8px; --nx-r-card: 12px; --nx-r-modal: 16px; --nx-r-pill: 999px;
  --nx-shadow-card: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --nx-shadow-pop: 0 8px 24px rgba(15, 23, 42, .12);    /* menus and dialogs only */

  /* ---------------- Controls, icons, focus, motion ---------------- */
  --nx-ctl-h: 44px; --nx-ctl-h-sm: 36px; --nx-touch: 44px;
  /* Buttons look smaller than fields (6 Nov, product owner: "we can make them little smaller"); every button still
     takes a 44px touch through an invisible extension (nexus-components.css). */
  --nx-btn-h: 40px; --nx-btn-h-sm: 32px; --nx-fs-btn: .875rem; --nx-lh-btn: 1.25rem;
  --nx-icon: 20px; --nx-icon-sm: 16px; --nx-icon-menu: 18px; --nx-icon-stroke: 1.5;
  --nx-avatar-sm: 32px; --nx-avatar: 40px; --nx-avatar-lg: 56px;
  --nx-dialog-w: 560px; --nx-menu-w: 220px;
  --nx-focus-w: 2px; --nx-focus-offset: 2px;
  --nx-dur: 150ms; --nx-ease: ease-out;
  --nx-header-h: 56px;
  --nx-z-header: 1050; --nx-z-popover: 1060; --nx-z-modal: 1080; --nx-z-toast: 1090;   /* the legacy layers' values */
}

/* ---------------- 2. Semantic (dark): the same meanings, values from the existing contrast-checked dark palette ---------------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --nx-bg: #0E1626;
  --nx-surface: #152033;
  --nx-surface-raised: #1A273D;
  --nx-surface-sunken: #111B2C;
  --nx-surface-hover: #213049;
  --nx-overlay: rgba(2, 6, 14, .65);
  --nx-text: #F1F5F9;            /* 14.9:1 on surface */
  --nx-text-muted: #B4C1D3;      /* 8.95:1 */
  --nx-text-subtle: #9AA9BF;     /* 6.84:1 */
  --nx-border: #2A3A55;
  --nx-border-strong: #3A4D6B;
  --nx-border-input: #6A7D9B;    /* 3.9:1, a field's edge */
  --nx-primary: var(--nx-brand-600);   /* fills keep #2563EB: white on it is 5.17:1 */
  --nx-primary-hover: var(--nx-brand-700);   /* white on it 6.70:1 */
  --nx-primary-subtle: #172B52;
  --nx-primary-text: #93C5FD;    /* 9.05:1 on surface, 7.74:1 on the tint */
  --nx-link: #93C5FD;
  --nx-success: #6EE7B7;  --nx-success-subtle: #0F3A2C;
  --nx-warning: #FCD34D;  --nx-warning-subtle: #3A2C0A;
  --nx-danger: var(--nx-danger-600);   /* fills: white on it is 4.83:1 */
  --nx-danger-hover: var(--nx-danger-700);   /* white on it 6.47:1 */
  --nx-danger-text: #FCA5A5;     /* 8.22:1 on its tint */
  --nx-danger-subtle: #3F1717;
  --nx-info: #93C5FD;     --nx-info-subtle: #172B52;
  --nx-neutral: #CBD5E1;  --nx-neutral-subtle: #2A3A55;
  --nx-focus: #60A5FA;           /* 6.42:1 on surface */
  --nx-header-bg: #0A111E;
  --nx-skeleton: #26354F;
  --nx-shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --nx-shadow-pop: 0 8px 24px rgba(0, 0, 0, .5);
}

/* ---------------- 3. Global fixes and base elements ---------------- */
/* Android Chrome enlarges long paragraphs on its own ("text inflation"); the type scale decides sizes instead. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Widths include padding and border (Bootstrap does the same; the components must not depend on it). */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--nx-font); font-size: var(--nx-fs-body); line-height: var(--nx-lh-body); font-weight: var(--nx-fw-regular);
  color: var(--nx-text); background-color: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap's heading sizes and margins, neutralised (plain element selectors: later than Bootstrap, below any class). */
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: var(--nx-fw-semibold); color: inherit; margin: 0 0 var(--nx-s-3); }
h1 { font-size: var(--nx-fs-title); line-height: var(--nx-lh-title); }
h2 { font-size: var(--nx-fs-h2); line-height: var(--nx-lh-h2); }
h3 { font-size: var(--nx-fs-h3); line-height: var(--nx-lh-h3); }
h4, h5, h6 { font-size: var(--nx-fs-body); line-height: var(--nx-lh-body); }
b, strong, th { font-weight: var(--nx-fw-semibold); }   /* the browser's own "bold" is 700 */
small { font-size: var(--nx-fs-sm); }

/* Fields: 16px values everywhere a doctor can type, so iPhone Safari never zooms the page. */
input, select, textarea, button { font-family: inherit; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: var(--nx-fs-input); }

/* Bootstrap's controls and dialogs follow the system (platform pages such as sign-in and profile use them). */
/* Font, weight and corners only: the platform's header search is a Bootstrap input group whose layout must not move. */
.btn { font-family: inherit; font-weight: var(--nx-fw-medium); border-radius: var(--nx-r-ctl); }
.btn-primary { background-color: var(--nx-primary); border-color: var(--nx-primary); color: var(--nx-on-primary); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--nx-primary-hover); border-color: var(--nx-primary-hover); color: var(--nx-on-primary); }
.form-control { font-size: var(--nx-fs-input); color: var(--nx-text); background-color: var(--nx-surface);
  border: 1px solid var(--nx-border-input); border-radius: var(--nx-r-ctl); box-shadow: none; }
.form-control:focus { border-color: var(--nx-focus); box-shadow: none; }
.modal-content { border-radius: var(--nx-r-modal); border-color: var(--nx-border); box-shadow: var(--nx-shadow-pop); }

/* A required mark is a red star, not a dotted-underlined abbreviation. */
abbr[title] { text-decoration: none; border-bottom: 0; cursor: default; }

/* Numbers, phone numbers and ids line up. */
input[type="tel"], input[type="number"], time, data { font-variant-numeric: tabular-nums; }

/* One focus ring everywhere: a 2px outline with a 2px gap, never a glow. */
:focus-visible { outline: var(--nx-focus-w) solid var(--nx-focus); outline-offset: var(--nx-focus-offset); }

/* People who ask for less motion get none (spinners stop; their labels say what is happening). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
}

/*
 * WM Nexus brand layer (2026 identity, adopted 7 Nov 2026). Loaded after nexus-tokens.css; it renames nothing and only
 * points the semantic --nx-* tokens at the brand palette, so every component follows. Used by the company website first;
 * the clinic app adopts it later, after the product owner's phone test.
 *
 * Contrast on white (WCAG 2.2 AA needs 4.5:1 for text):
 *   Nexus Blue #0A3B8E 10.35:1   Deep Navy #0B2240 15.94:1   Teal text #007A70 5.23:1   Slate text #5B6B82 5.43:1
 *   Nexus Teal #00B3A4 is 2.63:1 on white: shapes, the logo and dark backgrounds only (6.06:1 on Deep Navy), never text.
 */
:root {
  --wm-blue: #0A3B8E;        /* Nexus Blue: trust, stability */
  --wm-teal: #00B3A4;        /* Nexus Teal: health, growth (decorative on light) */
  --wm-navy: #0B2240;        /* Deep Navy: professional */
  --wm-soft-blue: #E6F0FF;   /* Soft Blue: clean, modern */
  --wm-light-teal: #E8F8F6;  /* Light Teal: calm, supportive */
  --wm-slate: #6B7C93;       /* Slate: lines and icons only */
  --wm-off-white: #F8FAFC;   /* Off White: background */
  --wm-teal-text: #007A70;   /* teal for text and outlines on light surfaces */
  --wm-slate-text: #5B6B82;  /* slate for small text */
  --wm-blue-on-dark: #4F86F0;
  --wm-teal-on-dark: #2DD4BF;

  --nx-bg: var(--wm-off-white);
  --nx-primary: var(--wm-blue);
  --nx-primary-hover: var(--wm-navy);
  --nx-primary-subtle: var(--wm-soft-blue);
  --nx-primary-text: var(--wm-blue);
  --nx-link: var(--wm-blue);
  --nx-focus: #1D5FD0;
  --nx-text: var(--wm-navy);
  --nx-text-subtle: var(--wm-slate-text);
  --nx-info: var(--wm-blue);
  --nx-info-subtle: var(--wm-soft-blue);
  --nx-success: var(--wm-teal-text);
  --nx-success-subtle: var(--wm-light-teal);
  --nx-header-bg: var(--wm-navy);
}

/*
 * The public website's own layer, over the NexusClinic design tokens (nexus-tokens.css, D82): every colour, size,
 * radius and shadow comes from an --nx-* token. Mobile first; the layout widens at 720px and 1024px.
 * Light only for now: the tokens' dark values apply under [data-theme="dark"], which this site does not set.
 */

:root { --w-max: 1120px; --w-narrow: 760px; --band: var(--wm-navy); --on-band: #E2E8F0; --on-band-muted: #B4C1D3; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nx-surface); font-size: 1rem; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--nx-link); text-underline-offset: 2px; }
a:hover { color: var(--nx-primary-hover); }
p { margin: 0 0 var(--nx-s-3); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--nx-text-muted); }
.ico { width: var(--nx-icon); height: var(--nx-icon); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--nx-surface); padding: var(--nx-s-2) var(--nx-s-4); border-radius: var(--nx-r-ctl); }
.skip:focus { left: var(--nx-s-4); top: var(--nx-s-2); }

.wrap { max-width: var(--w-max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: var(--w-narrow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--nx-s-2); min-height: var(--nx-touch);
  padding: 0 var(--nx-s-5); border-radius: var(--nx-r-ctl); border: 1px solid transparent; font-weight: var(--nx-fw-medium);
  font-size: var(--nx-fs-btn); text-decoration: none; cursor: pointer; transition: background-color var(--nx-dur) var(--nx-ease), border-color var(--nx-dur) var(--nx-ease); }
.btn-lg { min-height: 48px; padding: 0 var(--nx-s-6); font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--nx-primary); color: var(--nx-on-primary); }
.btn-primary:hover { background: var(--nx-primary-hover); color: var(--nx-on-primary); }
.btn-ghost { background: transparent; color: var(--nx-text); border-color: var(--nx-border-strong); }
.btn-ghost:hover { background: var(--nx-surface-hover); color: var(--nx-text); }
.btn-on-dark { background: var(--nx-white); color: var(--nx-ink-900); }
.btn-on-dark:hover { background: var(--nx-mist-100); color: var(--nx-ink-900); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: var(--nx-z-header); background: color-mix(in srgb, var(--nx-surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--nx-border); }
.top-in { max-width: var(--w-max); margin: 0 auto; display: flex; align-items: center; gap: var(--nx-s-4); min-height: 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.brand { display: inline-flex; align-items: center; gap: var(--nx-s-2); color: var(--nx-text); text-decoration: none; font-weight: var(--nx-fw-semibold); font-size: 1.0625rem; }
.brand:hover { color: var(--nx-text); }
.brand .logo { display: block; height: 26px; width: auto; }
@media (min-width: 720px) { .brand .logo { height: 34px; } }
.foot-brand .logo { height: 28px; }
.foot-line { color: var(--wm-teal-text); font-weight: var(--nx-fw-semibold); }
.nav, .top-actions { display: none; }
.nav a { color: var(--nx-text-muted); text-decoration: none; font-weight: var(--nx-fw-medium); font-size: .9375rem; padding: var(--nx-s-2) var(--nx-s-1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--nx-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--nx-primary); }

.menu { margin-left: auto; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: var(--nx-s-2); min-height: var(--nx-touch); padding: 0 var(--nx-s-3);
  border: 1px solid var(--nx-border-strong); border-radius: var(--nx-r-ctl); cursor: pointer; font-weight: var(--nx-fw-medium); }
.menu summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; content: ""; position: relative; }
.bars::before { position: absolute; top: -5px; } .bars::after { position: absolute; top: 5px; }
.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { top: 0; transform: rotate(45deg); } .menu[open] .bars::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: var(--nx-s-2); background: var(--nx-surface);
  border-bottom: 1px solid var(--nx-border); box-shadow: var(--nx-shadow-pop);
  padding: var(--nx-s-3) max(16px, env(safe-area-inset-right, 0px)) var(--nx-s-5) max(16px, env(safe-area-inset-left, 0px)); }
.menu-panel > a:not(.btn) { color: var(--nx-text); text-decoration: none; font-size: 1.0625rem; padding: var(--nx-s-3) 0; border-bottom: 1px solid var(--nx-border); }
.menu-panel > a[aria-current="page"] { color: var(--nx-primary-text); }
.menu-panel .btn:first-of-type { margin-top: var(--nx-s-3); }

@media (min-width: 1024px) {
  .nav { display: flex; gap: var(--nx-s-5); margin-left: var(--nx-s-6); }
  .top-actions { display: flex; gap: var(--nx-s-2); margin-left: auto; }
  .menu { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section.alt { background: var(--nx-bg); }
.head { max-width: 680px; margin-bottom: var(--nx-s-8); }
.eyebrow { font-size: var(--nx-fs-overline); line-height: var(--nx-lh-overline); text-transform: uppercase; letter-spacing: .08em; font-weight: var(--nx-fw-semibold); color: var(--nx-primary-text); margin-bottom: var(--nx-s-2); }
.section h2, .band h2, .prose h2 { font-size: 1.625rem; line-height: 1.25; margin-bottom: var(--nx-s-3); }
.lead { font-size: 1.0625rem; color: var(--nx-text-muted); max-width: 62ch; }
.more-row { margin-top: var(--nx-s-6); }
.more { display: inline-flex; align-items: center; gap: var(--nx-s-1); font-weight: var(--nx-fw-medium); text-decoration: none; }
.more .ico { width: 16px; height: 16px; transition: transform var(--nx-dur) var(--nx-ease); }
.more:hover .ico { transform: translateX(3px); }
@media (min-width: 720px) { .section { padding-block: 80px; } .section h2, .band h2, .prose h2 { font-size: 2rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 56px; background:
  radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--nx-primary) 12%, transparent), transparent 70%),
  radial-gradient(40rem 24rem at -10% 10%, color-mix(in srgb, var(--wm-teal) 12%, transparent), transparent 70%), var(--nx-surface); }
.hero-in { display: grid; gap: var(--nx-s-8); align-items: center; }
.hero h1 { font-size: 2.125rem; line-height: 1.15; letter-spacing: -.02em; margin-bottom: var(--nx-s-4); }
.hero h1 span { display: block; color: var(--nx-primary-text); }
.hero .lead { font-size: 1.125rem; }
.hero-compact { padding-block: 40px 32px; border-bottom: 1px solid var(--nx-border); }
.hero-compact h1 { font-size: 2rem; max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--nx-s-3); margin: var(--nx-s-6) 0; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--nx-s-3) var(--nx-s-4); color: var(--nx-text-muted); font-size: .875rem; }
.trust li { display: flex; align-items: center; gap: var(--nx-s-2); }
.trust .ico { color: var(--nx-success); width: 18px; height: 18px; }
@media (min-width: 720px) {
  .hero { padding-block: 72px 88px; }
  .hero h1 { font-size: 3rem; }
  .hero-compact { padding-block: 64px 48px; }
  .hero-compact h1 { font-size: 2.5rem; }
  .trust { display: flex; flex-wrap: wrap; gap: var(--nx-s-5); }
}
@media (min-width: 1024px) { .hero-in { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

/* The product illustration: made of the product's own parts, with invented sample data (no screenshot to go stale). */
.preview { margin: 0; position: relative; }
.preview > div { display: grid; gap: var(--nx-s-3); }
.pv-card { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); padding: var(--nx-s-4); box-shadow: 0 12px 32px rgba(15, 23, 42, .08); }
.pv-title { display: flex; align-items: center; gap: var(--nx-s-2); font-weight: var(--nx-fw-semibold); font-size: .875rem; margin-bottom: var(--nx-s-3); }
.pv-title .ico { width: 18px; height: 18px; color: var(--nx-primary-text); }
.pv-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nx-s-2); }
.pv-card li { display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: var(--nx-s-2); font-size: .875rem; padding: 6px 0; border-top: 1px solid var(--nx-border); }
.pv-card li:first-child { border-top: 0; }
.pv-time { color: var(--nx-text-subtle); font-variant-numeric: tabular-nums; }
.pill { font-size: .75rem; padding: 2px 8px; border-radius: var(--nx-r-pill); background: var(--nx-neutral-subtle); color: var(--nx-neutral); white-space: nowrap; }
.pill-good { background: var(--nx-success-subtle); color: var(--nx-success); }
.pill-info { background: var(--nx-info-subtle); color: var(--nx-info); }
.pill-warn { background: var(--nx-warning-subtle); color: var(--nx-warning); }
.pv-alert { display: flex; gap: var(--nx-s-2); align-items: flex-start; background: var(--nx-warning-subtle); color: var(--nx-warning); border-radius: var(--nx-r-ctl); padding: var(--nx-s-2) var(--nx-s-3); font-size: .8125rem; }
.pv-alert .ico { width: 16px; height: 16px; margin-top: 2px; }
.pv-line { font-size: .875rem; margin: var(--nx-s-2) 0 0; }
.pv-chart { width: 100%; height: 60px; display: block; }
.pv-band { fill: var(--nx-success-subtle); }
.pv-path { fill: none; stroke: var(--nx-primary); stroke-width: 2; }
.pv-chart circle { fill: var(--nx-surface); stroke: var(--nx-primary); stroke-width: 2; }
.pv-caption { font-size: .8125rem; color: var(--nx-text-muted); margin: var(--nx-s-2) 0 0; }
@media (min-width: 720px) {
  .preview > div { grid-template-columns: 1fr 1fr; }
  .pv-card:first-child { grid-column: 1 / -1; }
}

/* ---------- Cards, steps, lists ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nx-s-4); }
.card { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); padding: var(--nx-s-6); min-width: 0;
  transition: border-color var(--nx-dur) var(--nx-ease), box-shadow var(--nx-dur) var(--nx-ease), transform var(--nx-dur) var(--nx-ease); }
.cards .card:hover { border-color: var(--nx-border-strong); box-shadow: 0 8px 24px rgba(15, 23, 42, .06); transform: translateY(-2px); }
.card h3, .card h2 { font-size: 1.0625rem; line-height: 1.4; margin: var(--nx-s-3) 0 var(--nx-s-2); }
.card p { color: var(--nx-text-muted); font-size: .9375rem; }
.card .more { margin-top: var(--nx-s-2); font-size: .9375rem; }
.card-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--nx-primary-subtle); color: var(--nx-primary-text); }
@media (min-width: 720px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--nx-s-4); }
.steps li { counter-increment: step; position: relative; padding: var(--nx-s-6); padding-top: 64px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); }
.steps li::before { content: counter(step); position: absolute; top: var(--nx-s-6); left: var(--nx-s-6); width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--nx-primary); color: var(--nx-on-primary); font-weight: var(--nx-fw-semibold); font-size: .875rem; }
.steps b { display: block; font-size: 1.0625rem; margin-bottom: var(--nx-s-1); }
.steps p { color: var(--nx-text-muted); margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.list { padding-left: 1.25rem; display: grid; gap: var(--nx-s-2); color: var(--nx-text-muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nx-s-3); }
.checks li { display: flex; gap: var(--nx-s-2); align-items: flex-start; }
.checks .ico { color: var(--nx-success); margin-top: 3px; width: 18px; height: 18px; }
.split { display: grid; gap: var(--nx-s-8); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.prose { min-width: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.25rem; display: grid; gap: var(--nx-s-2); margin: 0 0 var(--nx-s-4); }
.prose h2 + p, .prose h2 + ul { margin-top: 0; }
.prose h2:not(:first-child) { margin-top: var(--nx-s-8); }
.callout { display: flex; gap: var(--nx-s-3); align-items: flex-start; background: var(--nx-warning-subtle); color: var(--nx-text); border: 1px solid color-mix(in srgb, var(--nx-warning) 30%, transparent);
  border-radius: var(--nx-r-card); padding: var(--nx-s-4); margin-bottom: var(--nx-s-6); }
.callout .ico { color: var(--nx-warning); margin-top: 3px; }
.callout p { margin: 0; }

/* ---------- Pricing ---------- */
.plans { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nx-s-4); max-width: 820px; }
.plan { border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); padding: var(--nx-s-6); background: var(--nx-surface); }
.plan-featured { border-color: var(--nx-primary); box-shadow: 0 0 0 1px var(--nx-primary), 0 12px 32px rgba(10, 59, 142, .12); }
.plan h3 { font-size: 1.125rem; margin-bottom: var(--nx-s-2); }
.price { display: flex; align-items: baseline; gap: var(--nx-s-2); margin-bottom: var(--nx-s-2); }
.price b { font-size: 2.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price span { color: var(--nx-text-muted); font-size: .875rem; }
.plan-who { color: var(--nx-text-muted); }
.plan .checks { margin-top: var(--nx-s-4); padding-top: var(--nx-s-4); border-top: 1px solid var(--nx-border); }
.note { color: var(--nx-text-muted); font-size: .875rem; margin-top: var(--nx-s-4); }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); background: var(--nx-surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { text-align: left; padding: var(--nx-s-3) var(--nx-s-4); border-top: 1px solid var(--nx-border); vertical-align: top; }
.table thead th { border-top: 0; background: var(--nx-mist-50); font-size: .8125rem; color: var(--nx-text-muted); }
.tag { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: var(--nx-r-pill); background: var(--nx-neutral-subtle); color: var(--nx-neutral); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--nx-border); }
.faq details { border-bottom: 1px solid var(--nx-border); }
.faq summary { list-style: none; cursor: pointer; padding: var(--nx-s-4) 0; font-weight: var(--nx-fw-medium); font-size: 1.0625rem; display: flex; justify-content: space-between; gap: var(--nx-s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--nx-text-subtle); font-size: 1.375rem; line-height: 1; transition: transform var(--nx-dur) var(--nx-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { color: var(--nx-text-muted); padding-bottom: var(--nx-s-4); }

/* ---------- CTA band and footer ---------- */
.band { background: var(--band); color: var(--on-band); padding-block: 56px; }
.band-in { display: grid; gap: var(--nx-s-6); align-items: center; }
.band h2 { color: #FFFFFF; }
.band p { color: var(--on-band-muted); margin: 0; }
.band a:not(.btn) { color: var(--wm-teal-on-dark); }
@media (min-width: 720px) { .band-in { grid-template-columns: 1fr auto; } }

.foot { border-top: 1px solid var(--nx-border); background: var(--nx-bg); padding-block: 40px 24px; font-size: .9375rem; }
.foot-in { max-width: var(--w-max); margin: 0 auto; display: grid; gap: var(--nx-s-6);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.foot-brand p { color: var(--nx-text-muted); margin: var(--nx-s-2) 0 0; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--nx-s-2) var(--nx-s-4); }
.foot-nav a { color: var(--nx-text-muted); text-decoration: none; padding: var(--nx-s-1) 0; }
.foot-nav a:hover { color: var(--nx-text); }
.foot-legal { max-width: var(--w-max); margin: var(--nx-s-8) auto 0; color: var(--nx-text-subtle); font-size: .8125rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1fr auto; } .foot-nav { grid-template-columns: repeat(4, auto); gap: var(--nx-s-2) var(--nx-s-6); } }

/* ---------- Contact form ---------- */
.split-form { align-items: start; }
.form { display: grid; gap: var(--nx-s-4); min-width: 0; max-width: 620px; }
.form-note { display: flex; gap: var(--nx-s-2); align-items: center; color: var(--nx-warning); background: var(--nx-warning-subtle); padding: var(--nx-s-2) var(--nx-s-3); border-radius: var(--nx-r-ctl); font-size: .875rem; margin: 0; }
.form-note .ico { width: 16px; height: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: var(--nx-s-4); }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: var(--nx-fw-medium); font-size: .9375rem; }
.req { color: var(--nx-danger-text); }
.opt { color: var(--nx-text-subtle); font-weight: var(--nx-fw-regular); font-size: .8125rem; margin-left: 4px; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: var(--nx-ctl-h); padding: 10px 12px; border: 1px solid var(--nx-border-input);
  border-radius: var(--nx-r-ctl); background: var(--nx-surface); color: var(--nx-text); font-size: var(--nx-fs-input); }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: var(--nx-focus-w) solid var(--nx-focus); outline-offset: 1px; border-color: var(--nx-focus); }
.field [aria-invalid="true"] { border-color: var(--nx-danger); }
.hint { color: var(--nx-text-subtle); font-size: .8125rem; margin: 0; }
.err { color: var(--nx-danger-text); font-size: .875rem; margin: 0; }
.check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--nx-s-3); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--nx-primary); }
.check label { font-weight: var(--nx-fw-regular); }
.check .err { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.status { border-radius: var(--nx-r-card); padding: var(--nx-s-4); }
.status.ok { background: var(--nx-success-subtle); color: var(--nx-success); }
.status.fail { background: var(--nx-danger-subtle); color: var(--nx-danger-text); }
.contact-side { display: grid; gap: var(--nx-s-4); min-width: 0; }
.contact-side h2 { font-size: 1.0625rem; }

/* ---------- Company pages ---------- */
.areas .card { display: flex; flex-direction: column; }
.areas .card .more { margin-top: auto; padding-top: var(--nx-s-2); }
.feature { display: grid; gap: var(--nx-s-8); align-items: center; }
@media (min-width: 1024px) { .feature { grid-template-columns: 1fr 1fr; gap: 56px; } }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: var(--nx-fw-medium); padding: 2px 10px; border-radius: var(--nx-r-pill);
  background: var(--nx-primary-subtle); color: var(--nx-primary-text); margin-bottom: var(--nx-s-3); }
.area { scroll-margin-top: 80px; }
.area + .area { border-top: 1px solid var(--nx-border); }
.area-head { display: flex; gap: var(--nx-s-4); align-items: flex-start; margin-bottom: var(--nx-s-6); }
.area-head .card-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.area-head h2 { margin-bottom: var(--nx-s-2); }
.draft { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-warning); }

/* ---------- Brand touches (WM Nexus, 7 Nov 2026) ---------- */
.verbs { list-style: none; padding: 0; margin: var(--nx-s-6) 0 var(--nx-s-5); display: flex; flex-wrap: wrap; gap: var(--nx-s-2); }
.verbs li { font-weight: var(--nx-fw-semibold); font-size: .875rem; padding: 4px 12px; border-radius: var(--nx-r-pill); background: var(--wm-light-teal); color: var(--wm-teal-text); }
.band { background-image: radial-gradient(50rem 18rem at 100% 120%, color-mix(in srgb, var(--wm-teal) 22%, transparent), transparent 70%); }
.band .eyebrow { color: var(--wm-teal-on-dark); }
.product-logo { display: block; height: 44px; width: auto; margin-bottom: var(--nx-s-4); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nx-s-3); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { display: flex; gap: var(--nx-s-3); align-items: center; padding: var(--nx-s-4); border: 1px solid var(--nx-border); border-radius: var(--nx-r-card); background: var(--nx-surface); font-weight: var(--nx-fw-medium); }
.values .ico { color: var(--wm-teal-text); }
