
:root{
  --navy:#171715;
  --navy-2:#292925;
  --ink:#292925;
  --muted:#596471;
  --paper:#f7f5ee;
  --paper-2:#fbf8f2;
  --white:#ffffff;
  --accent:#826a25;
  --accent-soft:#f6e9d2;
  --gold:#bc9f48;
  --gold-soft:#f6e9d2;
  --line:#ded7c7;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper-2);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.68;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 42px));margin:auto}

/* HEADER — closer to The Intelligent Lawyer sales-site feel */
.topbar{
  background:var(--navy);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.brand{display:flex;align-items:center;gap:14px}
.brand-logo{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
  border-radius:50%;
  flex:0 0 auto;
}
.brand-copy strong{
  display:block;font-family:Georgia,"Times New Roman",serif;
  font-size:21px;letter-spacing:.005em;
}
.brand-copy span{
  display:block;margin-top:1px;color:#e7dfd0;
  font-size:10px;font-weight:800;letter-spacing:.27em;
}
.navlinks{display:flex;align-items:center;gap:27px;color:#eee5d6;font-size:14px}
.navlinks a:hover{color:#fff}
.book-link{
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;padding:10px 17px;
}
.gold-line{height:3px;background:linear-gradient(90deg,var(--gold),#eac46b,var(--gold))}

/* HOMEPAGE */
.hero{
  background:
    radial-gradient(circle at 88% 15%, rgba(188,159,72,.16), transparent 34%),
    linear-gradient(180deg,#fffdfa 0%,var(--paper-2) 100%);
  padding:58px 0 46px;
  border-bottom:1px solid var(--line);
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.2em;
  font-weight:800;
  font-size:11px;
  color:var(--accent);
}
.hero h1{
  margin:14px 0 20px;
  max-width:1030px;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:clamp(42px,5.5vw,66px);
  line-height:1.03;
  letter-spacing:-.035em;
}
.hero .intro{
  max-width:790px;
  color:#49483f;
  font-size:19px;
  margin:0;
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(250px,320px);
  gap:56px;
  align-items:center;
}
.hero-copy{min-width:0}
.hero-book{
  width:100%;
  text-align:center;
  padding:4px 0;
}
.hero-book-cover-link{
  display:block;
  width:220px;
  max-width:78%;
  margin:0 auto;
}
.hero-book-cover{
  width:100%;
  height:auto;
  border-radius:4px;
  mix-blend-mode:multiply;
}
.hero-book-copy{
  max-width:310px;
  margin:17px auto 0;
}
.hero-book-copy h2{
  margin:0 0 9px;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  line-height:1.12;
}
.hero-book-copy p{
  margin:0 0 14px;
  color:#536071;
  font-size:13.5px;
  line-height:1.55;
  text-align:left;
}
.hero-book-button{
  padding:11px 18px;
  font-size:12px;
}
.search{
  margin-top:26px;
  display:flex;
  max-width:790px;
  background:#fff;
  border:1px solid #ded7c7;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 15px 36px rgba(23,23,21,.08);
}
.search input{
  flex:1;border:0;outline:0;background:transparent;
  padding:17px 19px;font-size:16px;
}
.search button{
  border:0;background:var(--navy);color:#fff;
  padding:0 24px;font-weight:800;cursor:pointer;
}
.section{padding:64px 0}
.section.paper{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{
  display:flex;align-items:end;justify-content:space-between;
  gap:25px;margin-bottom:28px;
}
.section-head h2{
  font-family:Georgia,serif;color:var(--navy);
  font-size:36px;line-height:1.1;margin:6px 0 0;
}
.section-head p{color:var(--muted);margin:0;max-width:520px}
.featured{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:white;
}
.featured-copy{padding:34px}
.featured h3{
  margin:11px 0 14px;
  font-family:Georgia,serif;
  color:var(--navy);
  font-size:37px;
  line-height:1.1;
}
.featured p{color:var(--muted);font-size:16px;margin:0 0 20px}
.featured-side{
  background:var(--navy);
  color:white;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.featured-side strong{
  font-family:Georgia,serif;font-size:26px;line-height:1.2;
}
.featured-side span{color:#e8dfcf;font-size:13px}
.read-link{font-weight:800;color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(130,106,37,.45)}
.featured-side .read-link{color:#fff}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{
  border:1px solid var(--line);
  border-radius:18px;
  background:white;
  padding:24px;
  min-height:238px;
  display:flex;
  flex-direction:column;
  transition:.2s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(23,23,21,.08)}
.card .category{
  color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.17em;text-transform:uppercase;
}
.card h3{
  margin:11px 0 10px;
  color:var(--navy);
  font-family:Georgia,serif;
  font-size:25px;
  line-height:1.16;
}
.card p{color:var(--muted);font-size:14px;margin:0 0 22px}
.meta{margin-top:auto;color:#8a93a1;font-size:12px;display:flex;justify-content:space-between;gap:10px}
.topic-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.topic{
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:22px;
}
.topic .num{color:var(--accent);font-family:Georgia,serif;font-size:24px}
.topic strong{display:block;color:var(--navy);font-family:Georgia,serif;font-size:18px;margin:4px 0}
.topic span{display:block;color:var(--muted);font-size:12.5px}
.cta{
  background:var(--navy);
  border-radius:22px;
  color:white;
  padding:40px;
  display:grid;
  grid-template-columns:1.55fr .6fr;
  gap:30px;
  align-items:center;
  position:relative;
  overflow:hidden;
}
.cta:after{
  content:"";
  width:220px;height:220px;border:1px solid rgba(188,159,72,.38);
  border-radius:50%;position:absolute;right:-80px;top:-95px;
}
.cta h2{
  position:relative;z-index:1;
  font-family:Georgia,serif;font-size:35px;line-height:1.1;margin:6px 0 12px;
}
.cta p{position:relative;z-index:1;color:#e5ddd0;margin:0}
.button{
  position:relative;z-index:1;
  display:inline-block;background:var(--gold);color:#171715;
  font-weight:900;border-radius:999px;padding:13px 19px;text-align:center;
}

/* ARTICLE */
.article-hero{
  background:
    radial-gradient(circle at 88% 18%, rgba(196,154,75,.12), transparent 25%),
    linear-gradient(180deg,#fff,var(--paper-2));
  border-bottom:1px solid var(--line);
  padding:48px 0 40px;
}
.breadcrumbs{font-size:12px;color:#6c6960;margin-bottom:20px}
.article-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:22px;
  align-items:center;
}
.article-hero-copy{min-width:0}
.article-hero h1{
  max-width:900px;
  margin:10px 0 17px;
  font-family:Georgia,serif;
  color:var(--navy);
  font-size:clamp(42px,5.1vw,62px);
  line-height:1.04;
  letter-spacing:-.03em;
}
.dek{max-width:820px;font-size:18px;color:#514f47;margin:0 0 19px}
.article-hero-book{
  width:100%;
  text-align:center;
  align-self:center;
}
.article-hero-book-link{
  display:block;
  width:265px;
  max-width:100%;
  margin:0;
}
.article-hero-book-cover{
  width:100%;
  height:auto;
  border-radius:4px;
  mix-blend-mode:multiply;
}
.article-hero-book-copy{
  margin:13px 0 0;
  max-width:265px;
  font-family:Inter,sans-serif;
}
.article-hero-book-eyebrow{
  margin-bottom:3px;
  color:#8a6727;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.article-hero-book-copy strong{
  display:block;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.15;
}
.article-hero-book-cta{
  display:inline-block;
  margin-top:6px;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
}
.byline{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#787468;font-size:12px}
.byline a{font-weight:800;color:var(--navy)}
.dot{width:4px;height:4px;background:#a59e91;border-radius:50%}
.article-wrap{
  display:grid;grid-template-columns:minmax(0,760px) 255px;
  gap:64px;padding:46px 0 70px;
}
.article-body{font-family:Georgia,serif;font-size:18.5px;line-height:1.8}
.article-body p{margin:0 0 22px}
.article-body h2,.article-body h3{font-family:Inter,sans-serif;color:var(--navy);line-height:1.2}
.article-body h2{font-size:30px;margin:44px 0 16px}
.article-body h3{font-size:20px;margin:30px 0 10px}
.article-body table{
  width:100%;
  border-collapse:collapse;
  margin:24px 0 30px;
  font-family:Inter,sans-serif;
  font-size:15px;
  line-height:1.5;
  background:#fff;
}
.article-body th,.article-body td{
  border:1px solid var(--line);
  padding:13px 14px;
  vertical-align:top;
}
.article-body th{
  text-align:center;
  color:var(--navy);
  font-weight:800;
  background:var(--paper);
}
.article-body td{
  text-align:left;
  color:#292925;
}
.article-body tbody tr:nth-child(even){background:#fbf8f2}
.answer-box{
  background:var(--paper);
  border:1px solid #ded7c7;
  border-radius:18px;
  padding:23px;
  margin-bottom:30px;
  font-family:Inter,sans-serif;
}
.answer-box strong{
  display:block;color:var(--accent);
  font-size:10px;letter-spacing:.17em;text-transform:uppercase;margin-bottom:8px;
}
.answer-box p{
  margin:0;font-family:Georgia,serif;
  font-size:20px;line-height:1.58;color:#34342f;
}
.note{
  background:var(--gold-soft);
  border-left:4px solid var(--gold);
  padding:18px 20px;margin:30px 0;
  font-family:Inter,sans-serif;font-size:14px;
}
.key-takeaway{
  border:1px solid var(--line);
  border-top:4px solid var(--gold);
  border-radius:14px;
  padding:22px;
  margin-top:40px;
  font-family:Inter,sans-serif;
  background:#fffdfa;
}
.key-takeaway strong{
  display:block;font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);margin-bottom:7px
}
.sources{
  margin-top:40px;padding-top:28px;border-top:1px solid var(--line);
  font-family:Inter,sans-serif;
}
.sources h2{margin-top:0}
.sources ol{padding-left:20px;color:#5a574e;font-size:14px}
.sources li{margin:10px 0}
.sidebar{
  position:relative;
  font-size:12px;
  --sidebar-top:18px;
  --sidebar-gap:16px;
  --sidebar-toc-height:0px;
}
.side-card{
  border:1px solid var(--line);border-radius:15px;padding:18px;margin-bottom:16px;background:white;
}
.sidebar-toc{
  position:sticky;
  top:var(--sidebar-top);
  z-index:4;
  box-shadow:0 8px 22px rgba(11,29,53,.035);
}
.sidebar-related{
  position:relative;
  z-index:1;
}
/* Keep the contents list and book offer visible together while reading.
   On shorter screens the contents list scrolls within its panel, so the book remains in view. */
.sidebar-sticky{
  position:sticky;
  top:18px;
  max-height:calc(100vh - 36px);
  display:flex;
  flex-direction:column;
  gap:13px;
}
.sidebar-sticky .sidebar-toc{
  position:static;
  flex:0 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  margin:0;
}
.sidebar-sticky .sidebar-book{
  flex:0 0 auto;
  margin:0;
  background:var(--paper);
  border-color:var(--line);
  padding:14px;
}
.sidebar-book .sidebar-book-image{
  display:block;
  width:164px;
  max-width:100%;
  margin:0 auto 12px;
  padding:0;
  border:0;
  line-height:0;
}
.sidebar-book-image img{
  display:block;
  width:100%;
  height:auto;
  border:0;
  box-shadow:none;
  /* White photographic backdrop blends into the ivory panel without changing the book art. */
  mix-blend-mode:multiply;
}
.sidebar-book-copy{
  text-align:center;
}
.sidebar-book-copy strong{
  display:block;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.2;
}
.sidebar-book-copy small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
.sidebar-book .sidebar-book-cta{
  display:block;
  margin-top:13px;
  padding:11px 12px;
  border:0;
  border-radius:9px;
  background:var(--gold);
  color:var(--navy);
  font-size:15px;
  font-weight:900;
  line-height:1.2;
  text-align:center;
}
.sidebar-book .sidebar-book-cta:hover{
  background:#d2b86f;
}
@media (min-width:901px) and (max-height:720px){
  .sidebar-book .sidebar-book-image{width:136px;margin-bottom:8px}
  .sidebar-book-copy small{display:none}
  .sidebar-book .sidebar-book-cta{margin-top:9px;padding:9px 12px}
}
@media (min-width:901px) and (max-height:500px){
  .sidebar-book .sidebar-book-image{width:92px}
  .sidebar-book-copy strong{font-size:14px}
  .sidebar-book .sidebar-book-cta{padding:7px 12px}
}
.side-card h4{
  margin:0 0 10px;color:var(--navy);
  font-size:11px;text-transform:uppercase;letter-spacing:.12em;
}
.side-card a{display:block;padding:8px 0;border-bottom:1px solid #e9e2d5;color:#536071}
.side-card a:last-child{border-bottom:0}

.author-box{
  margin-top:42px;padding-top:28px;border-top:1px solid var(--line);
  display:grid;grid-template-columns:78px 1fr;gap:18px;
}
.avatar{
  width:78px;height:78px;border-radius:50%;
  background:var(--navy);color:white;display:grid;place-items:center;
  font-family:Georgia,serif;font-size:27px;border:3px solid var(--gold-soft);
}
.author-box h3{font-family:Inter,sans-serif;margin:0 0 4px}
.author-box p{font-family:Inter,sans-serif;color:var(--muted);font-size:13px;line-height:1.6}
.related-block{
  margin-top:46px;padding-top:30px;border-top:1px solid var(--line);
  font-family:Inter,sans-serif;
}
.related-block h2{margin-top:0}
.related-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.related-list a{
  border:1px solid var(--line);border-radius:12px;padding:15px;
  color:var(--navy);font-weight:800;font-size:14px;
}

/* CATEGORY + ABOUT */
.category-hero{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:52px 0;
}
.category-hero h1{font-family:Georgia,serif;color:var(--navy);font-size:50px;margin:7px 0 10px}
.category-hero p{max-width:740px;color:var(--muted);font-size:17px;margin:0}
.about-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:55px}
.about-grid h1{font-family:Georgia,serif;color:var(--navy);font-size:54px;line-height:1.05;margin:8px 0 18px}
.profile-panel{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:28px}
.profile-panel .avatar{width:105px;height:105px;font-size:36px;margin-bottom:20px}
.profile-panel ul{padding-left:19px;color:#514f47}


.featured-answer{
  margin:18px 0 20px;
  padding:17px 18px;
  border-left:3px solid var(--gold);
  background:#fbf8f2;
  color:#514f47;
  font-family:Georgia,serif;
  font-size:17px;
  line-height:1.6;
}
.byline-main{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:5px;
  color:#536071;
  font-size:12px;
}
.byline-main a{
  color:var(--navy);
  font-weight:900;
}
.byline-sub{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:#8a93a1;
  font-size:11.5px;
}
.practical-box{
  margin:34px 0;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper-2);
  padding:22px 24px;
}
.practical-box .label{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-family:Inter,sans-serif;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:10px;
  font-weight:900;
}
.practical-box p:last-child{margin-bottom:0}
.source-list{
  list-style:none;
  padding:0!important;
  counter-reset:sources;
}
.source-list li{
  counter-increment:sources;
  position:relative;
  padding:13px 14px 13px 46px;
  margin:9px 0!important;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
}
.source-list li:before{
  content:counter(sources);
  position:absolute;
  left:14px;
  top:13px;
  width:22px;height:22px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--navy);color:#fff;
  font-size:10px;font-weight:900;
}
.article-cta{
  margin-top:44px;
  border-radius:18px;
  padding:28px;
  background:var(--navy);
  color:#fff;
  font-family:Inter,sans-serif;
}
.article-cta .eyebrow{color:#e0bf77}
.article-cta h2{
  color:#fff;
  margin:7px 0 10px;
  font-family:Georgia,serif;
  font-size:28px;
}
.article-cta p{color:#e5ddd0;font-size:14px;margin:0 0 18px}
.article-cta .button{font-size:13px}
.footer-brand{
  font-family:Georgia,serif;
  color:#fff;
  font-size:15px;
}
.footer-note{margin-top:4px;color:#b8afa1}

footer{
  background:#171715;color:#dfd7c9;padding:38px 0;
  border-top:3px solid var(--gold);
}
.footer-row{display:flex;justify-content:space-between;gap:22px;align-items:center;font-size:12px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}

@media(max-width:900px){
  .navlinks{display:none}
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-book{max-width:360px;margin:0 auto}
  .hero-book-cover-link{width:220px}
  .hero-book-copy{max-width:340px}
  .featured{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .topic-grid{grid-template-columns:1fr 1fr}
  .article-hero-grid{grid-template-columns:minmax(0,1fr) 205px;gap:22px}
  .article-hero-book-link{width:190px}
  .article-hero-book-copy{max-width:190px}
  .article-wrap{grid-template-columns:1fr}
  .sidebar{display:none}
  .article-cta{display:none}
  .cta{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .nav{min-height:72px}
  .brand-logo{width:44px;height:44px}
  .hero{padding:52px 0 38px}
  .hero .intro{font-size:17px}
  .hero-grid{gap:30px}
  .hero-book-cover-link{width:190px}
  .hero-book-copy h2{font-size:22px}
  .hero-book-copy p{font-size:13px}
  .search{display:block}
  .search button{width:100%;padding:14px}
  .section{padding:46px 0}
  .section-head{display:block}
  .section-head p{margin-top:8px}
  .grid,.topic-grid{grid-template-columns:1fr}
  .featured h3{font-size:31px}
  .article-hero{padding-top:36px}
  .article-hero-grid{grid-template-columns:1fr;gap:24px}
  .article-hero-book{display:grid;grid-template-columns:105px minmax(0,1fr);gap:16px;align-items:center;text-align:left;max-width:360px}
  .article-hero-book-link{width:105px;max-width:none;margin:0}
  .article-hero-book-copy{max-width:none;margin:0}
  .article-hero-book-copy strong{font-size:19px}
  .article-hero-book-cta{font-size:11px}
  .article-body{font-size:18px}
  .article-body table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:14px}
  .article-body th,.article-body td{min-width:150px;padding:11px 12px}
  .related-list{grid-template-columns:1fr}
  .footer-row{flex-direction:column;align-items:flex-start}
}

/* Live article search */
.search-live{position:relative;overflow:visible}
.search-results{
  position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 18px 42px rgba(23,23,21,.12);overflow:hidden;
}
.search-results a{display:flex;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid var(--line)}
.search-results a:last-child{border-bottom:0}
.search-results a:hover{background:var(--paper-2)}
.search-results strong{color:var(--navy);font-size:14px}
.search-results span{color:var(--accent);font-size:11px;white-space:nowrap}
.search-empty{padding:14px 16px;color:var(--muted);font-size:13px}
.article-body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.article-body a[href^="#source-"]{font-family:Inter,sans-serif;font-size:.72em;font-weight:900;vertical-align:super;text-decoration:none;margin-left:2px}
.source-list li{scroll-margin-top:24px}
.article-body .button,.article-body .read-link{text-decoration:none}


/* SEARCH RESULTS */
.search-page-hero{padding-bottom:42px}
.search-page-form{margin-top:24px;max-width:790px}
.search-page-content{min-height:360px}
.search-page-heading{align-items:end}
.search-page-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.search-result-card{
  display:flex;
  flex-direction:column;
  min-height:220px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  transition:.2s ease;
}
.search-result-card:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 32px rgba(23,23,21,.08);
}
.search-result-card .category{
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.search-result-card h2{
  margin:10px 0 10px;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  line-height:1.16;
}
.search-result-card p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:14px;
}
.search-result-card .read-link{margin-top:auto}
.search-page-empty{
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper-2);
  color:var(--muted);
  font-size:15px;
}
@media(max-width:760px){
  .search-page-results{grid-template-columns:1fr}
}
