/* Shared, approved public components. Keep page content and editor drafts intact. */
:root{--ds-brand-coral:#df624f;--ds-brand-coral-hover:#e77361}
html body main .eyebrow{font-family:var(--sans,Arial,sans-serif);font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.16em}
#site-menu .ds-theme-switch>small{display:none}

/* Keep the original header in flow: scroll direction never moves page content. */
html body>header.nav.ds-scroll-nav{position:sticky;top:0;left:0;z-index:100;width:100%;max-width:none;margin-inline:0;padding-inline:max(48px,calc((100% - 1504px)/2));transform:translateY(0);transition:transform .28s cubic-bezier(.22,1,.36,1),background-color .25s,box-shadow .25s;isolation:isolate}
html[data-ds-theme] body>header.nav.ds-scroll-nav.ds-scroll-scrolled{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
html body>header.nav.ds-scroll-nav::before{content:"";position:absolute;inset:0 0 -28px;z-index:-1;pointer-events:none;opacity:0;background:linear-gradient(to bottom,var(--ds-background,#fff) 0%,color-mix(in srgb,var(--ds-background,#fff) 94%,transparent) 38%,color-mix(in srgb,var(--ds-background,#fff) 68%,transparent) 68%,transparent 100%);transition:opacity .25s}
html body>header.nav.ds-scroll-nav.ds-scroll-scrolled::before{opacity:1}
html body>header.nav.ds-scroll-nav.ds-scroll-hidden{transform:translateY(calc(-100% - 32px));pointer-events:none}
html body>header.nav.ds-scroll-nav #site-menu{right:max(48px,calc((100% - 1504px)/2));max-height:calc(100dvh - var(--ds-nav-height,105px) - 24px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px){html body>header.nav.ds-scroll-nav{padding-inline:24px}html body>header.nav.ds-scroll-nav #site-menu{right:20px}}
@media(prefers-reduced-motion:reduce){html body>header.nav.ds-scroll-nav{transition:none!important}}

/* One demo treatment, including the closing product CTAs. */
html[data-ds-theme] body a.demo-glass-cta{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-width:200px;min-height:51.2px;width:auto;height:auto;padding:11.2px 25.6px;border:1px solid #ffffff45;border-radius:999px;background:var(--ds-brand-coral);color:#fff!important;font:400 19.2px/1.2 var(--serif,Georgia,serif);letter-spacing:-.02em;text-align:center;box-shadow:inset 0 1px 0 #ffffff55,0 10px 28px #df624f30;white-space:nowrap}
html[data-ds-theme] body a.demo-glass-cta>span{color:inherit;font:inherit}
html[data-ds-theme] body a.demo-glass-cta>.demo-arrow{display:inline-block;width:auto;height:auto;flex:none;border-radius:0;background:transparent;color:#fff;font:400 22px/1 var(--sans,Arial,sans-serif);transition:transform .2s ease}
html[data-ds-theme] body a.demo-glass-cta:hover{background:var(--ds-brand-coral-hover)}
@media(hover:hover){html[data-ds-theme] body a.demo-glass-cta:hover>.demo-arrow{transform:translate(2px,-2px)}}
/* Blog pages never have a hero demo or conversation CTA. */
.journal-intro>.demo-glass-cta,.article-intro>.demo-glass-cta,.journal-intro>.journal-composer,.article-intro>.journal-composer{display:none!important}

/* Floating Connect card: same layout and content on every contact form. */
html[data-ds-theme] body #contact.ds-contact-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:64px;width:calc(100% - 96px);max-width:1280px;height:auto;position:relative;inset:auto;margin:100px auto 120px;padding:64px;border:1px solid var(--ds-line,#e1e4e8);border-radius:32px;background:var(--ds-background,#fff);color:var(--ds-text,#000c1f);box-shadow:0 18px 55px #00132f16,0 2px 8px #00132f05;text-align:left}
html[data-ds-theme=dark] body #contact.ds-contact-card{box-shadow:0 24px 64px #0004,0 2px 8px #0002}
html body #contact.ds-contact-card>.contact-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:auto;height:auto;position:static;inset:auto;align-self:start}
html body #contact.ds-contact-card .contact-copy>.eyebrow{margin:0 0 24px}
html body #contact.ds-contact-card .contact-copy>h2{position:static;inset:auto;width:100%;height:auto;max-width:100%;margin:0 0 28px;font:400 clamp(42px,4.8vw,64px)/1.04 var(--serif,Georgia,serif);letter-spacing:-.045em;color:var(--ds-text,#000c1f);text-wrap:balance}
html body #contact.ds-contact-card .contact-intro{position:static;inset:auto;width:100%;height:auto;margin:0;max-width:min(340px,100%);font:400 16px/1.6 var(--sans,Arial,sans-serif);color:var(--ds-muted,#646c78)}
html body #contact.ds-contact-card .contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px;min-width:0;margin:0}
html[data-ds-theme] body #contact.ds-contact-card .ds-input{display:block;width:100%;min-width:0;border:1px solid var(--ds-line,#e1e4e8);border-radius:14px;background:var(--ds-surface,#f7f8fa);color:var(--ds-text,#000c1f);padding:18px;font:400 16px/1.5 var(--sans,Arial,sans-serif)}
html body #contact.ds-contact-card .ds-input::placeholder{color:var(--ds-muted,#646c78);opacity:1}
html body #contact.ds-contact-card .full-width,html body #contact.ds-contact-card .form-status{grid-column:1/-1;min-width:0}
html body #contact.ds-contact-card textarea{min-height:160px;resize:vertical}
html[data-ds-theme] body #contact.ds-contact-card button[type=submit]{display:inline-flex;align-items:center;justify-content:center;grid-column:1/-1;justify-self:start;width:auto;height:auto;min-height:54px;margin-top:8px;padding:15px 27px;border:0;border-radius:999px;background:var(--ds-brand-coral);color:#fff;font:400 15px/1.6 var(--sans,Arial,sans-serif);box-shadow:0 10px 30px #df624f26;transition:background-color .2s,transform .2s,box-shadow .2s}
html[data-ds-theme] body #contact.ds-contact-card button[type=submit] span{color:inherit;font:inherit}
@media(hover:hover){html[data-ds-theme] body #contact.ds-contact-card button[type=submit]:hover{background:var(--ds-brand-coral-hover);transform:translateY(-2px);box-shadow:0 14px 32px #df624f35}}
html body #contact.ds-contact-card button[type=submit]:disabled{opacity:.65;cursor:wait;transform:none}
html body #contact.ds-contact-card .form-status{margin:0;font:400 14px/1.6 var(--sans,Arial,sans-serif);color:var(--ds-muted,#646c78)}

/* Editorial footer: generous centered navigation, original image wordmark. */
html[data-ds-theme] body footer.ds-site-footer{display:flex;flex-direction:column;align-items:center;gap:0;width:calc(100% - 96px);max-width:1280px;margin:0 auto;padding:80px 0 96px;border:0;border-top:1px solid var(--ds-line,#e1e4e8);background:transparent;color:var(--ds-text,#000c1f);text-align:center}
html body footer.ds-site-footer .ds-footer-nav{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding:0;margin:0;border:0}
html body footer.ds-site-footer .ds-footer-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:4px 8px;font:400 clamp(32px,4.5vw,58px)/1.12 var(--serif,Georgia,serif);letter-spacing:-.04em;color:var(--ds-text,#000c1f);text-decoration:none;transition:color .2s,transform .2s}
html body footer.ds-site-footer .ds-footer-nav a span{font:inherit;color:inherit;letter-spacing:inherit}
html body footer.ds-site-footer .ds-footer-nav a:hover{color:var(--ds-brand-coral);transform:translateY(-2px)}
html body footer.ds-site-footer>.brand{display:block;align-self:center;width:100%;max-width:1000px;margin:70px 0 38px;padding:0}
html body footer.ds-site-footer>.brand>.ds-brand-logo{width:100%;max-width:none}
html body footer.ds-site-footer>.brand>img.complete-logo{width:100%!important;max-width:100%!important;max-height:240px!important}
html body footer.ds-site-footer .ds-footer-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 32px;width:100%;padding-top:28px;border-top:1px solid var(--ds-line,#e1e4e8);font:400 12px/1.6 var(--sans,Arial,sans-serif);color:var(--ds-muted,#646c78)}
html body footer.ds-site-footer .ds-footer-meta small{font:inherit;color:inherit;margin:0}
html body footer.ds-site-footer .ds-footer-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 24px;font:inherit}
html body footer.ds-site-footer .ds-footer-legal a{display:inline-flex;align-items:center;min-height:44px;color:inherit}
html body footer.ds-site-footer .ds-footer-legal a:hover{color:var(--ds-brand-coral);text-decoration:underline;text-underline-offset:5px}

/* A shared heading rhythm, without fixed canvas coordinates. */
html body .ds-responsive-hero{box-sizing:border-box;width:100%;max-width:1440px;height:auto;position:relative;inset:auto;margin-inline:auto;text-align:center}
html body .ds-responsive-hero h1{font:400 clamp(48px,7vw,100px)/1.06 var(--serif,Georgia,serif);letter-spacing:-.045em;max-width:1130px;margin:24px auto 30px;overflow-wrap:normal;text-wrap:balance}
html body .ds-responsive-hero #rec-page-title{font-size:clamp(48px,7vw,100px);line-height:1.06;letter-spacing:-.045em}
html body .ds-responsive-hero .new-dek,html body .ds-responsive-hero .journal-dek{position:static;inset:auto;width:auto;height:auto;max-width:720px;margin:0 auto 28px;font:400 clamp(17px,1.8vw,23px)/1.55 var(--sans,Arial,sans-serif);color:var(--ds-muted,#646c78)}
html body .advisors>h2{margin:0 0 20px;font:400 clamp(42px,5vw,64px)/1.06 var(--serif,Georgia,serif);letter-spacing:-.04em}
html body .advisors>.advisors-intro{max-width:650px;margin:0 0 48px;font:400 18px/1.6 var(--sans,Arial,sans-serif);color:var(--ds-muted,#646c78)}
/* Main product controls and compact interface controls retain separate scales. */
html body :is(.home-rec-tabs,.product-tabs) [role=tab]{min-height:46px;padding:12px 23px;border-radius:999px;font:400 15px/1.4 var(--sans,Arial,sans-serif);white-space:nowrap}
html body :is(.product-window-tabs,.product-ui-tabs) button{min-height:36px;padding:9px 16px;font:400 12px/1.4 var(--sans,Arial,sans-serif)}

@media(max-width:900px){
 html[data-ds-theme] body #contact.ds-contact-card{grid-template-columns:1fr;gap:40px;width:calc(100% - 48px);padding:40px;margin-block:72px 88px}
 html body footer.ds-site-footer{width:calc(100% - 48px);padding-top:64px}
}
@media(max-width:600px){
 html[data-ds-theme] body #contact.ds-contact-card{width:calc(100% - 32px);padding:30px 22px;border-radius:26px;gap:32px;margin-block:56px 72px}
 html body #contact.ds-contact-card .contact-copy>h2{font-size:clamp(36px,10vw,44px);margin-bottom:24px}
 html body #contact.ds-contact-card .contact-form{grid-template-columns:1fr}
 html body #contact.ds-contact-card .ds-input{padding:16px}
 html body .ds-responsive-hero h1,html body .ds-responsive-hero #rec-page-title{font-size:clamp(42px,11.5vw,60px);letter-spacing:-.045em;line-height:1.06}
 html body .ds-responsive-hero{padding-top:45px;padding-bottom:45px}
 html body .ds-responsive-hero .new-dek,html body .ds-responsive-hero .journal-dek{font-size:17px;line-height:1.6}
 html body .advisors>.advisors-intro{font-size:16px;margin-bottom:32px}
 html body :is(.home-rec-tabs,.product-tabs) [role=tab]{padding:10px 16px;font-size:14px}
 html[data-ds-theme] body a.demo-glass-cta{min-width:184px;min-height:48px;font-size:18.4px}
 html[data-ds-theme] body footer.ds-site-footer{width:calc(100% - 48px);padding:56px 0 96px}
 html body footer.ds-site-footer>.brand{margin:48px 0 28px}
 html body footer.ds-site-footer .ds-footer-meta{flex-direction:column;gap:8px;padding-top:20px}
 html body footer.ds-site-footer .ds-footer-legal{gap:4px 16px}
}
@media(prefers-reduced-motion:reduce){html body a.demo-glass-cta,html body a.demo-glass-cta>.demo-arrow,html body #contact.ds-contact-card button,html body footer.ds-site-footer a{transition:none!important;transform:none!important}}
html body footer.ds-site-footer .ds-footer-meta{justify-content:space-between}
html body footer.ds-site-footer .ds-footer-soc{display:block;width:84px;height:84px;object-fit:contain;filter:none}
@media(max-width:600px){html body footer.ds-site-footer .ds-footer-meta{justify-content:center;gap:20px}}
