@import "colors.css";

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: #18212b;
  background:
    radial-gradient(circle at top right, rgba(105, 226, 240, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}

a {
  color: #155b76;
}

a:hover {
  color: #0f475c;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #0f475c;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid rgba(21, 91, 118, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner,
.site-main-inner,
.site-footer-inner {
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-block {
  min-width: 0;
}

.brand {
  display: inline-block;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #0f475c;
}

.brand-tagline {
  margin: 0.25rem 0 0;
  color: #51606f;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: #27384a;
  font-weight: 600;
}

.site-nav a.active {
  color: #0f475c;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-main {
  padding: 2.5rem 0 4rem;
}

.section {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 91, 118, 0.12);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(15, 71, 92, 0.06);
  margin-bottom: 1.25rem;
}

.hero {
  padding: 1.9rem 1.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #155b76;
}

h1,
h2,
h3 {
  color: #101a24;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.9rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

p,
li,
summary,
label,
input,
textarea {
  font-size: 1rem;
  line-height: 1.7;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

.lede {
  max-width: 62ch;
  font-size: 1.1rem;
  color: #314252;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #0f475c;
  background: #0f475c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: #0f475c;
}

.card-grid,
.contact-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.contact-panel {
  background: rgba(248, 251, 253, 0.95);
  border: 1px solid rgba(21, 91, 118, 0.1);
  border-radius: 1rem;
  padding: 1rem;
}

.callout {
  border-left: 6px solid #155b76;
}

.note-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-top: 0;
}

.supporting-note {
  margin: 0;
  font-size: 0.95rem;
  color: #556472;
}

.meta-note {
  margin: 0.75rem 0 0;
  color: #556472;
  font-size: 0.95rem;
}

.check-list,
.resource-list {
  padding-left: 1.1rem;
}

.check-list li,
.resource-list li {
  margin-bottom: 0.55rem;
}

.faq-list details {
  background: rgba(248, 251, 253, 0.95);
  border: 1px solid rgba(21, 91, 118, 0.1);
  border-radius: 0.95rem;
  padding: 1rem 1rem 0.2rem;
  margin-bottom: 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #16202c;
}

.faq-list summary:focus-visible {
  outline: 2px solid #155b76;
  outline-offset: 0.2rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 91, 118, 0.18);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(21, 91, 118, 0.25);
  border-color: #155b76;
}

.field-help {
  margin: 0;
  color: #556472;
  font-size: 0.95rem;
}

.legal-copy > section + section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(21, 91, 118, 0.1);
}

.legal-copy p,
.legal-copy li {
  max-width: 72ch;
}

.legal-copy ul {
  margin: 0.75rem 0 0;
}

.legal-copy h2 {
  margin-bottom: 0.6rem;
}

.site-footer {
  border-top: 1px solid rgba(21, 91, 118, 0.12);
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 0 2rem;
}

.site-footer-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  max-width: 48ch;
  color: #445564;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .site-header-inner,
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-main {
    padding-top: 1.4rem;
  }

  .section,
  .hero {
    padding: 1.2rem;
  }

  .legal-copy > section + section {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  h1 {
    max-width: none;
  }
}
