/* 28 Labs redesign: family layouts for pages migrated from the previous site.
   Each page keeps its own markup; its old inline CSS is scoped to .legacy and palette-mapped
   by _build/redesign/migrate_legacy.py. These rules load last and bring every family onto the
   new type scale, spacing and components. Literal colours are used on purpose: old pages
   redefine --line, --muted, --ink and --panel inside .legacy with their own meanings. */

/* ── Base (every migrated page) ── */
.legacy{font-family:"Inter",Arial,Helvetica,sans-serif;color:#fffdfa;background:transparent;line-height:1.7;-webkit-font-smoothing:antialiased}
.legacy a{text-underline-offset:3px}
.legacy :focus-visible{outline:2px solid #ff866e;outline-offset:3px}
.legacy img,.legacy svg,.legacy video{max-width:100%}
.legacy table{font-variant-numeric:tabular-nums}

/* ── Articles and guides ── */
.legacy.fam-article{padding:0}
.legacy.fam-article .page{width:min(760px,calc(100% - 48px));max-width:none;margin:0 auto;padding:76px 0 104px}
.legacy.fam-article h1{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.03em;margin:0 0 24px;color:#fffdfa;text-wrap:balance}
.legacy.fam-article h2{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;font-size:clamp(28px,3vw,38px);line-height:1.12;letter-spacing:-.02em;margin:64px 0 16px;color:#fffdfa;text-wrap:balance}
.legacy.fam-article h3{font-family:"Inter",Arial,sans-serif;font-weight:600;font-size:18px;line-height:1.4;letter-spacing:0;margin:32px 0 10px;color:#fffdfa;text-transform:none}
.legacy.fam-article p,.legacy.fam-article li{font-size:17px;line-height:1.75;color:#d9d3db}
.legacy.fam-article p{margin:14px 0}
.legacy.fam-article ul,.legacy.fam-article ol{margin:14px 0 14px 22px}
.legacy.fam-article li{margin:8px 0}
.legacy.fam-article p b,.legacy.fam-article p strong,.legacy.fam-article li b,.legacy.fam-article li strong{color:#fffdfa;font-weight:600}
.legacy.fam-article p a,.legacy.fam-article li a,.legacy.fam-article .dd a{color:#ff866e;text-decoration:underline;text-decoration-thickness:1px}
.legacy.fam-article p a:hover,.legacy.fam-article li a:hover{color:#fffdfa}
.legacy.fam-article .kicker{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ff866e;margin:0 0 22px}
.legacy.fam-article .lede{font-size:20px;line-height:1.6;color:#cfc9d1;margin:0 0 18px;max-width:680px}
.legacy.fam-article .meta{font-size:14px;color:#8f8993;margin:0 0 40px;padding-bottom:28px;border-bottom:1px solid #ffffff26}
.legacy.fam-article .crumb{font-size:13px;font-weight:600;letter-spacing:.02em;margin:0 0 26px;color:#8f8993}
.legacy.fam-article .crumb a{color:#ff866e;text-decoration:none}

/* answer box: the short direct answer at the top of every guide */
.legacy.fam-article .answer{background:#1b1b1d;border:0;border-left:2px solid #ff866e;border-radius:0 10px 10px 0;padding:24px 28px;margin:0 0 36px;font-size:18px;line-height:1.7;color:#f3eef5}
.legacy.fam-article .answer b,.legacy.fam-article .answer strong{color:#fffdfa}

/* callouts, figures, panels */
.legacy.fam-article .callout{background:#1b1b1d;border:1px solid #ffffff26;border-radius:10px;padding:22px 26px;margin:28px 0;font-size:16px;line-height:1.7;color:#d9d3db}
.legacy.fam-article .callout>b:first-child{display:block;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ff866e;margin:0 0 10px}
.legacy.fam-article .callout a{color:#ff866e;font-weight:700}
.legacy.fam-article .gwrap,.legacy.fam-article .twrap{background:#1b1b1d;border:1px solid #ffffff26;border-radius:10px;padding:24px;margin:28px 0}
.legacy.fam-article .twrap{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:6px 0}
.legacy.fam-article .gcap{font-size:13px;line-height:1.55;color:#8f8993;margin-top:14px}
.legacy.fam-article .step{background:#141316;border:1px solid #ffffff26;border-radius:8px;padding:14px 16px}
.legacy.fam-article .step .k,.legacy.fam-article .k{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ff866e}
.legacy.fam-article .step .t,.legacy.fam-article .t{font-size:14px;font-weight:600;line-height:1.45;color:#fffdfa}
.legacy.fam-article .cols{gap:16px}
.legacy.fam-article .col,.legacy.fam-article .tile,.legacy.fam-article .layer{background:#141316;border:1px solid #ffffff26;border-radius:10px;padding:18px 20px}
.legacy.fam-article .col h3{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ff866e;margin:0 0 10px}
.legacy.fam-article .col li,.legacy.fam-article .col p,.legacy.fam-article .tile p{font-size:15px;line-height:1.6}

/* definition lists (.dl/.dt/.dd and <dl>) */
.legacy.fam-article .dl,.legacy.fam-article dl{margin:20px 0;border-top:1px solid #ffffff26}
.legacy.fam-article .dt,.legacy.fam-article dt{font-size:16px;font-weight:600;color:#fffdfa;margin:0;padding-top:16px}
.legacy.fam-article .dd,.legacy.fam-article dd{font-size:16px;line-height:1.7;color:#d9d3db;margin:4px 0 0;padding-bottom:16px;border-bottom:1px solid #ffffff14}

/* tables */
.legacy.fam-article table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.legacy.fam-article th{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#b6aebc;text-align:left;padding:12px 14px;border-bottom:1px solid #ffffff26;background:transparent}
.legacy.fam-article td{padding:12px 14px;border-bottom:1px solid #ffffff14;color:#d9d3db;vertical-align:top}
.legacy.fam-article tr:last-child td{border-bottom:0}

/* sign-off and buttons */
.legacy.fam-article .foot{margin-top:64px;padding-top:22px;border-top:1px solid #ffffff26;font-size:14px;line-height:1.6;color:#8f8993}
.legacy.fam-article .btn,.legacy.fam-article .cta a,.legacy.fam-article a.button{display:inline-flex;align-items:center;gap:10px;border-radius:30px;padding:14px 22px;font-size:14px;font-weight:700;background:#fffdfa;color:#101011;text-decoration:none}
.legacy.fam-article .btn:hover{background:#ff866e}

@media(max-width:700px){
  .legacy.fam-article .page{width:calc(100% - 32px);padding:44px 0 72px}
  .legacy.fam-article p,.legacy.fam-article li{font-size:16px}
  .legacy.fam-article .lede{font-size:18px}
  .legacy.fam-article .answer{padding:20px;font-size:17px}
  .legacy.fam-article .callout{padding:18px 20px}
  .legacy.fam-article .gwrap{padding:18px}
  .legacy.fam-article h2{margin-top:48px}
  .legacy.fam-article .cols{grid-template-columns:1fr}
}
.legacy .crumb .here{color:#b6aebc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw;display:inline-block;vertical-align:bottom}
.legacy .crumb .sep{color:#8f8993}

/* ── Every non-article family: widths, headings, buttons, labels ── */
.legacy.fam-vertical .container,.legacy.fam-index-cat .wrap,.legacy.fam-index-cat .container,.legacy.fam-index-hub .wrap,.legacy.fam-index-hub .container,.legacy.fam-hub .wrap,.legacy.fam-hub .container,.legacy.fam-special .container{max-width:none;width:min(1320px,calc(100% - 96px));padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}
.legacy.fam-vertical .container .container,.legacy.fam-index-cat .wrap .wrap{width:100%}
.legacy:not(.fam-article) h1{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;line-height:1.04;letter-spacing:-.03em;text-wrap:balance}
.legacy.fam-vertical h1,.legacy.fam-index-cat h1,.legacy.fam-index-hub h1,.legacy.fam-hub h1{font-size:clamp(42px,5.2vw,74px)}
.legacy:not(.fam-article) h2{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;letter-spacing:-.02em;line-height:1.1;text-wrap:balance}
.legacy .section-title,.legacy.fam-vertical section h2:not(.grp__title){font-size:clamp(30px,3.2vw,46px)}
.legacy:not(.fam-article) h3{font-family:"Inter",Arial,sans-serif;font-weight:600;letter-spacing:0}
.legacy .eyebrow,.legacy .section-eyebrow,.legacy .hero-eyebrow,.legacy .ind-hero__eyebrow,.legacy .kicker{font-family:"Inter",Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ff866e}
.legacy .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:30px;padding:15px 22px;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none;transition:background .2s,color .2s}
.legacy .btn--primary,.legacy .btn-primary,.legacy .btn.primary{background:#fffdfa!important;color:#101011!important;border:0!important;box-shadow:none!important}
.legacy .btn--primary:hover,.legacy .btn-primary:hover{background:#ff866e!important}
.legacy .btn--outline,.legacy .btn--ghost,.legacy .btn-outline,.legacy .btn.secondary{background:transparent!important;color:#fffdfa!important;border:1px solid #ffffff40!important}
.legacy .btn--outline:hover,.legacy .btn--ghost:hover{border-color:#fffdfa!important}
.legacy .bg-glow-1,.legacy .bg-glow-2,.legacy .bg-glow,.legacy .bg-fx,.legacy .hero__bg,.legacy .ind-hero__bg{display:none!important}
.legacy table{max-width:100%}
@media(max-width:700px){
  .legacy.fam-vertical .container,.legacy.fam-index-cat .wrap,.legacy.fam-index-cat .container,.legacy.fam-index-hub .wrap,.legacy.fam-index-hub .container,.legacy.fam-hub .wrap,.legacy.fam-hub .container,.legacy.fam-special .container{width:calc(100% - 32px)}
  .legacy .btn{width:auto;min-height:48px}
}

/* ── Campaign landing pages (/measure/, /ai-shortlist/): the shell shows the logo, so the page's own mark goes ── */
.legacy.fam-landing .brand{display:none}
.legacy.fam-landing .wrap{padding-top:56px}
.legacy.fam-landing h1{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.03em}
.legacy.fam-landing h2{font-family:"Inter Tight","Inter",Arial,sans-serif;font-weight:300;letter-spacing:-.02em}
.legacy.fam-landing button[type=submit],.legacy.fam-landing .btn{background:#fffdfa!important;color:#101011!important;border-radius:30px!important;font-weight:700}
.legacy.fam-landing input,.legacy.fam-landing select{min-height:48px;font-size:16px;border-radius:6px}
.landing-header .nav{justify-content:flex-start}

/* ── The AI Visibility Report: its own bar keeps the "View as" selector; the site header carries the logo and the way home ── */
.legacy .topbar .brandbit .home,.legacy .topbar .backhome{display:none!important}
.legacy .topbar{top:var(--hdr,84px)!important;z-index:40}

/* ── Industry pages: the hero heading sits in a narrow column ── */
.legacy.fam-vertical .hero h1,.legacy.fam-vertical .ind-hero h1{font-size:clamp(40px,4.4vw,60px)}

/* ── Pages with their own global stylesheets (the free check app) ── */
.skip:not(:focus){position:absolute!important;top:-80px!important;transform:translateY(-400%)!important}
#site-footer,#site-footer *{font-family:"Inter",Arial,Helvetica,sans-serif!important;letter-spacing:normal}
#site-footer .footer-col h2{letter-spacing:.16em}

/* ── Sample report: the fixed section rail sits under the new header and the report bar ── */
.legacy .railnav{top:calc(var(--hdr,84px) + 68px)!important;max-height:calc(100vh - var(--hdr,84px) - 96px)!important}

/* ── Phone review fixes, 16 Nov 2026 (redesign regressions) ── */
/* Older pages print their own plus sign on fold out questions; the new style sheet also draws one,
   so two showed (like ‡). Keep the page's own sign and drop the drawn one. */
.legacy .faq summary:after{background:none;width:auto;height:auto;margin-top:0;position:static}
.legacy .faq details[open] summary:after{transform:none}
/* Buttons inside a callout took the coral link colour and vanished on their pink background. */
.legacy.fam-article .callout a.cta{color:#fffdfa}
/* Enterprise layer cards: on phones the layer label goes above the title instead of over it. */
@media (max-width:700px){.legacy .method-card .method-num{position:static;display:block;margin-bottom:8px}.legacy .method-card h3{padding-right:0}}
/* The AI Visibility Report now sits on the dark shell but keeps its light cards:
   text inside them needs the report's dark ink, and dark text left on the dark page needs to be light. */
body[data-role] figure,body[data-role] .faq,body[data-role] .move{color:var(--ink)}
body[data-role] .scaleband{background:var(--paper2);color:var(--ink)}
body[data-role] .standfirst a{color:inherit}
body[data-role] nav a:hover,body[data-role] nav a.on,body[data-role] .sidenav a.on{color:#fffdfa}
body[data-role] nav a.on b,body[data-role] .sidenav a.on b{color:var(--coral)}
