/* The client portal in Neura's look (Lee, 4 Dec 2026: "the session portal where my clinic clients
   look at their summary notes should be moved over to the neura domain and rebranded as such").
   Everything here applies only under <html data-brand="neura">, which the server writes into
   portal.html and learn.html when they are asked for on the portal's Neura address
   (tools/neura-portal.js neuraPortalHtml). Physio Now's look is untouched: the old address never
   loads this file.

   Neura's look, as neura.mt's site.css and the booking site's brand-neura.css have it: the Sora
   face (self-hosted, SIL OFL 1.1 in brand/sora-OFL.txt), white and a warm light grey with charcoal
   ink, hairlines, ink pill buttons, and violet (#8a4fe0) with its lilac tints wherever Physio Now
   is green. Never green or mint. The greens written out in the page stylesheets are turned to
   violet by the server (/neura/<sheet>.css, neuraSheet), and Inter to Sora; this file does the
   rest. The anatomy map keeps its own purple ("purple = your nervous system", styles.css).

   No text here is under 12px, and nothing here changes size after the first paint. */
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/brand/sora-latin.woff2") format("woff2");
}
/* While Sora loads: Arial at Sora's width and height, so nothing re-wraps when it arrives
   (the same measurements as neura.mt's site.css and the booking site's). */
@font-face { font-family: "Sora Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"); size-adjust: 112.7%; ascent-override: 86.1%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: "Sora Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 106%; ascent-override: 91.5%; descent-override: 27.4%; line-gap-override: 0%; }

html[data-brand="neura"] {
  /* Neura's own violet, exactly, where the recoloured sheet would give a near miss */
  --brand: #8a4fe0;
  --brand-dk: #6a3dc9;
  --brand-text: #5a33b0;
  --brand-strong: #6a3dc9;
  --brand-strong-dk: #4f2ba0;
  --brand-light: #f3edfd;
  --brand-mid: #c9b3f5;
  --brand-pale: #e4d8fa;
  --green: #8a4fe0;
  --green-dk: #6a3dc9;
  --green-light: #f3edfd;
  --green-mid: #c9b3f5;
  /* charcoal ink on white and a warm light grey, hairlines */
  --ink: #111111;
  --text: #111111;
  --text-muted: #57555c;
  --text-light: #6b6a68;
  --bg-soft: #faf9f8;
  --bg-alt: #f5f4f2;
  --page: #f5f4f2;
  --border: #e4e2df;
  --border-strong: #c6c4c0;
  --neura-ink: #161616;
  --neura-grad: linear-gradient(135deg, #a83cd6, #478eff);
}

/* ── the header: Neura's mark and name, then the page's own name ── */
html[data-brand="neura"] .ni-logo { gap: 10px; font-weight: 500; letter-spacing: -.02em; }
html[data-brand="neura"] .ni-logo-img--neura { width: 28px; height: 28px; flex: none; }
html[data-brand="neura"] .ni-logo-name { font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
html[data-brand="neura"] .ni-logo-app { font-weight: 500; }
@media (max-width: 640px) {
  html[data-brand="neura"] .ni-logo-img--neura { width: 26px; height: 26px; }
  html[data-brand="neura"] .ni-logo-name { font-size: 18px; }
}

/* ── type: lighter, as on neura.mt ── */
html[data-brand="neura"] h1.ni-h1 { font-weight: 400; letter-spacing: -.035em; }
html[data-brand="neura"] h2.ni-h2 { font-weight: 500; letter-spacing: -.02em; }
html[data-brand="neura"] .ni-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .1em; }

/* ── buttons: neura.mt's pills; the primary is ink, as on the site ── */
html[data-brand="neura"] .ni-btn { font-weight: 500; letter-spacing: .01em; }
html[data-brand="neura"] .ni-btn--primary { background: var(--neura-ink); border-color: var(--neura-ink); color: #fff; box-shadow: none; }
html[data-brand="neura"] .ni-btn--primary:hover { background: #2c2c2c; border-color: #2c2c2c; box-shadow: none; }
html[data-brand="neura"] .ni-btn--ghost { border-width: 1px; padding: 14px 21px; border-color: var(--border-strong); }
html[data-brand="neura"] .ni-btn--ghost.ni-btn--sm { padding: 10px 15px; }
html[data-brand="neura"] .ni-btn--ghost:hover { border-color: var(--neura-ink); color: var(--neura-ink); background: #fff; }

/* ── the print views' header: the mark and the name ── */
html[data-brand="neura"] .ni-print-logo--neura { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }

/* ── the learning page's heading: lighter, as the portal's own ── */
html[data-brand="neura"] .edu-page h1 { font-weight: 500; letter-spacing: -.03em; }
