
:root{--paper:#F7F7F2;--blue:#3157A4;--peri:#788CE0;--lime:#D5E85B;--ink:#20242C;--border:#E1E3E7;--muted:#626b79;--white:#fff;--soft:#eef1fa;--max:1160px;--radius:18px;--shadow:0 14px 38px rgba(32,36,44,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 "Source Sans 3",sans-serif}h1,h2,h3,h4,nav,.btn,.eyebrow,.tag{font-family:"Plus Jakarta Sans",sans-serif}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.06;letter-spacing:-.055em;font-weight:800}h2{font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.16;letter-spacing:-.04em}h3{font-size:1.18rem;line-height:1.35}p{color:#505966}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select,textarea{font:inherit}button,a,.btn{ -webkit-tap-highlight-color:transparent}.wrap{width:min(var(--max),calc(100% - 44px));margin:auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(247,247,242,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(225,227,231,.85)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;font:800 15px "Plus Jakarta Sans",sans-serif;letter-spacing:.055em}.brandmark{width:40px;height:40px;object-fit:contain;display:block;flex-shrink:0;position:static;border-radius:50%;background:none}.navlinks{display:flex;align-items:center;justify-content:center;gap:27px;font:600 13px "Plus Jakarta Sans",sans-serif;flex:1}.navlinks a{color:#384150}.navlinks a:hover{color:var(--blue)}.navcta{padding:12px 17px!important;margin-left:0!important}.menu-toggle{display:none;background:none;border:0;font-size:26px;color:var(--ink)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;padding:14px 21px;background:var(--blue);color:white;font-size:13px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{color:white;transform:translateY(-2px);box-shadow:0 9px 22px #3157a433}.btn.secondary{background:transparent;color:var(--blue);border-color:#b9c5e2}.btn.lime{background:var(--lime);color:var(--ink)}.btn.small{padding:10px 15px;font-size:12px}.hero{padding:88px 0 66px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:450px;height:450px;border-radius:50%;background:#788ce01a;right:-170px;top:-180px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:58px;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--blue);font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;margin-bottom:19px}.eyebrow:before{content:"";width:22px;height:2px;background:var(--lime)}.hero h1 span{color:var(--blue)}.hero-copy{font-size:20px;max-width:590px;margin:22px 0 28px}.searchbar{display:flex;gap:8px;max-width:570px;background:white;border:1px solid var(--border);padding:7px;border-radius:999px;box-shadow:var(--shadow)}.searchbar input{border:0;outline:0;box-shadow:none;flex:1;min-width:0;padding:0 15px;background:transparent;border-radius:999px}.hero-art{background:#e9edfa;border:1px solid #d9e0f3;border-radius:28px;padding:26px;min-height:370px;position:relative;overflow:hidden}.art-top{display:flex;justify-content:space-between;color:#52617f;font:700 11px "Plus Jakarta Sans",sans-serif;letter-spacing:.1em}.art-sheet{background:white;border:1px solid #dfe4ef;border-radius:14px;padding:24px;margin:25px 10px 0;box-shadow:0 18px 38px #283e7020;transform:rotate(-2deg)}.art-line{height:8px;border-radius:8px;background:#e8ebf1;margin:13px 0;width:85%}.art-line.short{width:52%}.art-line.blue{background:#b7c6eb;width:69%}.art-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-top:20px}.art-grid i{height:58px;border-radius:8px;background:#f0f2f7;border:1px solid #e4e7ed}.art-grid i:nth-child(2){background:#edf0fc}.art-sticker{position:absolute;right:22px;bottom:25px;background:var(--lime);border-radius:13px;padding:13px 17px;font:700 12px "Plus Jakarta Sans",sans-serif;transform:rotate(4deg);box-shadow:var(--shadow)}.section{padding:76px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-head p{max-width:470px;margin:0}.section-tint{background:#f0f2fa}.section-dark{background:var(--ink);color:white}.section-dark p{color:#c6cbd3}.stage-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.stage{background:white;border:1px solid var(--border);border-radius:13px;padding:17px 12px;text-align:center;font:700 12px "Plus Jakarta Sans",sans-serif;transition:.2s;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.stage:hover{border-color:var(--peri);transform:translateY(-3px);box-shadow:var(--shadow)}.stage strong{display:block;color:var(--blue);font:700 12px "Plus Jakarta Sans",sans-serif;margin-bottom:7px}
.stage span{display:block;color:#505966;font:400 12px/1.5 "Source Sans 3",sans-serif}.feature-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.feature-card,.card{background:white;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.feature-card{padding:24px}.feature-card.large{display:flex;flex-direction:column}.visual{min-height:175px;border-radius:12px;background:linear-gradient(135deg,#e8ecf9,#f2f3e9);display:grid;place-items:center;position:relative;overflow:hidden}.visual:before{content:"";width:60%;height:75%;background:#fff;border:1px solid #dce1ed;border-radius:9px;box-shadow:0 12px 25px #273d701b;transform:rotate(-3deg)}.visual:after{content:"";position:absolute;width:40%;height:6px;background:#9eafe0;left:30%;top:38%;border-radius:5px;box-shadow:0 18px #e2e6ef,0 36px #e2e6ef}.visual .float{position:absolute;right:12%;bottom:13%;background:var(--lime);padding:10px 13px;border-radius:8px;font:700 11px "Plus Jakarta Sans",sans-serif;z-index:1}.feature-card h3{font-size:22px;margin:18px 0 7px}.stack{display:grid;gap:14px}.mini-card{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:13px;background:white;border:1px solid var(--border);border-radius:14px}.mini-card .visual{min-height:94px}.mini-card .visual:before{width:65%;height:70%}.mini-card h3{margin:5px 0;font-size:15px}.meta{font:600 10px "Plus Jakarta Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#77808e}.template-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:35px;align-items:center}.template-list{display:grid;gap:11px}.template-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}.template-icon{width:40px;height:40px;flex:none;border-radius:12px;background:#e9edfa;color:var(--blue);display:grid;place-items:center;font-size:18px}.template-row strong{display:block;font:700 13px "Plus Jakarta Sans",sans-serif}.template-row small{color:var(--muted)}.spotlight{background:#e9edfa;border-radius:22px;padding:28px;display:grid;grid-template-columns:1fr .8fr;gap:15px;align-items:center}.spotlight .visual{min-height:190px;background:#f4f5fb}.signup{background:var(--blue);color:white;padding:47px 0}.signup p{color:#e1e7f6}.signup-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.signup h2{margin-bottom:8px}.signup-form{display:flex;gap:8px;width:min(430px,100%)}.field{width:100%;padding:13px 15px;border:1px solid var(--border);border-radius:9px;background:white;color:var(--ink);outline:none}.field:focus{border-color:var(--peri);box-shadow:0 0 0 3px #788ce033}.signup .field{border:0}.about-preview{display:grid;grid-template-columns:.7fr 1.3fr;gap:42px;align-items:center}.portrait{min-height:270px;border-radius:20px;background:linear-gradient(145deg,#dfe5f6,#f0f0e6);display:grid;place-items:center;color:#53658f;font:700 12px "Plus Jakarta Sans",sans-serif;text-align:center;padding:20px}.faq-list{max-width:850px}.faq{border-bottom:1px solid var(--border)}.faq button{width:100%;background:none;border:0;padding:19px 0;text-align:left;display:flex;justify-content:space-between;gap:15px;font:700 14px "Plus Jakarta Sans",sans-serif;cursor:pointer;color:var(--ink)}.faq-answer{display:none;padding:0 30px 18px 0;color:var(--muted)}.faq.open .faq-answer{display:block}.faq button span:last-child{font-size:20px;color:var(--blue)}.quiet-line{text-align:center;padding:34px 0;color:var(--muted)}.footer{background:#20242c;color:#fff;padding:52px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.footer a{display:block;color:#c8cdd5;font-size:14px;margin:8px 0}.footer a:hover{color:var(--lime)}.footer p{color:#b9c0cb;font-size:14px;max-width:320px}.footer-bottom{border-top:1px solid #ffffff20;margin-top:35px;padding-top:20px;display:flex;justify-content:space-between;color:#aab1bc;font-size:12px}.page-hero{padding:65px 0 34px}.crumb{font:600 11px "Plus Jakarta Sans",sans-serif;color:#77808e;margin-bottom:20px}.page-hero h1{font-size:clamp(2.2rem,4vw,3.5rem);max-width:850px;letter-spacing:0.3px}.page-hero p{font-size:19px;max-width:700px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:20px;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c5cde2}.card .visual{min-height:140px;margin-bottom:16px}.card h3{margin:10px 0}.tag{display:inline-block;background:#eef1fa;color:var(--blue);padding:6px 9px;border-radius:6px;font-size:10px;font-weight:700}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.content-layout{display:grid;grid-template-columns:220px minmax(0,720px);gap:55px;justify-content:center}.toc{position:sticky;top:110px;align-self:start;border-left:2px solid #dce1ec;padding-left:17px}.toc a{display:block;font-size:13px;color:var(--muted);padding:5px 0}.article h2{font-size:26px;margin:38px 0 12px}.article p{font-size:18px}.article .visual{margin:24px 0;min-height:240px}.ad-slot{border:1px dashed #cbd0d8;border-radius:10px;background:#f1f1ed;padding:25px;text-align:center;color:#9299a4;font:600 10px "Plus Jakarta Sans",sans-serif;letter-spacing:.12em;margin:30px 0}.form-card{background:white;border:1px solid var(--border);border-radius:18px;padding:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-card label{font:700 12px "Plus Jakarta Sans",sans-serif;display:block;margin:0 0 6px}.form-card .field{margin-bottom:15px}.breadcrumb{font-size:12px;color:var(--muted)}.comparison{width:100%;border-collapse:collapse;background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.comparison th,.comparison td{padding:14px;border-bottom:1px solid var(--border);text-align:left}.comparison th{font:700 12px "Plus Jakarta Sans",sans-serif;background:#edf0fa}.check{color:var(--blue);font-weight:800}.result{background:#eef1fa;border-radius:14px;padding:22px;margin-top:20px;display:none}.result.show{display:block}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{padding:20px;background:white;border:1px solid var(--border);border-radius:14px}.step b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lime);margin-bottom:15px;font:800 13px "Plus Jakarta Sans",sans-serif}.legal-copy{max-width:760px}.legal-copy h2{font-size:23px;margin-top:36px}.pagination{display:flex;justify-content:center;gap:9px;margin:32px}.pagination a{padding:9px 14px;border:1px solid var(--border);border-radius:8px;background:white}.notice{background:#f2f4e4;border:1px solid #e5e9c7;padding:14px 17px;border-radius:10px;font-size:14px}.hidden{display:none!important}.reveal{animation:rise .65s both}@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media(max-width:900px){.navlinks{gap:14px}.stage-grid{grid-template-columns:repeat(4,1fr)}.hero-grid{gap:28px}.feature-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.content-layout{grid-template-columns:180px minmax(0,1fr);gap:28px}}@media(max-width:680px){.wrap{width:min(100% - 32px,var(--max))}.nav{height:70px}.menu-toggle{display:block}.navlinks{display:none;position:absolute;top:70px;left:0;right:0;background:var(--paper);padding:20px 24px 25px;border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;gap:15px}.navlinks.open{display:flex}.navlinks .btn{width:auto;align-self:flex-start}.hero{padding:58px 0 42px}.hero-grid,.template-layout,.about-preview,.two-col{grid-template-columns:1fr}.hero-art{min-height:290px}.section{padding:54px 0}.section-head{display:block}.section-head p{margin-top:12px}.stage-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}.spotlight{grid-template-columns:1fr}.signup-inner{display:block}.signup-form{margin-top:22px}.cards{grid-template-columns:1fr}.content-layout{display:block}.toc{position:static;margin-bottom:30px;background:#eef1fa;padding:15px;border:0;border-radius:10px}.form-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.mini-card{grid-template-columns:90px 1fr}.page-hero{padding:44px 0 24px}.searchbar{border-radius:14px}.searchbar .btn{padding:12px}.signup-form{flex-direction:column}.signup-form .btn{width:100%}}
.brand-black{color:#20242C}
.brand-blue{color:#3157A4}

/* Homepage: follow homepage_wireframe_final.html section order and proportions */
.home-hero-inner{max-width:900px;text-align:center;padding-top:82px;padding-bottom:78px;margin:0 auto}
.home-hero .eyebrow{justify-content:center}
.home-hero h1{max-width:820px;margin:18px auto;font-size:clamp(38px,5.4vw,66px);line-height:1.06}
.home-hero .hero-copy{max-width:690px;margin:0 auto 28px}
.home-hero .searchbar{max-width:520px;margin:0 auto}
.home-browse{margin-top:14px;font-size:14px}
.home-stages .stage-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-stages .stage{min-height:76px;display:flex;align-items:center;justify-content:center;text-align:center}
.home-guides .feature-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.home-guides .mini-card{min-height:150px}
.home-templates .section-head>p {display: block;max-width: 470px;}
.home-signup .signup-inner{display:block;text-align:center;padding-top:34px;padding-bottom:34px}
.home-signup h2{max-width:760px;margin:0 auto 20px}
.home-signup .signup-form{max-width:430px;margin:0 auto}
.home-faq h2{margin-bottom:24px}
@media(max-width:700px){.home-stages .stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-guides .feature-grid{grid-template-columns:1fr}.home-about .about-preview{grid-template-columns:1fr}.home-hero-inner{padding-top:54px;padding-bottom:52px}}


/* Guides page: centered editorial width */
.content-layout,
.topic-hubs,
#guide-cards {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

#guide-cards {
  width: 100%;
}

/* Guides page content width */
.guides-content {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Guides page article presentation */
.guides-content #guide-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 35px auto;
}

.guides-content #guide-cards .card {
  display: grid;
  grid-template-columns: 190px 1fr;
  column-gap: 28px;
  align-items: center;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guides-content #guide-cards .card .visual {
  grid-row: 1 / 4;
  min-height: 125px;
  margin: 0;
}

.guides-content #guide-cards .card h3 {
  font-size: 19px;
  margin: 8px 0;
}

.guides-content #guide-cards .card p {
  margin-bottom: 10px;
}

.guides-content #guide-cards .card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

/* Professional style for the 20 Guides articles */
.guides-content #guide-cards {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 35px auto;
  gap: 0;
}

.guides-content #guide-cards .card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid #e3e5df;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guides-content #guide-cards .visual {
  min-height: 130px;
  margin: 0;
  position: relative;
  background: linear-gradient(135deg, #e8eee8, #d9e3dc);
  border-radius: 5px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.guides-content #guide-cards .visual .float {
  position: static;
  background: white;
  color: #263c35;
}

.guides-content #guide-cards .card h3 {
  font-size: 20px;
  margin: 8px 0;
}

.guides-content #guide-cards .card:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 680px) {
  .guides-content #guide-cards .card {
    grid-template-columns: 1fr;
    gap: 15px;
  }
} 

.guides-content #guide-cards .post-image img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.guides-content #guide-cards .post-image::before,
.guides-content #guide-cards .post-image::after,
.guides-content #guide-cards .post-image img::before,
.guides-content #guide-cards .post-image img::after {
  display: none !important;
  content: none !important;
}

.guides-content #guide-cards .post-image {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Guide category navigation */
.guides-content .guide-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 22px 0 0;
}

.guides-content .guide-filters .filter {
  flex: 0 1 auto;
  padding: 11px 20px;
  border: 1px solid #d9d8ce;
  border-radius: 4px;
  background: transparent;
  color: #34382d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.guides-content .guide-filters .filter {
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.guides-content .guide-filters .filter:hover {
  background: #e9edfa;
  border-color: #aab5d0;
  color: #34382d;
}

.guides-content .guide-filters .filter.active {
  background: #34382d;
  color: #fff;
  border-color: #34382d;
}

/* Complete guide editorial layout */
.guides-content .topic-editorial {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  max-width: 900px;
  margin: 28px auto 0;
}

.guides-content .topic-feature {
  min-height: 250px;
  padding: 28px;
  background: #34382d;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guides-content .topic-number {
  font-size: 12px;
  letter-spacing: .12em;
  opacity: .65;
}

.guides-content .topic-feature .topic-name {
  font: 700 30px "Plus Jakarta Sans", sans-serif;
}

.guides-content .topic-count {
  font-size: 13px;
  color: inherit;
  opacity: .7;
}

.guides-content .topic-arrow {
  align-self: flex-end;
  font-size: 22px;
}

.guides-content .topic-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.guides-content .topic-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-height: 105px;
  padding: 14px 4px;
  border-bottom: 1px solid #d9d8ce;
  color: #34382d;
  text-decoration: none;
}

.guides-content .topic-item strong {
  font: 700 16px "Plus Jakarta Sans", sans-serif;
}

.guides-content .topic-item:hover,
.guides-content .topic-all:hover {
  color: #5f6a38;
}

.guides-content .topic-all {
  grid-column: 1 / -1;
  justify-self: end;
  color: #34382d;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 0;
}

@media (max-width: 650px) {
  .guides-content .topic-editorial {
    grid-template-columns: 1fr;
  }

  .guides-content .topic-feature {
    min-height: 180px;
  }

  .guides-content .topic-secondary {
    grid-template-columns: 1fr 1fr;
  }
}

/* Start with a complete guide */
.guides-content .topic-hubs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 28px auto 0px;
}

.guides-content .topic-hub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d9d8ce;
  background: #fff;
  color: #34382d;
  text-decoration: none;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}

.guides-content .topic-hub img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.guides-content .topic-hub strong {
  font-size: 19px;
  line-height: 1.4;
}

.guides-content .topic-hub span {
  font-size: 14px;
  line-height: 1.7;
}

.guides-content .topic-hub:hover {
  background: #f5f5ef;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

@media (max-width: 650px) {
  .guides-content .topic-hubs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Guides search alignment */
#archive-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 570px;
  background: white;
  border: 1px solid var(--border);
  padding: 7px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

#archive-search #archive-query {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  background: transparent;
}

#archive-search .btn {
  border-radius: 999px;
  margin: 0;
}

@media (max-width: 600px) {
  .guides-content .topic-hubs {
    grid-template-columns: 1fr;
  }
}

#browse-all-guides { scroll-margin-top: 100px; }

#home-search::placeholder {
  color: #a3a9b4;
  font-size: 15px;
  font-weight: 400;
  opacity: 1;
}

/* Homepage: Start where you are */
.home-stages .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.home-stages .section-head p {
  max-width: 520px;
  margin: 8px auto 0;
}

.home-stages .stage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.home-stages .stage {
  min-height: 0;
  padding: 11px 20px;
  border: 1px solid #d9d8ce;
  border-radius: 4px;
  background: transparent;
  color: #34382d;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  transform: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.home-stages .stage:hover {
  background: #e9edfa;
  border-color: #aab5d0;
  color: #34382d;
  transform: none;
  box-shadow: none;
}

.home-stages .stage-all {
  background: #34382d;
  border-color: #34382d;
  color: #fff;
}

.home-stages .stage-all:hover {
  background: #20242c;
  border-color: #20242c;
  color: #fff;
}

/* Homepage: Latest and popular guides */
.home-guides .feature-card.large {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-guides .home-post-img {
  display: block;
  overflow: hidden;
}

.home-guides .home-post-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-guides .feature-card .home-post-img {
  height: 280px;
  margin-bottom: 10px;
}

.home-guides .feature-card h3 {
  font-size: 22px;
  margin: 6px 0;
}

.home-guides .feature-card > a:last-child {
  align-self: flex-start;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.home-guides .stack {
  gap: 0;
}

.home-guides .mini-card {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 0;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #d9d8ce;
  border-radius: 0;
  background: transparent;
}

.home-guides .mini-card:first-child {
  padding-top: 0;
}

.home-guides .mini-card:last-child {
  border-bottom: 0;
}

.home-guides .mini-card .home-post-img {
  height: 90px;
}

.home-guides .mini-card h3 {
  font-size: 16px;
  margin: 6px 0;
}

.home-guides .mini-card div a {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 700px) {
  .home-guides .feature-card .home-post-img {
    height: 200px;
  }
  .home-guides .mini-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .home-guides .mini-card .home-post-img {
    height: 75px;
  }
}

.home-guides .wrap {
  width: min(960px, calc(100% - 44px));
}

.home-guides .feature-card > a:last-child,
.home-guides .mini-card div a {
  transition: color .2s ease;
}

.home-guides .feature-card > a:last-child:hover,
.home-guides .mini-card div a:hover {
  color: #5f6a38;
}

.home-templates .wrap {
  width: min(960px, calc(100% - 44px));
}

.template-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
}

.spotlight .btn { min-width: 200px; }

.home-signup { padding: 32px 0; }
.home-signup .signup-inner { padding-top: 0; padding-bottom: 0; }
.home-signup h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -.02em;
  max-width: 620px;
  margin: 0 auto 16px;
}
.home-signup .signup-form { max-width: 460px; }
.home-signup .field { padding: 11px 15px; }


/* Homepage About Section */

.home-about .about-preview {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* Homepage About Section */

.home-about .about-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* Founder Portrait */

.home-about .about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-about .portrait {
  width: 180px;
  height: 260px;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  background: #F7F7F2;
  
  box-shadow: 0 16px 32px rgba(40, 35, 45, .24);
}

.home-about .portrait img {
  display: block;
  width: 180%;
  height: 260%;
  object-fit: contain;
object-position: center center;
  transform: none;
}

/* Founder Signature */

.home-about .founder-signature {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  text-align: center;
}

/* About Content */

.home-about .about-content {
  max-width: 760px;
}

.home-about .eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.home-about .about-content h2 {
  margin: 0 0 14px;
}

.home-about .about-description {
  margin: 0 0 22px;
  line-height: 1.75;
}

.home-about .about-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

/* Mobile */

@media (max-width: 600px) {
  .home-about .about-preview {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-about .about-photo {
    align-items: flex-start;
  }

  .home-about .portrait {
    width: 160px;
    height: 230px;
    min-height: 230px;
  }
}

/* Header button: desktop vs mobile menu */
.navlinks a.mobile-navcta { display: none; }

@media (max-width: 680px) {
  .wrap.nav > a.navcta { display: none; }
  .navlinks a.mobile-navcta { display: inline-block; margin-top: 8px; }
}

.navlinks a.mobile-navcta,
.navlinks a.mobile-navcta:hover {
  color: #fff;
}

/* FAQ: centered */
.home-faq .eyebrow {
  display: flex;
  justify-content: center;
}

.home-faq h2 {
  text-align: center;
}

.home-faq .wrap > :not(.eyebrow):not(h2) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer social icons */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social a:hover {
  background: #D5E85B;
  border-color: #D5E85B;
  color: #20242C;
}

.social a:focus-visible {
  outline: 3px solid #D5E85B;
  outline-offset: 3px;
}

/* Signup band on inner pages: centered, same as home */
.signup:not(.home-signup) .signup-inner {
  display: block;
  text-align: center;
}

.signup:not(.home-signup) .eyebrow {
  display: flex;
  justify-content: center;
}

.signup:not(.home-signup) h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.signup:not(.home-signup) .signup-form {
  max-width: 520px;
  margin: 24px auto 0;
}

.signup:not(.home-signup) small {
  display: block;
  margin-top: 12px;
}

/* Gap between the signup band and the footer */
.signup:not(.home-signup) + .footer {
  margin-top: 64px;
}

/* Privacy Policy link in signup bands: green on hover */
.signup small a:hover,
.signup small a:focus-visible {
  color: #D5E85B !important;
}

/* Privacy Policy link in signup bands: underlined */
.signup small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Templates page: same content width as the home page sections */
.templates-content {
  width: min(960px, calc(100% - 44px));
}

/* Templates page: stage guidance list */
.stage-match {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}

.stage-match li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: #505966;
}

.stage-match li b {
  color: var(--ink);
}

/* Templates page: "more coming" tile */
.more-tile {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed #b9c5e2;
  background: transparent;
}

.more-tile:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.more-tile p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Templates page: quiet Pro cards */
.pro-card h3 {
  margin-top: 0;
}

.pro-card p {
  margin-bottom: 14px;
}

.pro-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-link:hover {
  color: var(--blue);
}

/* Templates page: FAQ */
.templates-faq {
  margin-top: 120px;
}

.templates-faq .eyebrow {
  display: flex;
  justify-content: center;
}

.templates-faq h2 {
  text-align: center;
  margin-bottom: 24px;
}

.templates-faq .faq-list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Templates page: gap between CTA and footer */
.templates-cta + .footer {
  margin-top: 64px;
}

/* Templates page: card images */
.templates-content .post-image {
  display: block;
  padding: 0;
  background: transparent;
}

.templates-content .post-image::before,
.templates-content .post-image::after {
  display: none;
  content: none;
}

.templates-content .post-image img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.templates-content .card:not(.more-tile) {
  display: flex;
  flex-direction: column;
}

.templates-content .card:not(.more-tile) > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.more-tile {
  transition: transform .2s ease, box-shadow .2s ease;
}
.more-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.pro-card h3{font-size:18px}
.pro-card p{font-size:16px}

/* Templates page: align the guides card with the first row */
.guide-links .template-layout {
  align-items: start;
}

.guide-links .spotlight {
  margin-top: 14px;
}


/* Templates page: guides card matches the list height */
.guide-links .template-layout {
  align-items: stretch;
}

.guide-links .spotlight .visual {
  min-height: 300px;
}

/* Templates page: FAQ sits inside its own band */
.templates-faq { margin-top: 0; }

/* Homepage: real image in the Start here card */
.spotlight-img img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}

/* Image corners: match the Literature Review Tracker page */
.guides-content .topic-hub img,
.guides-content #guide-cards .post-image img,
.home-guides .home-post-img,
.home-guides .home-post-img img {
  border-radius: 12px;
}

/* Guides page: hero uses the same width as the content below */
.page-hero:has(+ .guides-content) .wrap,
.page-hero:has(+ .templates-content) .wrap,
.page-hero:has(+ .section .templates-content) .wrap {
  width: min(960px, calc(100% - 44px));
}

.split-article{display:grid;grid-template-columns:225px 1fr;gap:75px;align-items:center;padding:0 25px}
.split-visual{position:static}
.split-visual > *{display:block;width:225px;height:325px;border-radius:28px;overflow:hidden;box-shadow:0 22px 40px rgba(20,30,60,.18);object-fit:cover}
.split-copy h2{margin:12px 0 18px}
.split-copy p{max-width:none}
@media (max-width:820px){
  .split-article{grid-template-columns:1fr;gap:32px;padding:0}
}

.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.calc-form,.calc-result{background:#fff;border-radius:24px;padding:28px;box-shadow:0 22px 40px rgba(20,30,60,.12)}
.calc-form{display:grid;gap:8px}
.calc-form label{font-weight:600;font-size:15px;margin-top:8px}
.calc-form label small{font-weight:400;opacity:.7}
.calc-form .field{width:100%}
.calc-form .btn{margin-top:16px}
.rp-big{font-size:64px;line-height:1;font-weight:800;margin:6px 0}
.rp-sentence{background:#f1f4fb;border-radius:14px;padding:16px;margin:16px 0}
.rp-error{color:#b3261e}
@media (max-width:820px){.calc-grid{grid-template-columns:1fr}}

.calc-grid{grid-template-columns:minmax(0,500px) minmax(0,1fr);gap:32px}
.calc-form,.calc-result{padding:24px;border-radius:20px}
.calc-form{gap:4px}
.calc-form label{font-size:14px;margin-top:8px}
.calc-form .field{height:44px;padding:0 14px;font-size:15px;border-radius:12px;margin:0}
.calc-form .btn{width:100%;min-height:46px;padding:0 22px;font-size:15px;margin-top:14px}
.rp-big{font-size:56px}
.card .guide-img{display:block;width:100%;height:200px;object-fit:cover;border-radius:18px;margin-bottom:16px}

/* Services page: compact inquiry form */
#inquiry{padding:40px 0 44px;scroll-margin-top:90px}
#inquiry .wrap>div{max-width:640px!important}
#inquiry .eyebrow{margin-bottom:8px}
#inquiry h2{font-size:clamp(1.35rem,2.2vw,1.75rem);letter-spacing:-.03em;margin:0 0 14px}
#inquiry .form-card{padding:20px;border-radius:14px;box-shadow:none}
#inquiry .form-grid{gap:12px 14px;margin-bottom:12px}
#inquiry .form-card label{margin:0 0 5px;font-size:12px}
#inquiry .form-card .field{margin-bottom:0;padding:8px 12px;font-size:14.5px;line-height:1.5;border-radius:8px}
#inquiry input.field,#inquiry select.field{height:40px;padding-top:0;padding-bottom:0}
#inquiry .form-card textarea.field{display:block;min-height:84px;resize:vertical;margin-bottom:14px}
#inquiry .btn{padding:10px 20px}
#inquiry small{display:block;margin-top:10px;font-size:12.5px;color:var(--muted)}
@media(max-width:680px){#inquiry{padding:36px 0}#inquiry .form-card{padding:16px}}

.svc-signup .eyebrow{display:flex;justify-content:center;color:var(--lime);margin-bottom:10px}

#inquiry{padding-bottom:120px}
@media(max-width:680px){#inquiry{padding-bottom:56px}}

/* Header: solid background */
.site-header{background:var(--paper);backdrop-filter:none}

/* Hero: remove doubled padding, ease the headline */
.home-hero{padding:0}
.home-hero-inner{padding-top:56px;padding-bottom:56px}
.home-hero h1{letter-spacing:-.03em;text-wrap:balance}

/* Section headings: remove the extra gap so buttons line up */
.section-head h2{margin-bottom:0}

/* Free templates: list starts at the top, level with the card */
.home-templates .template-layout{align-items:start}

/* Featured guide title: no lonely last line */
.home-guides .feature-card h3{text-wrap:balance}

/* Search bar: visible focus, readable placeholder */
.searchbar input{color:var(--ink)}
.searchbar:focus-within{border-color:var(--peri);box-shadow:0 0 0 3px #788ce033}
#home-search::placeholder{color:#6b7280}

/* FAQ: center the + with the question */
.faq button{align-items:center}

/* About: comfortable line length */
.home-about .about-description{max-width:65ch}

/* Footer: readable "Pilot" on the dark background */
.footer .brand-blue{color:#788CE0}
.footer .brand-black{color:#fff}

/* Header and footer use the same 960px width as the content */
@media(min-width:681px){.site-header .wrap,.footer .wrap{width:min(960px,calc(100% - 44px))}}

/* Popular guides: start level with the big image */
.home-guides .stack{align-content:start}

/* About: photo lines up with the headings */
.home-about .about-photo{align-items:flex-start}
.home-about .founder-signature{width:180px}
@media(max-width:600px){.home-about .founder-signature{width:160px}}

/* Chapter Outline Map card: image beside the text, whole image visible */
.home-templates .spotlight-img img{height:auto;aspect-ratio:1200/630}
@media(min-width:681px){.home-templates .spotlight{grid-template-columns:1fr 1fr}}

/* Footer: first column wide enough for all 7 icons */
@media(min-width:901px){.footer-grid{grid-template-columns:minmax(430px,2fr) 1fr 1fr 1fr}}

/* Page hero subline: even line breaks */
.page-hero p{text-wrap:balance}

/* About: credentials section left-aligned like the other sections */
.about-credentials .section-head{align-items:flex-start;text-align:left}
.about-credentials .stage-grid{justify-content:flex-start;margin:0}

/* Guides: align cards and list with the headings */
.guides-content .topic-hubs{max-width:none;margin:28px 0 0}
.guides-content #guide-cards{max-width:none;margin:35px 0}

/* Guides list: button and text together on the right */
@media(min-width:681px){
  .guides-content #guide-cards .card{row-gap:0;align-items:start}
  .guides-content #guide-cards .card .visual{grid-row:1 / span 4}
  .guides-content #guide-cards .card .btn{grid-column:2;justify-self:start;margin-top:6px}
}

/* Guides: newsletter band runs straight into the footer */
#guides-signup + .footer{margin-top:0}

/* Templates hub: show each template image uncropped */
.section-head + .cards .post-image img{height:auto;aspect-ratio:1200/630}

/* Keep learning: heading and card on the left, list on the right */
.guide-links .spotlight{grid-template-columns:1fr;margin-top:0}
.guide-links .spotlight .visual,.guide-links .spotlight .meta{display:none}
.guide-links .template-layout{display:contents}
@media(min-width:821px){
  .guide-links{display:grid;grid-template-columns:1fr 1.05fr;grid-template-rows:auto 1fr;column-gap:35px;align-items:start}
  .guide-links .section-head{grid-column:1;grid-row:1;margin-bottom:20px}
  .guide-links .spotlight{grid-column:1;grid-row:2}
  .guide-links .template-list{grid-column:2;grid-row:1 / span 2}
}
@media(max-width:820px){.guide-links .spotlight{margin-bottom:28px}}

/* Templates: "+" tile icon, same size and shape as the template icons */
.more-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--blue);color:#fff;font:700 24px/1 "Plus Jakarta Sans",sans-serif;margin-bottom:14px}

/* Pro cards: "View details" matches the other card links */
.pro-link{color:var(--blue);font-weight:700;font-size:14px;text-decoration:none;transition:color .2s ease}
.pro-link:hover{color:#5f6a38}

/* Template pages: show the full worksheet image */
.two-col .post-image img{height:auto;aspect-ratio:1200/630}

/* Template pages, top block: tinted image panel and a compact form of similar height */
@media(min-width:681px){
  .two-col:has(.post-image){grid-template-columns:1.2fr 1fr!important;gap:20px!important;align-items:stretch!important}
}
.two-col:has(.post-image)>div:first-child{display:flex!important;flex-direction:column;justify-content:center;background:#e9edfa;border-radius:22px;padding:20px!important}
.two-col:has(.post-image)>div:first-child .meta{margin:14px 0 0!important}
.two-col:has(.post-image) .form-card{padding:20px 24px!important}
.two-col:has(.post-image) .form-card h2{margin-bottom:6px}
.two-col:has(.post-image) .form-card>p{margin-bottom:10px}

/* Name and email side by side */
@media(min-width:681px){
  .two-col:has(.post-image) .form-card form{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
  .two-col:has(.post-image) .form-card label[for$="-name"]{grid-column:1;grid-row:1}
  .two-col:has(.post-image) .form-card input[id$="-name"]{grid-column:1;grid-row:2}
  .two-col:has(.post-image) .form-card label[for$="-email"]{grid-column:2;grid-row:1}
  .two-col:has(.post-image) .form-card input[id$="-email"]{grid-column:2;grid-row:2}
  .two-col:has(.post-image) .form-card form .btn,
  .two-col:has(.post-image) .form-card form small,
  .two-col:has(.post-image) .form-card form .notice{grid-column:1/-1}
  .two-col:has(.post-image) .form-card form .btn{grid-row:3}
  .two-col:has(.post-image) .form-card form small{grid-row:4}
}

/* Template pages: Who it's for / How to use it */
.how-intro,.how-note{max-width:65ch}
.how-note{margin-top:16px}
.how-title{margin-top:44px}
.how-steps{grid-template-columns:1fr 1fr;margin-top:16px}
@media(max-width:680px){.how-steps{grid-template-columns:1fr}}

.how-note{max-width:none}
.how-steps .step{display:flex;gap:16px;align-items:flex-start;padding:18px 22px}
.how-steps .step b{flex:none;margin:0}
.how-steps .step p{line-height:1.55}

/* Template pages: intro block */
.home-about .about-preview{grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:center}
.home-about .portrait{width:240px;height:340px;min-height:340px;border-radius:18px}
.home-about .about-description{font-size:16.5px;line-height:1.7;max-width:70ch}
.home-about .about-content h2{font-size:clamp(1.8rem,3vw,2.3rem)}
@media(max-width:600px){
  .home-about .about-preview{grid-template-columns:1fr}
  .home-about .portrait{width:200px;height:280px;min-height:280px}
}

/* Founder portrait: back to the original size on every page that uses this section */
@media(min-width:701px){
  .home-about .about-preview{grid-template-columns:220px minmax(0,1fr)}
  .home-about .about-photo .portrait{width:180px;height:260px;min-height:260px}
}

/* Tools pages: graphic matches the founder portrait size and lines up with the headings */
.split-visual > *{width:180px;height:260px}
@media(min-width:821px){
  .split-article{grid-template-columns:180px minmax(0,1fr);gap:40px;padding:0;align-items:start}
}
.split-copy p{max-width:65ch}

/* Template pages, last section: photo starts level with the eyebrow */
@media(min-width:701px){
  .section-tint.home-about .about-preview:has(img[src*="assets/journal/images"]){align-items:start!important}
  .section-tint.home-about .about-preview:has(img[src*="assets/journal/images"]) .about-photo{align-self:start}
  .section-tint.home-about .about-preview:has(img[src*="assets/journal/images"]) .portrait{flex:none;width:180px;height:260px;min-height:260px}
}

/* About-style sections: balanced heading lines, no lone last word */
.home-about .about-content h2{text-wrap:balance}

/* Contact: right column heading level with the form heading */
@media(min-width:681px){.two-col:has(>.demo-form)>div{padding-top:27px}}

/* Cards without an image: no broken picture */
.card .post-image:has(img[src$="/.jpg"]){display:none}

/* Contact: form card at the same compact size as the template download forms */
.demo-form{padding:20px 24px}
.demo-form .field{padding:10px 14px;margin-bottom:10px}
.demo-form textarea.field{height:140px}
@media(min-width:681px){.two-col:has(>.demo-form)>div{padding-top:21px}}

/* Blog posts: hero, body and Related guides use the same 960px width as the header and footer */
.page-hero:has(+ .content-layout) .wrap{width:min(960px,calc(100% - 44px))}
main>.content-layout{width:min(960px,calc(100% - 44px))}
@media(min-width:901px){main>.content-layout{grid-template-columns:200px minmax(0,1fr);gap:40px;max-width:none;justify-content:start}}

/* Blog posts: two-line byline */
.post-byline span{line-height:1.6}

/* Blog posts: share row */
.share{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:36px;padding-top:20px;border-top:1px solid var(--border)}
.share-label{font:700 13px "Plus Jakarta Sans",sans-serif;color:var(--ink);margin-right:4px}
.share a,.share button{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #b9c5e2;background:transparent;color:var(--blue);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.share a:hover,.share button:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.share svg{width:18px;height:18px;fill:currentColor}
.share svg.stroke{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.share-msg{font-size:14px;color:var(--muted)}

/* Blog posts: in-text links look and hover like the rest of the site */
.article a:not(.btn):not([data-share]){color:inherit}
.article a:not(.btn):not([data-share]):hover{color:var(--blue)}

/* Blog posts: widths, byline, share row, in-text links */
.page-hero:has(+ .content-layout) .wrap{width:min(960px,calc(100% - 44px))}
main>.content-layout{width:min(960px,calc(100% - 44px))}
@media(min-width:901px){main>.content-layout{grid-template-columns:200px minmax(0,1fr);gap:40px;max-width:none;justify-content:start}}
.post-byline span{line-height:1.6}
.share{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:36px;padding-top:20px;border-top:1px solid var(--border)}
.share-label{font:700 13px "Plus Jakarta Sans",sans-serif;color:var(--ink);margin-right:4px}
.share a,.share button{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #b9c5e2;background:transparent;color:var(--blue);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.share a:hover,.share button:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.share svg{width:18px;height:18px;fill:currentColor}
.share svg.stroke{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.share-msg{font-size:14px;color:var(--muted)}
.article a:not(.btn):not([data-share]){color:inherit}
.article a:not(.btn):not([data-share]):hover{color:var(--blue)}


/* Stage cards: clean, with a featured first card */
.home-stages .wrap{width:min(960px,calc(100% - 44px))}
.stage-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;counter-reset:stage}
.stage-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:22px 20px 24px;background:#fff;border:1px solid var(--border);border-radius:14px;color:var(--ink);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.stage-card::before{counter-increment:stage;content:counter(stage,decimal-leading-zero);margin-bottom:14px;font:700 12px "Plus Jakarta Sans",sans-serif;letter-spacing:.08em;color:var(--blue);opacity:.55}
.stage-card::after{content:"→";position:absolute;top:18px;right:20px;color:var(--blue);opacity:0;transform:translateX(-6px);transition:opacity .25s ease,transform .25s ease}
.stage-card:hover{transform:translateY(-3px);border-color:var(--peri);box-shadow:var(--shadow);color:var(--ink)}
.stage-card:hover::after{opacity:1;transform:none}
.stage-card strong{font:700 16px/1.3 "Plus Jakarta Sans",sans-serif;color:var(--ink)}
.stage-card span{font-size:14px;line-height:1.55;color:var(--muted)}
.stage-card:first-child::before{margin-bottom:auto}

/* First card: wide and tinted */
.stage-card:first-child{grid-column:span 2;background:#e9edfa;border-color:#d3dbf1;justify-content:flex-end}
.stage-card:first-child strong{font-size:22px}
.stage-card:first-child span{font-size:15px;max-width:34ch}

/* "All guides": slim bar across the full width */
.stage-card-all{grid-column:1/-1;flex-direction:row;justify-content:center;align-items:center;padding:16px;background:transparent;border:1px dashed #b9c5e2}
.stage-card-all::before,.stage-card-all::after{display:none}
.stage-card-all strong{color:var(--blue)}
.stage-card-all:hover{background:#fff;border-style:solid}

@media(max-width:900px){.stage-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.stage-cards{grid-template-columns:1fr}.stage-card:first-child{grid-column:auto}}

/* Subline: even line breaks */
.home-stages .section-head p{max-width:560px;text-wrap:balance}

/* Featured guides: wider right thumbnails (same height), smaller left image */
@media(min-width:701px){
  .home-guides .feature-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
  .home-guides .feature-card .home-post-img{height:240px}
  .home-guides .mini-card{grid-template-columns:170px minmax(0,1fr)}
  .home-guides .mini-card .home-post-img{height:90px}
}

/* Featured guides: tidy columns */
@media(min-width:701px){
  .home-guides .feature-grid{column-gap:40px;align-items:start}
  .home-guides .stack{align-content:start}
}

.home-guides .mini-card h3 a,.home-guides .feature-card h3 a{color:inherit;font:inherit}
.home-guides .mini-card h3 a:hover,.home-guides .feature-card h3 a:hover{color:#5f6a38}

.signup small a{color:#dce5ff}

/* Homepage: free templates showcase */
.showcase{display:grid;gap:28px}
.sc-list{list-style:none;margin:0;padding:0}
.sc-panels{display:none}

.sc-item{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;padding:18px 0 18px 14px;border-bottom:1px solid var(--border);color:var(--ink)}
.sc-num{padding-top:3px;font:700 12px "Plus Jakarta Sans",sans-serif;letter-spacing:.08em;color:var(--blue);opacity:.5;transition:opacity .25s}
.sc-text strong{display:block;font:700 16px/1.35 "Plus Jakarta Sans",sans-serif;color:#6b7482;transition:color .25s}
.sc-desc{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s ease}
.sc-desc>span{display:block;min-height:0;overflow:hidden;padding-top:4px;font-size:14.5px;line-height:1.5;color:var(--muted)}
.sc-flag{margin-top:2px;background:var(--lime);color:var(--ink);font:800 10px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:6px 9px;border-radius:6px}

.sc-panel{grid-area:1/1;display:flex;flex-direction:column}
.sc-stage{position:relative;z-index:1;opacity:0;transition:opacity 0s linear .6s}
.sc-panel.is-active .sc-stage{z-index:2;opacity:1;transition:opacity .6s ease}
.sc-meta{visibility:hidden}
.sc-panel.is-active .sc-meta{visibility:visible}
.sc-stage img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:14px;box-shadow:var(--shadow)}
.sc-ph{display:none;flex-direction:column;justify-content:center;gap:12px;aspect-ratio:1200/630;padding:0 9%;background:#fff;border:1px solid var(--border);border-radius:14px}
.sc-ph b{font:700 18px/1.3 "Plus Jakarta Sans",sans-serif;margin-bottom:4px}
.sc-ph i{display:block;height:8px;width:85%;border-radius:8px;background:#e8ebf1}
.sc-ph i.s{width:52%;background:#b7c6eb}
.sc-stage.no-img img{display:none}
.sc-stage.no-img .sc-ph{display:flex}

.sc-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px 2px 0}
.sc-chip{background:#e3e8f6;color:var(--blue);font:700 10px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:6px 9px;border-radius:6px}
.sc-chip.free{background:var(--lime);color:var(--ink)}
.sc-meta .btn{margin-left:8px;padding:14px 26px;font-size:14px}

@media(min-width:821px){
  .showcase{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:start}
  .sc-panels{display:grid}
  .sc-desc{grid-template-rows:0fr}
  .sc-item.is-active::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:3px;background:var(--blue)}
  .sc-item.is-active .sc-text strong{color:var(--ink)}
  .sc-item.is-active .sc-num{opacity:1}
  .sc-item.is-active .sc-desc{grid-template-rows:1fr}
}

/* View all templates button: always clickable, label visible on hover */
.home-templates .section-head{position:relative;z-index:5}
.home-templates .section-head .btn{position:relative;z-index:6;pointer-events:auto}
.btn.secondary:hover{background:var(--blue);border-color:var(--blue);color:#fff}

.home-templates{padding-bottom:120px}


/* Featured guides: image zoom on hover */
.home-guides .home-post-img{isolation:isolate}
.home-guides .home-post-img img{transition:transform .7s cubic-bezier(.2,.6,.2,1)}
.home-guides .feature-card:hover .home-post-img img,
.home-guides .mini-card:hover .home-post-img img{transform:scale(1.1)}

/* Browse all guides: lift toward the viewer on hover */
.home-browse a,
a.home-browse{display:inline-block;transition:transform .3s cubic-bezier(.2,.6,.2,1),color .2s ease}
.home-browse a:hover,
a.home-browse:hover{transform:translateY(-3px) scale(1.06)}

/* Showcase: only the active preview can be clicked */
.sc-panel{pointer-events:none}
.sc-panel.is-active .sc-meta{position:relative;z-index:3;pointer-events:auto}

/* Guides list: image hover */
.guides-content #guide-cards .post-image{overflow:hidden;border-radius:12px}
.guides-content #guide-cards .post-image a{display:block;cursor:pointer}
.guides-content #guide-cards .post-image img{transition:transform .35s ease}
.guides-content #guide-cards .post-image:hover img{transform:scale(1.06)}

/* About: "What you'll find here" - split layout */
.templates-content:has(>.about-explore){display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto 1fr;column-gap:72px;align-items:start}
.templates-content:has(>.about-explore)>.eyebrow{grid-column:1;grid-row:1}
.templates-content:has(>.about-explore)>h2{grid-column:1;grid-row:2;max-width:11ch;margin:0}

.about-explore.template-list{grid-column:2;grid-row:1 / span 3;display:block;max-width:none;margin-top:0!important}
.about-explore .template-row{display:flex;align-items:center;gap:18px;padding:26px 0;border-bottom:1px solid #cfd6ea;transition:border-color .3s ease}
.about-explore .template-row:first-child{padding-top:4px}
.about-explore .template-row:last-child{border-bottom:0}

.about-explore .template-icon{width:auto;height:auto;flex:none;background:none;border-radius:0;color:var(--blue);opacity:.8}
.about-explore .template-icon svg{width:22px;height:22px;stroke-width:1.6}

.about-explore .template-row strong{font:600 17px/1.4 "Plus Jakarta Sans",sans-serif;transition:color .25s ease}
.about-explore .template-row small{display:block;margin-top:2px;font-size:15px;line-height:1.5;color:var(--muted)}

.about-explore .template-row::after{content:"→";margin-left:auto;font-size:18px;color:var(--blue);opacity:.35;transition:opacity .25s ease,transform .3s ease}
.about-explore .template-row:hover{border-color:var(--peri)}
.about-explore .template-row:hover strong{color:var(--blue)}
.about-explore .template-row:hover::after{opacity:1;transform:translateX(5px)}

@media(max-width:820px){
  .templates-content:has(>.about-explore){display:block}
  .templates-content:has(>.about-explore)>h2{max-width:none;margin-bottom:8px}
  .about-explore.template-list{margin-top:20px!important}
  .about-explore .template-row:first-child{padding-top:22px}
}

/* Pro templates page */

/* Hero */
.pro-hero .wrap{width:min(960px,calc(100% - 44px))}
.pro-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center}
.pro-hero p{font-size:18px}
.pro-stack{position:relative;height:290px}
.pro-stack img{position:absolute;width:74%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:14px;box-shadow:0 22px 44px rgba(20,30,60,.18)}
.pro-stack img:nth-child(1){top:0;left:0;transform:rotate(-3deg)}
.pro-stack img:nth-child(2){bottom:0;right:0;transform:rotate(2.5deg)}
.pro-sticker{position:absolute;left:0;bottom:14px;z-index:2;background:var(--lime);border-radius:12px;padding:11px 15px;font:700 12px "Plus Jakarta Sans",sans-serif;transform:rotate(-4deg);box-shadow:var(--shadow)}

/* Products: two equal columns */
.section-head:has(+ .pro-list){margin-bottom:40px}
.section-head:has(+ .pro-list) h2{max-width:15em;text-wrap:balance}
.pro-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px}
.pro-item{display:flex;flex-direction:column}
.pro-img{display:block;overflow:hidden;border-radius:16px;box-shadow:var(--shadow)}
.pro-img img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;transition:transform .7s cubic-bezier(.2,.6,.2,1)}
.pro-item:hover .pro-img img{transform:scale(1.04)}
.pro-info{display:flex;flex-direction:column;flex:1;padding-top:24px}
.pro-info h3{font-size:22px;line-height:1.25;letter-spacing:-.02em;margin:8px 0 10px}
.pro-info p{margin:0;font-size:16px;line-height:1.65;color:var(--muted)}
.pro-buy{display:flex;align-items:center;gap:20px;margin-top:auto;padding-top:26px}
.pro-price{font:800 30px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:-.02em;color:var(--ink)}

/* Coming soon: two compact cards in the same columns */
.pro-soon{margin-top:80px}
.pro-soon h3{display:flex;align-items:center;gap:9px;margin:0 0 24px;font:800 11px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--blue)}
.pro-soon h3::before{content:"";width:22px;height:2px;background:var(--lime)}
.soon-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px}
.soon-list li{display:flex;flex-direction:column;align-items:flex-start;padding:26px 28px 28px;background:rgba(255,255,255,.55);border:1.5px dashed #b9c5e2;border-radius:16px}
.soon-list em{order:-1;margin-bottom:16px;font:800 10px/1 "Plus Jakarta Sans",sans-serif;font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);background:var(--lime);padding:6px 9px;border-radius:6px}
.soon-list strong{font:700 19px/1.3 "Plus Jakarta Sans",sans-serif;letter-spacing:-.015em;margin-bottom:8px}
.soon-list span{font-size:15.5px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.pro-note{margin:36px 0 0;font-size:16px;color:var(--muted)}

@media(max-width:820px){
  .pro-hero-grid{grid-template-columns:1fr;gap:28px}
  .pro-stack{height:250px;max-width:420px}
  .pro-list{grid-template-columns:1fr;gap:48px}
  .pro-soon{margin-top:64px}
  .soon-list{grid-template-columns:1fr;gap:20px}
}

/* Related guides: compact cards */
.related-guides h2{margin-bottom:20px}
.related-guides .card{padding:16px}
.related-guides .post-image img{height:130px}
.related-guides .card h3{font-size:17px;margin:6px 0}
.related-guides .card p{font-size:15px;line-height:1.5;margin:0 0 12px}


/* Template pages: larger preview image */
@media(min-width:681px){
  .two-col:has(.post-image){grid-template-columns:1.45fr 1fr!important}
}
.two-col:has(.post-image)>div:first-child{padding:14px!important}


/* ===== Templates page redesign ===== */
.tp{--tp-navy:#2B4A9A;--tp-ink:#141B34;--tp-muted:#4A5370;--tp-line:#DCE2F2;--tp-surface:#fff;--tp-wash:#EEF1FA}

/* Stage colors: palette only. --tp-stage = circle/dot, --tp-on = number color */
.tp-s1{--tp-stage:var(--peri);   --tp-on:var(--ink)}    /* Proposal: Periwinkle */
.tp-s2{--tp-stage:var(--ink);    --tp-on:var(--paper)}  /* Lit Review: Ink */
.tp-s3{--tp-stage:var(--blue);   --tp-on:var(--paper)}  /* Methodology: Research blue */
.tp-s4{--tp-stage:var(--lime);   --tp-on:var(--ink)}    /* IRB: Acid lime */
.tp-s5{--tp-stage:var(--border); --tp-on:var(--ink)}    /* Defense: Cool border */

[id^="tpl-"]{scroll-margin-top:96px}


/* journey chips */
.tp-journey{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.tp-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px 0 8px;border:1px solid var(--tp-line);border-radius:999px;background:var(--tp-surface);color:var(--tp-ink);font-size:15px;font-weight:600;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease}
.tp-chip:hover{border-color:var(--tp-navy);box-shadow:0 2px 8px rgba(20,27,52,.08)}
.tp-chip:focus-visible,.tp-link:focus-visible{outline:3px solid var(--tp-navy);outline-offset:2px}
.tp-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--tp-stage);color:var(--tp-on);font-size:13px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(20,27,52,.18)}

/* pills and flags */
.tp-pills{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tp-pill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid var(--tp-line);border-radius:999px;background:var(--tp-wash);color:var(--tp-ink);font-size:12px;font-weight:700;letter-spacing:.02em}
.tp-dot{width:8px;height:8px;border-radius:50%;background:var(--tp-stage);box-shadow:inset 0 0 0 1px rgba(20,27,52,.25)}
.tp-flag{padding:6px 12px;border-radius:999px;background:var(--tp-ink);color:#fff;font-size:12px;font-weight:700}

/* featured card (step 1) */
.tp-feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:40px;padding:16px;border:1px solid var(--tp-line);border-radius:24px;background:var(--tp-surface);box-shadow:0 1px 2px rgba(20,27,52,.05)}
.tp-feature-media img{display:block;width:100%;height:auto;border-radius:16px}
.tp-feature-body{display:flex;flex-direction:column;gap:16px;padding:16px 24px 16px 0}
.tp-feature-body h3{margin:0;font-size:clamp(28px,3vw,36px);line-height:1.15}
.tp-feature-body p{margin:0;color:var(--tp-muted);font-size:17px;line-height:1.55}
.tp-points{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px;color:var(--tp-ink)}
.tp-points li{display:flex;align-items:flex-start}
.tp-points li::before{content:"";flex:0 0 7px;width:7px;height:12px;margin:2px 12px 0 4px;border:solid var(--tp-navy);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.tp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:8px}
.tp-link{color:var(--tp-navy);font-weight:700;text-decoration:none}


/* step cards (steps 2 to 5) */
.tp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.tp-card{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:center;gap:20px;padding:12px;border:1px solid var(--tp-line);border-radius:20px;background:var(--tp-surface);box-shadow:0 1px 2px rgba(20,27,52,.05);transition:transform .2s ease,box-shadow .2s ease}
.tp-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(20,27,52,.12)}
.tp-card-media img{display:block;width:100%;height:auto;border-radius:12px}
.tp-card-body{display:flex;flex-direction:column;gap:10px;min-width:0;padding:8px 8px 8px 0}
.tp-card h3{margin:0;font-size:20px;line-height:1.25}
.tp-card p{margin:0;color:var(--tp-muted);font-size:15px;line-height:1.5}
.tp-cta{margin-top:6px;color:var(--tp-navy);font-size:15px;font-weight:700}


/* whole card clickable through the title link */
.tp-stretch{color:inherit;text-decoration:none}
.tp-stretch::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:20px}
.tp-stretch:focus-visible{outline:none}
.tp-stretch:focus-visible::after{outline:3px solid var(--tp-navy);outline-offset:2px}
.tp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* request banner */
.tp-request{display:flex;flex-wrap:wrap;align-items:center;gap:20px 24px;margin-top:48px;padding:28px 32px;border:1.5px dashed #AEB9DC;border-radius:20px}
.tp-plus{display:flex;flex:0 0 56px;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:var(--tp-navy);color:#fff;font-size:28px;font-weight:700;line-height:1}
.tp-request > div{flex:1 1 320px}
.tp-request h3{margin:0 0 4px;font-size:22px}
.tp-request p{margin:0;color:var(--tp-muted);line-height:1.5}

@media (max-width:900px){
  .tp-feature{grid-template-columns:1fr;gap:20px}
  .tp-feature-body{padding:8px 12px 16px}
  .tp-grid{grid-template-columns:1fr}
}
@media (max-width:520px){
  .tp-card{grid-template-columns:1fr}
  .tp-card-body{padding:0 8px 8px}
  .tp-request{padding:24px 20px}
}
@media (prefers-reduced-motion:reduce){
  .tp-card,.tp-chip{transition:none}
  .tp-card:hover{transform:none}
}

/* Templates page: link hover matches the rest of the site */
.tp-stretch,.tp-link,.tp-cta{transition:color .2s ease}
.tp-stretch:hover,
.tp-link:hover,
.tp-card:hover .tp-cta{color:#5f6a38}

.tp-chip{transition:background .2s ease,border-color .2s ease,color .2s ease}
.tp-chip:hover{background:#e9edfa;border-color:#aab5d0;color:var(--tp-ink);box-shadow:none}

/* FAQ: compact rows, same on every page */
.faq h3,
.faq h4 {
  margin: 0;                 /* removes the extra space under each question */
}

.faq button {
  padding: 16px 0;           /* row height: raise to 18px if it feels too tight */
  line-height: 1.45;
  align-items: center;
}

.faq button span:last-child {
  flex: none;
  line-height: 1;            /* the 20px "+" was making the row taller */
}

/* Closed answers take no space; open answers get tidy spacing */
.faq-answer {
  margin: 0;
  padding: 0 40px 18px 0;
}
.faq-answer p {
  margin: 0 0 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Optional: one width for every FAQ list */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.post-byline{display:flex;align-items:center;gap:11px;font:600 13px "Plus Jakarta Sans",sans-serif;color:var(--muted);margin-top:6px}
.post-byline img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.post-byline a{color:var(--blue)}

table td:first-child,
table th:first-child {
  border-right: 1px solid #e3e6ef;
}

.author-box {
  width: fit-content;
  max-width: 100%;
}

/* Accessibility: text contrast */
.meta,.crumb,.ad-slot,.sc-text strong,.home-about .founder-signature{color:var(--muted)}
.stage-card::before,.sc-num{opacity:1}

/* Tap size: mobile menu button */
.menu-toggle{min-width:44px;min-height:44px}

/* Author box: sleek card */
.author-box{
  display:flex;
  align-items:center;
  gap:20px;
  width:100%;
  max-width:560px;
  margin-top:36px;
  padding:22px 26px;
  background:#fff;
  border:1px solid var(--border);
  border-left:3px solid var(--blue);
  border-radius:14px;
  box-shadow:0 8px 24px rgba(32,36,44,.06);
}
.author-box img{
  width:72px;
  height:72px;
  flex:none;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 3px #fff, 0 0 0 4px var(--border);
}
.author-box p{
  margin:0;
  font-size:15.5px;
  line-height:1.55;
}
.author-box a:not(.btn):not([data-share]){
  display:inline-block;
  margin-top:4px;
  color:var(--blue);
  font:700 13px "Plus Jakarta Sans",sans-serif;
  text-decoration:none;
  transition:color .2s ease;
}
.author-box a:not(.btn):not([data-share]):hover{
  color:#5f6a38;
}

/* Author box: keep it compact and white */
.author-box{
  width:fit-content !important;
  max-width:560px !important;
  background:#fff !important;
  border:1px solid var(--border) !important;
  border-left:3px solid var(--blue) !important;
}

/* Author box: line up with the article text */
.author-box{
  margin-left:0 !important;
  margin-right:auto !important;
}

.diagram { margin: 1.5rem 0; }

.diagram img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 382;
  object-fit: cover;
  object-position: 50% 41%;
  border-radius: 12px;
}

.diagram figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #5a6478;
  font-style: italic;
  text-align: center;
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

ul.check-list {
  list-style: none;
  padding-left: 0;
}
ul.check-list li {
  position: relative;
  padding-left: 1.6em;
  list-style: none;
}
ul.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pull-callout p+p{margin-top:10px}

