/*
 * jurisio.ai/join-firms: Florida lawyers list their firm free, or sponsor to be shown first.
 * Look = the homepage garden: cream paper, a Monet panel with an Ella chat window on top,
 * a dark green panel holding the sign-up form, then a free vs sponsored table and FAQ.
 * The demo's three cards (Basic, Featured, Spotlight) are static renders of the real
 * production components (frontend/src/routes/consumer/scholar/legal-help-formats/Format{C,A,B}.jsx)
 * styled by join-firms-formats.css, a byte-for-byte copy of legal-help-formats.css
 * (tests/static/test_marketing_join_firms.py keeps the copy in sync). `.jf-lh` supplies the
 * --pane-* tokens those styles expect.
 */

.jf-body {
  --bg:        oklch(0.965 0.012 85);
  --bg-warm:   oklch(0.945 0.018 80);
  --surface:   oklch(0.99 0.005 85);
  --surface-2: oklch(0.975 0.008 80);
  --ink:       oklch(0.22 0.015 60);
  --ink-2:     oklch(0.36 0.014 65);
  --muted:     oklch(0.54 0.012 70);
  --muted-2:   oklch(0.68 0.010 75);
  --border:    oklch(0.88 0.012 75);
  --border-strong: oklch(0.78 0.014 75);
  --accent:      oklch(0.42 0.07 160);
  --accent-ink:  oklch(0.32 0.07 160);
  --accent-tint: oklch(0.94 0.03 160);
  --ochre-ink:   oklch(0.42 0.11 60);
  --shadow-md: 0 1px 0 oklch(0.78 0.014 75 / 0.4), 0 8px 28px oklch(0.22 0.015 60 / 0.07);
  --font-display: "Newsreader", "Source Serif 4", Georgia, serif;
  --font-sans:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;
  margin: 0;
  background: var(--site-paper, #FDF8EF);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.jf-page, .jf-page *, .jf-page *::before, .jf-page *::after { box-sizing: border-box; }
.jf-page [hidden] { display: none !important; }
.jf-page:focus { outline: none; }

.jf-lh {
  --pane-surface: oklch(0.99 0.005 85);
  --pane-ink: oklch(0.22 0.015 60);
  --pane-ink-2: oklch(0.36 0.014 65);
  --pane-border: oklch(0.88 0.012 75);
  --pane-muted: oklch(0.54 0.012 70);
  --pane-border-strong: oklch(0.78 0.014 75);
  --ochre-tint: oklch(0.95 0.03 80);
  --lh-link: var(--ochre-ink, oklch(0.42 0.11 60));
  --lh-note-bg: color-mix(in oklch, var(--pane-ink), transparent 96%);
  --lh-edge-strong: color-mix(in oklch, var(--pane-ink), transparent 78%);
}
.j3{
  --ink:#191911; --ink-2:#4a4a3e; --muted:#7a7868; --line:#e4dccd;
  --paper:#FDF8EF; --olive:#5d6b2f; --olive-hi:#4f5c26; --panel:#272a20; --panel-ink:#efeadc; --panel-muted:#b9b5a2;
  --serif:"Newsreader","Source Serif 4",Georgia,serif; --sans:"Geist",ui-sans-serif,system-ui,sans-serif;
  background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:16px; line-height:1.55;
}
.j3 *{box-sizing:border-box} .j3 [hidden]{display:none!important}
.j3 h1,.j3 h2,.j3 h3{font-family:var(--serif); font-weight:400; letter-spacing:-.015em; margin:0}
.j3 h2{font-size:clamp(32px,3.2vw,44px); line-height:1.1}
.j3-wrap{max-width:1240px; margin:0 auto; padding:0 40px}

.j3-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; height:46px; padding:0 22px; border-radius:10px; background:var(--olive); color:#fbf8ee; font:500 15px var(--sans); text-decoration:none; border:0; cursor:pointer}
.j3-btn:hover{background:var(--olive-hi)}
.j3-btn-full{width:100%; margin-top:4px}
.j3-link{color:var(--olive); font-weight:500; text-decoration:none; font-size:15px}
.j3-link:hover{text-decoration:underline; text-underline-offset:3px}

/* hero */
.j3-hero{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; align-items:center; padding-top:calc(var(--site-header-h, 62px) + 40px); padding-bottom:120px}
.j3-for{margin:0 0 18px; font-size:14px; color:var(--muted)}
.j3-hero h1{font-size:clamp(44px,5vw,68px); line-height:1.02; margin-bottom:22px}
.j3-lede{font-size:18.5px; color:var(--ink-2); max-width:34ch; margin:0 0 32px}
.j3-actions{display:flex; gap:24px; align-items:center; flex-wrap:wrap}
.j3-note{margin:22px 0 0; font-size:14px; color:var(--muted)}
.j3-facts{list-style:none; margin:28px 0 0; padding:20px 0 0; border-top:1px solid var(--line); display:grid; gap:10px; max-width:440px}
.j3-facts li{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; line-height:1.45; color:var(--ink-2)}
.j3-facts svg{flex:none; margin-top:2px; color:var(--olive)}
.j3-art{position:relative; margin:0; border-radius:24px; overflow:hidden; padding:56px 48px 64px; min-height:640px; display:flex; align-items:center; justify-content:center; isolation:isolate}
.j3-art > img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1}
.j3-window{width:100%; max-width:560px; border-radius:16px; overflow:hidden; box-shadow:0 24px 60px -20px rgba(30,20,5,.45), 0 0 0 1px rgba(0,0,0,.04); background:#fffdf8}
.j3-window ella-action-demo:not(.lad-ready){display:block; min-height:540px}
.j3-art figcaption{position:absolute; left:20px; bottom:14px; font-size:12px; color:rgba(255,255,255,.88); text-shadow:0 1px 3px rgba(0,0,0,.5)}

/* how */
.j3-how{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; padding-bottom:128px}
.j3-steps{list-style:none; margin:0; padding:0; border-top:1px solid var(--line)}
.j3-steps li{display:grid; grid-template-columns:56px 1fr; gap:8px; padding:26px 0; border-bottom:1px solid var(--line)}
.j3-n{font-family:var(--serif); font-size:28px; line-height:1; color:var(--olive)}
.j3-steps h3{font-size:23px; margin-bottom:6px}
.j3-steps p{margin:0; color:var(--ink-2); max-width:52ch}

/* dark panel */
.j3-panel-wrap{padding-bottom:128px}
.j3-panel{background:var(--panel); color:var(--panel-ink); border-radius:24px; padding:72px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,460px); gap:72px; align-items:center}
.j3-panel h2{color:#fbf8ee; margin-bottom:20px}
.j3-panel-lede{color:var(--panel-muted); font-size:17px; max-width:40ch; margin:0 0 32px}
.j3-checks{list-style:none; margin:0; padding:0; display:grid; gap:16px}
.j3-checks li{position:relative; padding-left:30px; color:var(--panel-muted)}
.j3-checks li::before{content:""; position:absolute; left:2px; top:7px; width:12px; height:7px; border-left:1.6px solid #c9d39d; border-bottom:1.6px solid #c9d39d; transform:rotate(-45deg)}
.j3-checks b{color:#fbf8ee; font-weight:600}

.j3-card{background:var(--paper); color:var(--ink); border-radius:18px; padding:28px}
.j3-seg{display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:10px; background:#efe7d8; margin-bottom:20px}
.j3-seg button{height:38px; border:0; border-radius:7px; background:none; font:500 14px var(--sans); color:var(--ink-2); cursor:pointer}
.j3-seg button.on{background:#fffdf8; color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.08)}
.j3-form{display:grid; gap:16px}
.j3-form-intro{margin:0; color:var(--ink-2); font-size:15px}
.j3-row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.j3-form label{display:grid; gap:6px; font-size:13.5px; font-weight:500; color:var(--ink-2)}
.j3-form input,.j3-form select{height:44px; border:1px solid #ddd3c2; border-radius:9px; padding:0 12px; font:400 16px var(--sans); color:var(--ink); background:#fffdf8; width:100%}
.j3-form input::placeholder{color:#a9a493}
.j3-form input:focus,.j3-form select:focus{outline:2px solid #c9d39d; border-color:var(--olive)}
.j3-fine{margin:0; font-size:12.5px; color:var(--muted)} .j3-fine a{color:var(--ink-2)}

/* faq */
.j3-faq{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; padding-bottom:140px}
.j3-qs{border-top:1px solid var(--line)}
.j3-qs details{border-bottom:1px solid var(--line); padding:22px 0}
.j3-qs summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:20px; font-size:17px; font-weight:500}
.j3-qs summary::-webkit-details-marker{display:none}
.j3-qs summary::after{content:"+"; color:var(--muted); font-weight:300; font-size:22px; line-height:1}
.j3-qs details[open] summary::after{content:"−"}
.j3-qs p{margin:12px 0 0; color:var(--ink-2); max-width:60ch}



/* format demo */
.j3d{width:100%; max-width:580px; display:grid; gap:12px}
.j3d-tabs{display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:4px; border-radius:12px; background:rgba(253,248,239,.9); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); box-shadow:0 8px 24px -12px rgba(30,20,5,.4)}
.j3d-tabs button{border:0; background:none; border-radius:9px; padding:8px 6px; cursor:pointer; display:grid; gap:1px; font-family:var(--sans); color:var(--ink-2)}
.j3d-tabs b{font-size:14px; font-weight:600} .j3d-tabs span{font-size:11.5px; color:var(--muted)}
.j3d-tabs button.on{background:#fffdf8; color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.08)}
.j3-window .j3d-pane{padding:20px 22px 8px}
.j3d-q{margin-left:auto; max-width:85%; width:fit-content; background:#241d15; color:#f6efe3; border-radius:14px 14px 4px 14px; padding:10px 14px; font:14px/1.4 var(--sans)}
.j3d-a{font:15px/1.5 var(--serif); color:#16241f; margin-top:14px}
.j3d-a p{margin:0 0 12px}
.j3d-slot{margin:4px 0 14px; font-size:14px}
.j3d-phone{display:none}
/* demo animation */
.j3d-tabs button{position:relative; overflow:hidden}
.j3d-tabs button i{position:absolute; left:10px; right:10px; bottom:3px; height:2px; border-radius:2px; background:#5d6b2f; transform:scaleX(0); transform-origin:left; opacity:0}
.j3d-tabs button.on i{opacity:.7}
.j3-window{position:relative}
.j3d-pane{transition:opacity .28s ease}
.j3-window{transition:height .42s cubic-bezier(.3,.7,.2,1); overflow:hidden}
.j3d.fast .w,.j3d.fast .j3d-q,.j3d.fast .j3d-slot{transition-duration:.18s}
.j3d.anim .j3d-q{opacity:0; transform:translateY(8px) scale(.97); transform-origin:right bottom; transition:opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1)}
.j3d.anim .j3d-q.in{opacity:1; transform:none}
.j3d .w{transition:opacity .28s ease, filter .28s ease}
.j3d.anim .w{opacity:0; filter:blur(3px)}
.j3d.anim .w.in{opacity:1; filter:none}
.j3d-dots{position:absolute; display:flex; gap:4px; padding:4px 0; opacity:0; transition:opacity .2s}
.j3d-dots.on{opacity:1}
.j3d-dots b{width:6px; height:6px; border-radius:50%; background:#8b8d7e; animation:j3dot 1s infinite ease-in-out}
.j3d-dots b:nth-child(2){animation-delay:.15s} .j3d-dots b:nth-child(3){animation-delay:.3s}
@keyframes j3dot{0%,60%,100%{transform:translateY(0); opacity:.4} 30%{transform:translateY(-4px); opacity:1}}
.j3d.anim .j3d-slot{opacity:0; transform:translateY(14px) scale(.97); transition:opacity .5s ease, transform .6s cubic-bezier(.2,.9,.25,1.15)}
.j3d.anim .j3d-slot.in{opacity:1; transform:none}
.j3d-slot.in .sch__legal-help, .j3d-slot.in > div > *:first-child{animation:j3glow 1.6s ease .35s 1}
@keyframes j3glow{0%{box-shadow:0 0 0 0 rgba(168,191,99,0)} 35%{box-shadow:0 0 0 4px rgba(168,191,99,.55)} 100%{box-shadow:0 0 0 0 rgba(168,191,99,0)}}
@media (prefers-reduced-motion: reduce){.j3d.anim .j3d-q,.j3d.anim .w,.j3d.anim .j3d-slot{opacity:1!important; transform:none!important; filter:none!important; transition:none!important}.j3d-dots{display:none}.j3d-slot.in *{animation:none!important}}
.j3d-foot{display:flex; justify-content:space-between; border-top:1px solid #e3dfd2; padding:8px 14px; font-size:11px; color:#7c8071}
@media (max-width:640px){
  .j3d-desk{display:none} .j3d-phone{display:block}
  .j3-window .j3d-pane{padding:16px 14px 6px}
  .j3d-a{font-size:15px}
}


.j3-panel-aside{margin:0; font-size:14.5px; color:var(--panel-muted)} .j3-panel-aside b{color:#fbf8ee; font-weight:500}
.j3-panel h2{font-size:clamp(32px,3.4vw,46px)}
.j3-compare{padding-bottom:128px}
.j3-compare-head{display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:32px}
.j3-compare-head .j3-body{margin:0; max-width:40ch}
.j3-table{border-top:1px solid var(--ink)}
.j3-tr{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.3fr); border-bottom:1px solid var(--line)}
.j3-tr > span{padding:18px 20px 18px 0; font-size:15.5px; color:var(--ink-2)}
.j3-tr > span[role=rowheader]{color:var(--ink); font-weight:500}
.j3-tr > .sp{padding-left:20px; background:#f3efdf; color:var(--ink)}
.j3-th > span{font-family:var(--serif); font-size:22px; color:var(--ink); padding-top:20px; padding-bottom:14px}
.j3-th > .sp{color:var(--olive)}
@media (max-width:640px){
  .j3-compare{padding-bottom:80px}
  .j3-compare-head{display:block}
  .j3-compare-head .j3-body{margin-top:10px}
  .j3-tr{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr)}
  .j3-tr > span{padding:14px 10px 14px 0; font-size:13.5px}
  .j3-tr > .sp{padding-left:10px}
  .j3-th > span{font-size:17px}
}


.j3-tr{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
.j3-tr > .ck{display:flex; justify-content:center; align-items:center; padding-left:0; padding-right:0; color:var(--olive)}
.j3-tr > .ck.no{color:#b9b3a2; font-size:18px}
.j3-tr > .ck.txt{color:var(--ink); font-weight:500}
@media (max-width:640px){ .j3-tr{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr)} .j3-tr > .ck{padding-left:0} }


.j3-compare-head h2{font-size:clamp(40px,4.4vw,60px)}
.j3-btn-ghost{background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1px #cfc6b2}
.j3-btn-ghost:hover{background:#efe7d6}
.j3-th > span.plan{display:flex; flex-direction:column; align-items:center; gap:4px; padding:28px 16px 24px; font-family:var(--sans)}
.j3-th > span.plan b{font-family:var(--serif); font-weight:400; font-size:34px; line-height:1.05; color:var(--ink)}
.j3-th > span.plan.sp b{color:var(--olive)}
.j3-th > span.plan small{font-size:13.5px; color:var(--muted); margin-bottom:14px}
.j3-th > span.plan .j3-btn{height:42px; padding:0 18px; font-size:14.5px; width:100%; max-width:200px}
.j3-th > .j3-th-label{align-self:end; font:500 13px var(--sans); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); padding-bottom:24px}
.j3-tr > .sp{background:#f0ebd8}
@media (max-width:640px){
  .j3-th > span.plan{padding:20px 6px 16px}
  .j3-th > span.plan b{font-size:24px}
  .j3-th > span.plan small{font-size:12px; margin-bottom:10px; text-align:center}
  .j3-th > span.plan .j3-btn{height:38px; padding:0 8px; font-size:12.5px}
  .j3-th > .j3-th-label{font-size:11px}
}

.j3-th .narrow{display:none}
@media (max-width:640px){ .j3-th .wide{display:none} .j3-th .narrow{display:inline} .j3-th > span.plan b{font-size:21px} }

/* mock-only switcher */

@media (max-width:1020px){
  .j3-hero,.j3-how,.j3-faq{grid-template-columns:1fr; gap:36px}
  .j3-panel{grid-template-columns:1fr; padding:48px}
}
@media (max-width:640px){
  .j3-wrap{padding:0 16px}
  .j3-hero{padding-top:calc(var(--site-header-h, 62px) + 24px); padding-bottom:80px}
  .j3-art{padding:20px 12px 40px; min-height:0; border-radius:18px}
  .j3-window ella-action-demo:not(.lad-ready){min-height:600px}
  .j3-how,.j3-panel-wrap{padding-bottom:80px} .j3-faq{padding-bottom:96px}
  .j3-steps li{grid-template-columns:40px 1fr}
  .j3-panel{padding:36px 20px 20px; gap:36px; border-radius:18px}
  .j3-card{padding:20px}
  .j3-row{gap:10px}
}
@media (max-width:339.98px){ .j3-row{grid-template-columns:1fr} }
/* form plumbing */
.j3-field{display:grid; gap:6px; min-width:0}
.j3-field label{display:block; font-size:13.5px; font-weight:500; color:var(--ink-2)}
.j3-field label span{font-weight:400; color:var(--muted)}
.j3-form input[aria-invalid="true"],.j3-form select[aria-invalid="true"]{border-color:#9b2c2c}
.j3-err{margin:0; font-size:12px; line-height:1.4; color:#9b2c2c}
.j3-status{margin:0; font-size:13.5px; color:var(--ink-2)} .j3-status:empty{display:none}
.j3-status.is-error{color:#9b2c2c} .j3-status.is-success{color:var(--olive-hi)}
.j3-sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
.j3-form select{-webkit-appearance:none; appearance:none; padding-right:36px; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5148' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center}
.j3-btn:disabled{opacity:.6; cursor:default}
.j3, .j3 *, .j3 *::before, .j3 *::after{box-sizing:border-box}
.j3 [hidden]{display:none !important}
.j3:focus{outline:none}

/* Closing band: same plate, painting and card as the site-wide band (.ab-cta in about.css,
   .grd-cta-band on the homepage, .gm-cta-* on phones). Change them together. */
.j3-cta{padding:0 0 clamp(16px,2vw,24px)}
.j3-cta-plate{display:flex; align-items:flex-end; width:99%; margin-inline:auto; min-height:clamp(380px,46vw,620px); padding:0 0 clamp(46px,7vw,96px); border-radius:22px; overflow:hidden;
  background:#40543e url("/assets/garden/cta-monet-bassin.jpg") center 62%/cover no-repeat;
  background-image:-webkit-image-set(url("/assets/opt/cta-monet-bassin-1600.webp") 1x,url("/assets/opt/cta-monet-bassin-2233.webp") 2x);
  background-image:image-set(url("/assets/opt/cta-monet-bassin-1600.webp") type("image/webp") 1x,url("/assets/opt/cta-monet-bassin-2233.webp") type("image/webp") 2x,url("/assets/garden/cta-monet-bassin.jpg") type("image/jpeg") 1x)}
.j3-cta-card{width:90%; margin-inline:auto; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr); gap:clamp(24px,4vw,72px); align-items:start; padding:clamp(28px,3.2vw,46px) clamp(26px,3.4vw,52px); border-radius:18px; background:#f8f5ee; box-shadow:0 26px 60px rgba(9,20,14,.28)}
.j3-cta-card h2{margin:0; font:500 clamp(30px,3.4vw,50px)/1.04 var(--serif); letter-spacing:-.025em; text-wrap:balance; color:var(--ink)}
.j3-cta-side{display:flex; flex-direction:column; align-items:flex-start; gap:18px}
.j3-cta-side p{margin:0; font-size:15px; line-height:1.55; color:#22322b}
.j3-cta-row{display:flex; flex-wrap:wrap; gap:10px}
@media (max-width:780px){
  .j3-cta-card{grid-template-columns:1fr}
  .j3-cta-plate{background-position:center 70%; padding-bottom:28px}
}
@media (max-width:539.98px){
  .j3-cta{padding:8px 6px 0}
  .j3-cta-plate{width:auto; min-height:540px; flex-direction:column; justify-content:flex-end; align-items:stretch; padding:12px; background:#4d5a32 url("/assets/landing-v2/mobile-cta-monet-bassin.webp") center/cover no-repeat}
  .j3-cta-card{width:auto; display:block; padding:22px; border-radius:16px; background:#f7f3ea; box-shadow:none}
  .j3-cta-card h2{font-size:clamp(26px,7.7vw,30px); line-height:1.12}
  .j3-cta-side{gap:0; align-items:stretch}
  .j3-cta-side p{margin-top:12px; font-size:14.5px; line-height:1.6}
  .j3-cta-row{flex-direction:column; margin-top:16px}
  .j3-cta-row .j3-btn{min-height:48px}
}

/* Green panel: hours and contact under the lede */
.j3-dir{margin:0; display:grid; gap:0; max-width:420px; border-top:1px solid rgba(239,234,220,.16)}
.j3-dir > div{display:grid; grid-template-columns:120px 1fr; gap:16px; padding:14px 0; border-bottom:1px solid rgba(239,234,220,.16)}
.j3-dir dt{font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--panel-muted)}
.j3-dir dd{margin:0; font-size:15px; line-height:1.45; color:#fbf8ee}
.j3-dir a{color:#fbf8ee; text-underline-offset:3px; text-decoration-color:rgba(251,248,238,.4)}
.j3-dir a:hover{text-decoration-color:currentColor}
@media (max-width:539.98px){ .j3-dir > div{grid-template-columns:96px 1fr; gap:12px} }
.j3-compare-link{margin:18px 0 0; font-size:14.5px; color:var(--muted)}
.j3-compare-link a{color:var(--olive-hi); font-weight:500; text-underline-offset:3px; text-decoration-color:rgba(79,92,38,.35)}
.j3-compare-link a:hover{text-decoration-color:currentColor}
.j3-opt{display:inline-block; margin-right:6px; padding:1px 8px; border-radius:999px; background:#e9edd6; color:var(--olive-hi); font-size:12px; font-weight:600; letter-spacing:.02em; vertical-align:1px}

/* Scroll motion (classes added by join-firms.js) */
html{scroll-behavior:smooth; scroll-padding-top:calc(var(--site-header-h, 62px) + 20px)}
.j3-rise{opacity:0; transform:translateY(14px); transition:opacity .45s ease, transform .5s cubic-bezier(.2,.75,.25,1)}
.j3-rise.is-in{opacity:1; transform:none}
.j3-tr.j3-rise{transform:translateY(10px)}
.j3-tr.j3-rise.is-in{transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .j3-rise{opacity:1; transform:none; transition:none}
}

/* Table value cells: a short answer, then one line of detail */
.j3-tr > .v{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; text-align:center; padding:20px 18px}
.j3-tr > .v b{font-family:var(--serif); font-weight:400; font-size:21px; line-height:1.15; color:var(--ink)}
.j3-tr > .v.sp b{color:var(--olive-hi)}
.j3-tr > .v small{font-size:13px; line-height:1.4; color:var(--muted); max-width:30ch}
.j3-tr > span[role=rowheader]{display:flex; align-items:center}
@media (max-width:640px){
  .j3-tr{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr)}
  .j3-tr > .v{padding:14px 6px}
  .j3-tr > .v b{font-size:16px}
  .j3-tr > .v small{font-size:11.5px}
}

/* FAQs: same look as the homepage FAQ (.grd-faq in garden-v2): centered heading and
   subline, rounded bordered rows, a plus that turns into a minus. */
.j3-faq{display:block; padding-bottom:140px}
.j3-faq > h2{margin:0 0 14px; text-align:center}
.j3-faq-sub{margin:0 auto 40px; max-width:56ch; text-align:center; font-size:15.5px; line-height:1.6; color:var(--muted)}
.j3-qs{max-width:880px; margin:0 auto; display:flex; flex-direction:column; gap:13px; border-top:0}
.j3-qs details{border:1px solid rgba(22,36,31,.16); border-radius:16px; background:rgba(255,255,255,.28); padding:0; transition:border-color .16s ease}
.j3-qs details:hover{border-color:rgba(22,36,31,.3)}
.j3-qs details[open]{border-color:rgba(22,36,31,.26)}
.j3-qs summary{display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 24px; font-size:17px; font-weight:500; line-height:1.4; color:#16241f}
.j3-qs summary::after,.j3-qs details[open] summary::after{content:none}
.j3-mark{position:relative; flex:none; width:15px; height:15px}
.j3-mark::before,.j3-mark::after{content:""; position:absolute; left:0; right:0; top:50%; height:1.5px; background:#16241f; transform:translateY(-50%); transition:transform .2s ease, opacity .2s ease}
.j3-mark::after{transform:translateY(-50%) rotate(90deg)}
.j3-qs details[open] .j3-mark::after{transform:translateY(-50%); opacity:0}
.j3-qs details > p{margin:0; padding:0 76px 28px 24px; font-size:15px; line-height:1.6; color:#4a564e; max-width:none}
.j3-qs details[open] > p{animation:j3faq .28s ease}
@keyframes j3faq{from{opacity:0; transform:translateY(-4px)} to{opacity:1; transform:none}}
@media (max-width:780px){
  .j3-qs summary{padding:18px 20px; gap:16px; font-size:15.5px}
  .j3-qs details > p{padding:0 24px 22px 20px}
  .j3-faq{padding-bottom:96px}
}
@media (prefers-reduced-motion: reduce){ .j3-qs details[open] > p{animation:none} .j3-mark::before,.j3-mark::after{transition:none} }
.j3-qs summary:focus{outline:none}
.j3-qs summary:focus-visible{outline:2px solid var(--olive); outline-offset:-2px; border-radius:16px}

/* "Ask us a question": the left button swaps the right card between the listing
   form and a question form (same contact endpoint). */
.j3-btn-line{margin-top:28px; background:transparent; color:#fbf8ee; box-shadow:inset 0 0 0 1px rgba(239,234,220,.35); transition:background .16s ease, box-shadow .16s ease}
.j3-btn-line:hover{background:rgba(239,234,220,.08); box-shadow:inset 0 0 0 1px rgba(239,234,220,.6)}
.j3-btn-line:focus-visible{outline:2px solid #c9d39d; outline-offset:3px}
.j3-card{transition:height .32s cubic-bezier(.2,.7,.2,1); overflow:hidden}
.j3-card .j3-form.is-entering{animation:j3swap .34s cubic-bezier(.2,.7,.2,1)}
@keyframes j3swap{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}
.j3-ask-head h3{margin:0 0 4px; font-family:var(--serif); font-weight:400; font-size:26px; line-height:1.15; color:var(--ink)}
.j3-ask-head p{margin:0; font-size:14.5px; line-height:1.5; color:var(--ink-2)}
.j3-form textarea{min-height:120px; resize:vertical; border:1px solid #ddd3c2; border-radius:9px; padding:11px 12px; font:400 16px/1.5 var(--sans); color:var(--ink); background:#fffdf8; width:100%}
.j3-form textarea::placeholder{color:#a9a493}
.j3-form textarea:focus{outline:2px solid #c9d39d; border-color:var(--olive)}
.j3-form textarea[aria-invalid="true"]{border-color:#9b2c2c}
.j3-linkish{border:0; padding:0; background:none; font:inherit; color:var(--ink-2); text-decoration:underline; text-underline-offset:2px; cursor:pointer}
@media (prefers-reduced-motion: reduce){ .j3-card{transition:none} .j3-card .j3-form.is-entering{animation:none} }

/* Demo spotlight: after the cards land, the rest of the chat dims and one listing lifts
   with a caption (Basic: sponsored, then free; Featured and Spotlight: the sponsor). */
.j3d [data-spot]{transition:opacity .45s ease, filter .45s ease, transform .5s cubic-bezier(.2,.9,.25,1.2), box-shadow .45s ease}
.j3d-a > p,.j3d-q{transition:opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1)}
.j3d-pane .sch__lhf-c-row{padding:6px 6px 12px; margin:-6px -6px -12px}
.j3d-pane.spotting .j3d-q,.j3d-pane.spotting .j3d-a > p,.j3d-pane.spotting .sch__lhf-fine{opacity:.3}
.j3d-pane.spotting [data-spot]:not(.is-spot),.j3d-pane.spotting .sch__lhf-c-card:not(.is-spot){opacity:.32; filter:grayscale(.6)}
.j3d .sch__lhf-c-card{transition:opacity .45s ease, filter .45s ease, transform .5s cubic-bezier(.2,.9,.25,1.2), box-shadow .45s ease}
.j3d .is-spot{transform:translateY(-3px); box-shadow:0 12px 26px rgba(40,46,20,.18), 0 0 0 1.5px #5d6b2f!important; border-radius:14px}
.j3d-callout{box-sizing:border-box; max-height:0; overflow:hidden; margin:0; padding:0 13px; border-radius:10px; background:#eef0e1; border:0 solid #d5dbb8; color:#2b3512; font:13.5px/1.45 var(--sans); opacity:0; transform:translateY(6px); transition:max-height .4s ease, margin .4s ease, padding .4s ease, opacity .35s ease .1s, transform .35s ease .1s}
.j3d-callout b{font-weight:600}
.j3d-pane.spotting .j3d-callout{max-height:90px; margin:2px 0 12px; padding:10px 13px; border-width:1px; opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){ .j3d [data-spot],.j3d-callout{transition:none} }

/* The "Optional" hero point links to the comparison, like "Advertise your firm" */
.j3-fact-link{color:var(--olive-hi); font-weight:500; text-decoration:underline; text-decoration-color:rgba(79,92,38,.35); text-underline-offset:3px; transition:text-decoration-color .16s ease}
.j3-fact-link:hover{text-decoration-color:currentColor}
.j3-fact-link:focus-visible{outline:2px solid #c9d39d; outline-offset:2px; border-radius:3px}

/* Phone fixes: the shared .j3-wrap phone padding was zeroing the gap under the table;
   two-up form fields stay side by side down to small phones. */
@media (max-width:780px){
  .j3-compare.j3-wrap{padding-bottom:72px}
  .j3-form{gap:14px}
  .j3-form input,.j3-form select{padding:0 10px}
  .j3-form select{padding-right:30px; background-position:right 10px center}
}


/* White card, borderless beige fields (matches /for-firms on Ask, #4013). */
.j3-card{background:#fff}
.j3-form input,.j3-form select,.j3-form textarea{background-color:#f8f4ec; border:0}
.j3-form input:focus,.j3-form select:focus,.j3-form textarea:focus{outline:0; background-color:#f4efe5; box-shadow:0 0 0 2px var(--olive)}
.j3-form input[aria-invalid="true"],.j3-form select[aria-invalid="true"],.j3-form textarea[aria-invalid="true"]{box-shadow:0 0 0 1.5px #9b2c2c}
/* Free Listing Terms agreement checkbox (listing_terms_2026_11_24). */
.j3-agree label{display:flex; align-items:flex-start; gap:10px; font-size:13.5px; line-height:1.45; color:var(--ink-2); font-weight:400; cursor:pointer}
.j3-form .j3-agree input[type="checkbox"]{flex:none; width:18px; height:18px; margin:1px 0 0; padding:0; border:0; background:none; box-shadow:none; accent-color:var(--olive)}
.j3-form .j3-agree input[type="checkbox"]:focus-visible{outline:2px solid var(--olive); outline-offset:2px; box-shadow:none}
.j3-form .j3-agree input[type="checkbox"][aria-invalid="true"]{outline:1.5px solid #9b2c2c; outline-offset:2px; box-shadow:none}
.j3-agree a{color:var(--ink)}
