:root{
  --ink:#173b53; --ink2:#294f67; --muted:#698091; --line:#d8e2e7;
  --paper:#fbfaf8; --blue:#eaf2f6; --blue2:#dbe9f0; --cream:#f7efe4; --blush:#f6e9e5; --sage:#eef3e8;
  --shadow:0 14px 35px rgba(23,59,83,.08); --radius:18px; --max:1180px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit} img{max-width:100%;display:block}.serif,h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,250,248,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(216,226,231,.72)}
.navbar{height:88px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;flex:0 0 240px}.brand img{width:225px;height:auto}.navlinks{display:flex;align-items:center;justify-content:center;gap:20px;flex:1}.navlinks a{font-size:11px;text-transform:uppercase;letter-spacing:.055em;text-decoration:none;padding:10px 0;border-bottom:1px solid transparent;white-space:nowrap}.navlinks a:hover,.navlinks a.active{border-color:#78a1ba}.nav-cta,.btn.primary{background:var(--ink);color:white}.nav-cta{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;text-decoration:none;border-radius:999px;padding:11px 17px}.menu-btn{display:none;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 10px;font-size:22px;color:var(--ink)}
.hero{min-height:515px;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:70px 20px 150px}.hero::after,.wave-footer::after{content:"";position:absolute;left:0;right:0;bottom:0;height:165px;background:url('assets/waves.png') center bottom/cover no-repeat;opacity:.95}.hero-inner{position:relative;z-index:1;max-width:720px}.hero h1{font-size:64px;line-height:.98;margin:0 0 22px}.hero .lead{font-size:18px;margin:0 0 8px}.hero .sub{font-size:14px;max-width:510px;margin:0 auto 24px;color:#233f52}.button-row{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 20px;border-radius:8px;border:1px solid var(--ink);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;background:white;cursor:pointer}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(23,59,83,.11)}
.section{padding:68px 0}.section.compact{padding:45px 0}.eyebrow{text-align:center;text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:700;margin-bottom:28px}.grid{display:grid;gap:18px}.cards-3{grid-template-columns:repeat(3,1fr)}.cards-4{grid-template-columns:repeat(4,1fr)}.card{background:rgba(255,255,255,.56);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 1px 0 rgba(255,255,255,.7) inset}.link-card{text-align:center;text-decoration:none;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s}.link-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);background:white}.icon{width:44px;height:44px;margin:0 auto 12px;color:#315f7a}.icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.link-card h3{font-size:20px;margin:3px 0 7px}.link-card p{font-size:13px;line-height:1.45;margin:0;color:#304b5d}.reassure{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--blue),#f7fbfc);text-align:center;padding:40px 20px 90px}.reassure::after{content:"";position:absolute;left:0;right:0;bottom:-55px;height:110px;background:url('assets/waves.png') center/cover no-repeat;opacity:.55}.reassure .smallcaps{font-size:11px;letter-spacing:.24em;text-transform:uppercase}.tiny-heart{font-size:24px;color:#7195aa;margin-top:8px}
.page-hero{text-align:center;padding:44px 20px 30px}.page-hero h1{font-size:48px;margin:0 0 7px}.page-hero h1::after{content:"";display:block;width:34px;border-top:1px solid #6b94ad;margin:12px auto 0}.page-hero p{font-size:13px;margin:7px auto 0;max-width:620px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0 24px}
.selector{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;text-align:center}.select-item{background:transparent;border:0;color:var(--ink);font:inherit;cursor:pointer;padding:0}.circle-icon{width:72px;height:72px;border:1px solid #b9cbd5;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:rgba(255,255,255,.55)}.select-item:hover .circle-icon,.select-item.active .circle-icon{background:var(--blue)}.select-item span{font-size:11px;line-height:1.2;display:block}.accordion{max-width:860px;margin:auto}.acc-row{border:1px solid var(--line);background:white;border-radius:8px;margin:7px 0;overflow:hidden}.acc-btn{width:100%;background:transparent;border:0;padding:11px 14px;text-align:left;color:var(--ink);display:flex;justify-content:space-between;gap:14px;cursor:pointer}.acc-panel{display:none;padding:0 14px 13px;font-size:13px;color:#496071}.acc-row.open .acc-panel{display:block}.cta-panel{max-width:820px;margin:25px auto 0;text-align:center;background:linear-gradient(90deg,#edf4f7,#dce9ef);border:1px solid #cedce3;border-radius:13px;padding:24px}.cta-panel h3{font-size:19px;margin:0 0 4px}.cta-panel p{font-size:13px;margin:0 0 14px}
.topic-tabs{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:12px}.topic-tab{border:0;background:transparent;padding:10px 17px;cursor:pointer;color:var(--ink);font-size:12px;border-radius:10px}.topic-tab.active{background:var(--blue);border:1px solid #cadbe4}.spectrum{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden}.spectrum-col{padding:30px 25px;text-align:center;min-height:350px}.spectrum-col+ .spectrum-col{border-left:1px solid var(--line)}.healthy{background:var(--sage)}.unhealthy{background:var(--cream)}.abusive{background:var(--blush)}.spectrum-col h3{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:14px;letter-spacing:.06em}.spectrum-col .icon{margin:14px auto 10px}.spectrum-col strong{display:block;font-size:12px;margin-top:18px}.spectrum-col p{font-size:13px;max-width:220px;margin:5px auto}.soft-note{max-width:760px;margin:24px auto 0;text-align:center;background:linear-gradient(90deg,#eef4f7,#e0ebf0);border:1px solid #d4e0e5;border-radius:13px;padding:20px;font-size:13px}.wave-footer{position:relative;min-height:110px}
.help-grid .card{padding:18px 11px;min-height:135px;text-align:center}.help-grid .card p{font-size:11px;line-height:1.35;margin:4px 0}.help-grid .icon{width:38px;height:38px}.resource-row{display:grid;grid-template-columns:180px 1fr;gap:18px;margin-top:18px}.resource-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.resource-card h3{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;letter-spacing:.05em}.resource-card p{font-size:12px;max-width:520px}.emergency{display:flex;align-items:center;gap:18px;margin-top:18px;background:linear-gradient(90deg,#d8e8f0,#cbdfea);border:1px solid #bfd2dc;border-radius:13px;padding:18px}.emergency .icon{margin:0;width:46px;height:46px}.emergency strong{font-size:12px;letter-spacing:.05em}.emergency p{font-size:12px;margin:3px 0 0}
.friend-two{display:grid;grid-template-columns:1fr 1fr;gap:28px}.friend-box{padding:25px 32px}.friend-box.good{background:linear-gradient(90deg,#f4f7ef,#fff)}.friend-box.bad{background:linear-gradient(90deg,#fff,#fbefec)}.friend-box h3{text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:13px}.checklist{list-style:none;padding:0;margin:12px 0 0}.checklist li{font-size:13px;margin:10px 0;padding-left:24px;position:relative}.checklist li::before{position:absolute;left:0;font-weight:700}.good .checklist li::before{content:'✓';color:#2d7350}.bad .checklist li::before{content:'×';color:#a43c3c}.speech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.speech{background:var(--blue2);border-radius:12px;padding:18px;text-align:center;min-height:85px;display:grid;place-items:center;position:relative;font-size:13px}.speech::after{content:"";position:absolute;bottom:-11px;left:45%;border:12px solid transparent;border-top-color:var(--blue2);border-bottom:0}
.tool-tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.tool-tab{padding:10px 20px;border:0;border-right:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}.tool-tab.active{background:#dfeef5;border:1px solid #c9dce5;border-radius:8px}.tools-panel{display:grid;grid-template-columns:1.15fr .85fr;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white}.tool-main{padding:32px 42px;text-align:center;border-right:1px solid var(--line)}.tool-main h2{font-size:29px;margin:4px 0}.tool-main p{font-size:13px}.tool-steps{text-align:left;max-width:520px;margin:20px auto;font-size:13px}.tool-side{padding:30px}.tool-side h3{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;letter-spacing:.08em}.tool-list button{width:100%;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:7px 0;text-align:left;color:var(--ink);display:flex;justify-content:space-between;cursor:pointer}.breath-dot{width:118px;height:64px;margin:0 auto 5px;display:grid;place-items:center;font-family:Georgia,serif;font-size:36px;color:#7598ac}.breathing.active .breath-dot{animation:breathe 19s infinite ease-in-out}@keyframes breathe{0%,100%{transform:scale(.75);opacity:.65}21%{transform:scale(1.14);opacity:1}58%{transform:scale(1.14)}100%{transform:scale(.75)}}
.story-grid{display:grid;grid-template-columns:1fr .72fr;gap:55px;align-items:center}.story-copy p{font-size:14px;margin:0 0 18px}.photo-wrap{position:relative}.story-photo{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 45%;border:6px solid white;box-shadow:var(--shadow)}.tape{position:absolute;width:72px;height:25px;background:rgba(228,208,172,.7);top:-7px;right:-18px;transform:rotate(39deg)}.mission-band{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:linear-gradient(90deg,#e7f0f4,#d8e8f0);border:1px solid #cddde5;border-radius:15px;padding:30px 26px;text-align:center;margin-top:35px}.mission-band h3{font-size:18px;margin:4px}.mission-band p{font-size:12px;max-width:260px;margin:auto}.mission-band .icon{width:42px;height:42px}
.footer{padding:28px 20px;text-align:center;font-size:11px;color:#6c8190}.footer a{margin:0 7px}
@media(max-width:1000px){.navbar{height:76px}.brand{flex:1}.brand img{width:205px}.menu-btn{display:block}.navlinks{display:none;position:absolute;left:20px;right:20px;top:76px;background:var(--paper);padding:16px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.navlinks.open{display:flex}.navlinks a{text-align:center}.nav-cta{display:none}.hero h1{font-size:54px}.cards-4{grid-template-columns:repeat(2,1fr)}.selector{grid-template-columns:repeat(3,1fr)}.story-grid{gap:30px}}
@media(max-width:720px){.wrap{width:min(100% - 28px,var(--max))}.section{padding:48px 0}.hero{min-height:540px;padding-top:55px}.hero h1{font-size:46px}.hero .lead{font-size:16px}.cards-3,.cards-4,.friend-two,.story-grid,.resource-row,.tools-panel,.mission-band{grid-template-columns:1fr}.link-card{min-height:155px}.selector{grid-template-columns:repeat(2,1fr)}.spectrum{grid-template-columns:1fr}.spectrum-col+.spectrum-col{border-left:0;border-top:1px solid var(--line)}.speech-grid{grid-template-columns:1fr 1fr}.resource-card{align-items:flex-start}.tool-main{border-right:0;border-bottom:1px solid var(--line);padding:28px 20px}.page-hero h1{font-size:39px}.mission-band{gap:28px}.brand img{width:190px}}
@media(max-width:480px){.speech-grid{grid-template-columns:1fr}.hero h1{font-size:41px}.navbar{gap:8px}.brand img{width:175px}.card{padding:21px}.spectrum-col{padding:25px 16px}.friend-box{padding:22px}.button-row .btn{width:100%;max-width:300px}}

/* Safety/resource and accessibility additions */
.skip-link{position:fixed;left:14px;top:10px;z-index:9999;background:#fff;color:#173b53;border:2px solid #173b53;border-radius:6px;padding:9px 12px;transform:translateY(-160%);transition:transform .15s;text-decoration:none;font-weight:700}
.skip-link:focus{transform:translateY(0)}
a:focus-visible,button:focus-visible{outline:3px solid #0b6fa4;outline-offset:3px;border-radius:5px}
[aria-current="page"]{font-weight:700}
.page-note{max-width:680px!important;margin-top:14px!important}
.resource-start{margin-bottom:34px}.urgent-card{background:#f8ece8}
.resource-section{max-width:900px;margin:42px auto 0}.resource-section>h2{font-size:29px;text-align:center;margin:0 0 10px}.resource-section>p{text-align:center;max-width:760px;margin:0 auto 20px;font-size:14px}.resource-list{display:grid;gap:14px}.resource-item{background:rgba(255,255,255,.66);border:1px solid var(--line);border-radius:13px;padding:22px 24px}.resource-item h3{font-size:20px;margin:0 0 5px}.resource-item p{font-size:13px;margin:0 0 14px}.resource-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.resource-actions .btn{font-size:10px}.text-link{font-size:12px;font-weight:700}.resource-review{text-align:center;color:#657c8b;font-size:11px;margin:16px auto 0}.prose-page{max-width:820px}.prose-page h2{font-size:28px;margin:32px 0 8px}.prose-page h2:first-child{margin-top:0}.prose-page p{font-size:14px}.footer p{max-width:820px;margin:10px auto 0;line-height:1.5}
@media(max-width:720px){.resource-actions{align-items:stretch}.resource-actions .btn{width:100%;max-width:none}.resource-start{grid-template-columns:1fr!important}.resource-item{padding:20px}.resource-section>h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Merged safety review: preserve the original Get Help layout, append verified resources below it. */
.visual-preserve-resources{margin-top:46px;padding-top:32px;border-top:1px solid var(--line)}
.visual-preserve-resources .resource-intro{text-align:center;max-width:700px;margin:0 auto 20px;font-size:13px}

/* Am I Safe? relationship selector expansion */
.relationship-selector{margin-bottom:30px}
.circle-icon .icon{width:38px;height:38px;margin:0;display:grid;place-items:center}
.circle-icon .icon svg{display:block;width:100%;height:100%}
.relationship-trigger{border-radius:12px;padding:8px 5px 10px;transition:background .18s ease,transform .18s ease}
.relationship-trigger:hover,.relationship-trigger:focus-visible{background:rgba(234,242,246,.55)}
.relationship-trigger.active{background:rgba(234,242,246,.8)}
.relationship-trigger.active .circle-icon{background:var(--blue2);border-color:#8fb0c2;box-shadow:0 0 0 4px rgba(219,233,240,.5)}
.relationship-panels{max-width:1080px;margin:0 auto}
.relationship-panel{margin:10px 0 34px;padding:30px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.62);box-shadow:var(--shadow)}
.relationship-panel[hidden]{display:none}
.relationship-panel-head{display:flex;align-items:center;gap:15px;margin-bottom:22px}
.relationship-panel-head>.icon{width:48px;height:48px;margin:0;flex:0 0 48px}
.relationship-panel-head .eyebrow.left{text-align:left;margin:0 0 5px}
.relationship-panel-head h2{font-size:27px;line-height:1.2;margin:0}
.relationship-intro{margin:-8px 0 22px 63px;color:#536b79;font-size:13px}
.relationship-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.relationship-grid.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}
.relationship-card{border:1px solid var(--line);border-radius:14px;padding:22px;background:white;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.relationship-card h3{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;letter-spacing:.02em;margin:0 0 7px}
.relationship-card p{font-size:13px;margin:0;color:#3f5969}
.relationship-card ul{font-size:13px;margin:10px 0 0;padding-left:19px}
.relationship-card li+li{margin-top:5px}
.healthy-card{background:var(--sage)}
.attention-card{background:var(--cream)}
.abusive-card{background:var(--blush)}
.ask-card{background:var(--blue)}
.detail-reveal{max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .35s ease,opacity .22s ease,transform .22s ease;margin-top:0}
.relationship-card:hover .detail-reveal,.relationship-card:focus-within .detail-reveal{max-height:420px;opacity:1;transform:translateY(0);margin-top:13px}
.detail-reveal strong{font-size:11px;text-transform:uppercase;letter-spacing:.11em}
.unsure-panel{background:linear-gradient(135deg,#f4f8fa,#e7f0f4)}
.unsure-copy{max-width:760px;margin:0 auto;text-align:center}
.unsure-copy p{font-size:14px;margin:0 auto 20px}
.safe-bottom-cta{margin-top:40px;padding:30px 25px}
.safe-bottom-cta .eyebrow{margin-bottom:9px}
.safe-bottom-cta h3{font-size:24px;line-height:1.25;max-width:720px;margin:0 auto 8px}
.safe-bottom-cta p{margin-bottom:16px}
@media(max-width:900px){.relationship-grid.three-up{grid-template-columns:1fr}.relationship-panel{padding:24px}.relationship-intro{margin-left:0}.detail-reveal{max-height:none;opacity:1;transform:none;margin-top:13px}}
@media(max-width:720px){.relationship-grid{grid-template-columns:1fr}.relationship-panel{padding:20px 16px}.relationship-panel-head{align-items:flex-start}.relationship-panel-head h2{font-size:23px}.safe-bottom-cta h3{font-size:21px}}

/* Healthy vs. Unhealthy — expanded interactive page */
.healthy-page{max-width:1040px}.healthy-topic-tabs{max-width:980px;margin:0 auto 22px}.healthy-topic-tabs .topic-tab{border:1px solid transparent}.healthy-topic-tabs .topic-tab:hover{background:#f1f6f8}.healthy-topic-tabs .topic-tab:focus-visible{outline:3px solid #8ab2c8;outline-offset:2px}.topic-intro{text-align:center;max-width:700px;margin:0 auto 24px}.topic-intro h2{font-size:27px;margin:0 0 5px}.topic-intro p{font-size:14px;margin:0;color:#425e6f}.detailed-spectrum .spectrum-col{min-height:390px}.spectrum-label{text-transform:uppercase;letter-spacing:.09em;font-weight:700;font-size:10px!important;color:#5c7180;margin-top:15px!important}.spectrum-details{border-top:1px solid rgba(23,59,83,.12);margin:18px auto 0;padding-top:14px;max-width:250px;text-align:left}.spectrum-details strong{margin:0 0 7px;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.spectrum-details ul{margin:0;padding-left:18px;font-size:12px;line-height:1.5}.spectrum-details li+li{margin-top:5px}.spectrum-note{max-width:790px;text-align:center;margin:18px auto 0;font-size:12px;color:#425d6d}.reflection-card{margin:28px auto 0;border:1px solid #cbdce4;border-radius:16px;background:linear-gradient(120deg,#eef5f7,#e0ecf1);padding:26px 30px;display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:center}.reflection-card .eyebrow{text-align:left;margin:0 0 7px;font-size:10px}.reflection-card h2{font-size:24px;line-height:1.2;margin:0}.reflection-card ul{margin:0;padding-left:20px;font-size:13px}.reflection-card li+li{margin-top:6px}.healthy-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}.source-note{max-width:820px;margin:0 auto;text-align:center;font-size:11px;line-height:1.6;color:#607582}.source-note a{text-underline-offset:3px}.source-note a:hover{text-decoration-thickness:2px}
@media(max-width:760px){.reflection-card{grid-template-columns:1fr;gap:16px;padding:22px}.reflection-card .eyebrow{text-align:center}.reflection-card h2{text-align:center}.healthy-topic-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.healthy-topic-tabs .topic-tab{width:100%}.detailed-spectrum{grid-template-columns:1fr}.detailed-spectrum .spectrum-col{min-height:0}.detailed-spectrum .spectrum-col+.spectrum-col{border-left:0;border-top:1px solid var(--line)}}

/* Healthy vs. Unhealthy footer spacing fix */
body[data-page="healthy"] .section.compact{padding-bottom:72px}
body[data-page="healthy"] .source-note{
  position:relative;
  z-index:2;
  margin:0 auto;
  padding:8px 24px 28px;
  min-height:64px;
  background:var(--paper);
}
body[data-page="healthy"] .wave-footer{
  margin-top:0;
  min-height:150px;
  overflow:hidden;
}
@media(max-width:760px){
  body[data-page="healthy"] .section.compact{padding-bottom:56px}
  body[data-page="healthy"] .source-note{padding:8px 16px 24px;min-height:82px}
  body[data-page="healthy"] .wave-footer{min-height:120px}
}


/* Get Help — interactive support pathways */
.help-page{max-width:1080px}
.help-choice-intro{text-align:center;max-width:650px;margin:-3px auto 24px;font-size:13px;color:#536b79}
.help-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.help-choice{appearance:none;border:1px solid var(--line);background:rgba(255,255,255,.7);border-radius:13px;min-height:150px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--ink);font:600 12px/1.35 Arial,Helvetica,sans-serif;text-align:center;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.help-choice:hover,.help-choice:focus-visible{background:#f2f7f9;border-color:#a9c2cf;transform:translateY(-2px)}
.help-choice[aria-expanded="true"]{background:#e8f1f5;border-color:#89aabd;box-shadow:0 5px 18px rgba(35,72,91,.09)}
.help-choice.urgent-choice[aria-expanded="true"]{background:#f7ece8;border-color:#d8bdb5}
.help-choice-icon{width:58px;height:58px;border:1px solid #b9ccd6;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.72)}
.help-choice-icon .icon{width:31px;height:31px;margin:0;display:grid;place-items:center}
.help-choice-icon svg{width:100%;height:100%;display:block}
.help-detail-panels{max-width:1000px;margin:0 auto 28px}
.help-detail{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.72);padding:30px;box-shadow:var(--shadow);margin-bottom:28px}
.help-detail[hidden]{display:none}
.help-detail.urgent-detail{background:linear-gradient(135deg,#fffafa,#f7ebe7)}
.help-detail.unsure-help-detail{background:linear-gradient(135deg,#f8fbfc,#eaf2f5)}
.help-detail-head{display:flex;gap:15px;align-items:flex-start;margin-bottom:22px}
.help-detail-head>.icon{width:48px;height:48px;flex:0 0 48px;margin:0}
.help-detail-head .eyebrow.left{text-align:left;margin:1px 0 5px}
.help-detail-head h2{font-size:25px;line-height:1.22;margin:0;max-width:720px}
.help-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.help-info-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:21px 22px}
.help-info-card h3{font-family:Arial,Helvetica,sans-serif;font-size:13px;letter-spacing:.025em;margin:0 0 9px}
.help-info-card p,.help-info-card li{font-size:13px;line-height:1.55}
.help-info-card p{margin:0 0 12px}
.help-info-card ul{margin:0;padding-left:19px}
.help-info-card li+li{margin-top:6px}
.help-info-card .resource-actions{margin-top:14px}
.mini-note{font-size:11px!important;color:#657b88;margin-top:12px!important}
.washington-callout{margin:34px 0 14px;border:1px solid #bfd4df;border-radius:16px;background:linear-gradient(120deg,#eef5f7,#dcebf1);padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.washington-callout .eyebrow.left{text-align:left;margin:0 0 5px}
.washington-callout h2{font-size:24px;line-height:1.2;margin:0 0 7px}
.washington-callout p{font-size:13px;max-width:690px;margin:0}
.washington-callout .btn{flex:0 0 auto}
.compact-resource-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.compact-resource-list .resource-item:last-child:nth-child(odd){grid-column:1/-1}
.help-bottom-cta{margin:38px 0 0;border:1px solid #c9dce5;border-radius:16px;background:linear-gradient(120deg,#eef5f7,#dfecef);padding:25px 28px;display:flex;align-items:center;gap:18px}
.help-bottom-cta>.icon{width:48px;height:48px;flex:0 0 48px;margin:0}
.help-bottom-cta .eyebrow.left{text-align:left;margin:0 0 4px}
.help-bottom-cta h2{font-size:23px;line-height:1.2;margin:0 0 4px}
.help-bottom-cta p{font-size:13px;margin:0}
body[data-page="help"] .section.compact{padding-bottom:72px}
@media(max-width:900px){.help-choice-grid{grid-template-columns:repeat(3,1fr)}.help-detail{padding:24px}.compact-resource-list{grid-template-columns:1fr}.compact-resource-list .resource-item:last-child:nth-child(odd){grid-column:auto}}
@media(max-width:720px){.help-choice-grid{grid-template-columns:repeat(2,1fr)}.help-choice{min-height:135px;padding:15px 9px}.help-detail-grid{grid-template-columns:1fr}.help-detail{padding:20px 16px}.help-detail-head h2{font-size:22px}.washington-callout{flex-direction:column;align-items:flex-start;padding:22px}.washington-callout .btn{width:100%}.help-bottom-cta{align-items:flex-start;padding:22px}.help-bottom-cta h2{font-size:20px}}
@media(max-width:440px){.help-choice-grid{grid-template-columns:1fr}.help-choice{min-height:110px;flex-direction:row;justify-content:flex-start;text-align:left;padding:14px 18px}.help-choice-icon{width:48px;height:48px;flex:0 0 48px}.help-choice-icon .icon{width:27px;height:27px}}

/* Help a Friend — interactive update */
.friend-page,.tools-page{max-width:1120px}.friend-intro,.tools-intro{max-width:760px;margin:-14px auto 30px;text-align:center;color:#506879;font-size:14px}
.friend-choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 auto 28px}.friend-choice{appearance:none;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.62);color:var(--ink);padding:22px 12px 18px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:.2s}.friend-choice:hover,.friend-choice[aria-expanded="true"]{background:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow)}.friend-choice-icon{width:62px;height:62px;border:1px solid #b9cbd5;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.7)}.friend-choice-icon .icon{width:34px;height:34px;margin:0}.friend-detail{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.68);padding:28px;margin:20px 0 34px}.friend-detail[hidden]{display:none}.friend-detail-head{display:flex;align-items:center;gap:17px;margin-bottom:22px}.friend-detail-head>.icon{width:48px;height:48px;margin:0;flex:0 0 auto}.friend-detail-head h2{font-size:30px;margin:0}.eyebrow.left{text-align:left;margin-bottom:5px}.friend-tip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.friend-tip{border:1px solid var(--line);border-radius:14px;padding:20px;background:white}.friend-tip>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--blue);font-weight:700;font-size:12px;margin-bottom:12px}.friend-tip h3{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;margin:0 0 8px}.friend-tip p{font-size:12px;margin:0;color:#506879}.friend-say-section{padding:22px 0 14px}.friend-say-intro{text-align:center;font-size:13px;color:#506879;margin:-15px 0 26px}.friend-bottom-cta,.tools-bottom-note{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin-top:42px;background:linear-gradient(90deg,#eaf3f7,#dceaf0);border:1px solid #cfdee5;border-radius:16px;padding:24px 28px}.friend-bottom-cta>.icon,.tools-bottom-note>.icon{width:50px;height:50px;margin:0}.friend-bottom-cta h2,.tools-bottom-note h2{font-size:25px;margin:0 0 4px}.friend-bottom-cta p,.tools-bottom-note p{font-size:13px;margin:0;color:#415d6f}.source-note{font-size:11px;color:#667d8c;text-align:center;max-width:850px;margin:28px auto 0}.source-note a{text-underline-offset:3px}

/* Tools — interactive update */
.tools-workspace{display:grid;grid-template-columns:310px 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white;min-height:480px}.tool-picker{padding:26px 20px;background:linear-gradient(180deg,#f4f8fa,#fbfaf8);border-right:1px solid var(--line)}.tool-picker-label{text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:700;margin:0 8px 12px}.tool-picker .tool-list button{background:rgba(255,255,255,.75);transition:.16s}.tool-picker .tool-list button.active{background:var(--blue2);border-color:#bcd1dc;font-weight:700}.tool-detail-card{padding:42px 52px;text-align:center}.tool-detail-icon{width:76px;height:76px;border:1px solid #c5d6df;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#f8fbfc}.tool-detail-icon .icon{width:42px;height:42px;margin:0}.tool-detail-card h2{font-size:34px;margin:2px 0 10px}.tool-summary{font-size:14px;max-width:620px;margin:0 auto;color:#405c6d}.tool-detail-card .tool-steps{max-width:620px;margin:24px auto 0}.tool-detail-card .tool-steps li{padding-left:5px;margin:10px 0}.tool-extra-card{margin:24px auto 0;max-width:620px;text-align:left;background:var(--blue);border:1px solid #d0dfe6;border-radius:13px;padding:18px 20px}.tool-extra-card h3{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;margin:0 0 7px;text-transform:uppercase;letter-spacing:.08em}.tool-extra-card p{font-size:13px;margin:0}.tool-prompt-list{display:grid;gap:8px;margin-top:10px}.tool-prompt{border-left:3px solid #aac5d4;padding:8px 12px;background:rgba(255,255,255,.65);font-size:13px}.tool-breathe-control{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:22px}.breath-visual{width:92px;height:92px;border:1px solid #9cb8c8;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;background:var(--blue);transition:transform 5s ease-in-out}.breath-visual.active{animation:slowBreath 10s ease-in-out infinite}@keyframes slowBreath{0%,100%{transform:scale(.78)}50%{transform:scale(1.08)}}.tool-quick-check{margin-top:38px;background:linear-gradient(90deg,#f2f7f9,#e6f0f4);border:1px solid #d5e2e8;border-radius:16px;padding:25px}.tool-quick-check>div:first-child{display:flex;align-items:end;justify-content:space-between;gap:20px}.tool-quick-check h2{font-size:26px;margin:0}.quick-check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.quick-check{border:1px solid #cadbe4;border-radius:12px;background:rgba(255,255,255,.75);color:var(--ink);padding:15px 10px;min-height:100px;cursor:pointer;font:inherit;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.quick-check:hover{background:white;box-shadow:0 8px 22px rgba(23,59,83,.08)}.quick-check .icon{width:32px;height:32px;margin:0 0 7px}.tools-bottom-note{margin-top:28px}

@media (max-width:900px){.friend-choice-grid,.friend-tip-grid,.quick-check-grid{grid-template-columns:repeat(2,1fr)}.tools-workspace{grid-template-columns:1fr}.tool-picker{border-right:0;border-bottom:1px solid var(--line)}.tool-picker .tool-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.tool-picker .tool-list button{margin:0}.friend-bottom-cta,.tools-bottom-note{grid-template-columns:auto 1fr}.friend-bottom-cta .btn,.tools-bottom-note .btn{grid-column:1/-1;justify-self:center}}
@media (max-width:650px){.friend-choice-grid,.friend-tip-grid,.quick-check-grid{grid-template-columns:1fr 1fr}.friend-choice{min-height:125px;padding:16px 8px}.friend-choice-icon{width:54px;height:54px}.friend-detail{padding:20px 16px}.friend-detail-head{align-items:flex-start}.friend-detail-head h2{font-size:25px}.friend-two{grid-template-columns:1fr}.speech-grid{grid-template-columns:1fr 1fr}.tool-detail-card{padding:30px 18px}.tool-detail-card h2{font-size:29px}.tool-picker .tool-list{grid-template-columns:1fr}.friend-bottom-cta,.tools-bottom-note{grid-template-columns:1fr;text-align:center}.friend-bottom-cta>.icon,.tools-bottom-note>.icon{margin:auto}.eyebrow.left{text-align:center}.source-note{padding:0 10px}}
@media (max-width:430px){.friend-choice-grid,.quick-check-grid,.speech-grid{grid-template-columns:1fr}.friend-choice{min-height:112px}.tool-tabs{display:grid;grid-template-columns:1fr 1fr}.tool-tab{border-right:0;border:1px solid transparent}.tool-breathe-control{flex-direction:column}}

/* My Story — expanded narrative */
.story-copy .story-kicker{font-family:Georgia,'Times New Roman',serif;font-size:25px;line-height:1.3;color:var(--navy);margin:0 0 18px}.story-copy .story-emphasis{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.45;color:var(--navy);border-left:3px solid #a8c2d1;padding-left:18px;margin:24px 0}.story-section{margin-top:42px;max-width:850px}.story-section h2{font-size:30px;margin-bottom:14px}.story-section p{font-size:14px;line-height:1.8;margin:0 0 15px}.story-closing{margin-top:42px;background:linear-gradient(135deg,#e9f2f6,#dcebf2);border:1px solid #cadce5;border-radius:16px;padding:34px;text-align:center}.story-closing h2{font-size:30px;margin:0 0 12px}.story-closing p{max-width:720px;margin:0 auto 22px;line-height:1.75}.story-closing .actions{justify-content:center}.story-privacy-note{font-size:11px;color:#657984;text-align:center;max-width:700px;margin:20px auto 0;line-height:1.6}


/* My Story — new portrait photo framing */
@media(max-width:720px){.photo-wrap{max-width:430px;margin:0 auto}.story-photo{aspect-ratio:3/4;object-position:50% 43%}}


/* Am I Safe — center icons inside relationship circles */
.relationship-selector .circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.relationship-selector .circle-icon .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
}

.relationship-selector .circle-icon .icon svg {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0;
}

/* Keep source notes above waves on Help a Friend and Tools */
body[data-page="friend"] .source-note,
body[data-page="tools"] .source-note {
  position: relative;
  z-index: 2;
  margin: 28px auto 0;
  padding: 0 20px 36px;
  min-height: 70px;
}

body[data-page="friend"] .wave-footer,
body[data-page="tools"] .wave-footer {
  position: relative;
  z-index: 1;
  min-height: 150px;
  margin-top: 0;
}

@media (max-width: 650px) {
  body[data-page="friend"] .source-note,
  body[data-page="tools"] .source-note {
    padding: 0 16px 40px;
    min-height: 80px;
  }
}


/* =========================================
   PROJECT CADENCE — QUICK EXIT
   ========================================= */

.quick-exit {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 11px 17px;

  border: 0;
  border-radius: 8px;

  background: #173b53;
  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;

  cursor: pointer;

  box-shadow: 0 3px 12px rgba(23, 59, 83, 0.18);
}

.quick-exit:hover {
  background: #102f43;
}

.quick-exit:focus-visible {
  outline: 3px solid #8eb4c8;
  outline-offset: 3px;
}

.quick-exit-arrow {
  font-size: 17px;
  line-height: 1;
}

/* Slightly smaller on phones */
@media (max-width: 650px) {
  .quick-exit {
    top: 10px;
    right: 10px;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .quick-exit-arrow {
    font-size: 15px;
  }
}

/* My Story — clean spacing and photo framing */
body[data-page="story"] .story-grid {
  align-items: start;
  margin-bottom: 30px;
}

body[data-page="story"] .photo-wrap {
  height: 440px;
  overflow: hidden;
}

body[data-page="story"] .story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

body[data-page="story"] .story-section {
  position: static;
  z-index: auto;
  max-width: 850px;
  margin-top: 34px;
}

body[data-page="story"] .mission-band {
  max-width: 100%;
  margin-top: 42px;
}

body[data-page="story"] .story-privacy-note {
  margin-top: 24px;
}

@media (max-width: 800px) {
  body[data-page="story"] .story-grid {
    margin-bottom: 22px;
  }

  body[data-page="story"] .photo-wrap {
    height: 420px;
  }

  body[data-page="story"] .story-section {
    max-width: 100%;
    margin-top: 28px;
  }
}

/* =========================================
   MY STORY — FINAL LAYOUT
   ========================================= */

body[data-page="story"] .story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 55px;
  align-items: start;
  margin-bottom: 42px;
}

/* Remove any old negative-margin behavior */
body[data-page="story"] .story-grid {
  margin-bottom: 42px !important;
}

body[data-page="story"] .story-copy {
  padding-top: 18px;
}

body[data-page="story"] .story-copy p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}

body[data-page="story"] .story-copy .story-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.3;
  margin-bottom: 22px;
}

body[data-page="story"] .story-section-inline {
  margin-top: 42px;
  max-width: none;
}

body[data-page="story"] .story-section-inline h2 {
  font-size: 31px;
  margin: 0 0 18px;
}

body[data-page="story"] .story-section-inline p {
  margin-bottom: 0;
}

/* Photo */
body[data-page="story"] .photo-wrap {
  position: relative;
  height: 500px;
  overflow: hidden;
}

body[data-page="story"] .story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

/* Mission band */
body[data-page="story"] .mission-band {
  margin-top: 0;
}

body[data-page="story"] .mission-band p {
  line-height: 1.6;
}

/* Tablet / mobile */
@media (max-width: 800px) {

  body[data-page="story"] .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 32px !important;
  }

  body[data-page="story"] .story-copy {
    padding-top: 0;
  }

  body[data-page="story"] .photo-wrap {
    width: 100%;
    max-width: 480px;
    height: 500px;
    margin: 0 auto;
  }

  body[data-page="story"] .story-section-inline {
    margin-top: 34px;
  }

}


/* My Story — make Mission / Hope / Commitment fully readable */
body[data-page="story"] .mission-band {
  height: auto;
  min-height: 0;
  align-items: start;
  padding: 34px 28px 38px;
}

body[data-page="story"] .mission-band > div {
  height: auto;
  overflow: visible;
}

body[data-page="story"] .mission-band p {
  max-width: 300px;
  margin: 8px auto 0;
  font-size: 12px;
  line-height: 1.65;
  overflow: visible;
}

body[data-page="story"] .mission-band h3 {
  margin: 8px 0 4px;
}

@media (max-width: 720px) {
  body[data-page="story"] .mission-band p {
    max-width: 520px;
  }
}


/* =========================================
   PROJECT CADENCE — BRAND COLOR DETAILS
   ========================================= */

:root {
  --cadence-navy: #173b53;
  --cadence-blue: #8eacbc;
  --cadence-pale-blue: #dceaf0;
  --cadence-gold: #d9b986;
  --cadence-peach: #e8c1a8;
  --cadence-ivory: #fbf8f3;
}

/* Gold accent beneath page headings */
.page-hero h1::after {
  border-top-color: var(--cadence-gold);
  width: 42px;
}

/* Slightly warmer page background */
body {
  background:
    linear-gradient(
      180deg,
      #fbfaf8 0%,
      #fdfbf8 55%,
      #fbfaf8 100%
    );
}

/* Give blue callout areas a more branded gradient */
.cta-panel,
.friend-bottom-cta,
.tools-bottom-note,
.mission-band,
.reflection-card {
  background:
    linear-gradient(
      120deg,
      #edf5f7 0%,
      #dceaf0 65%,
      #f7efe4 100%
    );
}

/* Slight warm accent when cards are hovered or selected */
.relationship-trigger:hover,
.relationship-trigger.active,
.help-choice:hover,
.help-choice[aria-expanded="true"],
.friend-choice:hover,
.friend-choice[aria-expanded="true"] {
  background:
    linear-gradient(
      135deg,
      rgba(220,234,240,.8),
      rgba(247,239,228,.75)
    );
}

/* Warm-gold accent on sun icons */
[data-icon="sun"] {
  color: var(--cadence-gold);
}

/* Slightly softer blue for waves */
[data-icon="wave"] {
  color: var(--cadence-blue);
}

/* Heart keeps the signature navy/blue */
[data-icon="heart"] {
  color: #4f7890;
}

/* Soft gold top edge on important callout cards */
.story-closing,
.help-bottom-cta,
.tools-bottom-note,
.safe-bottom-cta {
  border-top: 2px solid rgba(217,185,134,.55);
}

/* Subtle warm highlight behind small eyebrow labels */
.eyebrow {
  color: var(--cadence-navy);
}

/* Buttons get a slightly more refined hover */
.btn.primary:hover,
.nav-cta:hover,
.quick-exit:hover {
  background: #234c65;
}

/* Thin warm accent on photo/tape treatment */
.tape {
  background: rgba(217,185,134,.55);
}

/* Project Cadence — warm ocean/sunrise brand treatment */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(232, 193, 168, 0.24) 0%,
      rgba(247, 239, 228, 0.14) 35%,
      rgba(251, 250, 248, 0) 68%
    );
}

/* =========================================
   PROJECT CADENCE — CLEAN MOBILE OVERRIDES
   ========================================= */

/* Keep Quick Exit fixed at the bottom-right on phones/tablets */
@media (max-width: 768px) {
  .quick-exit {
    position: fixed !important;
    right: 16px !important;
    bottom: calc(24px + env(safe-area-inset-bottom)) !important;
    top: auto !important;
    left: auto !important;
    z-index: 9999 !important;

    width: auto !important;
    min-width: 150px;
  }
}

/* =========================================
   MOBILE WAVE ARTWORK — CLEAN CROP FIX
   ========================================= */

@media (max-width: 768px) {

  /*
   * The source waves.png contains decorative artwork above the ocean.
   * On narrow screens, the old "cover" crop exposed parts of that artwork
   * (the partial logo curve and faint heart).
   *
   * This mobile-only treatment zooms farther into the BOTTOM of the image,
   * so only the ocean/wave portion remains visible.
   */

  .hero::after,
  .reassure::after,
  .wave-footer::after {
    background-image: url("assets/waves.png") !important;
    background-repeat: no-repeat !important;
    background-size: 300% auto !important;
    background-position: center bottom !important;
  }

  /* HOME HERO WAVE */
  body[data-page="home"] .hero {
    overflow: hidden !important;
  }

  body[data-page="home"] .hero::after {
    height: 155px !important;
    bottom: 0 !important;
    opacity: .95 !important;
    background-size: 300% auto !important;
    background-position: center bottom !important;
  }

  /* HOME REASSURANCE WAVE */
  body[data-page="home"] .reassure {
    position: relative !important;
    overflow: hidden !important;
    padding: 40px 20px 185px !important;
  }

  body[data-page="home"] .reassure::after {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 165px !important;
    opacity: .55 !important;
    background-size: 300% auto !important;
    background-position: center bottom !important;
  }

  /* OTHER PAGE BOTTOM WAVE STRIPS */
  .wave-footer {
    position: relative !important;
    height: 170px !important;
    min-height: 170px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .wave-footer::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 170px !important;
    opacity: .95 !important;
  }

  /*
   * Prevent older page-specific mobile rules from making the wave area
   * taller and revealing decorative portions of the source image.
   */
  body[data-page="healthy"] .wave-footer,
  body[data-page="friend"] .wave-footer,
  body[data-page="tools"] .wave-footer,
  body[data-page="help"] .wave-footer {
    height: 170px !important;
    min-height: 170px !important;
  }
}


/* =========================================
   PROJECT CADENCE BOTTOM BRAND LOGO
   ========================================= */

.brand-signoff {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.brand-signoff img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .brand-signoff {
    padding: 35px 0 160px;
  }

  .brand-signoff img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
  }

}


/* =========================================================
   PROJECT CADENCE — HEADER LOGO RESTORED
   ========================================================= */

.site-header .navbar {
  height: 88px !important;
  min-height: 88px !important;
}

.site-header .brand {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 240px !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

.site-header .brand img {
  width: 225px !important;
  max-width: 100% !important;
  height: auto !important;
  transform: none !important;
  object-fit: contain !important;
}

@media (max-width: 1000px) {
  .site-header .navbar {
    height: 76px !important;
    min-height: 76px !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .site-header .brand img {
    width: 205px !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .site-header .brand img {
    width: 190px !important;
  }
}

@media (max-width: 480px) {
  .site-header .brand img {
    width: 175px !important;
  }
}
