/* Law Savvy — site styles */
:root{
  --ink:#14171c; --ink-2:#3d4249; --muted:#5a5f66; --line:#e6e6e6;
  --cream:#f6f5f2; --orange:#fcaf3b; --white:#ffffff;
  --radius:12px; --wrap:1200px;
  --font:Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--white);line-height:1.5}
img{max-width:100%;height:auto}
a{color:var(--ink)}a:hover{color:#000}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
[id]{scroll-margin-top:96px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:12px;top:12px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;text-decoration:none;border-radius:6px;padding:16px 26px;line-height:1.2}
.btn-primary{background:var(--orange);color:var(--ink)}
.btn-primary:hover{background:#f4a021;color:var(--ink)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000;color:#fff}
.btn-outline{background:transparent;color:var(--ink);border:2px solid var(--ink);padding:14px 24px}
.btn-outline:hover{background:var(--ink);color:#fff}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #ececec;box-shadow:0 2px 12px rgba(20,23,28,.06)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:16px;padding-bottom:16px}
.site-header .logo img{height:48px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:500}
.nav a{text-decoration:none}
.nav a[aria-current="page"]{font-weight:700;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:3px;text-underline-offset:8px}
.header-cta{font-size:15px;padding:12px 20px;white-space:nowrap}
@media (max-width:860px){.nav{display:none}.header-cta{padding:10px 14px;font-size:14px}.site-header .logo img{height:40px}}
@media (max-width:480px){.gday{display:none}}

/* Shared section bits */
.section{padding:88px 0}
.eyebrow{margin:0;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.h2{margin:0;font-size:clamp(28px,3.4vw,40px);line-height:1.2;font-weight:700}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:48px}
.section-head .titles{display:flex;flex-direction:column;gap:12px;max-width:640px}
.link-strong{font-weight:600;font-size:15px}
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.bg-cream{background:var(--cream)}
.bg-ink{background:var(--ink);color:#fff}

/* Angled dividers */
.divider{line-height:0}
.divider svg{display:block;width:100%;height:clamp(40px,6vw,88px);overflow:visible;margin-bottom:-2px;position:relative}

/* Highlighter */
.hl-word{position:relative;display:inline-block;padding:0 10px;white-space:nowrap}
.hl-word .mark{position:absolute;left:-4px;right:-6px;top:10%;bottom:0;background:url(../img/highlight.svg) 0 0/100% 100% no-repeat}
.hl-word .txt{position:relative}
@keyframes hl-cycle{0%{clip-path:inset(0 100% 0 0)}24%{clip-path:inset(0 0 0 0)}84%{clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 0 0 100%)}}
@keyframes hl-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

/* Hero */
.hero{position:relative;overflow:hidden;background:#f6f5f2 url(../img/paper.jpg) repeat}
.hero .inner{position:relative;max-width:1160px;margin:0 auto;padding:64px 24px 40px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.hero .big-logo{height:120px;width:auto;display:block;margin-bottom:8px}
.hero h1{margin:0;font-size:clamp(30px,4.2vw,54px);line-height:1.15;font-weight:700;letter-spacing:-.015em}
@media (min-width:1000px){.hero .line1{white-space:nowrap}}
.rotator{display:inline-grid;vertical-align:bottom}
.rotator > span{grid-area:1/1}
.rotator .sizer{visibility:hidden;padding:0 10px;white-space:nowrap}
.rotator .hl-word{justify-self:center}
.rotator .mark.cycle{animation:hl-cycle 3s cubic-bezier(.55,0,.35,1) both}
.hero .lead{margin:0;font-size:19px;line-height:1.6;color:var(--ink-2);max-width:680px}
.hero .actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding-top:8px}
.ticks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;font-size:14px;color:var(--ink-2);padding:8px 0 0;margin:0;list-style:none}
.ticks li{display:flex;align-items:center;gap:8px}
@media (max-width:600px){.hero .big-logo{height:88px}.hero .inner{padding-top:44px}}

/* Trusted by */
.trusted{border-bottom:1px solid #ececec}
.trusted .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px 56px;padding-top:40px;padding-bottom:40px}
.trusted img{width:auto;filter:grayscale(1);opacity:.75}
.trusted .lbl{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Cards */
.card{display:flex;flex-direction:column;gap:14px;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.card h3{margin:0;font-size:20px;font-weight:600}
.card p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-2)}
.icon-tile{width:48px;height:48px;border-radius:10px;background:var(--orange);display:flex;align-items:center;justify-content:center}
.services .card{padding:24px}
.services .card p{font-size:15px}

/* Steps */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.steps li{display:flex;flex-direction:column;gap:12px;border-top:3px solid var(--ink);padding-top:20px}
.steps .num{font-size:15px;font-weight:700}
.steps h3{margin:0;font-size:20px;font-weight:600}
.steps h3 .hl-word{padding:0 6px;margin-left:-6px}
.steps h3 .mark{left:-2px;right:-4px;top:8%;clip-path:inset(0 100% 0 0)}
.steps.on h3 .mark{animation:hl-draw .8s cubic-bezier(.55,0,.35,1) forwards}
.steps li:nth-child(2) h3 .mark{animation-delay:.5s}
.steps li:nth-child(3) h3 .mark{animation-delay:1s}
.steps p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-2)}

/* Meet Chris */
.meet{padding:56px 0}
.meet .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:56px;align-items:center}
.portrait{position:relative;display:flex;justify-content:center;align-items:flex-end;min-height:460px}
.portrait .panel{position:absolute;left:8%;right:8%;bottom:0;top:60px;background:var(--orange);border-radius:16px}
.portrait img{position:relative;height:460px;width:auto;display:block}
.name-card{position:absolute;left:0;bottom:28px;background:#fff;color:var(--ink);border-radius:10px;padding:14px 18px;box-shadow:0 8px 24px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:2px}
.name-card strong{font-weight:600;font-size:16px}
.name-card span{font-size:13px;color:#4a4f57}
.meet .copy{display:flex;flex-direction:column;gap:20px}
.meet .eyebrow{color:var(--orange)}
.meet p.body{margin:0;font-size:17px;line-height:1.7;color:#d7d9dc}
.members{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid #343a42;margin-top:8px}
.members .lbl{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#aeb3b9}
.members .logos{display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px}
.members img{width:auto}
@media (max-width:600px){.portrait{min-height:380px}.portrait img{height:380px}}

/* Reviews */
.review{margin:0;padding:28px;border-radius:var(--radius);background:var(--cream);display:flex;flex-direction:column;gap:18px}
.stars{color:#b8740f;font-size:18px;letter-spacing:2px}
.review blockquote{margin:0;font-size:17px;line-height:1.65}
.review figcaption{display:flex;align-items:center;gap:12px;margin-top:auto}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex:none}
.who{display:flex;flex-direction:column}
.who b{font-weight:600;font-size:15px}
.who span{font-size:13px;color:#4a4f57}

/* Post cards */
.post-card{text-decoration:none;color:var(--ink);background:#fff;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);transition:transform .15s ease,box-shadow .15s ease}
.post-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,23,28,.08);color:var(--ink)}
.post-card img{width:100%;height:200px;object-fit:cover;display:block}
.post-card .pc-body{padding:24px;display:flex;flex-direction:column;gap:10px}
.post-card h3{margin:0;font-size:19px;line-height:1.35;font-weight:600}
.post-card .more{font-size:15px;font-weight:600;padding-top:6px}

/* CTA */
.cta{background:var(--orange);padding:48px 0 80px}
.cta .wrap{max-width:900px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.cta h2{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.15;font-weight:700}
.cta p{margin:0;font-size:18px;line-height:1.6;max-width:560px}
.cta p.small{font-size:14px}

/* Footer */
.site-footer{background:var(--ink);color:#e6e7e9;padding:56px 0 40px}
.site-footer .wrap{display:flex;flex-direction:column;gap:28px}
.site-footer .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px}
.site-footer .tag{font-size:15px;line-height:1.6;color:#c3c6ca;max-width:360px;margin:0}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:15px}
.footer-nav a{color:#e6e7e9;text-decoration:none}.footer-nav a:hover{color:#fff;text-decoration:underline}
.legal{display:flex;flex-direction:column;gap:12px;border-top:1px solid #343a42;padding-top:24px;font-size:13px;line-height:1.7;color:#b4b8bd}
.legal p{margin:0}

/* Page header (Insights, policies) */
.page-head{background:var(--cream);padding:72px 0 64px}
.page-head .wrap{display:flex;flex-direction:column;gap:14px}
.page-head h1{margin:0;font-size:clamp(34px,4.4vw,52px);line-height:1.12;font-weight:700;letter-spacing:-.015em}
.page-head .lead{margin:0;font-size:19px;line-height:1.6;color:var(--ink-2);max-width:680px}

/* Article */
.article-head{background:var(--cream);padding:64px 0 160px}
.article-head .wrap{max-width:868px;display:flex;flex-direction:column;gap:18px}
.back{font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.article-head h1{margin:0;font-size:clamp(32px,4vw,46px);line-height:1.15;font-weight:700;letter-spacing:-.015em}
.readtime{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--ink-2)}
.feature{max-width:1048px;margin:-120px auto 0;padding:0 24px}
.feature img{width:100%;height:clamp(240px,40vw,460px);object-fit:cover;display:block;border-radius:14px;box-shadow:0 18px 44px rgba(20,23,28,.14)}
.article-head.no-image{padding-bottom:64px}
.prose{max-width:768px;margin:0 auto;padding:56px 24px 88px;font-size:18px;line-height:1.8;color:#2b2f35}
.prose > *{margin:0 0 22px}
.prose > *:last-child{margin-bottom:0}
.prose h2,.prose h3,.prose h4{color:var(--ink);line-height:1.3;margin-top:40px}
.prose h2{font-size:28px}.prose h3{font-size:23px}.prose h4{font-size:19px}
.prose a{color:var(--ink);text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin-bottom:8px}
.prose blockquote{border-left:4px solid var(--orange);padding:4px 0 4px 20px;color:var(--ink-2);font-style:italic}
.prose img{border-radius:10px;display:block;margin-left:auto;margin-right:auto}
.prose figure{margin-left:0;margin-right:0}
.prose figcaption{font-size:14px;color:var(--muted);text-align:center;margin-top:8px}
.prose table{border-collapse:collapse;width:100%;font-size:16px}
.prose td,.prose th{border:1px solid var(--line);padding:8px 10px;text-align:left}

/* 404 */
.notfound{min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:80px 24px;background:var(--cream)}
.notfound .inner{max-width:620px;display:flex;flex-direction:column;align-items:center;gap:18px}
.notfound h1{margin:0;font-size:clamp(32px,5vw,52px);line-height:1.15}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rotator .mark.cycle,.steps .mark{animation:none!important;clip-path:none!important}
  .post-card{transition:none}
}

.prose a{overflow-wrap:anywhere}
.prose h2[id],.prose h3[id]{scroll-margin-top:96px}
