/* Longevity Centre Setup section — builds on luxe.css tokens (.lx). Mobile-first. */
/* The legacy dark theme colours every <a> pale gold (body.rx-theme-dark a); restore readable links here. */
body.cx-page .cx a{color:var(--gold-deep)}
body.cx-page .cx a:hover{color:var(--text)}
body.cx-page .cx-hero a,body.cx-page .cx .lx-section--ink a{color:var(--gold-light)}
body.cx-page .cx .cx-card h3 a,body.cx-page .cx .cx-pkg-list a,body.cx-page .cx .cx-chips a,body.cx-page .cx .cx-guide-card h2 a{color:var(--text)}
body.cx-page .cx .cx-card h3 a:hover,body.cx-page .cx .cx-pkg-list a:hover,body.cx-page .cx .cx-chips a:hover,body.cx-page .cx .cx-guide-card h2 a:hover{color:var(--gold-deep)}
body.cx-page .cx .lx-btn--primary{color:var(--ink)}
body.cx-page .cx .cx-btn-wa{color:#fff}
/* WCAG AA contrast on light grounds */
body.cx-page .cx{--gold-deep:#7A5C1F}
body.cx-page .cx .lx-eyebrow{color:var(--gold-deep)}
body.cx-page .cx .lx-section--ink .lx-eyebrow,body.cx-page .cx-hero .lx-eyebrow{color:var(--gold-light)}
body.cx-page .cx .cx-prose p a,body.cx-page .cx .lx-lead a,body.cx-page .cx .cx-hero-text a,body.cx-page .cx .cx-callout a,body.cx-page .cx .cx-list a,body.cx-page .cx .cx-form-intro p a{text-decoration:underline;text-underline-offset:2px}
.cx{background:var(--ivory)}
.cx img{max-width:100%;height:auto;display:block}
.cx-hero{background:var(--ink);color:#EDE7DA;padding-block:40px 64px}
.cx-hero--slim{padding-block:32px 56px}
.cx-hero h1{color:#fff;font-size:clamp(30px,4.6vw,54px);max-width:22ch}
.cx-hero a{color:var(--gold-light)}
.cx-hero-grid{display:grid;gap:36px;align-items:center}
.cx-hero-sub{font-family:var(--lx-serif);font-size:clamp(20px,2.4vw,26px);color:var(--gold-light);margin:18px 0 10px}
.cx-hero-text{font-size:18px;color:rgba(237,231,218,.85);max-width:68ch;margin-top:14px}
/* Product photos are wide and on light grounds: never crop — show the whole image on white. */
.cx-hero-media{border-radius:22px;overflow:hidden;background:#fff;border:1px solid rgba(200,162,77,.3)}
.cx-hero-media img,.cx-product-media img{width:100%;height:auto;object-fit:contain}
.cx-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.cx-btn-wa{background:#15803d;color:#fff!important;border-color:#15803d}
.cx-btn-wa:hover{background:#116a32}
.cx-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 22px;font-size:14px;color:rgba(237,231,218,.7)}
.cx-crumbs li+li::before{content:'›';margin-right:6px;color:var(--gold)}
.cx-crumbs a{color:var(--gold-light);text-decoration:none}
.cx-crumbs a:hover{text-decoration:underline}
.cx-trust{background:#131a2b;color:var(--gold-light);text-align:center;font-size:15px;letter-spacing:.04em;padding:14px 0;border-top:1px solid rgba(200,162,77,.25)}
.cx-trust p{margin:0}
/* packages */
.cx-pkgs{display:grid;gap:22px}
.cx-pkg{position:relative;display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--lx-line);border-radius:20px;padding:30px 26px;box-shadow:var(--lx-shadow)}
.cx-pkg.is-featured{border:2px solid var(--gold)}
.cx-pkg-badge{position:absolute;top:-13px;left:24px;background:var(--ink);color:var(--gold-light);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.cx-pkg h3{font-size:24px}
.cx-pkg-price{font-family:var(--lx-serif);font-size:34px;color:var(--gold-deep);margin:10px 0 6px}
.cx-pkg-price small{display:block;font-family:var(--lx-sans);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.cx-pkg-sum{color:var(--muted);font-size:16px}
.cx-pkg-list,.cx-pkg-inc{list-style:none;padding:0;margin:0 0 18px;font-size:15px}
.cx-pkg-list li{padding:7px 0;border-bottom:1px solid rgba(11,15,26,.07);display:flex;justify-content:space-between;gap:10px}
.cx-pkg-list li span{color:var(--muted);font-size:13px;text-align:right}
.cx-pkg-list a{color:var(--text);text-decoration:none;font-weight:600}
.cx-pkg-list a:hover{color:var(--gold-deep)}
.cx-pkg-inc li{padding:3px 0 3px 22px;position:relative;color:#2a2f3b}
.cx-pkg-inc li::before{content:'✓';position:absolute;left:0;color:var(--gold-deep);font-weight:700}
.cx-pkg .lx-btn{margin-top:auto}
.cx-small{font-size:14px;color:var(--muted);text-align:center;margin-top:22px}
/* equipment cards */
.cx-group{margin-bottom:48px}
.cx-group-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:18px;border-bottom:1px solid var(--lx-line);padding-bottom:10px}
.cx-group-head h3,.cx-h3{font-size:clamp(22px,2.2vw,28px)}
.cx-group-head a{font-size:15px;font-weight:600;text-decoration:none}
.cx-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.cx-card{background:var(--paper);border:1px solid var(--lx-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s}
.cx-card:hover{box-shadow:var(--lx-shadow);transform:translateY(-2px)}
.cx-card-img{display:block;aspect-ratio:16/9;background:#fff;border-bottom:1px solid rgba(11,15,26,.06)}
.cx-card-img img{width:100%;height:100%;object-fit:contain}
.cx-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.cx-card h3{font-size:20px;margin:8px 0 6px}
.cx-card h3 a{color:var(--text);text-decoration:none}
.cx-card p{font-size:15px;color:var(--muted);margin:0 0 8px}
.cx-tag{display:inline-block;align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-deep);background:rgba(200,162,77,.12);padding:4px 10px;border-radius:999px}
.cx-hero .cx-tag{color:var(--gold-light);background:rgba(200,162,77,.18)}
.cx-price{margin-top:auto!important;font-weight:700;color:var(--text)!important}
.cx-price--lg{font-size:18px;color:var(--gold-light)!important;margin-top:16px!important}
.cx-pro{font-size:13px!important;font-weight:700;color:var(--ember)!important}
.cx-pro--lg{font-size:15px!important;color:#f0a37f!important}
/* filter */
.cx-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:34px}
.cx-filter button{font:600 14px var(--lx-sans);padding:9px 16px;border-radius:999px;border:1px solid var(--lx-line);background:var(--paper);color:var(--text);cursor:pointer}
.cx-filter button.is-on{background:var(--ink);color:var(--gold-light);border-color:var(--ink)}
/* steps */
.cx-steps{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.cx-steps li{background:rgba(255,255,255,.04);border:1px solid rgba(200,162,77,.25);border-radius:18px;padding:24px}
.cx-steps h3{color:#fff;font-size:21px;margin:10px 0 6px}
.cx-steps p{color:rgba(233,228,216,.78);font-size:16px;margin:0}
.cx-step-n{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--lx-gold-grad);color:var(--ink);font-weight:700}
/* prose */
.cx-prose{max-width:820px}
.cx-prose h2{font-size:clamp(26px,3vw,34px);margin:40px 0 14px}
.cx-prose h3{margin:0 0 8px}
.cx-prose-block:first-child h2{margin-top:0}
.cx-list{padding-left:22px;margin:0 0 1em}
.cx-list li{margin-bottom:8px}
.cx-list--warn li::marker{color:var(--ember)}
.cx-lede{font-size:20px;color:#2a2f3b}
.cx-note{font-size:14px;color:var(--muted);border-left:3px solid var(--gold);padding-left:12px}
.cx-callout{background:var(--ivory);border:1px solid var(--lx-line);border-radius:16px;padding:22px 24px;margin:28px 0}
.cx-meta{color:rgba(237,231,218,.7);font-size:15px;margin-top:14px}
.cx-hero .cx-prose h1{max-width:none}
.cx-author{border-top:1px solid var(--lx-line);margin-top:40px;padding-top:22px;font-size:16px}
.cx-author-name{font-family:var(--lx-serif);font-size:20px;font-weight:600;margin-bottom:4px}
.cx-review{font-size:14px;color:var(--muted);font-style:italic}
.cx-faq-inline{max-width:none}
.cx-links .cx-h3{margin:22px 0 12px}
.cx-links .cx-h3:first-child{margin-top:0}
.cx-chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.cx-chips a{display:inline-block;padding:8px 14px;border-radius:999px;border:1px solid var(--lx-line);background:var(--paper);font-size:15px;text-decoration:none;color:var(--text)}
.cx-chips a:hover{border-color:var(--gold);color:var(--gold-deep)}
/* product */
.cx-product{display:grid;gap:30px;align-items:center}
.cx-product-media{border-radius:22px;overflow:hidden;background:#fff}
.cx-product h1{margin-top:12px}
.cx-product-copy p{color:rgba(237,231,218,.85)}
.cx-product-detail{display:grid;gap:40px}
.cx-product-detail h2{font-size:clamp(24px,2.6vw,30px);margin:0 0 14px}
.cx-product-detail h2:not(:first-child){margin-top:34px}
.cx-table-wrap{overflow-x:auto}
.cx-specs{width:100%;border-collapse:collapse;font-size:16px;margin-bottom:10px}
.cx-specs th,.cx-specs td{text-align:left;padding:12px 14px;border-bottom:1px solid rgba(11,15,26,.08);vertical-align:top}
.cx-specs th{width:38%;color:var(--muted);font-weight:600}
/* guides */
.cx-guide-list{display:grid;gap:20px}
.cx-guide-card{background:var(--paper);border:1px solid var(--lx-line);border-radius:18px;padding:26px}
.cx-guide-card h2{font-size:clamp(22px,2.4vw,28px);margin-bottom:10px}
.cx-guide-card h2 a{color:var(--text);text-decoration:none}
.cx-more{font-weight:600;text-decoration:none}
/* form */
.cx-form-wrap{display:grid;gap:32px;align-items:start}
.cx-form-intro h2{margin-bottom:14px}
.cx-ticks{list-style:none;padding:0;margin:0 0 22px}
.cx-ticks li{padding:5px 0 5px 26px;position:relative}
.cx-ticks li::before{content:'✓';position:absolute;left:0;color:var(--gold-deep);font-weight:700}
.cx-form{padding:24px}
.cx-form .lx-grid2{margin-bottom:12px}
.cx-phone{display:flex;gap:8px}
.cx-phone select{flex:0 0 auto;width:auto;max-width:44%}
.cx-opt{font-weight:400;color:var(--muted)}
.cx-radios,.cx-interests{border:0;padding:0;margin:0;min-width:0}
.cx-radios label,.cx-interests label{display:inline-flex;align-items:center;gap:8px;margin:6px 14px 6px 0;font-size:16px;font-weight:500;cursor:pointer}
.cx-radios input,.cx-interests input{width:18px;height:18px;min-height:0;accent-color:var(--gold-deep)}
.cx-err{display:block;color:var(--ember);font-size:14px;margin-top:6px}
.cx-notice{background:rgba(194,85,43,.08);border:1px solid rgba(194,85,43,.35);color:#8a3417;border-radius:12px;padding:12px 14px;font-size:15px}
.cx-notice.is-info{background:rgba(31,157,85,.08);border-color:rgba(31,157,85,.35);color:#165f36}
.cx-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.cx-thanks{padding-block:80px}
@media (min-width:720px){
  .cx-pkgs{grid-template-columns:repeat(2,1fr)}
  .cx-steps{grid-template-columns:repeat(5,1fr)}
  .cx-form{padding:36px}
  .cx-hero{padding-block:56px 88px}
}
@media (min-width:980px){
  .cx-hero-grid{grid-template-columns:1.15fr 1fr}
  .cx-pkgs{grid-template-columns:repeat(4,1fr)}
  .cx-product{grid-template-columns:1fr 1fr}
  .cx-product-detail{grid-template-columns:1.3fr 1fr}
  .cx-form-wrap{grid-template-columns:.8fr 1.2fr}
  .cx-grid--4{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:719px){
  .cx-steps{grid-template-columns:1fr}
  .cx .lx-section{padding-block:64px}
}
