/* Law firms page — layered on styles.css */
.lf{background:var(--tk-surface-background)}
.site-header--light{position:absolute}
.site-header--light .nav__links a,.site-header--light .nav__login{color:var(--ink)}
.site-header--light .nav__links a[aria-current]{opacity:1}
.site-header--light .brand img{display:block}

/* hero */
.lfhero{position:relative;overflow:hidden;background:var(--tk-surface-background);padding:88px 0 0}
.lfhero>.wrap,.lfhero__in{position:relative;z-index:1}
.glows{position:absolute;inset:0;pointer-events:none;z-index:0}
.glows i{position:absolute;border-radius:50%}
.glows .g1{left:calc(50% - 600px);top:130px;width:900px;height:440px;background:rgba(232,115,74,.16);filter:blur(85px)}
.glows .g2{left:calc(50% - 840px);top:300px;width:520px;height:520px;background:rgba(250,184,140,.26);filter:blur(75px)}
.glows .g3{left:calc(50% + 280px);top:250px;width:620px;height:520px;background:rgba(31,54,99,.14);filter:blur(75px)}
.glows .g4{left:calc(50% - 160px);top:520px;width:560px;height:300px;background:rgba(158,199,184,.2);filter:blur(65px)}
.lfhero__in{display:grid;grid-template-columns:minmax(0,560fr) minmax(0,580fr);gap:0;align-items:center;min-height:598px}
.lfhero__copy{padding:78px 0 78px}
.lfhero h1{font:400 64px/68px var(--serif);letter-spacing:-1.3px;color:var(--ink);font-variation-settings:'opsz' 144}
.lfhero__sub{font-size:20px;line-height:32px;color:var(--body);max-width:520px;margin-top:24px}
.lfhero__cta{display:flex;gap:16px;margin-top:40px;flex-wrap:wrap}
.btn--outline{background:color-mix(in srgb,var(--tk-surface-background) 70%,transparent);color:var(--tk-button-primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tk-button-primary) 25%,transparent)}
.btn--outline:hover{background:var(--tk-surface-background)}
.lfclose .btn--white{color:var(--tk-text-headings)}
.lfhero__visual{padding:64px 0;justify-self:end;width:100%;max-width:580px}
/* Figma 40001449:53: hero row is 120px padded, 710 tall; copy 60/68, sub 22/32 */
.lf .lfhero__in{min-height:710px}
.lf .lfhero__copy,.lf .lfhero__visual{padding-top:0;padding-bottom:0}
.lf .lfhero h1{font-size:60px;letter-spacing:-1.1px}
.lf .lfhero__sub{font-size:22px}
.lfhero .lfwin__foot{padding-bottom:29px}

/* product window (shared by hero + feature) */
.lfwin{background:var(--tk-surface-background);border-radius:12px;overflow:hidden;width:calc(100% - 20px);max-width:560px;margin:0 auto}
.lfwin__bar{height:44px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px;position:relative;font:500 13px var(--ui);color:var(--ink);background:var(--grey)}
.lfwin__bar .dots{position:absolute;left:18px}
.lfwin__bar b{font-weight:500;margin:0 auto}
.lfwin__body{padding:20px 24px 0}
.lfwin__head{display:flex;justify-content:space-between;align-items:center}
.lfwin__head h4{font:600 20px/24px var(--ui)}
.lfwin__tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.lfwin__tiles div{background:var(--grey);border-radius:8px;padding:12px 14px;height:78px}
.lfwin__tiles small{display:block;font:400 12px/15px var(--ui);color:var(--body)}
.lfwin__tiles strong{display:block;font:600 26px/31px var(--ui);margin-top:7px;color:var(--ink)}
.lfwin__tiles strong.warn{color:#b4470c}
.lfwin__lab{font:500 12px var(--ui);color:var(--body);margin:22px 0 7px}
.lfwin__finds li{display:flex;justify-content:space-between;align-items:center;height:56px;padding:0;border-bottom:1px solid var(--line)}
.lfwin__finds li:last-child{border-bottom:0}
.lfwin__finds b{display:block;font:500 13px/16px var(--ui)}
.lfwin__finds span:not(.chip){display:block;font:400 12px/16px var(--ui);color:var(--body);margin-top:3px}
.lfwin__finds .chip{font-size:10px;letter-spacing:.2px}
.lfwin__foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin:0;padding:13px 0 19px;font:500 13px var(--ui)}
.lfwin__btn{background:var(--navy);color:var(--tk-text-white);border-radius:8px;padding:8px 22px;font:500 12.5px var(--ui)}

/* problem */
.lfprob{padding:120px 0 120px}
.lfprob h2{text-align:center;max-width:1000px;margin:0 auto}
.lfprob__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:68px}
.lfcard{background:var(--grey);border-radius:16px;padding:32px;height:420px;display:flex;flex-direction:column;justify-content:space-between}
.lfcard h3{font:400 28px/34px var(--serif);color:var(--ink);max-width:320px;font-variation-settings:'opsz' 36}
.lfpanel{background:var(--tk-surface-background);border-radius:12px;padding:18px 18px 14px;height:200px}
.lfrow{display:flex;align-items:center;gap:12px;height:54px;border-bottom:1px solid var(--line);font:400 13px var(--ui)}
.lfrow:last-child{border-bottom:0}
.lfrow>span:nth-child(2){flex:1}
.lfrow .sq{width:28px;height:28px;border-radius:6px;background:#e6e4df}
.lfrow .dot{width:20px;height:20px;border-radius:50%;background:#e6e4df;margin:0 4px}
.lfrow .dot.on{background:#0c785d}
.lfpanel--q b{display:block;font:600 13px var(--ui)}
.lfpanel--q p{font:400 12px/18px var(--ui);color:var(--body);margin:6px 0 22px}
.lfpills{display:flex;gap:8px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.lfpills span{background:#ebe9e4;border-radius:999px;padding:4px 10px;font:500 12px var(--ui)}
.lftime{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font:400 12px var(--ui);color:var(--body)}
.lftime strong{font:600 14px var(--ui);color:#c13a31}

/* feature */
.lffeat{padding:120px 0 120px}
.lffeat__in{display:grid;grid-template-columns:minmax(0,420fr) minmax(0,700fr);gap:clamp(40px,5.5vw,80px);align-items:center}
.lffeat__list h2{font-size:44px;line-height:52px;letter-spacing:-.5px}
.lfitems{margin-top:28px;display:grid;gap:28px}
.lfitems li{border-left:3px solid #e4e2dc;padding-left:20px}
.lfitems li.on{border-color:var(--ink)}
.lfitems h3{font:400 26px/34px var(--serif);color:var(--ink);font-variation-settings:'opsz' 36}
.lfitems li:not(.on) h3{color:#4a4a4a}
.lfitems p{font-size:17px;line-height:27px;margin-top:8px}
.lffeat__note{font-size:16px;line-height:26px;color:var(--body);margin-top:28px}
.lfstage{background:var(--grey);border-radius:16px;height:540px;display:grid;place-items:center;position:relative;overflow:hidden}
.lfstate{grid-area:1/1;width:100%;display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .35s ease,transform .35s ease,visibility 0s .35s}
.lfstate.on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.lfitems li{cursor:pointer;transition:border-color .2s}
.lfitems li:hover:not(.on){border-color:#b9b6ae}
.lfitems li:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:2px}
.lfwin--red{width:calc(100% - 80px);max-width:620px;margin:0;height:475px}
.lfred{display:grid;grid-template-columns:minmax(0,372fr) minmax(0,248fr);height:431px}
.lfred__doc{padding:24px}
.lfdoc{background:var(--tk-surface-background);border-radius:6px;height:100%;padding:24px;font:400 11.5px/17px var(--ui);color:#1c1c1c}
.lfdoc h5{font:600 13px/17px var(--ui);margin-bottom:16px}
.lfdoc .ln{display:block;height:7px;border-radius:4px;background:#e6e4df;margin-top:7px}
.lfdoc p{margin-bottom:12px}
.lfdoc .p2{margin-top:34px}
.lfdoc .old{color:#c13a31;text-decoration-thickness:1px}
.lfdoc .new{color:#0c785d;text-decoration-thickness:1px;text-underline-offset:2px}
.lfred__side{background:var(--grey);border-left:1px solid var(--line);padding:18px 20px}
.lfred__side h5{font:600 14px var(--ui)}
.lfred__side>small{display:block;font:400 11.5px var(--ui);color:var(--body);margin:4px 0 20px}
.lfchg{background:var(--tk-surface-background);border-radius:8px;padding:14px 14px 14px;margin-bottom:12px;font-family:var(--ui)}
.lfchg b{display:block;font:600 12.5px/16px var(--ui)}
.lfchg span{display:block;font:400 11.5px/15px var(--ui);color:var(--body);margin:6px 0 12px}
.lfchg .tag{display:inline-block;font:500 10px var(--ui);font-style:normal;color:var(--brand);border:1px solid #cfd6e6;border-radius:999px;padding:3px 9px;margin-bottom:10px}
.lfchg .bt{display:flex;gap:8px}
.lfchg .bt i{flex:1;text-align:center;font:500 11.5px var(--ui);font-style:normal;border:1px solid #cfcdc7;border-radius:8px;padding:7px 0;background:var(--tk-surface-background)}
.lfchg .bt i.acc{background:var(--navy);color:var(--tk-text-white);border-color:var(--navy)}

/* proof */
.lfproof{padding:80px 0 0}
.lfproof__card{position:relative;isolation:isolate;overflow:hidden;background:#0b1020;color:var(--tk-text-white);border-radius:16px;text-align:center;padding:72px 60px}
.lfproof__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.lfproof__card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,11,24,.62) 0%,rgba(8,11,24,.42) 45%,rgba(8,11,24,.72) 100%)}
.lfproof__n{display:block;font:300 140px/150px var(--serif);color:var(--tk-text-white);letter-spacing:-3px;font-variation-settings:'opsz' 144}
.lfproof__n sup{font-size:.2em;vertical-align:top;position:relative;top:.45em;letter-spacing:0}
.lfproof__l{font:500 28px/36px var(--sans);color:var(--tk-text-white);margin-top:12px}
.lfproof__s{font-size:20px;line-height:30px;margin:40px auto 0;max-width:700px;color:rgba(255,255,255,.88)}
.lfproof__fn{font-size:12px;line-height:17px;color:var(--tk-text-placeholders);margin-top:24px}

/* steps */
.lfsteps{margin-top:80px;padding-bottom:182px}
.lfsteps .steps__head .btn{margin-top:20px}
.lfsteps__row{min-height:452px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px;align-items:start}
.lfstep{background:var(--tk-surface-background);border-radius:16px;height:296px;padding:24px;box-shadow:0 7.89px 26.3px -5.26px rgba(15,26,51,.08)} /* Figma Booking/Setup/Review card shadow */
.lfstep h5{font:600 19px/24px var(--ui);color:var(--ink)}
.lfstep .field{border:1px solid var(--tk-borders-default);border-radius:8px;height:63px;padding:12px 14px;margin-top:14px}
.lfstep .field small{display:block;font:400 13px/16px var(--ui);color:var(--tk-text-placeholders)}
.lfstep .field span{display:block;font:500 15.5px/19px var(--ui);margin-top:4px;color:var(--ink)}
.lfstep .cta{margin-top:22px;height:43px;border-radius:8px;background:var(--brand);color:var(--tk-text-white);display:grid;place-items:center;font:500 15.5px var(--ui)}
.lfstep .rowset{display:flex;align-items:center;gap:10px;background:var(--grey);border-radius:8px;height:43px;padding:0 13px;margin-top:10px;font:500 15px var(--ui);color:var(--ink)}
.lfstep .rowset:first-of-type{margin-top:18px}
.lfstep .rowset i{width:10px;height:10px;border-radius:50%;background:#0c785d}
.lfstep .rowset span{margin-left:auto;font-weight:400;font-size:13px;color:var(--body)}
.lfstep .ok{display:block;width:max-content;margin-top:20px;background:#e6f5f0;color:#0c785d;border-radius:8px;padding:5px 11px;font:500 14px/18px var(--ui)}
.lfstep .hd{display:flex;align-items:center;gap:12px;margin-top:20px}
.lfstep .hd i{width:10px;height:10px;border-radius:50%;background:#0c785d}
.lfstep .s{display:block;font:400 14px/18px var(--ui);color:var(--body);margin-top:16px}
.lfstep .menu{margin-top:14px;border:1px solid #e0ddd6;border-radius:8px;overflow:hidden}
.lfstep .menu div{padding:11px 16px;font:400 15px var(--ui);color:var(--ink)}
.lfstep .menu .on{background:var(--grey)}
.lfsteps__row h3{font:400 26px/36px var(--serif);color:var(--ink);margin:22px 0 12px}
.lfsteps__row p{font-size:17px;line-height:27px}

/* closing */
.lfclose{padding:80px 0 80px}
.lfclose__card{background:var(--navy);border-radius:16px;text-align:center;padding:96px 40px 100px}
.lfclose h2{font:400 64px/80px var(--serif);letter-spacing:-1px;color:var(--tk-text-white);font-variation-settings:'opsz' 144}
.lfclose__cta{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:36px;flex-wrap:wrap}
.lfclose__link{color:var(--tk-text-white);font-weight:500;font-size:16px}
.lfclose__link:hover{text-decoration:underline;text-underline-offset:4px}

/* narrow screens */
@media (max-width:1100px){
  .lfhero__in{grid-template-columns:1fr;min-height:0}
  .lfhero__copy{padding:64px 0 24px}
  .lfhero__visual{justify-self:start;width:100%;padding:24px 0 48px}
  .lfwin{width:100%;margin:0;max-width:620px}
  .lffeat__in{grid-template-columns:1fr;gap:48px}
  .lfstage{height:auto;padding:28px 0}
  .lfwin--red{width:calc(100% - 32px);height:auto}
  .lfprob__cards,.lfsteps__row{grid-template-columns:1fr}
  .lfcard{height:auto;gap:28px}
}
@media (max-width:760px){
  .lfhero{padding-top:72px}
  .lfhero h1{font-size:40px;line-height:44px;letter-spacing:-.8px}
  .lfhero__sub{font-size:17px;line-height:26px}
  .lfhero__cta .btn{width:100%}
  .lfwin__tiles{grid-template-columns:1fr 1fr 1fr;gap:8px}
  .lfwin__tiles div{padding:10px;height:auto;min-height:70px}
  .lfwin__tiles strong{font-size:20px}
  .lfprob,.lffeat,.lfproof{padding-top:72px}
  .lfred{grid-template-columns:1fr;height:auto}
  .lfred__doc{padding:16px}
  .lfdoc{height:auto}
  .lfproof__n{font-size:96px}
  .lfproof__l{font-size:22px;line-height:30px}
  .lfclose{padding:56px 0}
  .lfclose__card{padding:64px 24px}
  .lfclose h2{font-size:40px;line-height:48px}
  .lffeat__list h2{font-size:34px;line-height:40px}
}

/* feature states: cited answers + inside Word (Figma 40001450:154) */
.lfwin--ask,.lfwin--word{width:calc(100% - 80px);max-width:620px;margin:0;display:flex;flex-direction:column}
.lfwin--ask{height:470px}.lfwin--word{height:520px}
.lfask{flex:1;display:flex;flex-direction:column;padding:22px 23px 25px;min-height:0}
.lfask__q{align-self:flex-end;width:312px;max-width:100%;background:var(--navy);color:var(--tk-text-white);border-radius:12px;padding:11px 16px;font:400 13px/18px var(--ui)}
.lfask__a{margin-top:20px;background:var(--grey);border-radius:12px;padding:16px 18px 18px}
.lfask__a>p{font:400 13px/20px var(--ui);color:var(--ink);max-width:500px}
.lfask__refs{display:grid;grid-template-columns:repeat(2,minmax(0,250fr));gap:12px;margin-top:18px}
.lfask__refs>div{background:var(--tk-surface-background);border:1px solid var(--line);border-radius:8px;padding:11px 13px 10px}
.lfask__refs b{display:block;font:600 12px/15px var(--ui);color:var(--ink)}
.lfask__refs small{display:block;font:400 11px/13px var(--ui);color:var(--tk-text-placeholders);margin-top:5px}
.lfask__refs .chip{margin-top:10px;font-size:10px;height:22px;padding:0 10px}
.lfask__in{margin-top:auto;border:1px solid var(--tk-borders-default);border-radius:10px;height:44px;padding:0 15px;display:flex;align-items:center;font:400 13px var(--ui);color:var(--tk-text-placeholders);background:var(--tk-surface-background)}
.lfword__tabs{display:flex;height:38px;padding:0 20px;border-bottom:1px solid var(--line);font:400 13px/38px var(--ui);color:var(--body)}
.lfword__tabs span{width:72px;position:relative}
.lfword__tabs .on{color:var(--brand);font-weight:600}
.lfword__tabs .on::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:2px;background:var(--brand)}
.lfword__body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,380fr) minmax(0,240fr)}
.lfword__doc{background:var(--grey)}
.lfword__page{margin:24px 30px 0;height:412px;background:var(--tk-surface-background);border:1px solid var(--line);border-radius:4px;padding:27px 27px 0;overflow:hidden}
.lfword__page h5{font:600 14px/17px var(--ui);color:var(--ink);margin-bottom:15px}
.lfword__page .ln{display:block;height:7px;border-radius:3px;background:var(--tk-surface-subtle-fill);margin-top:7px;max-width:100%}
.lfword__page .ln:first-of-type{margin-top:0}
.lfword__page .hl{background:#fef3c7;border-radius:6px;margin:23px -8px 16px;padding:12px;height:92px;font:400 12px/19px var(--ui);color:var(--ink)}
.lfword__page .hl+.ln{margin-top:0}
.lfword__side{background:var(--tk-surface-background);border-left:1px solid var(--line);padding:20px}
.lfword__side h5{font:600 15px/18px var(--ui);color:var(--brand)}
.lfword__side>small{display:block;font:400 12px/15px var(--ui);color:var(--tk-text-placeholders);margin-top:4px}
.lfword__card{margin-top:21px;background:var(--grey);border-radius:8px;padding:14px}
.lfword__card .chip{font-size:10px;height:22px;padding:0 10px}
.lfword__card b{display:block;font:600 13px/16px var(--ui);color:var(--ink);margin-top:12px}
.lfword__card p{font:400 12px/18px var(--ui);color:var(--body);margin-top:6px}
.lfword__card em{display:block;font:500 11px/13px var(--ui);font-style:normal;color:var(--tk-text-placeholders);margin-top:14px}
.lfword__card q{display:block;quotes:none;font:400 11px/16px var(--ui);color:var(--ink);margin-top:6px}
.lfword__card .bt{display:flex;gap:8px;margin-top:14px}
.lfword__card .bt i{flex:1;height:30px;display:grid;place-items:center;font:500 12px var(--ui);font-style:normal;border:1px solid var(--tk-borders-default);border-radius:8px;background:var(--tk-surface-background);color:var(--ink)}
.lfword__card .bt i.acc{background:var(--navy);border-color:var(--navy);color:var(--tk-text-white)}
@media (max-width:760px){.lfwin--ask,.lfwin--word{width:calc(100% - 24px)}.lfword__body{grid-template-columns:1fr}.lfword__side{display:none}.lfword__page{margin:20px 20px 0}}

/* hero visual (Figma 40001803:8): matter card, reviewing pill, checks card */
.hv{position:relative;grid-template-columns:minmax(0,1fr);min-width:0;width:100%;max-width:580px;margin:0 auto;display:grid;gap:16px;align-content:start;padding:96px 50px 64px;background:var(--tk-surface-subtle-fill);border-radius:20px;overflow:hidden;font-family:var(--sans)}
.hv__card,.hv__pill{background:var(--tk-surface-background)}
.hv__card{border-radius:20px}
.hv__matter{display:flex;align-items:center;gap:16px;padding:14px 20px 14px 14px;min-height:96px}
.hv__tile{flex:none;width:68px;height:68px;border-radius:12px;background:#e8f0fa;border:1px solid var(--brand);display:grid;place-items:center}
.hv__txt{flex:1;min-width:0;display:grid;gap:4px}
.hv__txt b{font:500 20px/1.2 var(--sans);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv__txt small{font:400 15px/1.2 var(--sans);color:var(--body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv__status{position:relative;flex:none;display:grid;border-radius:999px;background:var(--tk-surface-subtle-fill);transition:background .4s}
.hv__status em{grid-area:1/1;font:500 14px/18px var(--sans);font-style:normal;color:var(--brand);padding:6px 12px;text-align:center;white-space:nowrap}
.hv__s2{opacity:0;color:#0d7c5f}
.hv__status.done{background:#e6f5f0}
.hv__pill{display:flex;align-items:center;gap:18px;height:76px;padding:0 10px;border-radius:38px}
.hv__disc{flex:none;width:56px;height:56px;border-radius:50%;background:var(--tk-surface-background);display:grid;place-items:center}
.hv__spark{display:block;transform-origin:50% 50%}
.hv__label{position:relative;display:grid;font:400 28px/1.2 var(--sans);color:var(--tk-text-placeholders);white-space:nowrap}
.hv__label>span{grid-area:1/1}
.hv__l2{opacity:0;color:var(--tk-text-headings)}
.hv__ell i{font-style:normal;opacity:.25}
.hv__checks{display:grid;gap:26px;padding:30px 26px 36px}
.hv__row{display:flex;align-items:center;gap:16px;min-height:26px;position:relative}
.hv__dot{flex:none;width:26px;height:26px;border-radius:50%;background:#d5d4d1;display:grid;place-items:center}
.hv__dot svg{display:block;overflow:visible}
.hv__dot path{stroke-dasharray:14;stroke-dashoffset:14}
.hv__t{font:500 20px/1.2 var(--sans);color:var(--tk-text-body);opacity:.5}
.hv__r1 .hv__dot{background:#0d7c5f}
.hv__r1 .hv__dot path{stroke-dashoffset:0}
.hv__r1 .hv__t{color:#0d7c5f;opacity:1}
.hv__skel{position:absolute;left:42px;width:190px;height:26px;border-radius:13px;background:rgba(60,60,67,.18);overflow:hidden}
.hv__skel::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:translateX(-100%);animation:hvshimmer 1.8s ease-in-out infinite}
.hv__t3{opacity:0;color:#b4470c}
@keyframes hvshimmer{to{transform:translateX(100%)}}
}
@media (prefers-reduced-motion:reduce){.hv__skel::after{animation:none}}
.lfhero__visual,.lfhero__copy{min-width:0}

/* step 3: review card (Figma 40001437:685) */
.lfstep--rv{padding:24px;display:flex;flex-direction:column;gap:24px}
.lfstep--rv h5{font:500 20px/1.2 var(--ui)}
.rv{background:#e6f5f0;color:#0d7c5f;border-radius:10px;padding:14px;display:grid;gap:8px;font-family:var(--ui)}
.rv b{font:500 15px/1.2 var(--ui)}
.rv__row{display:flex;gap:8px;align-items:center;font:400 13px/1.2 var(--ui)}
.rv__row i{font:500 12px/1 var(--ui);font-style:normal}
.rv__row--dim{opacity:.5}
.sk{display:grid;gap:10px}
.sk div{display:flex;gap:10px}
.sk i{display:block;height:10px;border-radius:3px;background:var(--tk-surface-subtle-fill);position:relative;overflow:hidden}
.sk i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);transform:translateX(-100%);animation:hvshimmer 2s ease-in-out infinite}
.lfstep .field span{font-size:15.78px}
@media (prefers-reduced-motion:reduce){.sk i::after{animation:none}}

/* Law firms hero: flat grey from Figma 40001449:53 (nav + hero row), 800px row */
.lf .lfhero--flat{background:var(--tk-surface-foreground)}
.lf .lfhero--flat .lfhero__in{min-height:800px}

.lf--flat .site-header--light{background:var(--tk-surface-foreground)}

/* Figma 40001432:8 refresh: no shadows, #e4e4e2 stage, Figma chip + button colours */
.lfstage{background:var(--tk-surface-subtle-fill)}
.lfred__doc{background:var(--grey)}
.lfdoc{border:1px solid var(--tk-dividers-default);border-radius:4px}
.lfred__side{background:var(--tk-surface-background)}
.lfchg{background:var(--grey)}
.lfchg .tag{background:var(--tk-surface-background);border-color:var(--tk-borders-default)}
.lfchg .bt i{border-color:var(--tk-borders-default)}
.lfchg .bt i.acc{background:var(--tk-surface-brand);border-color:#0f1b34}
.lfcard .lfrow .sq{background:var(--tk-surface-subtle-fill);border-radius:7px}
.lfcard .lfrow .dot{background:var(--tk-surface-subtle-fill)}
.lfcard .lfrow .dot.on{background:#0d7c5f}
.lfcard .chip--hold{background:#fef3c7;color:#ab4f09}
.lfcard .chip--info{background:#e8f0fa;color:#1e6bb0}
.lfcard .chip--open{background:#e6f5f0;color:#0d7c5f}
.lfcard .lfpills span{background:var(--tk-surface-subtle-fill)}
.lfcard .lftime strong{color:#c13a31}

/* Fraunces as in Figma: optical size follows the font size, no tight tracking */
.lf--flat .lfhero h1,.lf--flat .lfprob h2,.lf--flat .lfcard h3,.lf--flat .lffeat__list h2,.lf--flat .lfitems h3,.lf--flat .lfsteps h2,.lf--flat .lfsteps__row h3,.lf--flat .lfclose h2{font-optical-sizing:auto;font-variation-settings:'SOFT' 0,'WONK' 1;letter-spacing:0}
.lf--flat .lfitems li{border-left:0;padding-left:23px;position:relative}
.lf--flat .lfitems li::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:2px;background:#efefed;transition:background .2s}
.lf--flat .lfitems li.on::before{background:var(--tk-surface-brand)}
.lf--flat .lfitems li:hover:not(.on)::before{background:#b9b6ae}
.lf--flat .lfitems li:not(.on) h3,.lf--flat .lfitems li:not(.on) p{color:var(--body)}
.lf--flat .lffeat__note{font-size:17px;color:var(--tk-text-placeholders)}
@media (min-width:761px){
  .lf--flat .lfitems p{font-size:18px}
  .lf--flat .lfclose h2{font-size:72px}
}
.lf--flat .lfdoc{font-size:12px;line-height:19px;padding:23px}
.lf--flat .lfdoc h5{font-size:14px;line-height:17px;margin-bottom:15px}
.lf--flat .lfdoc p{margin-bottom:17px}
.lf--flat .lfred__side h5{font-size:15px}
.lf--flat .lfred__side>small{font-size:12px}

/* feature stage photo backdrop (Figma refresh) */
.lf--flat .lfstage{background:#e4e4e2 url(../img/bg/ih-stage.jpg) center/cover no-repeat}
/* flat proof card (Law firms + In-house) */
.lfproof--flat .lfproof__card{background:var(--tk-surface-foreground);color:var(--tk-text-headings);padding:72px 60px 70px;min-height:412px}
.lfproof--flat .lfproof__card::before{display:none}
.lfproof--flat .lfproof__n{font-weight:400;color:var(--tk-text-headings);font-optical-sizing:auto;font-variation-settings:'SOFT' 0,'WONK' 1;letter-spacing:-2px}
.lfproof--flat .lfproof__l{color:var(--tk-text-headings);font-size:28px;line-height:36px;margin-top:12px}
.lfproof--flat .lfproof__s{color:var(--tk-text-body);font-size:20px;line-height:30px;margin-top:40px}
.lfproof--flat .lfproof__fn{font-size:13px;line-height:normal;color:var(--tk-text-placeholders)}

/* Figma 40001871:1936: "Time spent" and the figure sit together, 8px apart, left aligned */
.lftime{justify-content:flex-start;gap:8px;color:var(--tk-text-placeholders);margin-top:16px}
.lftime span{font:400 12px/normal var(--ui)}
.lftime strong{font:600 14px/normal var(--ui);white-space:nowrap}
.lftime{margin-top:18px}
.lftime span{min-width:64px}

/* Figma: status marks are 24px icons (check-circle line, alert-circle) */
.ic24{display:block;width:24px;height:24px;flex:none}
.lfrow .ic24.dot{width:24px;height:24px;border-radius:0;background:none;margin:0 2px}
.lfcard .lfrow .ic24.dot,.lfcard .lfrow .ic24.dot.on{background:none}
.rv__row .ic24{margin:0}
.rv__row--dim{opacity:1}
.lfpanel:not(.lfpanel--q){padding-top:5px}
.lfrow .ic24.dot{position:relative;top:2px}

/* Figma 40001450:47: Word window is 620x478 at (40,31) inside the 700x540 stage */
.lfstage .lfstate[data-state="2"]{place-items:start center}
.lfwin--word{height:478px;margin-top:31px}
.lfword__body{overflow:hidden}
.lfword__doc{overflow:hidden}
.lfstage .lfstate[data-state="2"]{height:100%}
.lfword__body{margin-top:2px}
.lfword__card{margin-top:19px}

/* ---------- phones: Figma Law firms · Mobile (40001921:8). Visuals are the desktop art scaled (zoom) to the 350 column ---------- */
@media (max-width:760px){
  .lfhero{padding:104px 0 40px}
  .lf--flat .lfhero .lfhero__in,.lf--flat .lfhero .wrap{display:flex;flex-direction:column;gap:32px;min-height:0;align-items:stretch}
  .lfhero__copy{padding:0;width:100%}
  .lf .lfhero h1{font-size:40px;line-height:1.12;letter-spacing:0}
  .lfhero__sub{font-size:22px;line-height:1.4;margin-top:24px;max-width:none}
  .lfhero__cta{flex-direction:column;gap:12px;margin-top:24px}
  .lfhero__cta .btn{width:100%;height:40px;padding:0 12px;border-radius:12px;font:500 14px/20px var(--ui)}
  .lfhero__visual{padding:0;width:calc(580px * .6034 * var(--mz,1));height:calc(560px * .6034 * var(--mz,1));max-width:100%;justify-self:auto}
  .lfhero__visual .hv{width:580px;max-width:none;height:560px;margin:0;padding:96px 50px 64px;transform:scale(calc(.6034 * var(--mz,1)));transform-origin:0 0;margin-right:calc(-1px * 580 * (1 - calc(.6034 * var(--mz,1))));margin-bottom:calc(-1px * 560 * (1 - calc(.6034 * var(--mz,1))))}
  .lfprob{padding:56px 0}
  .lfprob h2{font-size:32px;line-height:1.12}
  .lfprob__cards{gap:24px;margin-top:68px}
  .lfcard{height:auto;padding:24px 20px;gap:24px;border-radius:14.58px;justify-content:flex-start}
  .lfcard h3{font-size:25.52px;line-height:31px;max-width:none;letter-spacing:0}
  .lfpanel{width:320px;height:200px;transform:scale(calc(.9115 * var(--mz,1)));transform-origin:0 0;margin-right:calc(-1px * 320 * (1 - calc(.9115 * var(--mz,1))));margin-bottom:calc(-1px * 200 * (1 - calc(.9115 * var(--mz,1))))}
  .lffeat{padding:56px 0}
  .lffeat__in{gap:24px}
  .lffeat__list h2{font-size:30px;line-height:1.12;letter-spacing:0;margin-bottom:0}
  .lffeat__note{font-size:17px;line-height:1.4;margin-top:28px}
  .lfitems{margin-top:52px;gap:52px}
  .lf--flat .lfitems li{padding-left:0}.lf--flat .lfitems li::before{display:none}
  .lf--flat .lfitems h3{font-size:24px;line-height:34px}
  .lf--flat .lfitems p{font-size:18px;line-height:1.4;margin-top:8px}
  .lfstage{width:700px;max-width:none;height:540px;transform:scale(calc(.5 * var(--mz,1)));transform-origin:0 0;margin-right:calc(-1px * 700 * (1 - calc(.5 * var(--mz,1))));margin-bottom:calc(-1px * 540 * (1 - calc(.5 * var(--mz,1))));border-radius:16px}
  .lfproof{padding:56px 0}
  .lfproof__card,.lfproof--flat .lfproof__card{padding:28px 24px;min-height:0}
  .lfproof__n,.lfproof--flat .lfproof__n{font-size:64px;line-height:1.12;letter-spacing:0}
  .lfproof__l,.lfproof--flat .lfproof__l{font-size:24px;line-height:1.4;margin-top:12px}
  .lfproof__s,.lfproof--flat .lfproof__s{font-size:20px;line-height:1.4;margin-top:40px}
  .lfproof__fn,.lfproof--flat .lfproof__fn{font-size:13px;line-height:17px;margin-top:24px}
  .lfsteps{margin-top:0;padding:56px 0}
  .lfsteps .steps__head h2{line-height:1.12}
  .lfsteps .steps__head .btn{margin-top:24px}
  .lfsteps__row{gap:24px;margin-top:28px;min-height:0}
  .lfsteps__row h3{font-size:22px;line-height:1.2;margin:47px 0 16px}
  .lfsteps__row p{font-size:17px;line-height:1.4}
  .lfstep{width:384px;transform:scale(calc(.9115 * var(--mz,1)));transform-origin:0 0;margin-right:calc(-1px * 384 * (1 - calc(.9115 * var(--mz,1))));margin-bottom:calc(-1px * 296 * (1 - calc(.9115 * var(--mz,1))))}
  .lf--flat .lfsteps__row article{display:block}
  .lfclose{padding:56px 0}
  .lfclose__card{padding:28px 24px}
  .lfclose h2{font-size:40px;line-height:1.12;letter-spacing:0}
  .lfclose__cta{flex-direction:column;gap:16px;margin-top:28px}
  .lfclose__cta .btn{width:100%}
}
