/* Hero layout: bounded type, a shared content edge, and complete phone assets. */
body:has(.reference-hero){--hero-gutter:clamp(24px,4.2vw,80px);--hero-content:1440px;background:#fffcf7;color:#031343}
.reference-header{position:absolute;inset:0 0 auto;z-index:5;background:transparent;border:0;color:#031343;padding-inline:var(--hero-gutter)}
.reference-header .navrow{display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:var(--hero-content);min-height:104px;height:auto;margin-inline:auto;padding:16px 0}
.reference-header .brand{display:block;flex:none;width:236px;height:auto;line-height:1;overflow:visible}
.reference-header .brand img{display:block;width:100%;height:auto;max-width:100%;transform:none}
.reference-header .navigation{position:static;display:flex;align-items:center;gap:36px;font-size:1rem;font-weight:400;line-height:1.4;flex-wrap:wrap;margin:0}
.reference-header .navigation>a,.reference-header .nav-features summary{display:flex;align-items:center;min-height:48px;padding:8px 0;text-decoration:none}
.reference-header .navigation a[aria-current=page]{border:0;font-weight:650;position:relative}
.reference-header .navigation a[aria-current=page]:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:3px;background:#ffb83e;border-radius:3px}
.reference-header .menu-button{display:none;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:0;font-size:26px}
.reference-hero{position:relative;isolation:isolate;width:100%;aspect-ratio:auto;overflow:clip;background:#fffcf7;color:#031343;padding:calc(var(--hero-header-height,104px) + 12px) var(--hero-gutter) 64px}
.reference-backdrop{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;pointer-events:none;z-index:-1}
.reference-layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;gap:clamp(32px,3.4vw,64px);max-width:var(--hero-content);margin-inline:auto}
.reference-copy{position:relative;left:auto;top:auto;z-index:2;width:auto;min-width:0;padding-block:24px}
.reference-eyebrow{margin:0 0 32px;font-size:.75rem;line-height:1.6;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#4d69a5}
.reference-copy h1{margin:0 0 28px;font-size:clamp(3.5rem,6.2vw,6rem);line-height:1.04;letter-spacing:-.055em;font-weight:780;color:#00103f}
.reference-copy h1>span{display:block;white-space:normal}
.reference-copy h1>span+span{margin-top:0}
.reference-copy h1 em{font-style:normal;color:#b87300}
.reference-description{max-width:33ch;margin:0;font-size:clamp(1.25rem,1.65vw,1.625rem);line-height:1.5;letter-spacing:-.02em;font-weight:400;color:#4d69a5;text-wrap:pretty}
.reference-desktop-break{display:none}
.reference-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;margin-top:36px;white-space:normal}
.reference-actions .button.gold{width:auto;min-height:64px;max-width:100%;border:0;border-radius:12px;padding:16px 28px;background:#ffb83e;color:#031343;font-size:1.25rem;line-height:1.4;font-weight:650;gap:24px;letter-spacing:-.025em;box-shadow:inset 0 0 22px #ffd37a60}
.reference-actions .button.gold:hover{background:#ffc55a}
.reference-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:8px 0;font-size:1.125rem;line-height:1.4;letter-spacing:-.025em;text-decoration:none;color:#05215a}
.reference-actions>a:hover{text-decoration:underline;text-underline-offset:5px}
.reference-arrow{display:inline-block;width:28px;height:28px;background:url('/assets/hero-reference/arrow-right.svg') center/contain no-repeat;flex:none}
.reference-actions>a .reference-arrow{width:24px;height:24px}
.reference-availability{font-size:.875rem;line-height:1.6;margin:16px 0 0;color:#54678e;letter-spacing:0;white-space:normal;max-width:42ch}
.reference-availability{display:flex;flex-wrap:wrap;gap:4px 10px}
.reference-availability span{padding:0}
.reference-age{white-space:nowrap}
.reference-phones{position:relative;inset:auto;min-width:0;width:100%;max-width:720px;padding-bottom:0;margin:0 0 0 auto;pointer-events:none}
.reference-device-window{position:relative;width:100%;aspect-ratio:820/900}
.reference-stage{position:absolute;left:0;top:0;width:1536px;height:1024px;transform-origin:0 0;pointer-events:none}
.reference-phone{display:block;position:absolute;max-width:none;filter:drop-shadow(8px 12px 7px #67441c29)}
.reference-preview-label{position:relative;inset:auto;margin:24px 0 0;text-align:center;font-size:.875rem;line-height:1.6;color:#315b9f;letter-spacing:0}
.reference-preview-label span{padding-inline:5px}
.reference-hero a:focus-visible,.reference-hero button:focus-visible,.reference-header a:focus-visible,.reference-header summary:focus-visible,.reference-header button:focus-visible{outline:3px solid #2c5896;outline-offset:5px}
@media(min-width:1600px){.reference-hero{padding-top:calc(var(--hero-header-height,104px) + 24px);padding-bottom:80px}.reference-layout{gap:64px}}
@media(min-width:901px) and (max-width:1199px){.reference-header .brand{width:208px}.reference-header .navigation{gap:28px}.reference-layout{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:32px}.reference-copy h1{font-size:clamp(3.5rem,6vw,4.5rem)}.reference-description{font-size:1.25rem}.reference-actions{gap:12px 20px;margin-top:32px}.reference-actions .button.gold{min-height:56px;font-size:1.125rem;padding:14px 24px;gap:20px}.reference-actions>a{font-size:1rem}.reference-eyebrow{margin-bottom:24px;letter-spacing:.12em}}
@media(max-width:900px){
 .reference-header .navrow{min-height:84px;gap:24px;padding-block:12px}.reference-header .brand{width:192px}.reference-header .navigation{display:none}.reference-header .menu-button{display:flex}
 .reference-hero{padding-top:calc(var(--hero-header-height,84px) + 24px);padding-bottom:64px}
 .reference-layout{grid-template-columns:minmax(0,1fr);gap:48px;max-width:680px}
 .reference-copy{padding-block:0;width:100%;margin:0}
 .reference-eyebrow{font-size:.6875rem;line-height:1.6;letter-spacing:.12em;margin-bottom:24px}
 .reference-copy h1{font-size:clamp(2.5rem,8.1vw,4rem);line-height:1.06;letter-spacing:-.05em;margin-bottom:24px}
 .reference-description{font-size:1.25rem;line-height:1.55;max-width:38ch;letter-spacing:-.015em}
 .reference-actions{margin-top:32px;gap:12px 24px}.reference-actions .button.gold{min-height:56px;font-size:1.125rem;padding:14px 24px;gap:24px}.reference-actions>a{font-size:1rem}
 .reference-phones{max-width:580px;margin-inline:auto}
}
@media(max-width:480px){
 body:has(.reference-hero){--hero-gutter:24px}
 .reference-header .brand{width:184px}.reference-layout{gap:40px}
 .reference-copy h1{font-size:clamp(2.25rem,10.8vw,3rem);line-height:1.07;letter-spacing:-.05em}
 .reference-description{font-size:1.125rem;line-height:1.55;max-width:34ch}
 .reference-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .reference-actions .button.gold{width:100%;min-height:56px}.reference-actions>a{min-height:48px;padding:10px 8px}
 .reference-availability{font-size:.875rem;line-height:1.6;text-align:center;justify-content:center;max-width:34ch;margin:16px auto 0}
 .reference-preview-label{font-size:.8125rem}
}
@media(max-width:359px){body:has(.reference-hero){--hero-gutter:20px}.reference-header .brand{width:172px}.reference-copy h1{font-size:2.25rem}.reference-eyebrow{font-size:.625rem;letter-spacing:.11em}}
@media(prefers-reduced-motion:reduce){.reference-hero *{transition:none!important;animation:none!important}}
