/* NeurodiverCity: fonts, the brand's tokens, Divi resets inside .ndc (every generated block), the reading options bar,
   icon tiles and the shared components. The page styles themselves are in pages.css. */

@font-face { font-family: "Lexend"; font-weight: 300; font-display: swap; src: url("../fonts/Lexend-Light.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 400; font-display: swap; src: url("../fonts/Lexend-Regular.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 500 700; font-display: swap; src: url("../fonts/Lexend-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("../fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("../fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype"); }

:root { --navy: #14213D; --purple: #662D91; --blue: #1E6FB5; --slate: #4A5568; --line: #DDE3E1; --zoom: 1; }
html { scroll-behavior: smooth; }
body { background: #FFFFFF; zoom: var(--zoom); }
#page-container { padding-top: 0 !important; }

/* Divi's own type and spacing, undone inside our blocks, which carry their own. */
.ndc { font-family: "Atkinson Hyperlegible", Arial, system-ui, sans-serif; color: var(--navy); font-size: 18px; line-height: 1.6; font-weight: 400; }
.ndc *, .ndc *::before, .ndc *::after { box-sizing: border-box; }
.ndc p, .ndc li, .ndc dd, .ndc blockquote { padding-bottom: 0; }
.ndc h1, .ndc h2, .ndc h3, .ndc h4 { padding-bottom: 0; color: var(--navy); font-weight: 600; line-height: 1.2; }
.ndc ul, .ndc ol { padding: 0; list-style: none; }
.ndc ul li, .ndc ol li { list-style: none; }
.ndc a { color: var(--blue); text-underline-offset: 3px; }
.ndc a:hover { color: var(--navy); }
.ndc img, .ndc svg { max-width: 100%; }
.ndc button, .ndc input, .ndc select, .ndc textarea { font: inherit; }
.ndc a:focus-visible, .ndc button:focus-visible, .ndc input:focus-visible, .ndc select:focus-visible, .ndc textarea:focus-visible, .ndc summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.et_pb_text .ndc, .et_pb_text_inner > .ndc { margin: 0; }

/* The outline button, for blocks that don't define it. */
.ndc .bs { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.ndc .bs:hover { background: var(--navy); color: #FFFFFF; }

/* Reading bar: slim on desktop; on phones it folds into one button that opens the options. */
.ndc .rb { background: var(--navy); color: #E8ECF4; font-size: 15px; }
.ndc .rb .w { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.ndc .rb-label { display: inline-flex; align-items: center; gap: 8px; }
.ndc .rb-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ndc .rb button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #3A4A6B; background: transparent; color: #E8ECF4; cursor: pointer; }
.ndc .rb button:hover { border-color: #C3CBDB; }
.ndc .rb button[aria-pressed="true"] { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; font-weight: 700; }
.ndc .rb-toggle { display: none !important; }
@media (max-width: 720px) {
  .ndc .rb-label { display: none; }
  .ndc .rb-toggle { display: inline-flex !important; align-items: center; gap: 8px; }
  .ndc .rb-opts { display: none; width: 100%; padding-bottom: 8px; }
  .ndc .rb.open .rb-opts { display: flex; }
}
.ndc .nav a[aria-current], .ndc .nav button[aria-current] { border-bottom: 3px solid var(--purple); font-weight: 700; }

/* Icon tiles: Plugmind's line icons, navy on a brand tint. */
.ndc .tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; flex: none; }
.ndc .tile.sm { width: 40px; height: 40px; border-radius: 10px; }
.ndc .tile.on-dark { background: rgba(255, 255, 255, .1); }
.ndc .t-green { background: #E6F4E8; } .ndc .t-blue { background: #E4EEF8; } .ndc .t-magenta { background: #FBE7F1; } .ndc .t-purple { background: #EFE8F5; } .ndc .t-amber { background: #FEF1DA; }
.ndc .ihead { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ndc .ihead .lbl { margin: 0 !important; }

/* Reading options */
html[data-font="lexend"] .ndc, html[data-font="lexend"] .ndc * { font-family: Lexend, Arial, sans-serif !important; letter-spacing: .01em; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* High contrast: navy on light backgrounds and white on the navy and purple blocks, with no faint greys or tinted
   labels (the pages set those inline, hence the [style] selectors); navy borders; links underlined in text. */
html[data-contrast="high"] .ndc { --line: var(--navy); --slate: var(--navy); --blue: var(--navy); }
html[data-contrast="high"] .ndc .card, html[data-contrast="high"] .ndc .path, html[data-contrast="high"] .ndc .li { border-color: var(--navy) !important; }
html[data-contrast="high"] .ndc .path, html[data-contrast="high"] .ndc .card { border-width: 2px !important; border-style: solid !important; }
html[data-contrast="high"] .ndc p a, html[data-contrast="high"] .ndc li a { text-decoration: underline !important; }
html[data-contrast="high"] .ndc :is(.mut, .lbl, [style*="color: #1E6FB5" i], [style*="color: #5B3FE0" i], [style*="color: #4A3DB8" i], [style*="color: #4A5568" i]) { color: var(--navy) !important; }
html[data-contrast="high"] .ndc a:not(.btn, [style*="background"]) { color: var(--navy); }
html[data-contrast="high"] .ndc :is([style*="background: #14213D" i], [style*="background: #662D91" i], .plan.pro) :not(.btn, .btn *, svg, svg *, [style*="background: #F" i], [style*="background: #F" i] *, [style*="background: #E" i], [style*="background: #E" i] *),
html[data-contrast="high"] .ndc :is([style*="background: #14213D" i], [style*="background: #662D91" i], .plan.pro) { color: #FFFFFF !important; }

/* Shared components */
.ndc .g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ndc .plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ndc .plan { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 28px; border: 1px solid var(--line); background: #FFFFFF; }
.ndc .plan.pro { background: var(--navy); color: #E8ECF4; border-color: var(--navy); }
.ndc .plan.pro h3, .ndc .plan.pro .big { color: #FFFFFF; }
.ndc .plan .tag { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #EFE8F5; color: var(--purple); }
.ndc .plan.pro .tag { background: rgba(255, 255, 255, .12); color: #E7D9F5; }
.ndc .plan .mins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ndc .plan .mins div { padding: 14px 16px; border-radius: 14px; background: #F7F4F4; }
.ndc .plan.pro .mins div { background: rgba(255, 255, 255, .08); }
.ndc .plan .big { display: block; font-family: Lexend, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.ndc .plan ul { margin: 0; display: grid; gap: 10px; }
.ndc .plan li { display: flex; gap: 10px; align-items: flex-start; }
.ndc .plan li svg { flex: none; margin-top: 3px; }
.ndc .cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; }
.ndc .cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 18px; border: 0; margin: 0; }
.ndc .cmp th, .ndc .cmp td { padding: 14px 20px; text-align: left; border: 0; border-top: 1px solid #EEF1F0; }
.ndc .cmp thead th { border-top: 0; font-family: Lexend, sans-serif; font-weight: 600; background: #F7F4F4; }
.ndc .cmp td:not(:first-child), .ndc .cmp th:not(:first-child) { text-align: center; width: 22%; }
.ndc .cmp .grp th { background: #FFFFFF; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); padding-top: 22px; }
.ndc .yes { color: var(--navy); font-weight: 700; }
.ndc .no { color: #8A93A3; }
.ndc .addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.ndc .addon { padding: 26px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.ndc .addon h3 { margin: 16px 0 8px !important; }
.ndc .notice { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: 20px; background: #FEF1DA; }

/* Header: the Services mega menu, and a Menu button on phones. */
.ndc .w.hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.ndc .mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.ndc .mm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ndc .mm a.svc-link { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; color: var(--navy); }
.ndc .mm a.svc-link:hover { background: #F7F4F4; color: var(--navy); }
.ndc .mm a.svc-link strong { display: block; font-weight: 700; line-height: 1.35; }
.ndc .mm a.svc-link span { display: block; font-size: 18px; color: var(--slate); line-height: 1.4; margin-top: 2px; }
.ndc .mega-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 24px; padding: 14px 20px; border-radius: 16px; background: #EFE8F5; }
.ndc .mega-foot a { font-weight: 700; }
.ndc .menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: #FFFFFF; color: var(--navy); font-weight: 700; cursor: pointer; }
@media (max-width: 860px) {
  .ndc .menu-btn { display: inline-flex; }
  .ndc .hd-cta { display: none !important; }
  .ndc .nav { display: none !important; width: 100%; flex-direction: column; align-items: stretch !important; gap: 0 !important; }
  .ndc .nav-open .nav { display: flex !important; }
  .ndc .nav > a, .ndc .nav > button { width: 100%; justify-content: space-between; text-align: left; padding: 14px 0 !important; border-top: 1px solid var(--line) !important; border-bottom: 0 !important; }
  .ndc #mega { position: static !important; border-top: 0 !important; }
  .ndc #mega > .w { padding-top: 8px !important; }
}

/* Header: Log in (client area or support) beside Contact us; on phones it sits by the Menu button. */
.ndc .hd-actions { display: flex; align-items: center; gap: 12px; }
.ndc .login { position: relative; }
.ndc .login-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--navy); background: #FFFFFF; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.ndc .login-btn:hover { background: #F7F4F4; }
.ndc .login-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; max-width: calc(100vw - 32px); padding: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgb(20 33 61 / 0.14); z-index: 30; }
.ndc .login-menu[hidden] { display: none; }
.ndc .login-menu a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--navy); }
.ndc .login-menu a:hover, .ndc .login-menu a:focus-visible { background: #F7F4F4; color: var(--navy); }
.ndc .login-menu strong { display: block; font-weight: 700; }
.ndc .login-menu span { display: block; font-size: 17px; color: var(--slate); line-height: 1.4; margin-top: 2px; }
@media (max-width: 860px) {
  .ndc .hd-actions { order: 1; margin-left: auto; }
  .ndc .menu-btn { order: 2; }
  .ndc .nav { order: 3; }
  .ndc .login-btn { min-height: 44px; }
  /* The menu opens full width under the header. */
  .ndc .login { position: static; }
  .ndc .login-menu { left: 16px; right: 16px; top: calc(100% - 8px); width: auto; max-width: none; }
}
/* Narrow phones: the button shows its icon only (it's still called "Log in"), so the header stays on one line. */
@media (max-width: 480px) {
  .ndc .login-btn { width: 44px; padding: 0; justify-content: center; }
  .ndc .login-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ndc .w.hd { gap: 12px; }
  .ndc .w.hd > a:first-child img { width: 160px !important; }
  .ndc .menu-btn { padding: 0 12px; }
}

/* Between phone and wide screens there isn't room for the Contact us button as well: Contact is in the menu. */
@media (max-width: 1060px) { .ndc .hd-cta { display: none !important; } }

/* Every header link has the underline space, so the current one lines up with the rest. */
.ndc .site-head .nav > a, .ndc .site-head .nav > button { border-bottom: 3px solid transparent; }
.ndc .site-head .nav > a[aria-current], .ndc .site-head .nav > button[aria-current] { border-bottom-color: var(--purple); }

/* Forms: the error and thank-you messages show when the script says so, or (without script) when the page opens at
   #<form>-error or #<form>-sent. Once sent, the thank-you takes the form's place. */
.ndc .form-error, .ndc .form-sent { display: none; }
.ndc .form-error:target, .ndc .form-error.is-shown { display: block; padding: 14px 18px; border-radius: 12px; background: #FBE7F1; color: #7A1F4E; }
.ndc .form-sent:target, .ndc .form-sent.is-shown { display: block; padding: 32px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.ndc form.is-sent, .ndc form:has(~ .form-sent:target) { display: none !important; }
