/* Smarter Justice PRE121: quiet, consistent public/professional shells. */
:root{
  --sj-ink:#102f46;
  --sj-teal:#08756f;
  --sj-teal-dark:#075a56;
  --sj-muted:#536a76;
  --sj-line:#d8e4e5;
  --sj-soft:#f5f9f8;
  --sj-warm:#fff9ef;
  --u-ink:var(--sj-ink);
  --u-blue:var(--sj-teal);
  --u-blue2:var(--sj-teal-dark);
  --u-muted:var(--sj-muted);
  --u-line:var(--sj-line);
}

html{scroll-behavior:smooth}
body{background:#fff;color:var(--sj-ink)}
.pre121-header{
  position:sticky;
  inset-block-start:0;
  z-index:80;
  width:100%;
  min-height:68px;
  padding:0;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--sj-line);
  box-shadow:none;
}
.pre121-header__inner{
  width:min(1180px,calc(100% - 36px));
  min-height:68px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:18px;
}
.pre121-header .brand,.pre121-header .u-brand{display:inline-flex;align-items:center;flex:0 0 auto}
.pre121-header .brand img,.pre121-header .u-brand img{display:block;width:auto;height:38px}
.pre121-header__nav{display:flex;align-items:center;gap:3px;margin-left:auto}
.pre121-header__nav a,.pre121-language{
  color:var(--sj-ink);
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  text-decoration:none;
  padding:9px 10px;
  border-radius:5px;
}
.pre121-header__nav a:hover,.pre121-language:hover{background:#eef5f4;text-decoration:none}
.pre121-language{border:1px solid var(--sj-line);white-space:nowrap}
.pre90-language-switch+.pre121-language{display:none}
.pre121-menu{display:none;margin-left:auto;border:1px solid var(--sj-line);background:#fff;color:var(--sj-ink);padding:9px 11px;border-radius:5px;font:inherit;font-weight:800}

.pre121-home-main{background:#fff}
.pre121-home-main .pre118-first-encounter{min-height:calc(100vh - 68px);display:grid;align-items:center;padding:48px 0 38px;background:#fff}
.pre121-home-main .pre118-first-shell{max-width:780px;margin-inline:auto;text-align:center}
.pre121-home-main .pre118-navigator-label{color:var(--sj-teal);font-weight:850;letter-spacing:.09em;text-transform:uppercase;font-size:13px}
.pre121-home-main h1{max-width:760px;margin:12px auto 10px;font-size:clamp(2.55rem,5vw,4.6rem);line-height:1;letter-spacing:-.045em}
.pre121-home-main .pre118-lead{max-width:620px;margin:0 auto 25px;color:var(--sj-muted);font-size:clamp(1.08rem,2vw,1.35rem);line-height:1.55}
.pre121-home-main .pre118-start-form{max-width:720px;margin:auto;text-align:left}
.pre121-home-main .pre118-question-label{display:block;margin-bottom:8px;font-size:1rem;font-weight:800}
.pre121-home-main .pre118-start-form textarea{width:100%;min-height:150px;border:1px solid #aebfc3;border-radius:7px;padding:16px;font:inherit;line-height:1.55;background:#fff;resize:vertical}
.pre121-home-main .pre118-start-actions{margin-top:12px}
.pre121-home-main .pre118-start-actions .u-btn{width:100%;min-height:50px;background:var(--sj-teal);border-color:var(--sj-teal);border-radius:6px;color:#fff;font-size:1rem}
.pre121-home-main .pre118-start-actions .u-btn:hover{background:var(--sj-teal-dark)}
.pre121-home-main .pre118-reassurance{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:14px 0 0;color:var(--sj-muted);font-size:.9rem}
.pre121-home-main .pre118-reassurance span:before{content:'\2713';color:var(--sj-teal);font-weight:900;margin-right:7px}
.pre121-home-main .pre118-form-meta{display:flex;justify-content:space-between;gap:18px;margin:10px 0 0;color:var(--sj-muted);font-size:.78rem}
.pre121-home-main .pre118-privacy-note{margin:9px 0 0;text-align:center;color:var(--sj-muted);font-size:.78rem}
.pre121-home-main .pre118-below-fold-cue{text-align:center;margin-top:22px}
.pre121-home-main .pre118-below-fold-cue a{color:var(--sj-teal-dark);font-weight:800}
.pre121-home-section{padding:46px 0;border-top:1px solid var(--sj-line)}
.pre121-home-section--soft{background:var(--sj-soft)}
.pre121-known-path{width:min(1180px,calc(100% - 36px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;align-items:center}
.pre121-known-path h2{margin:6px 0 8px;font-size:clamp(1.8rem,3vw,2.45rem);line-height:1.08}
.pre121-known-path p{color:var(--sj-muted);line-height:1.6}
.pre121-quiet-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pre121-quiet-links a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;border:1px solid var(--sj-line);border-radius:6px;background:#fff;color:var(--sj-ink);font-weight:800;text-decoration:none}
.pre121-quiet-links a:after{content:'\2192';color:var(--sj-teal)}
.pre121-safety{padding:20px 0;background:var(--sj-warm);border-block:1px solid #ead7b4}
.pre121-safety__inner{width:min(1180px,calc(100% - 36px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.pre121-safety p{margin:4px 0 0;color:#6a5b43}
.pre121-safety a{flex:0 0 auto;border:1px solid #b57519;border-radius:6px;padding:11px 14px;color:#784b08;font-weight:800;text-decoration:none}
.pre121-prof-band{display:flex;justify-content:space-between;gap:30px;align-items:center;max-width:1180px;margin:auto;padding:28px 30px;background:#123d5f;color:#fff;border-radius:8px}
.pre121-prof-band h2{margin:5px 0 8px;font-size:clamp(1.55rem,3vw,2.2rem)}
.pre121-prof-band p{margin:0;color:#dce7ed;line-height:1.55}
.pre121-prof-band__actions{display:flex;gap:10px;flex:0 0 auto}
.pre121-prof-band a{border:1px solid #b8d0dc;border-radius:5px;padding:11px 14px;color:#fff;font-weight:800;text-decoration:none;white-space:nowrap}
.pre121-footer{border-top:1px solid var(--sj-line);background:#fff;padding:28px 0 42px;color:var(--sj-muted);font-size:.88rem}
.pre121-footer__inner{width:min(1180px,calc(100% - 36px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:start}
.pre121-footer__brand img{width:auto;height:34px}
.pre121-footer__brand p{max-width:600px;margin:10px 0 0;line-height:1.55}
.pre121-footer__links{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.pre121-footer__links a{color:var(--sj-ink)}
.pre121-footer__legal{grid-column:1/-1;border-top:1px solid var(--sj-line);padding-top:16px;margin-top:4px;font-size:.78rem}

.pre121-tool-chooser,.pre121-resource-controls{width:min(1180px,calc(100% - 36px));margin:18px auto 26px;padding:16px;background:var(--sj-soft);border:1px solid var(--sj-line);border-radius:7px}
.pre121-tool-chooser h2,.pre121-resource-controls h2{font-size:1.15rem;margin:0 0 10px}
.pre121-tool-chooser__buttons{display:flex;flex-wrap:wrap;gap:8px}
.pre121-tool-chooser button,.pre121-resource-controls button{border:1px solid #a9bec0;border-radius:5px;background:#fff;color:var(--sj-ink);padding:10px 12px;font:inherit;font-weight:750;cursor:pointer}
.pre121-tool-chooser button[aria-pressed="true"]{background:var(--sj-teal);border-color:var(--sj-teal);color:#fff}
.pre121-resource-controls label{display:block;font-weight:800}
.pre121-resource-controls input{width:100%;max-width:620px;margin-top:8px;border:1px solid #a9bec0;border-radius:5px;padding:11px;font:inherit}
.pre121-disclosure{width:min(1100px,calc(100% - 36px));margin:18px auto;border:1px solid var(--sj-line);border-radius:7px;background:#fff}
.pre121-disclosure>summary{cursor:pointer;padding:16px 18px;font-weight:850;color:var(--sj-ink)}
.pre121-disclosure__body{padding:0 18px 18px}
.pre121-simplify-secondary[hidden]{display:none!important}

/* Professional conversion pages: one decision per section, without capability loss. */
.pre121-prof-landing .pre90-prof-hero{padding:58px 0 46px}
.pre121-prof-landing .pre90-prof-hero h1{max-width:930px;margin:10px 0 18px;font-size:clamp(2.75rem,5vw,4.35rem);line-height:1.02;letter-spacing:-.035em}
.pre121-prof-landing .pre90-prof-hero .lead{max-width:850px}
.pre121-prof-promise{max-width:900px;margin:22px 0 0;padding:14px 16px;border-left:3px solid var(--sj-teal);background:#f4f9f8;color:var(--sj-muted);line-height:1.55}
.pre121-prof-promise strong{color:var(--sj-ink)}
.pre121-prof-landing .pre90-prof-section{padding:48px 0}
.pre121-prof-landing .pre90-prof-section h2{margin:0 0 22px;font-size:clamp(2rem,3vw,2.65rem);line-height:1.08}
.pre121-prof-landing .pre90-value-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pre121-prof-landing .pre121-disclosure{width:auto;margin:0;background:#fff}
.pre121-prof-landing .pre121-inline-link{margin:16px 0 0}

/* Profile search: keep the free authority task dominant and supporting choices close. */
body[data-sj-page="find-my-profile"] .professional-sales-hero{padding-top:50px;padding-bottom:36px}
body[data-sj-page="find-my-profile"] main>.section{padding-top:36px;padding-bottom:48px;border-top:1px solid var(--sj-line)}
body[data-sj-page="find-my-profile"] .cards.three{gap:16px}
body[data-sj-page="find-my-profile"] .cards.three>.card{box-shadow:none}
body[data-sj-page="find-my-profile"] .cards.three>.card:last-child{background:var(--sj-soft);border-style:dashed}

/* Focused modules: one practice heading, then the primary situation task. */
body.pre90-module-page .page-hero{padding:44px 0 28px}
body.pre90-module-page .page-hero h1{margin-bottom:10px}
body.pre90-module-page .page-hero .lead{max-width:760px}
body.pre90-module-page .pre90-module-entry{margin-top:18px}
body.pre90-module-page .pre90-module-head{display:none!important}
body.pre90-module-page .pre90-navigator-box{padding-top:28px}
.pre121-module-workbench{margin:0;border:0;border-top:1px solid var(--sj-line);border-radius:0;background:var(--sj-soft);padding:0}
.pre121-module-workbench details{padding:0}
.pre121-module-workbench summary{cursor:pointer;padding:16px 24px;color:var(--sj-teal-dark);font-weight:850}
.pre121-module-workbench details>p,.pre121-module-workbench details>a{margin-left:24px;margin-right:24px}
.pre121-module-workbench details>a{margin-bottom:22px}

.live-chat-fallback{border-radius:6px!important}
body[data-sj-page="index"] .live-chat-fallback.pre121-help-deferred,
body[data-sj-page="es-index"] .live-chat-fallback.pre121-help-deferred{opacity:0;pointer-events:none;transform:translateY(10px)}
body[data-sj-page="index"] .live-chat-fallback.pre121-help-visible,
body[data-sj-page="es-index"] .live-chat-fallback.pre121-help-visible{opacity:1;pointer-events:auto;transform:none}
body[data-sj-page="index"] .live-chat-fallback,
body[data-sj-page="es-index"] .live-chat-fallback{display:none!important}

@media(max-width:980px){
  .pre121-menu{display:inline-flex}
  .pre121-header__nav{display:none;position:absolute;top:68px;left:0;right:0;margin:0;padding:10px 18px 16px;background:#fff;border-bottom:1px solid var(--sj-line);box-shadow:0 12px 24px rgba(16,47,70,.1)}
  .pre121-header__nav.open,.pre121-header__nav[data-open="true"]{display:grid}
  .pre121-header__nav a{padding:12px 6px;border-bottom:1px solid #edf2f2}
  .pre121-language{margin-left:0}
  .pre121-known-path{grid-template-columns:1fr;gap:22px}
  .pre121-prof-band{align-items:flex-start;flex-direction:column}
  .pre121-prof-landing .pre90-value-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .pre121-header__inner{width:min(100% - 24px,1180px)}
  .pre121-header .brand img,.pre121-header .u-brand img{height:32px}
  .pre121-language{padding:8px;font-size:.8rem}
  .pre121-home-main .pre118-first-encounter{min-height:auto;padding:38px 0 30px}
  .pre121-home-main h1{font-size:2.6rem}
  .pre121-home-main .pre118-form-meta{display:grid;gap:3px}
  .pre121-home-main .pre118-reassurance{display:grid;justify-content:start;gap:6px}
  .pre121-quiet-links{grid-template-columns:1fr}
  .pre121-safety__inner{align-items:flex-start;flex-direction:column}
  .pre121-prof-band{margin-inline:12px;padding:23px 20px}
  .pre121-prof-band__actions{align-items:stretch;flex-direction:column;width:100%}
  .pre121-prof-band a{text-align:center}
  .pre121-footer__inner{grid-template-columns:1fr}
  .pre121-footer__links{justify-content:flex-start}
  .pre121-footer__legal{grid-column:auto}
  .pre121-prof-landing .pre90-prof-hero{padding:38px 0 34px}
  .pre121-prof-landing .pre90-value-grid{grid-template-columns:1fr}
  body.pre90-module-page .page-hero{padding:30px 0 18px}
  body.pre90-module-page .pre90-module-entry{margin-top:12px}
}
