/* One visual system for the public site, account journey and legal workspace.
   Document typography remains controlled by each draft's court setup. */
body:is(.jd-auth, .jd-marketing, .clarity-workspace, .clarity-client) {
  --text-primary: #282c33;
  --text-secondary: #707782;
  --background-app: #fafafb;
  --background-surface: #fff;
  --background-selected: #f3f4f7;
  --border-default: #e7e9ee;
  --ai-surface: #f5f6f9;
  --ai-panel-fill: #f5f5f6;
  --card-shadow: none;
  --card-shadow-hover: none;
  --auth-input-border: #e7e9ee;
  --input-hover-border: #ccd2df;
  --input-focus-border: #a6b2cc;
  --focus-ring-color: #a6b2cc;
  --input-background: #fff;
  --input-text: #282c33;
  --input-placeholder: #969eaa;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Public pages keep their content hierarchy, with the workspace's quiet surfaces. */
.jd-site {
  --site-ink: #282c33;
  --site-muted: #707782;
  --site-accent: var(--brand-primary);
  --site-line: #e7e9ee;
  --site-wash: #fafafb;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.8;
}
.jd-site :is(h1, h2, h3) {
  font-family: "DM Sans", Manrope, sans-serif;
  font-weight: 600;
  color: #282c33;
}
.jd-site .site-header { background: #fffffff5; border-color: #e7e9ee; }
.jd-site .site-nav { height: 84px; }
.jd-site .site-logo img { width: 172px; }
.jd-site .site-nav-links { gap: 26px; font-size: 12px; }
.jd-site .site-nav-links a.is-active { background: #f3f4f7; border-radius: 8px; padding-inline: 12px; }
.jd-site .site-hero { padding-top: 72px; padding-bottom: 36px; }
.jd-site .site-hero::before { background: #fff; }
.jd-site .site-hero h1, .jd-site .site-subhero h1 {
  font-family: "DM Sans", Manrope, sans-serif;
  color: #282c33;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.13;
}
.jd-site .site-hero-copy { max-width: 570px; margin-inline: auto; font-size: 14px; line-height: 1.9; }
.jd-site .site-button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
  transform: none;
}
.jd-site .site-button:hover { background: var(--button-primary-hover); transform: none; }
.jd-site .site-button-outline { background: #fff; border-color: #e7e9ee; color: #525d70; }
.jd-site .site-button-outline:hover { background: #f7f8fa; border-color: #ccd2df; color: #39475d; }
.jd-site .site-prompt { border: 1px solid #e1e4ea; border-radius: 22px; padding: 22px 22px 16px; box-shadow: 0 10px 38px #212d4b08; }
.jd-site .site-prompt:focus-within { outline: none; border-color: #a6b2cc; box-shadow: 0 10px 38px #212d4b0c; }
.jd-site .site-prompt textarea { font-family: Manrope, sans-serif; font-size: 16px !important; min-height: 86px; }
.jd-site .site-prompt-submit { border-radius: 50%; width: 40px; height: 40px; }
.jd-site .site-suggestions { gap: 10px; }
.jd-site .site-suggestions button { border-radius: 18px; min-height: 36px; color: #7b838f; background: #fff; font-size: 11px; }
.jd-site :is(.site-audience, .site-prompt-note) { color: #89919e; font-size: 11px; }
.jd-site :is(.site-benefit-icon, .step-number, .resource-number, .prompt-spark) { color: #7385a4; }
.jd-site .site-product-section, .jd-site .site-pricing-section { background: #fafafb; }
.jd-site .site-product-figure img { box-shadow: none; border-radius: 14px; border-color: #e7e9ee; }
.jd-site .site-product-labels span { border-color: #bcc7da; }
.jd-site :is(.site-product-copy h2, .section-heading h2, .site-practice h2, .site-faq h2, .site-final h2) {
  font-family: "DM Sans", Manrope, sans-serif;
  font-size: 34px !important;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 600;
}
.jd-site .site-section, .jd-site .site-workflow { padding-block: 80px; }
.jd-site .site-pricing-grid { gap: 18px; align-items: stretch; margin-top: 36px; }
.jd-site .site-plan, .jd-auth .plan-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 22px;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  min-width: 0;
}
.jd-site .site-plan-featured { border-color: #a6b2cc; background: #f8faff; }
.jd-site .site-plan-featured::before { display: none; }
.jd-site .site-plan h3, .jd-auth .plan-title h3 { font: 600 17px/1.4 "DM Sans", Manrope, sans-serif; }
.jd-site .site-price { font: 600 30px/1.4 "DM Sans", Manrope, sans-serif; color: #282c33; margin-top: 20px; letter-spacing: -.8px; }
.jd-site .site-plan > p { font-size: 12px; line-height: 1.8; margin-top: 12px; }
.jd-site .plan-detail { font-size: 11px; margin: 22px 0; min-height: 42px; line-height: 1.8; }
.jd-site .site-plan .site-button { margin-top: auto; min-height: 44px; width: 100%; }
.jd-site .site-faq details { border-color: #e7e9ee; padding-block: 18px; }
.jd-site .site-faq summary { font-weight: 500; }
.jd-site .site-footer { background: #fafafb; border-color: #e7e9ee; }
.jd-site .footer-brand img { width: 164px; }
.jd-site .footer-bottom { gap: 18px; flex-wrap: wrap; }
.jd-site .site-contact-layout :is(input, select, textarea) { border-radius: 9px; border-color: #e7e9ee; font-family: inherit; min-height: 44px; font-size: 13px; }

/* Account entry: neutral side canvas, white form area, shared type and controls. */
body.jd-auth { background: #fff; margin: 0; font-size: 14px; }
.jd-auth .auth-layout { font-family: Manrope, "Segoe UI", sans-serif; }
.jd-auth .auth-layout main { background: #fff; }
.jd-auth .auth-layout .brand-panel { background: #f5f5f6; border-right: 1px solid #eceef2; }
.jd-auth .brand-panel .logo { width: 184px; }
.jd-auth .brand-story h1 { font-family: "DM Sans", Manrope, sans-serif; font-size: clamp(38px, 3.6vw, 52px); font-weight: 600; color: #282c33; line-height: 1.15; letter-spacing: -1.8px; }
.jd-auth .brand-story .eyebrow { color: #8a929f; font-size: 9px; letter-spacing: 1.5px; }
.jd-auth .brand-story > p:last-child { font-size: 13px; line-height: 1.9; color: #707782; }
.jd-auth .gold-rule { background: #b8c3d7; width: 40px; }
.jd-auth .form-wrap { max-width: 420px; }
.jd-auth h2 { font: 600 30px/1.22 "DM Sans", Manrope, sans-serif; letter-spacing: -.9px; color: #282c33; }
.jd-auth .intro { color: #707782; font-size: 13px; line-height: 1.8; }
.jd-auth .field > label { font-size: 12px; font-weight: 500; color: #5d6778; }
.jd-auth .field :is(input:not([type=checkbox]):not([type=radio]), select) {
  min-height: 46px;
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  color: #282c33;
  background-color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  box-shadow: none;
}
.jd-auth .field input { padding: 11px 13px; }
.jd-auth .password-field input { padding-right: 56px; }
.jd-auth .reveal { top: 1px; height: 44px; }
.jd-auth .field :is(input, select):focus-visible { outline: 2px solid #a6b2cc; outline-offset: 2px; }
.jd-auth .primary { min-height: 46px; border-radius: 9px; background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; font-size: 12px; box-shadow: none; }
.jd-auth .primary:hover { background: var(--button-primary-hover); }
.jd-auth .secondary { border: 1px solid #e7e9ee; color: #525d70; border-radius: 9px; background: #fff; font-size: 12px; }
.jd-auth .secondary:hover { background: #f7f8fa; border-color: #ccd2df; }
.jd-auth .demo-autofill.demo-login-tools, .jd-auth .demo-autofill.demo-verify-tools { background: #fafbfc; border-color: #e7e9ee; border-radius: 12px; gap: 10px; padding: 10px; }
.jd-auth .demo-login-tools .demo-role-field select { height: var(--demo-control-height); min-height: var(--demo-control-height); font-size: 12px; border-radius: 7px; }
.jd-auth .auth-layout .social-signin-button { min-height: 44px; border-color: #e7e9ee; border-radius: 9px; box-shadow: none; }
.jd-auth .social-signin-button:hover { border-color: #cbd4e4; background: #fafbfc; }
.jd-auth .step-track { gap: 6px; }
.jd-auth .step-track .active { background: var(--brand-primary); }
.jd-auth .mail-symbol, .jd-auth .success-mark { background: #f1f4fa; color: var(--brand-primary); border-radius: 12px; }
.jd-auth .mobile-number-field { border-radius: 9px; }
.jd-auth .mobile-country { background: #fafbfc; border-color: #e7e9ee; }
.jd-auth .auth-layout.plan-mode .form-wrap { max-width: 1120px; }
.jd-auth .plan-grid { gap: 18px; margin-top: 26px; }
.jd-auth .plan-card:has(input:checked) { border-color: #a6b2cc; background: #f8faff; box-shadow: 0 0 0 1px #a6b2cc; }
.jd-auth .plan-price { font: 600 30px/1.4 "DM Sans", Manrope, sans-serif; color: #282c33; letter-spacing: -.8px; }
.jd-auth .plan-card ul { border-color: #e7e9ee; line-height: 1.8; margin-bottom: 18px; }
.jd-auth .plan-card .plan-choice { border-radius: 9px; border-color: #e7e9ee; color: #525d70; }
.jd-auth .plan-card:has(input:checked) .plan-choice { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }
.jd-auth .plan-summary { background: #fafbfc; border: 1px solid #e7e9ee; border-radius: 12px; gap: 8px; }
.jd-auth dialog { border: 1px solid #e7e9ee; border-radius: 16px; box-shadow: 0 25px 100px #15243a18; }
.jd-auth dialog::backdrop { background: #25324a38; backdrop-filter: blur(2px); }
.jd-auth .dialog-body { padding: 26px; }
.jd-auth :is(.helper, .fine-print, .demo-note) { font-size: 11px; line-height: 1.8; }
.jd-auth .check { font-size: 11px; }
.jd-auth .social-signin-status { overflow-wrap: anywhere; }
@media (min-width: 1024px) { .jd-auth .auth-layout:not(.plan-mode) { grid-template-columns: 40% 60%; } }
@media (max-width: 1050px) { .jd-site .site-nav { gap: 20px; }.jd-site .site-nav-links { gap: 18px; }.jd-site .site-logo img { width: 155px; }.jd-site .site-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .jd-site .site-nav { height: 74px; }.jd-site .site-logo img { width: 148px; }
  .jd-site .site-hero { padding-top: 46px; }.jd-site .site-hero h1, .jd-site .site-subhero h1 { font-size: 36px; letter-spacing: -1.25px; line-height: 1.16; }
  .jd-site .site-hero-copy { font-size: 13px; max-width: 340px; }
  .jd-site .site-prompt { padding: 18px 15px 13px; border-radius: 18px; }
  .jd-site :is(.site-product-copy h2, .section-heading h2, .site-practice h2, .site-faq h2, .site-final h2) { font-size: 27px !important; }
  .jd-site .site-section, .jd-site .site-workflow { padding-block: 56px; }
  .jd-site .site-pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .jd-site .site-plan { padding: 24px; }.jd-site .site-plan .site-button { font-size: 12px; }
  .jd-auth .logo { width: 172px; }.jd-auth h2 { font-size: 27px; }
  .jd-auth .form-wrap { padding-bottom: 26px; }
  .jd-auth .field :is(input:not([type=checkbox]):not([type=radio]), select) { font-size: 16px; }
  .jd-auth .plan-card { padding: 22px; }.jd-auth .plan-grid { gap: 16px; }
}
/* The country picker and number share one field border. */
.jd-auth .auth-layout .mobile-number-field {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #e7e9ee;
  border-radius: 9px;
  background: #fff;
  overflow: visible;
}
.jd-auth .auth-layout .mobile-number-field .mobile-country {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 48%;
  min-width: 0;
  gap: 6px;
  padding-inline: 10px 0;
  border: 0;
  border-inline-end: 1px solid #e7e9ee;
  border-radius: 9px 0 0 9px;
  background: #fafbfc;
}
.jd-auth .auth-layout .mobile-number-field :is(input, select) {
  border: 0;
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  background: transparent;
  box-shadow: none;
}
.jd-auth .auth-layout .mobile-number-field input { flex: 1; width: 0; }
.jd-auth .auth-layout .mobile-country select { width: 126px; font-size: 12px; }
.jd-auth .mobile-number-field .country-flag { width: 22px; height: 15px; flex-shrink: 0; }
.jd-auth .auth-layout .mobile-number-field:focus-within { border-color: #a6b2cc; }
@media(max-width:650px) {
  .jd-auth .auth-layout .mobile-country select { width: 116px; font-size: 12px; }
  .jd-auth .auth-layout .mobile-number-field input { font-size: 16px; }
}
.jd-auth .auth-layout .field .mobile-number-field input:not([type=checkbox]):not([type=radio]),
.jd-auth .auth-layout .field .mobile-number-field select {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.jd-auth .auth-layout .field .mobile-country select { width: 126px; font-size: 12px; padding-inline-start: 0; }
@media(max-width:650px) {
  .jd-auth .auth-layout .field .mobile-country select { width: 112px; }
}
