/* Dialmore look for the website's inner pages (log in, contact, privacy, terms, FAQ, use cases).
   Loaded after each page's own styles and wins on specificity (html body.site ...), so the old blue
   pages take on the homepage look: white page, soft glow at the top, navy type, pink buttons. */
html body.site {
  --ink:#1B2559; --text:#2B3150; --mute:#5A6078; --faint:#6C7189;
  --line:#ECEEF3; --line2:#E1E4EC; --soft:#F5F7FB;
  --blue:#2F4FA8; --blueT:#EDF1FB; --pink:#C93A75; --pinkD:#B12F65; --pinkT:#FBEAF1;
  --display:'Bricolage Grotesque', Inter, system-ui, sans-serif;
  margin:0; background:#fff; color:var(--text);
  font-family:Inter, system-ui, sans-serif; -webkit-font-smoothing:antialiased;
}
html body.site::before {
  content:''; position:absolute; left:50%; top:-260px; width:1100px; height:640px; transform:translateX(-50%);
  background:radial-gradient(closest-side, rgba(201,58,117,.10), transparent 70%) 30% 50% / 60% 100% no-repeat,
             radial-gradient(closest-side, rgba(47,79,168,.12), transparent 70%) 70% 40% / 60% 100% no-repeat;
  pointer-events:none; z-index:0;
}
html body.site .pg, html body.site .lg-root { background:transparent; color:var(--text); position:relative; z-index:1; }
html body.site .dots, html body.site .lg-dots { display:none; }

/* Top bar */
html body.site nav.sm, html body.site .pg nav { padding:22px 0; }
html body.site .brand { color:var(--ink); }
html body.site .brand img { display:block; height:30px; width:auto; }
html body.site .back, html body.site .lg-back {
  background:#fff; border:1px solid var(--line2); color:var(--ink); backdrop-filter:none;
  height:40px; font-size:14px; box-shadow:0 1px 2px rgba(27,37,89,.05);
}
html body.site .back:hover, html body.site .lg-back:hover { background:var(--soft); }
html body.site .back:focus-visible, html body.site .lg-back:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }

/* Page titles */
html body.site h1 {
  font-family:var(--display); color:var(--ink); font-weight:600; letter-spacing:-.03em;
  font-size:clamp(38px, 5.4vw, 56px); line-height:1.05;
}
html body.site .lead, html body.site .upd { color:var(--mute); font-weight:400; }
html body.site .upd { font-size:15px; }
html body.site h2, html body.site .cat h2, html body.site article h2, html body.site .form h2 {
  font-family:var(--display); color:var(--ink); font-weight:600; letter-spacing:-.015em;
}
html body.site h3, html body.site .info h3 { font-family:var(--display); color:var(--ink); font-weight:600; letter-spacing:-.01em; }
html body.site strong, html body.site article strong { color:var(--ink); }

/* Cards */
html body.site .card, html body.site .lg-card {
  background:#fff; border:1px solid var(--line2); border-radius:18px;
  box-shadow:0 1px 2px rgba(27,37,89,.04), 0 18px 48px -28px rgba(27,37,89,.22);
}
html body.site .lg-card { border-radius:22px; }

/* Numbers, chips, contents list, FAQ toggles */
html body.site .sn, html body.site article .sn { background:var(--blueT); color:var(--blue); font-weight:700; border-radius:10px; }
html body.site .toc .n { background:var(--soft); color:var(--blue); font-weight:700; }
html body.site .toc a { color:var(--text); }
html body.site .toc a:hover { background:var(--soft); color:var(--ink); }
html body.site .toc .lab, html body.site .chips .lab { color:var(--faint); letter-spacing:.08em; }
html body.site .chip { background:var(--soft); color:var(--ink); border:1px solid var(--line); }
html body.site .chip:hover { background:var(--ink); color:#fff; }
html body.site details.q summary { color:var(--ink); }
html body.site details.q summary:hover { color:var(--blue); }
html body.site .pm { background:var(--soft); }
html body.site .pm::before, html body.site .pm::after { background:var(--ink); }
html body.site details.q[open] .pm { background:var(--ink); }
html body.site details.q[open] .pm::before, html body.site details.q[open] .pm::after { background:#fff; }
html body.site li::before, html body.site article li::before { background:var(--pink); }

/* Links */
html body.site a.mail, html body.site a.lk, html body.site .a a, html body.site .info a.mail, html body.site .ok a,
html body.site .lg-terms a, html body.site .lg-sub a { color:var(--blue); border-bottom-color:var(--blueL, #C9D5F2); text-decoration-color:#C9D5F2; }

/* Buttons and the closing call-to-action band */
html body.site .btn { background:var(--pink); color:#fff; box-shadow:0 8px 20px -10px rgba(201,58,117,.55); }
html body.site .btn:hover { background:var(--pinkD); }
html body.site .cta { background:var(--ink); }
html body.site .cta h2 { color:#fff; }
html body.site .cta p { color:rgba(255,255,255,.78); }

/* Contact form */
html body.site .fld label { color:var(--ink); font-weight:600; }
html body.site .fld input, html body.site .fld select, html body.site .fld textarea { border-color:var(--line2); border-radius:12px; color:var(--ink); }
html body.site .fld input:focus, html body.site .fld select:focus, html body.site .fld textarea:focus { border-color:var(--blue); box-shadow:0 0 0 4px var(--blueT); }
html body.site .fld ::placeholder { color:#9AA0B8; }
html body.site .fld .req { color:var(--pink); }
html body.site .ico { background:var(--soft); }
html body.site .ico svg { stroke:var(--blue); }
html body.site .form .hint, html body.site .send .note, html body.site .ok p { color:var(--mute); }

/* Footer */
html body.site .foot { color:var(--faint); border-top:1px solid var(--line); }
html body.site .foot a:hover { color:var(--ink); }
html body.site .foot .brand img { height:24px; }

/* Log in card */
html body.site .lg-lockup img { display:block; height:36px; width:auto; }
html body.site .lg-card h1 { font-size:34px; }
html body.site .lg-sub, html body.site .lg-card .sub { color:var(--mute); }
html body.site .lg-trust, html body.site .lg-terms { color:var(--faint); }
html body.site .lg-terms { border-top-color:var(--line); }
html body.site .skeleton { background:linear-gradient(90deg, var(--soft) 25%, #fff 50%, var(--soft) 75%); background-size:200% 100%; }

@media (prefers-reduced-motion: reduce) { html body.site .skeleton { animation:none; } }

/* Old company-code login page */
html body.site .box { position:relative; z-index:1; margin-top:72px; }
html body.site .legacyLogo { display:inline-block; margin-bottom:32px; }
html body.site .legacyLogo img { display:block; height:30px; width:auto; }
html body.site .box label { color:var(--ink); font-weight:600; }
html body.site .box input { border:1px solid var(--line2); border-radius:12px; background:#fff; color:var(--ink); }
html body.site .box input:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 4px var(--blueT); }
html body.site .box button { background:var(--pink); border-color:var(--pink); color:#fff; border-radius:999px; padding:0 22px; min-height:44px; font-weight:600; }
html body.site .box button:hover { background:var(--pinkD); }
html body.site .box .sub { color:var(--mute); }

/* The glow is wider than a phone screen: keep it from making the page swipe sideways. */
html:has(body.site) { overflow-x:clip; }
html body.site { overflow-x:clip; }

/* Phones: calmer sizes, tighter boxes, one-line chip row. */
@media (max-width:640px) {
  html body.site .pg .wrap { padding:0 16px; }
  html body.site nav.sm, html body.site .pg nav { padding:16px 0; }
  html body.site .brand img { height:24px; }
  html body.site .back, html body.site .lg-back { height:36px; padding:0 14px; font-size:13px; }
  html body.site h1 { font-size:34px; letter-spacing:-.025em; }
  html body.site .lead, html body.site .upd { font-size:15px; margin-top:10px; }
  html body.site .hero { padding:18px 0 28px !important; }
  html body.site .card { border-radius:16px; padding:20px 18px !important; }
  html body.site .cat { padding:20px 18px 6px !important; }
  html body.site h2, html body.site .cat h2, html body.site article h2, html body.site .form h2 { font-size:20px !important; gap:10px !important; }
  html body.site .sn, html body.site article .sn { min-width:30px !important; height:30px !important; font-size:13px !important; border-radius:8px; }
  html body.site p, html body.site li, html body.site .a, html body.site article p { font-size:15px; line-height:1.6; }
  html body.site details.q summary { font-size:15.5px; padding:16px 0; gap:14px; }
  html body.site .pm { width:26px; height:26px; }
  html body.site .chips { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:8px; padding:14px !important; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  html body.site .chips::-webkit-scrollbar { display:none; }
  html body.site .chip { flex:none; height:34px; font-size:13.5px; }
  html body.site .toc a { font-size:14.5px; padding:7px 6px; }
  html body.site .fld input, html body.site .fld select { height:46px; font-size:16px; }
  html body.site .btn { height:48px; width:100%; }
  html body.site .cta { padding:24px 20px !important; flex-direction:column; align-items:flex-start; gap:16px; }
  html body.site .foot { flex-direction:column; align-items:flex-start; gap:12px; padding:22px 0 32px; font-size:14px; }
  html body.site .lg-root { padding:24px 16px; align-items:flex-start; }
  html body.site .lg-stack { gap:28px; margin-top:32px; }
  html body.site .lg-lockup img { height:30px; }
  html body.site .lg-card { padding:28px 20px 24px; }
  html body.site .lg-card h1 { font-size:28px; }
  html body.site .lg-sub, html body.site .lg-card .sub { font-size:15px; }
  html body.site .lg-trust { white-space:normal; text-align:center; font-size:12.5px; }
  html body.site .lg-back { left:16px; top:16px; }
}

/* No more boxes pulled up over the page title (that was for the old blue band). */
html body.site .pg .hero, html body.site .pg .hero.sm { padding-bottom:28px !important; }
html body.site .pg .chips, html body.site .pg .grid2, html body.site .toc, html body.site .pg .hero + .card,
html body.site .pg .hero + article, html body.site .pg .hero ~ .card:first-of-type { margin-top:0 !important; }
