/* =========================================================================
   Wash42 - base.css
   Brand palette (from Wash42 brand guide):
     Cool Dark Gray  #323E48   (primary ink / dark surfaces)
     Brand Green     #80BC00   (primary accent)
     Soft Gray       #D9D8D6
     White           #FFFFFF
     Cool Gray       #415364   (secondary)
     Dark Green      #4A8B2C   (accessible green for text/links on light)
     Onyx Black      #24272A
   ========================================================================= */

:root {
  --ink:         #323E48;
  --ink-soft:    #415364;
  --green:       #80BC00;
  --green-dark:  #4A8B2C;
  --soft-gray:   #D9D8D6;
  --onyx:        #24272A;
  --white:       #ffffff;

  --bg:          #ffffff;
  --bg-muted:    #f4f5f6;
  --border:      #e4e6e8;
  --text:        #323E48;
  --text-muted:  #5c6b76;

  --maxw: 1080px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(36, 39, 42, .06), 0 8px 24px rgba(36, 39, 42, .06);

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }

.nav-desktop .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--green-dark); text-decoration: none; }
.nav-link.is-active { color: var(--green-dark); border-bottom-color: var(--green); }

/* --- Home hero (dark, vague "coming soon") ----------------------------- */
main { flex: 1 0 auto; }

.hero-home {
  background: var(--ink);
  background: linear-gradient(160deg, #3a4750 0%, #323E48 55%, #24272A 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 14vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.hero-home::after {
  /* subtle brand-green glow */
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(128,188,0,.16), transparent 70%);
  pointer-events: none;
}
.hero-home .hero-logo {
  width: min(440px, 78vw);
  height: auto;
  margin: 0 auto 40px;
  display: block;
}
.hero-home .tagline {
  color: var(--soft-gray);
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}
.coming-soon .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(128,188,0,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.25); opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .coming-soon .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- Content pages ----------------------------------------------------- */
.page-hero {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 44px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.page-hero .lead {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 70ch;
}

.section { padding: 48px 0 72px; }

.prose { max-width: 88ch; }
.prose h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  color: var(--ink-soft);
}
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--text-muted); font-size: 15px; }

.prose .policy-meta { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }

.prose .callout {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 28px;
}

/* Horizontal scroll wrapper so wide tables never break the page layout */
.table-scroll { overflow-x: auto; margin: 0 0 16px; }

.prose .policy-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 15px;
}
.prose .policy-table th,
.prose .policy-table td {
  border: 1px solid #c2cace;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose .policy-table thead th {
  background: var(--bg-muted);
  color: var(--ink);
  font-weight: 600;
  border-bottom-width: 2px;
  border-bottom-color: var(--ink-soft);
}

/* --- Contact card ------------------------------------------------------ */
.contact-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 28px;
  max-width: 480px;
}
.contact-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.contact-card .email {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--ink);
}
.contact-card .email a { color: var(--ink); }
.contact-card .email a:hover { color: var(--green-dark); }
.contact-card .phone {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--ink);
}
.contact-card .phone a { color: var(--ink); }
.contact-card .phone a:hover { color: var(--green-dark); }
.contact-card .email + .label,
.contact-card .phone + .label { margin-top: 24px; }
.contact-card .contact-address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.contact-card .note { margin: 18px 0 0; color: var(--text-muted); font-size: 15px; }

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--onyx);
  color: var(--soft-gray);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-logo { width: 168px; height: auto; margin-bottom: 16px; }
.footer-tagline { color: #9aa3ab; font-size: 15px; margin: 0; line-height: 1.5; }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 15px; }
.footer-col a { color: var(--soft-gray); }
.footer-col a:hover { color: var(--green); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8b939b;
}
.footer-meta a { color: #b9c0c6; }
.footer-meta a:hover { color: var(--green); text-decoration: none; }
.footer-meta span { margin: 0 8px; color: #5c646b; }

/* --- Mobile nav -------------------------------------------------------- */
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .logo-img { height: 38px; }
  .nav-desktop .nav-list { gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
