/* Existing Crenex pages: preserve their content and behaviour inside the
   approved site navigation, typography and colour system. */
.legacy-page{
  padding-top:76px;
  background:var(--white);
  color:var(--ink);
  font-family:var(--body);
}
.legacy-page::before{display:none}
.legacy-page .container{width:min(100% - 2*var(--gutter),var(--wrap))}
.legacy-page .site-head{background:rgba(10,13,18,.96)}
.legacy-page .site-head .brand{gap:0}
.legacy-page .site-head .brand img{height:22px;width:auto}
.legacy-page .foot-base{
  padding-bottom:0;
  color:#7e8da0;
  border-color:rgba(255,255,255,.08);
  font-family:var(--body);
}
.legacy-page .skip-link{z-index:300}
.legacy-page .page-hero,
.legacy-page .legal-hero,
.legacy-page .blog-article-hero{background:var(--paper)}
.legacy-page .page-hero::before,
.legacy-page .legal-hero::after{display:none}
.legacy-page .page-hero{padding-block:clamp(64px,7vw,100px)}
.legacy-page .page-hero-inner,
.legacy-page .page-hero-inner.real-page-hero{
  grid-template-columns:minmax(0,1fr);
  gap:48px;
  align-items:start;
}
.legacy-page .page-hero h1{max-width:18ch}
.legacy-page .page-hero .lead{max-width:760px}
.legacy-page .page-hero .button-row{margin-top:30px}
.legacy-page .page-hero .exact-screen{
  width:100%;
  max-width:1100px;
  margin:0;
  border-radius:20px;
}
.legacy-page .page-hero .exact-screen-viewport{border-radius:14px}
.legacy-page .page-section:nth-of-type(even){background:var(--paper)}
.legacy-page .section,
.legacy-page .page-section{padding-block:clamp(72px,8vw,112px)}
.legacy-page .section-header h2{line-height:1.04}
.legacy-page .section-header .lead{font-size:clamp(17px,1.6vw,21px)}
/* In the approved Listing UI, .lead is a card; legacy p.lead is intro copy. */
.legacy-page main p.lead{
  display:block;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.legacy-page main .btn-primary{
  background:var(--grad);
  color:var(--green-deep);
  border-color:transparent;
}
.legacy-page main .btn-secondary{
  background:transparent;
  border-color:rgba(13,19,32,.22);
  color:var(--ink);
  box-shadow:none;
}
.legacy-page main .btn-secondary:hover{border-color:var(--ink)}
.legacy-page main .roi-output .btn-secondary{
  background:var(--white);
  color:var(--ink);
  border-color:var(--white);
}
.legacy-page main .roi-output .btn-secondary:hover{background:var(--mint);border-color:var(--mint)}
.legacy-page .eyebrow{color:var(--green-ink);font-weight:600;letter-spacing:.11em}
.legacy-page main :is(.dark-flow,.roi-output) .eyebrow{color:var(--green)}
.legacy-page .text-link{font-size:15px;font-weight:600;line-height:1.5}
.legacy-page .line-item{grid-template-columns:42px minmax(0,1fr);gap:24px}
.legacy-page .line-item h3{line-height:1.12}
.legacy-page .feature-card:not(.blog-card),
.legacy-page .crm-faq-card,
.legacy-page .role-card{
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  padding:28px 0;
  background:transparent;
  box-shadow:none;
}
.legacy-page .feature-card:not(.blog-card):hover{transform:none;box-shadow:none}
.legacy-page .feature-cards:not(.blog-grid){gap:32px}
.legacy-page .crm-faq-card h3{margin-top:24px}
.legacy-page .role-grid{gap:32px;background:transparent}
.legacy-page .role-card h3{margin-top:20px}
.legacy-page .proof-table div{grid-template-columns:minmax(120px,.5fr) minmax(0,1fr)}
.legacy-page .proof-table b{font-size:24px;line-height:1.2;overflow-wrap:anywhere}
.legacy-page .footer-cta{background:var(--mint)}
.legacy-page .footer-cta::before{display:none}
.legacy-page .footer-cta h2{font-size:clamp(36px,4.6vw,62px);line-height:1.03}
.legacy-page .footer-cta .btn-ghost{color:var(--ink);background:transparent;border-color:rgba(13,19,32,.22)}
.legacy-page .footer-cta .btn-secondary{color:#fff;background:var(--ink);border-color:var(--ink)}
.legacy-page .blog-article-content h2{line-height:1.08}
.legacy-page .blog-article-content h3{line-height:1.15}
.legacy-page .blog-article-content .text-link{font-size:inherit}
.legacy-page .blog-article-aside{box-shadow:none;border-radius:0;border:0;border-left:1px solid var(--line);background:transparent}
.legacy-page .blog-card.feature-card{box-shadow:none}
.legacy-page .blog-article-hero{padding-top:76px}
.legacy-page .blog-hero .page-hero-inner{gap:30px}
.legacy-page .blog-hero .page-hero-inner h1{max-width:22ch}

/* Add-on and capability copy remains part of the relevant canonical page.
   Clear headings and open rows avoid another grid of product cards. */
.legacy-editorial{padding-block:clamp(72px,9vw,120px);background:#fff}
.legacy-editorial--paper{background:var(--paper)}
.legacy-editorial [id],.legacy-editorial[id]{scroll-margin-top:106px}
.legacy-editorial-heading{max-width:960px;margin-bottom:52px}
.legacy-editorial h2{font-size:clamp(36px,4.3vw,60px);line-height:1.05;max-width:22ch}
.legacy-editorial .eyebrow{margin-bottom:20px}
.legacy-editorial .lead{margin-top:24px;max-width:740px;font-size:clamp(18px,1.7vw,22px)}
.legacy-capability{
  display:grid;
  grid-template-columns:minmax(180px,.4fr) minmax(0,1fr);
  gap:48px;
  padding-block:32px;
  border-top:1px solid var(--line);
}
.legacy-capability:last-child{border-bottom:1px solid var(--line)}
.legacy-capability h3{font-size:clamp(25px,2.4vw,32px);line-height:1.2}
.legacy-capability p{max-width:760px;font-size:17px;line-height:1.65}
.legacy-capability .text-link{margin-top:18px}
.legacy-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:start}
.legacy-editorial-copy{display:grid;gap:24px}
.legacy-editorial-copy p{font-size:18px;line-height:1.65}
.legacy-editorial-copy p a{color:var(--green-ink);text-decoration:underline;text-underline-offset:3px}
.legacy-editorial-copy .btn{width:fit-content;margin-top:8px}
.legacy-editorial-copy .legacy-product-note{border-top:1px solid var(--line);padding-top:24px;color:var(--green-ink);font-size:16px}
.legacy-vertical-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;list-style:none;padding:0;margin:0}
.legacy-vertical-links li{border-top:1px solid var(--line)}
.legacy-vertical-links a{position:relative;display:block;padding:26px 0 26px 24px;font:600 24px/1.3 var(--display);text-decoration:none}
.legacy-vertical-links a::before{content:"";position:absolute;left:0;top:37px;width:9px;height:9px;border-radius:50%;background:var(--vc)}
.legacy-vertical-links a span{display:block;color:var(--slate);margin-top:8px;font:400 16px/1.5 var(--body)}
.legacy-vertical-links a:hover{color:var(--green-ink)}
.legacy-vertical-links a:hover span{color:var(--ink)}
.legacy-section-note{max-width:800px;margin-top:32px;font-size:16px}
.legacy-404 main{min-height:65vh}
.legacy-404 main h1{margin-top:22px}
.legacy-404 main .lead{margin-top:26px}
.legacy-404 main .button-row{margin-top:32px}

@media(max-width:960px){
  .legacy-editorial-layout{grid-template-columns:minmax(0,1fr);gap:36px}
  .legacy-editorial h2{max-width:24ch}
  .legacy-page .two-col,.legacy-page .two-col.reverse{grid-template-columns:minmax(0,1fr)}
  .legacy-page .copy-col{position:static}
  .legacy-page .proof-table div{grid-template-columns:140px minmax(0,1fr)}
}
@media(max-width:640px){
  .legacy-page .page-hero-inner,.legacy-page .page-hero-inner.real-page-hero{gap:34px}
  .legacy-page .page-hero h1{max-width:20ch;font-size:clamp(38px,10.6vw,54px);line-height:1.02}
  .legacy-page .page-hero .exact-screen{border-radius:16px}
  .legacy-page .page-hero .exact-screen-viewport{border-radius:10px}
  .legacy-page .line-item{grid-template-columns:30px minmax(0,1fr);gap:16px}
  .legacy-page .line-item h3{font-size:25px}
  .legacy-page .proof-table div{grid-template-columns:minmax(0,1fr);gap:10px}
  .legacy-page .blog-article-hero{padding-top:58px}
  .legacy-capability{grid-template-columns:minmax(0,1fr);gap:18px;padding-block:26px}
  .legacy-editorial-heading{margin-bottom:36px}
  .legacy-editorial-copy p{font-size:17px}
  .legacy-vertical-links{grid-template-columns:minmax(0,1fr)}
  .legacy-vertical-links a{font-size:22px;padding-block:22px}
  .legacy-vertical-links a::before{top:32px}
  .legacy-page .foot-base{flex-direction:column;gap:16px}
}
