/* Shared top bar + navy hero, matching the home page (#carfcu-onb). Used by /federal-registration and /add-agent.
   --hero-max lets each page line the hero up with its own content width. */
.cu-top,.cu-hero{--navy:#192550;--red:#CB0015;--line:#DDE1EC;--font:"Helvetica Neue",Helvetica,Arial,sans-serif;font-family:var(--font);-webkit-font-smoothing:antialiased;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.cu-top *,.cu-hero *{box-sizing:border-box}
.cu-wrap{max-width:var(--hero-max,1040px);margin:0 auto}
.cu-top{padding-top:0;padding-bottom:0;position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.cu-top .cu-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:12px}
.cu-top img{height:38px;width:auto;display:block}
.cu-top a.help{display:inline-flex;align-items:center;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;background:var(--red);color:#fff;border-radius:10px;padding:10px 16px}
.cu-top a.help:hover{background:#a90012}
.cu-hero{background:var(--navy);color:#fff;position:relative;overflow:hidden}
.cu-hero::after{content:"";position:absolute;right:-120px;top:-140px;width:420px;height:420px;border-radius:50%;border:60px solid rgba(255,255,255,.04)}
.cu-hero .cu-wrap{position:relative;z-index:1;padding-block:48px 52px;display:grid;gap:18px}
.cu-hero .eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#C9CFE3;display:flex;align-items:center;gap:10px}
.cu-hero .eyebrow::before{content:"";width:28px;height:3px;background:var(--red);border-radius:2px}
.cu-hero h1{color:#fff;margin:0;font-size:clamp(30px,5.4vw,52px);line-height:1.05;font-weight:800;max-width:16ch;letter-spacing:-.01em;text-wrap:balance;font-family:var(--font)}
.cu-hero h1 em{font-style:normal;color:#fff;background:linear-gradient(transparent 62%,rgba(203,0,21,.75) 62%)}
.cu-hero .lede{margin:0;max-width:56ch;font-size:18px;line-height:1.6;color:#DCE0EE}
.cu-hero .ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.cu-hero .btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;text-decoration:none;border-radius:10px;padding:12px 18px;border:0;cursor:pointer;font-family:inherit;margin:0}
.cu-hero .btn.red{background:var(--red);color:#fff}
.cu-hero .btn.red:hover{background:#a90012}
.cu-hero .btn.ghost{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35)}
.cu-hero .btn.ghost:hover{background:rgba(255,255,255,.18)}
.cu-hero .dl{width:22px;height:22px;border-radius:50%;background:#fff;display:inline-grid;place-items:center}
.cu-hero .dl::before{content:"";width:7px;height:7px;border:solid var(--red);border-width:0 2.5px 2.5px 0;transform:rotate(45deg);margin-top:-3px}
@media (max-width:560px){.cu-hero .cu-wrap{padding-block:36px 40px}.cu-top a.help{padding:9px 12px;font-size:13px}.cu-top img{height:32px}}
/* Two-column hero (text left, video right); stacks on small screens. */
.cu-hero.split .cu-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:40px}
.cu-hero.split .hero-text{display:grid;gap:18px}
.cu-hero.split h1{font-size:clamp(30px,4.4vw,46px)}
.cu-hero .hero-video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#0f1838;box-shadow:0 18px 40px rgba(0,0,0,.35)}
@media (max-width:860px){.cu-hero.split .cu-wrap{grid-template-columns:1fr;gap:24px}}
/* Hero with the video overlapping its bottom edge (federal registration). */
.cu-hero.overlap .cu-wrap{padding-bottom:150px}
.cu-hero .hero-text{display:grid;gap:18px}
.overlap-video{position:relative;z-index:2;display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#0f1838;box-shadow:0 18px 40px rgba(25,37,80,.35);margin:-118px 0 8px}
@media (max-width:560px){.cu-hero.overlap .cu-wrap{padding-bottom:96px}.overlap-video{margin-top:-70px}}
/* Top bar always matches the home page width, so the logo and help button sit in the same place on every page. */
.cu-top .cu-wrap{max-width:1040px}
