/* Safeheat: shared styles on top of Tailwind Play CDN */
:root { --red: #b01912; --red-d: #6b0506; --green: #3baa43; --blue: #007cba; --navy: #032749; --orange: #f16c14; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-display { font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif; font-optical-sizing: auto; }

/* fluid type scale */
.h-xxl { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); line-height: .98; letter-spacing: -0.035em; }
.h-xl  { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; }
.h-lg  { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.06; letter-spacing: -0.025em; }
.h-md  { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.15; letter-spacing: -0.015em; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.prose-sh p { line-height: 1.8; margin-top: 1.05em; }
.prose-sh p:first-child { margin-top: 0; }

/* buttons */
.btn-primary, .btn-ghost, .btn-white, .btn-outline-white {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; font-weight: 700; font-size: .98rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(176,25,18,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(176,25,18,.75); filter: brightness(1.06); }
.btn-primary:disabled { opacity: .65; cursor: progress; transform: none; }
.btn-ghost { background: #fff; color: #0f172a; box-shadow: inset 0 0 0 1.5px #cbd5e1; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn-outline-white { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-primary svg, .btn-ghost svg, .btn-white svg, .btn-outline-white svg { transition: transform .2s ease; }
.btn-primary:hover svg, .btn-ghost:hover svg, .btn-outline-white:hover svg { transform: translateX(3px); }

/* nav dropdowns */
.dd-menu { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(3,39,73,.35); background: rgba(255,255,255,.93); }

.pulse-dot { width: 8px; height: 8px; border-radius: 99px; background: #ff6b5a; box-shadow: 0 0 0 0 rgba(255,107,90,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,107,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,90,0); } }

/* cards */
.lift { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.lift:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px rgba(3,39,73,.35); }
.zoom-img { overflow: hidden; }
.zoom-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zoom-img:hover img, .lift:hover .zoom-img img { transform: scale(1.06); }
.accred-logo img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.accred-logo:hover img { filter: none; opacity: 1; }
.grain { background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 18px 18px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

/* faq accordion */
details.faq summary { list-style: none; cursor: pointer; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-icon { transition: transform .3s ease; }
details.faq[open] .faq-icon { transform: rotate(45deg); }
details.faq .faq-body { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* carousel */
.carousel { scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }

/* forms */
.input { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid #dbe1e8; background: #fff; padding: .75rem 1rem; font-size: 1rem; color: #0f172a; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(176,25,18,.12); }
textarea.input { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }

/* legal text */
.legal h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.6rem; color: #0f172a; margin: 2.2rem 0 .8rem; letter-spacing: -0.02em; }
.legal h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--blue); margin: 2.4rem 0 .6rem; padding-top: 1.6rem; border-top: 1px solid #e2e8f0; }
.legal p { line-height: 1.8; margin: .8rem 0; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: .8rem 0; }
.legal li { margin: .35rem 0; line-height: 1.7; }
.legal strong { color: #0f172a; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
