/* LicenseTrack Health — base stylesheet
   Palette: deep teal, warm white, amber accents.
   Type:    Inter (UI/body) + DM Serif Display (display headings) + Source Serif (long-form body).
*/
:root {
  --teal-900: #053b3f;
  --teal-800: #0a5158;
  --teal-700: #0f6c75;
  --teal-600: #178e98;
  --teal-100: #d3ecee;
  --teal-50:  #ecf6f7;
  --amber-700:#b6651b;
  --amber-600:#d6822a;
  --amber-500:#e89c44;
  --amber-100:#fbe6c8;
  --amber-50: #fdf3e3;
  --paper:    #fbfaf6;
  --white:    #ffffff;
  --ink:      #16242b;
  --ink-soft: #4d5f68;
  --ink-mute: #7a8b94;
  --rule:     #e3dccd;
  --rule-soft:#eee8db;
  --ok:       #197a4d;
  --warn:     #b6651b;
  --max:      1180px;
  --shadow-sm:0 1px 2px rgba(8,40,46,.05), 0 2px 6px rgba(8,40,46,.04);
  --shadow:   0 6px 20px -10px rgba(8,40,46,.18), 0 2px 6px rgba(8,40,46,.05);
  --shadow-lg:0 30px 60px -25px rgba(0,0,0,.30), 0 10px 25px -10px rgba(8,40,46,.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.prose, main p, main li { font-family: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif; font-size: 17.5px; line-height: 1.75; }
a { color: var(--teal-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: rgba(15,108,117,.35); transition: color .12s; }
a:hover { color: var(--teal-900); text-decoration-color: var(--teal-700); }
h1, h2, h3, h4, h5 { font-family: "DM Serif Display", "Source Serif 4", Georgia, serif; color: var(--teal-900); line-height: 1.18; margin: 1.6em 0 .55em; font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); letter-spacing: -.014em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.8rem); padding-bottom: .35em; border-bottom: 2px solid var(--rule-soft); margin-top: 2em; }
h3 { font-size: 1.2rem; font-family: "Inter", sans-serif; font-weight: 700; color: var(--teal-900); letter-spacing: -.005em; }
h4 { font-size: 1rem; font-family: "Inter", sans-serif; font-weight: 700; color: var(--teal-900); }
p  { margin: .85em 0; }
small, .meta { color: var(--ink-mute); font-size: .9rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
::selection { background: var(--amber-100); color: var(--teal-900); }

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

/* skip link / accessibility */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: var(--amber-500); color: white; padding: 8px 14px; border-radius: 4px; z-index: 1000; }

/* topbar */
.topbar { background: var(--teal-900); color: #cfe6e8; font-size: .82rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 18px; padding: 9px 28px; align-items: center; flex-wrap: wrap; }
.topbar a { color: #cfe6e8; text-decoration: none; }
.topbar a:hover { color: var(--amber-500); }
.topbar .right { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 600px) { .topbar .right { display: none; } }

/* header */
header.site { background: var(--white); border-bottom: 1px solid var(--rule-soft); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(6px); background: rgba(255,255,255,.92); }
header.site .wrap { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--teal-600), var(--teal-900)); display: grid; place-items: center; color: white; font-family: "DM Serif Display", serif; font-size: 1.55rem; line-height: 1; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.18); }
.brand-name { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.45rem; line-height: 1; color: var(--teal-900); letter-spacing: -.012em; }
.brand-name em { font-style: normal; color: var(--amber-600); }
.brand-tag { font-size: .7rem; color: var(--ink-mute); margin-top: 5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
nav.primary { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
nav.primary a { color: var(--ink); text-decoration: none; padding: 8px 13px; border-radius: 7px; font-size: .92rem; font-weight: 500; transition: background .12s, color .12s; }
nav.primary a:hover { background: var(--teal-50); color: var(--teal-900); }
nav.primary a.cta { background: var(--amber-500); color: white; font-weight: 600; padding: 9px 18px; box-shadow: 0 1px 2px rgba(184,101,27,.18); }
nav.primary a.cta:hover { background: var(--amber-600); color: white; }
@media (max-width: 760px) {
  header.site .wrap { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand-tag { display: none; }
  nav.primary { width: 100%; justify-content: flex-start; gap: 0; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  nav.primary a { padding: 7px 11px; font-size: .88rem; flex-shrink: 0; }
  nav.primary a.cta { padding: 7px 14px; }
}

/* hero */
.hero { background: linear-gradient(165deg, var(--teal-900) 0%, var(--teal-800) 60%, #0c4549 100%); color: #e8f2f3; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 12%, rgba(232,156,68,.22), transparent 42%), radial-gradient(circle at 12% 92%, rgba(23,142,152,.32), transparent 50%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.10)); pointer-events: none; }
.hero .wrap { position: relative; padding: 80px 28px 72px; display: grid; grid-template-columns: 1.2fr .85fr; gap: 64px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-500); font-weight: 700; margin-bottom: 18px; padding: 6px 12px; background: rgba(232,156,68,.10); border: 1px solid rgba(232,156,68,.22); border-radius: 999px; }
.hero-eyebrow::before { content: "●"; color: var(--amber-500); font-size: .6rem; }
.hero h1 { color: white; margin: 0 0 18px; font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.022em; }
.hero h1 em { font-style: normal; color: var(--amber-500); font-family: inherit; }
.hero .lede { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.62; color: #c8dde0; margin: 0 0 32px; max-width: 56ch; }
.hero .stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.hero .stat .num { font-family: "DM Serif Display", serif; font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: white; line-height: 1; }
.hero .stat .lbl { font-size: .76rem; color: #9ec1c5; text-transform: uppercase; letter-spacing: .1em; margin-top: 7px; font-weight: 500; }
.hero-img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.08); display: block; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 56px 28px 48px; gap: 36px; }
  .hero-img { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 520px) { .hero .wrap { padding: 40px 18px 36px; } .hero .stats { gap: 24px; padding-top: 22px; margin-top: 28px; } }

/* big search bar */
.bigsearch { background: white; padding: 22px; border-radius: 16px; box-shadow: var(--shadow-lg); margin-top: 12px; border: 1px solid rgba(255,255,255,.18); }
.bigsearch form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.bigsearch label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.bigsearch select, .bigsearch input { width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 9px; background: var(--paper); color: var(--ink); transition: border-color .12s, background .12s; }
.bigsearch select:focus, .bigsearch input:focus { outline: none; border-color: var(--teal-700); background: white; box-shadow: 0 0 0 3px rgba(15,108,117,.12); }
.bigsearch button { font-family: inherit; font-weight: 600; font-size: 1rem; padding: 13px 26px; background: var(--amber-500); color: white; border: 0; border-radius: 9px; cursor: pointer; transition: background .15s, transform .1s; box-shadow: 0 2px 6px rgba(184,101,27,.22); }
.bigsearch button:hover { background: var(--amber-600); }
.bigsearch button:active { transform: translateY(1px); }
.bigsearch .hint { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 700px) { .bigsearch form { grid-template-columns: 1fr; } .bigsearch { padding: 18px; } }

/* trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--rule-soft); padding: 26px 0; }
.trustbar .wrap { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trustbar .label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.trustbar .src { display: flex; align-items: center; gap: 12px; color: var(--teal-900); font-weight: 500; font-size: .94rem; }
.trustbar .src .badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-50); color: var(--teal-800); font-weight: 700; font-size: .78rem; border: 1px solid var(--teal-100); }
@media (max-width: 600px) { .trustbar .wrap { gap: 18px; } .trustbar .label { width: 100%; } }

/* section title */
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 64px 0 24px; padding-bottom: 16px; border-bottom: 2px solid var(--rule-soft); flex-wrap: wrap; }
.section-title h2 { margin: 0; padding: 0; border: 0; font-size: clamp(1.55rem, 3vw, 1.95rem); }
.section-title .desc { color: var(--ink-soft); font-family: "Source Serif 4", Georgia, serif; font-size: 1.04rem; max-width: 52ch; line-height: 1.55; }
.section-title .more-link { color: var(--teal-700); font-weight: 600; text-decoration: none; font-size: .94rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.section-title .more-link:hover { color: var(--amber-600); border-bottom-color: var(--amber-500); }

/* role grid */
.rolegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 8px 0; }
.rolecard { display: block; padding: 24px 22px 20px; background: white; border: 1.5px solid var(--rule-soft); border-radius: 14px; text-decoration: none; color: var(--ink); position: relative; transition: transform .18s, border-color .18s, box-shadow .18s; overflow: hidden; }
.rolecard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber-500); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.rolecard:hover { border-color: var(--teal-100); transform: translateY(-3px); box-shadow: var(--shadow); }
.rolecard:hover::before { transform: scaleY(1); }
.rolecard .badge { display: inline-block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); font-weight: 700; background: var(--teal-50); padding: 4px 10px; border-radius: 5px; margin-bottom: 12px; }
.rolecard h3 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.32rem; margin: 0 0 10px; color: var(--teal-900); letter-spacing: -.005em; line-height: 1.2; }
.rolecard p { font-family: "Inter", sans-serif; font-size: .9rem; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.55; }
.rolecard .meta { display: flex; gap: 14px; font-size: .78rem; color: var(--ink-mute); border-top: 1px dotted var(--rule); padding-top: 12px; flex-wrap: wrap; }
.rolecard .meta b { color: var(--teal-800); font-weight: 700; }

/* card grid (generic) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 24px 0; }
.card { background: white; border: 1px solid var(--rule-soft); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card h3 a { text-decoration: none; color: var(--teal-900); }
.card h3 a:hover { color: var(--amber-700); }
.card p { margin: 6px 0 14px; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.card a.more { font-size: .88rem; font-weight: 600; color: var(--teal-700); text-decoration: none; }
.card a.more:hover { color: var(--amber-600); }

/* directory listings */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 32px; margin: 22px 0; padding: 0; list-style: none; }
.dir-grid li { padding: 8px 0; border-bottom: 1px dotted var(--rule); font-size: .96rem; }
.dir-grid li a { text-decoration: none; color: var(--teal-800); font-weight: 500; }
.dir-grid li a:hover { color: var(--amber-600); text-decoration: underline; }

/* page header */
.page-header { background: linear-gradient(180deg, var(--white) 0%, #fbfaf6 100%); border-bottom: 1px solid var(--rule-soft); padding: 36px 0 28px; }
.page-header h1 { margin: 10px 0 0; }
.crumbs { font-size: .82rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.crumbs .sep { color: var(--ink-mute); margin: 0 6px; }

/* main */
main { padding: 44px 0 72px; }
.layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; gap: 36px; } }
main > .wrap > .layout > div:first-child { min-width: 0; }

/* aside */
.aside { font-size: .94rem; }
.aside .box { background: white; border: 1px solid var(--rule-soft); border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.aside h3 { margin: 0 0 12px; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-800); font-family: "Inter", sans-serif; font-weight: 700; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li { padding: 8px 0; border-bottom: 1px dotted var(--rule); }
.aside li:last-child { border: 0; }
.aside a { text-decoration: none; color: var(--teal-800); }
.aside a:hover { color: var(--amber-600); text-decoration: underline; }

/* editorial recommendation block (PBN-styled) */
.editorial-rec { background: linear-gradient(180deg, var(--amber-50) 0%, #fff 100%); border: 1px solid var(--amber-100); border-left: 4px solid var(--amber-500); border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.editorial-rec h3 { color: var(--amber-700); font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.1rem; text-transform: none; letter-spacing: 0; margin: 0 0 10px; }
.editorial-rec ul { list-style: none; padding: 0; margin: 0; }
.editorial-rec li { padding: 8px 0; border-bottom: 1px dotted var(--amber-100); font-size: .9rem; line-height: 1.45; }
.editorial-rec li:last-child { border: 0; }
.editorial-rec li a { color: var(--teal-900); text-decoration: none; font-weight: 500; }
.editorial-rec li a:hover { color: var(--amber-700); text-decoration: underline; }
.editorial-rec li .src { display: block; font-size: .72rem; color: var(--ink-mute); margin-top: 3px; font-family: "Inter", sans-serif; }
.editorial-rec .by { font-size: .68rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .12em; margin-top: 12px; padding-top: 10px; border-top: 1px dotted var(--amber-100); }

/* inline editorial link */
.inline-rec { display: block; background: var(--amber-50); border: 1px solid var(--amber-100); border-left: 4px solid var(--amber-500); padding: 14px 18px; margin: 22px 0; border-radius: 8px; font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; color: var(--ink); line-height: 1.55; }
.inline-rec strong { color: var(--amber-700); font-family: "Inter", sans-serif; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 4px; }
.inline-rec a { color: var(--teal-800); font-weight: 600; }

/* fact table */
.factbox { background: white; border: 1px solid var(--rule-soft); border-radius: 12px; overflow: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; box-shadow: var(--shadow-sm); }
.factbox table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.factbox th, .factbox td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.factbox th { background: var(--teal-50); color: var(--teal-900); font-weight: 600; font-family: "Inter", sans-serif; font-size: .9rem; }
.factbox tr:first-child th { background: var(--teal-800); color: white; }
.factbox tr:last-child th, .factbox tr:last-child td { border-bottom: 0; }
.factbox td a { color: var(--teal-700); }
@media (max-width: 600px) { .factbox th, .factbox td { padding: 10px 12px; font-size: .9rem; } }

/* tags */
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-family: "Inter", sans-serif; font-weight: 600; }
.tag.green { background: #d8ecdc; color: var(--ok); }
.tag.amber { background: var(--amber-100); color: var(--amber-700); }
.tag.gray  { background: #ecedef; color: var(--ink-soft); }
.tag.teal  { background: var(--teal-50); color: var(--teal-800); }

/* salary callout */
.salary-callout { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 26px 0; }
.salary-stat { background: white; border: 1px solid var(--rule-soft); border-radius: 12px; padding: 18px; text-align: center; box-shadow: var(--shadow-sm); }
.salary-stat .num { font-family: "DM Serif Display", serif; font-size: 2.05rem; line-height: 1; color: var(--teal-900); }
.salary-stat .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-top: 9px; font-weight: 700; }

/* adslot */
.adslot {
  background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 8px, var(--rule-soft) 8px, var(--rule-soft) 16px);
  border: 1px dashed #cdc4ad; color: var(--ink-mute); font-family: "Inter", sans-serif;
  font-size: .76rem; text-align: center; padding: 18px; margin: 24px 0; border-radius: 8px;
}

/* footer */
footer.site { background: var(--teal-900); color: #cfe6e8; padding: 56px 0 28px; margin-top: 72px; font-size: .92rem; }
footer.site a { color: #a8d2d6; text-decoration: none; }
footer.site a:hover { color: var(--amber-500); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; }
footer h4 { color: white; margin: 0 0 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-family: "Inter", sans-serif; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 5px 0; }
footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #87a4a9; font-size: .82rem; line-height: 1.6; }
footer .brand-foot { font-family: "DM Serif Display", serif; font-size: 1.5rem; color: white; margin-bottom: 14px; }
footer .brand-foot em { color: var(--amber-500); font-style: normal; }
footer .editorial-rec { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); border-left-color: var(--amber-500); }
footer .editorial-rec h3, footer .editorial-rec li a { color: #e6f0f1; }
footer .editorial-rec li { border-bottom-color: rgba(255,255,255,.06); }
footer .editorial-rec li a:hover { color: var(--amber-500); }
footer .editorial-rec li .src, footer .editorial-rec .by { color: #87a4a9; }
@media (max-width: 1100px) { footer .cols { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

/* search results */
.search-results { display: grid; gap: 14px; margin: 28px 0; }
.search-hit { padding: 20px 22px; background: white; border: 1px solid var(--rule-soft); border-left: 4px solid var(--teal-600); border-radius: 10px; transition: transform .12s, box-shadow .12s; }
.search-hit:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.search-hit h3 { margin: 0 0 4px; font-family: "Inter", sans-serif; font-size: 1.06rem; }
.search-hit h3 a { color: var(--teal-900); text-decoration: none; }
.search-hit h3 a:hover { color: var(--amber-700); text-decoration: underline; }
.search-hit .meta { font-size: .82rem; color: var(--ink-mute); margin-bottom: 6px; }
.search-hit p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-soft); font-family: "Source Serif 4", Georgia, serif; }
