/* Custom styles that sit on top of Tailwind. */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Condensed display headings echo the bold wordmark in the logo */
.display { font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em; }
.display em { font-style: italic; font-weight: 700; }

:focus-visible { outline: 3px solid #009FE3; outline-offset: 3px; }

.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #009FE3; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* Form fields inside the navy footer */
.field { width: 100%; border-radius: .375rem; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.07); padding: .75rem .9rem; color: #fff; }
.field::placeholder { color: rgba(255,255,255,.5); }
.field option { color: #0B2540; }
.field:focus { border-color: #009FE3; background: rgba(255,255,255,.12); }
.field.invalid { border-color: #ff9d9d; }

/* FAQ accordion (native <details>, no JS needed) */
.faq summary { list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
