/* GeneralPractice.AI: a light touch that brings every other page in line with the new home page (18 Nov 2026).
   It loads after each page's own styles and changes only:
   - the bar: glass pills at the home page's sizes, with a soft light that glides under the link you're on;
   - the buttons: the home page's colours and weight, with a glow on hover;
   - headings and the small labels above them: the home page's weight and spacing;
   - the page behind everything: a faint grid and soft colour glows.
   To undo, take out the two lines that load harmonise.css and harmonise.js. */
:root {
  --hx-grad: linear-gradient(100deg, #FFB48E, #F5A3CB 19%, #B9B6FF 35%, #9ED4F8 50%, #B9B6FF 65%, #F5A3CB 81%, #FFB48E);
  --hx-glass: rgba(255,255,255,.78); --hx-edge: rgba(21,19,43,.1); --hx-ease: cubic-bezier(.2,.7,.1,1);
}

/* behind the page: the new home's soft grid and a little colour */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(36% 36% at 12% 18%, rgba(166,169,255,.22), transparent 70%), radial-gradient(34% 34% at 90% 26%, rgba(245,146,190,.16), transparent 70%), radial-gradient(40% 40% at 60% 100%, rgba(130,200,246,.18), transparent 70%), linear-gradient(rgba(21,19,43,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,19,43,.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 24px 24px, 24px 24px; }

/* ---------- the bar ---------- */
.nav { background: transparent !important; border-bottom: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding-top: 12px; }
.nav .brand, .nav-links, .nav-act .cc, .nav-menu { background: var(--hx-glass); border: 1px solid var(--hx-edge); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 6px 20px -12px rgba(30,20,90,.25); }

/* the logo and name, always shown, at the home page's size */
.nav .brand { padding: 3px 16px 3px 3px; border-radius: 999px; transition: box-shadow .35s; }
.nav .brand img { width: 38px; height: 38px; transition: filter .35s, transform .6s var(--hx-ease); }
.nav .brand b { display: inline !important; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.nav .brand:hover, .nav .brand:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 6px 22px rgba(140,120,255,.32); }
.nav .brand:hover img, .nav .brand:focus-visible img { filter: drop-shadow(0 0 7px rgba(140,120,255,.85)); transform: rotate(-10deg) scale(1.04); }

/* the menus in the middle, with a light that glides under the one you're on */
.nav-links { position: relative; isolation: isolate; padding: 4px; border-radius: 999px; margin-inline: auto; gap: 2px; }
.nav-links > a, .nav .dd > summary { position: relative; z-index: 1; color: var(--ink); font-size: 14px; padding: 8px 15px; transition: background .25s, color .25s; }
.nav-links.hx-has-lit > a:hover, .nav-links.hx-has-lit .dd > summary:hover, .nav-links.hx-has-lit .dd[open] > summary { background: transparent; }
.nav-links > a:focus-visible, .nav .dd > summary:focus-visible { outline: none; }
.hx-lit { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--lw, 0); transform: translateX(var(--lx, 0)); border-radius: 999px; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255,180,142,.36), rgba(245,163,203,.34) 38%, rgba(185,182,255,.42) 70%, rgba(158,212,248,.4));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 6px 18px rgba(140,120,255,.28);
  transition: transform .45s var(--hx-ease), width .45s var(--hx-ease), opacity .3s; }
.nav-links.hx-lit-on .hx-lit { opacity: 1; }
.nav-links::after { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(130px 70px at var(--mx, 50%) var(--my, 50%), rgba(140,120,255,.7), rgba(245,163,203,.35) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; }
.nav-links:hover::after { opacity: 1; }

/* country, Sign in, Start free and the menu button */
.nav-act .cc { border-radius: 999px; padding: 3px; }
.nav-act .cc button { font-size: 11px; padding: 6px 9px; transition: background .25s, color .25s; }
.nav-act .btn.sm { height: 40px; padding: 0 18px; font-size: 14px; font-weight: 600; }
.nav-act .btn.signin { background: var(--hx-glass) !important; color: var(--ink) !important; border: 1px solid var(--hx-edge) !important; box-shadow: none !important; transition: background .3s, box-shadow .3s, transform .3s; }
.nav-act .btn.signin:hover, .nav-act .btn.signin:focus-visible { outline: none; background: #fff !important; box-shadow: inset 0 0 0 1px rgba(21,19,43,.08), 0 6px 22px rgba(120,170,255,.4) !important; }
.nav-menu { width: 42px; height: 42px; transition: box-shadow .3s; }
.nav-menu:hover, .nav-menu:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 6px 20px rgba(140,120,255,.32); }

/* ---------- the buttons: the home page's colours; they drift across and glow on hover ---------- */
.btn { font-weight: 600; }
.btn.primary { color: #15132B !important; background: var(--hx-grad) !important; background-size: 200% 100% !important; background-position: 0% 50% !important; border-color: transparent !important; box-shadow: 0 8px 24px -10px rgba(160,140,255,.6) !important; transition: background-position .9s var(--hx-ease), transform .35s var(--hx-ease), box-shadow .35s !important; }
.btn.primary:hover, .btn.primary:focus-visible { outline: none; background-position: 100% 50% !important; box-shadow: 0 12px 30px -8px rgba(160,140,255,.7), 0 0 26px rgba(245,163,203,.35), inset 0 0 0 1px rgba(255,255,255,.5) !important; }
.btn.primary::before { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); }

/* ---------- headings and the small labels above them: the home page's weight and spacing ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -.022em; }
h1 em.s, h2 em.s, h3 em.s { font-weight: 400; }
.eyebrow { font-size: 12px; letter-spacing: .08em; }

/* phones: the bar keeps the logo, the country switch, Start free and the menu on one line */
@media (max-width: 1080px) { .nav .brand b { font-size: 16px; } }
@media (max-width: 560px) {
  .nav .brand { padding-right: 12px; } .nav .brand img { width: 32px; height: 32px; } .nav .brand b { font-size: 14px; }
  .nav-act { gap: 6px; } .nav-act .btn.sm { height: 36px; padding: 0 12px; font-size: 13px; }
  .nav-act .cc button { padding: 5px 7px; font-size: 10.5px; } .nav-menu { width: 38px; height: 38px; }
}
@media (max-width: 430px) { .nav .brand b { display: none !important; } .nav .brand { padding-right: 3px; } }

@media (prefers-reduced-motion: reduce) { .hx-lit, .btn.primary, .nav .brand img { transition: none !important; } }
