/* ==========================================================================
   We Got You Disability Support — shared stylesheet
   Mobile-first. Loaded on every page.
   ========================================================================== */

:root {
  /* Palette — sampled from wegotyou-logo.png */
  --navy: #14213D;
  --navy-soft: #2C3B63;
  --bg: #FAF9F6;
  --bg-card: #FFFFFF;
  --pink: #F03C90;
  --orange: #FC900C;
  --yellow: #FCC00C;
  --lime: #9CD818;
  --teal: #00C0A8;
  --blue: #1884C0;
  --purple: #8448A8;

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1120px;
  --radius: 16px;
  --focus-ring: 3px solid var(--blue);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

a {
  color: var(--blue);
  text-decoration-thickness: 2px;
}

img { max-width: 100%; display: block; }

/* Visible focus states everywhere — non-negotiable for this audience */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */

.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--navy-soft);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.main-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 1rem;
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 33, 61, 0.06);
  min-height: 44px;
}

.main-nav a[aria-current="page"] {
  color: var(--pink);
}

.main-nav .btn {
  margin-top: 0.5rem;
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
  }

  .main-nav a {
    padding: 0.5rem 0;
    border-bottom: none;
    min-height: auto;
  }

  .main-nav .btn {
    margin-top: 0;
  }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--pink);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */

section {
  padding: 3rem 0;
}

.section-alt {
  background: #fff;
}

.rainbow-divider {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--lime), var(--teal), var(--blue), var(--purple));
  border: none;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--navy-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------------------------------------------------------------------- */
/* Cards                                                                   */
/* ---------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 14px rgba(20, 33, 61, 0.06);
  border-top: 5px solid var(--teal);
}

.card:nth-of-type(4n+1) { border-top-color: var(--pink); }
.card:nth-of-type(4n+2) { border-top-color: var(--orange); }
.card:nth-of-type(4n+3) { border-top-color: var(--teal); }
.card:nth-of-type(4n+4) { border-top-color: var(--purple); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* ---------------------------------------------------------------------- */
/* Steps (How It Works)                                                    */
/* ---------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 14px rgba(20, 33, 61, 0.06);
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  background: var(--pink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */

.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem;
  border: 2px solid rgba(20, 33, 61, 0.25);
  border-radius: 10px;
  min-height: 48px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  background: #FFF7E6;
  border: 1px dashed var(--orange);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}

.contact-list a {
  font-weight: 700;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #EDEFF6;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-acknowledgement {
  font-size: 0.9rem;
  color: #C7CBE0;
  max-width: 60ch;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #C7CBE0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------------------------------------------------------------------- */
/* Utility                                                                 */
/* ---------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
