/* Inner pages in the homepage design. ce.css is the designer's stylesheet, copied
   from index.html by tools/citeengine_pages.py; these rules sit on top of it.
   Readability minimums (Giovanni's rule): body 18px desktop / 16px phones, labels 16 / 15. */
main{display:block}
.v-nav-links a[aria-current=page]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--mark);text-decoration-thickness:3px;text-underline-offset:6px}

/* highlighted phrases in headings never break over two lines */
h1 em,h2 em,h3 em,h1 mark,h2 mark{white-space:nowrap}
.blog-hero h1 em{color:inherit;background:linear-gradient(180deg,transparent 58%,var(--mark) 58%,var(--mark) 92%,transparent 92%)}
.page-hero h1,.blog-hero h1,.post-wrap h1.post-title,.legal h1{font-family:var(--display);text-wrap:balance}
.v-head h2,.post-related h2,.post-cta h3{font-family:var(--display)}

/* body copy at 18px on desktop */
@media (min-width:601px){
  .gcard p,.gcard ul,.faq-list details>p,.article .a-ex,.post-cta p,.page-note,.ticks li,.lead-card .sub,
  .cmp td,.cmp th,.blog-content table,.v-tiers-more p{font-size:18px}
}
.page-section{padding:88px 0}
.page-section.alt{background:var(--cream)}
.page-hero .cta-row{justify-content:center;margin-top:30px}
.page-hero .eyebrow,.blog-hero .eyebrow{margin-bottom:6px}
.v-head.center{margin-left:auto;margin-right:auto;text-align:center}
.page-note{max-width:720px;margin:28px 0 0;line-height:1.6;color:var(--text)}

.ticks{list-style:none;padding:0;margin:26px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;font-size:16px;color:var(--ink-2)}
.ticks li{display:flex;align-items:center;gap:8px}
.ticks li:before{content:"✓";color:var(--green);font-weight:800}

.gcard.quote p{font-family:var(--display);font-size:22px;font-weight:700;line-height:1.35;color:var(--ink);letter-spacing:-.01em}
.gcard.stat .big{font-family:var(--display);font-size:52px;font-weight:800;line-height:1;letter-spacing:-.03em;color:var(--ink);margin:0 0 14px}
.gcard.stat h3{margin-bottom:8px}

/* blog index and articles */
.blog-hero{text-align:left}
.blog-grid .article h4,.post-related .article h4{font-family:var(--display)}
.article .a-foot{font-size:16px}
.crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:16px;color:var(--text-2);margin-bottom:22px}
.crumbs a{color:var(--text-2)}
.crumbs a:hover{color:var(--ink)}
.post-meta>*+*:before{content:"·";margin-right:16px;color:var(--line-strong)}
.post-cat{font-family:var(--mono);font-weight:500;letter-spacing:.04em}
.post-related{padding-top:20px}
.post-related .eyebrow{margin-bottom:4px}
@media (min-width:900px){.post-related .articles{grid-template-columns:repeat(3,1fr)}.blog-grid{grid-template-columns:repeat(2,1fr)}}
.blog-content{overflow-wrap:anywhere}
.blog-content img{height:auto;display:block;margin:26px 0}
.blog-content table{display:block;overflow-x:auto}
.blog-content .faq-section,.blog-content .faq-item{background:none!important}
.blog-content .faq-item{border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 22px;margin:0 0 12px}
.blog-content .faq-item h3{margin-top:0}
.blog-content .faq-item p:last-child{margin-bottom:0}
.blog-content .related-articles{margin-top:40px;padding:24px 26px;background:var(--cream);border:1px solid var(--line);border-radius:var(--r-lg)}
.blog-content .related-articles h2,.blog-content .related-articles h3{margin-top:0}
.blog-content .btn{text-decoration:none;color:#fff}
.legal .blog-content h2{font-size:24px}
.legal .eyebrow{margin-bottom:12px}

/* sitemap page lists */
.sitemap-list{list-style:none;padding:0;margin:0}

@media (max-width:600px){
  .page-section{padding:60px 0}
  .page-hero{padding:64px 0 44px}
  .blog-hero{padding:64px 0 28px}
  .post-wrap{padding:44px 18px 64px}
  .post-cta{padding:24px 20px}
  .post-cta .row .btn{width:100%;justify-content:center}
  .page-hero .cta-row .btn{width:100%;justify-content:center}
  .ticks{flex-direction:column;align-items:center;font-size:16px}
  .gcard.stat .big{font-size:44px}
  .gcard.quote p{font-size:20px}
  .crumbs,.post-meta{font-size:15px}
  /* short headings stay on one line on phones */
  .blog-hero h1{font-size:34px}
  .v-head h2,.post-related h2{font-size:27px}
  .blog-content h2{font-size:23px}
  .blog-content h3{font-size:20px}
}
