/* The Neura theme for the booking pages (Lee, 6 October 2026: "add the booking system to neura
   matching the new theme"; 27 November 2026: "need our own neura.mt booking system like physio
   with the neura mt branding"). Everything here applies only under <html data-brand="neura">,
   which brand.js sets from ?brand=neura or a neura host; Physio Now's look is untouched.

   neura.mt's look, as its site.css has 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, pill buttons
   with small capitals, the purple-to-blue gradient kept for the mark, and violet (#8a4fe0) with
   its lilac tints wherever Physio Now is green. Never green or mint. The greens written out in
   styles.css and gift.css are turned to violet by the server (lib/brand.js, /neura/styles.css);
   this file does the rest. Framed inside neura.mt's Book page (data-embed), the page has no
   header or footer of its own: the Neura page around it has them. */
@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). */
@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"] {
  --ink: #111111;
  --muted: #6b6a68;
  --line: #e4e2df;
  --soft: #f5f4f2;
  --green: #8a4fe0;
  --green-dark: #6a3dc9;
  --green-deep: #4f2ba0;
  --green-soft: #f3edfd;
  --black: #161616;
  --neura-grad: linear-gradient(135deg, #a83cd6, #478eff);
  --neura-font: Sora, "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* the fixed header's height, for everything that sticks or scrolls under it (site-chrome.css) */
  --pn-chrome-top: 76px;
}
@media (max-width: 760px) {
  html[data-brand="neura"] { --pn-chrome-top: 64px; }
}
html[data-brand="neura"] body { background: #fff; font-family: var(--neura-font); }
html[data-brand="neura"] :is(button, input, textarea, select) { font-family: var(--neura-font); }

/* type: lighter, as on neura.mt */
html[data-brand="neura"] :is(.intro h1, .success-card h1, .page-shell h1, .gift-hero h1) { font-weight: 400; letter-spacing: -.04em; }
html[data-brand="neura"] :is(h2, h3, .section-heading h2) { font-weight: 500; letter-spacing: -.02em; }
html[data-brand="neura"] .eyebrow { font-weight: 500; letter-spacing: .1em; }
html[data-brand="neura"] .section-number { font-weight: 600; }

/* buttons: neura.mt's pills, small capitals; the primary is ink, as on the site */
html[data-brand="neura"] .button { font-weight: 500; font-size: 13px; letter-spacing: .035em; text-transform: uppercase; }
html[data-brand="neura"] .button--primary { background: var(--black); color: #fff; }
html[data-brand="neura"] .button--primary:hover { background: #2c2c2c; }
html[data-brand="neura"] .button--primary:disabled { background: #c9c7c3; color: #fff; }
html[data-brand="neura"] .button--selected { background: var(--black); }
html[data-brand="neura"] .button--quiet { background: var(--soft); color: var(--ink); }

/* ── Neura's header (site-chrome.js neuraHeader): white, the lockup, the site's pages ── */
.nh { position: fixed; z-index: 10000; top: 0; left: 0; right: 0; height: var(--pn-chrome-top); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid #e4e2df; color: #111111; font-family: Sora, "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; }
.nh-inner { height: 100%; max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 2.8vw, 40px); display: flex; align-items: center; gap: 20px; }
.nh .nv-lockup { margin-right: auto; }
.nh-menu { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(17, 17, 17, .05); }
.nh-menu a { padding: 9px 16px; border-radius: 999px; color: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.nh-menu a:hover { background: rgba(255, 255, 255, .9); }
.nh-phone { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nh-phone svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1px solid #111111; border-radius: 999px; color: #111111; font-size: 13px; font-weight: 500; letter-spacing: .035em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.nh-btn:hover { background: #111111; color: #fff; }
@media (max-width: 1100px) { .nh-menu { display: none; } }
@media (max-width: 760px) {
  .nh-inner { gap: 10px; }
  .nh-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid #c6c4c0; border-radius: 50%; }
  .nh-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nh-btn { padding: 0 16px; font-size: 12px; }
}

/* the lockup: the mark, "Neura", and "Manual Therapy & Wellness" under it */
.nv-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #111111; }
.nv-lockup-mark { display: block; flex: none; width: 36px; height: 36px; max-width: none; }
.nv-lockup-text { display: flex; flex-direction: column; line-height: 1; }
.nv-lockup-name { font: 500 21px/1 Sora, "Sora Fallback", system-ui, -apple-system, sans-serif; letter-spacing: -.02em; }
.nv-lockup-tag { margin-top: 4px; font: 500 12px/1.2 Sora, "Sora Fallback", system-ui, -apple-system, sans-serif; letter-spacing: -.01em; color: #6b6a68; white-space: nowrap; }
@media (max-width: 760px) {
  .nv-lockup { gap: 10px; }
  .nv-lockup-mark { width: 32px; height: 32px; }
  .nv-lockup-name { font-size: 19px; }
}
/* the narrowest phones: the mark and the name */
@media (max-width: 359px) { .nh .nv-lockup-tag { display: none; } }

/* ── Neura's footer (site-chrome.js neuraFooter): the site's light panel ── */
.nf { background: #f5f4f2; color: #1c1c1c; padding: 48px 0 28px; font: 400 14.5px/1.6 Sora, "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; }
.nf-wrap { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 2.8vw, 40px); }
.nf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nf-col { border-top: 1px solid #111111; padding-top: 12px; }
.nf-h { margin: 0 0 14px; font: 500 14px/1.3 Sora, "Sora Fallback", system-ui, -apple-system, sans-serif; letter-spacing: 0; }
.nf-h::before { content: "\2022"; margin-right: 8px; }
.nf ul { list-style: none; margin: 0; padding: 0; }
.nf li { padding: 3px 0; }
.nf p { margin: 0 0 8px; }
.nf a { color: inherit; text-decoration: none; }
.nf a:hover { text-decoration: underline; }
.nf-col p a { text-decoration: underline; text-underline-offset: 2px; }
.nf-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid #c6c4c0; font-size: 12.5px; color: #6b6a68; }
.nf-legal p { margin: 0; }
.nf-legal a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .nf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .nf-grid { grid-template-columns: 1fr; } .nf { padding-top: 36px; } }
@media print { .nh, .nf { display: none !important; } }

/* where Physio Now's green was more than a colour: the confirmation's glow, the dark panels */
html[data-brand="neura"] .success-page { background: radial-gradient(circle at 50% 8%, #f3edfd 0, #fff 44%); }
html[data-brand="neura"] .visit-countdown { background: var(--black); }
html[data-brand="neura"] .value-row strong { color: var(--ink); }
html[data-brand="neura"] .circuit__total { fill: var(--ink); }
html[data-brand="neura"] .stepper__item.is-active::after { background: var(--neura-grad); }
html[data-brand="neura"] .boot-screen img[src*="physionow"] { display: none; }
html[data-brand="neura"] .skip-focus:focus, html[data-brand="neura"] .sh-skip:focus { outline-color: #6a3dc9; }
html[data-brand="neura"] .sh-skip { font-family: var(--neura-font); }

/* ── Framed inside neura.mt's Book page: no header or footer of its own, and no gap above the
   first step. The page is as tall as its content, never as tall as the frame (a page that
   filled its frame could never tell the frame to shrink). ── */
html[data-brand="neura"][data-embed] { --pn-chrome-top: 0px; background: transparent; }
html[data-embed] body { background: transparent; padding-top: 0; }
html[data-embed] :is(.nh, .nf, .sh, .sh-overlay, .sh-skip, .site-footer) { display: none !important; }
html[data-embed] [data-site-header] ~ #app,
html[data-embed] [data-site-header] ~ main { min-height: 0; }
/* the page around has its own heading: the frame starts at the steps */
html[data-embed] .intro { display: none; }
html[data-embed] .stepper { margin-top: 18px; }
html[data-embed] .success-page { min-height: 0; background: transparent; }
html[data-embed] .booking-shell { padding-bottom: 32px; }
html[data-embed] .boot-screen { min-height: 320px; }
/* on a wide screen the summary is a column beside the choices, which the frame's height keeps from
   staying in view: its next step is offered again where the choices end (app.js embedNext) */
html[data-embed] .embed-next { display: flex; justify-content: flex-end; margin-top: 28px; }
html[data-embed] .embed-next .button--full { width: auto; min-width: 260px; margin-top: 0; padding-left: 28px; padding-right: 28px; }
@media (max-width: 900px) { html[data-embed] .embed-next { display: none; } }
/* a frame as tall as its page has no screen bottom to pin the phone's total-and-next bar to:
   it closes the summary instead, where the choices end */
@media (max-width: 900px) {
  html[data-embed] .summary-cta { position: static; padding: 16px 0 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; box-shadow: none; }
  html[data-embed] .summary-cta__total { display: none; }
}
