/* uords. LLC — shared styles for legal & support pages.
   Matches the look-and-feel of the existing index.html / 404.html. */

:root {
  --primary-teal: #008E9B;
  --secondary-maroon: #A63D50;
  --light-bg: #F8F7F4;
  --text-dark: #1F2A2E;
  --black: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--light-bg);
  -webkit-text-size-adjust: 100%;
}

/* ─── Header (matches index.html) ─────────────────────────────── */
header {
  background: var(--black);
  padding: 0.75rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 118px;
}
.brand-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark {
  font-family: Helvetica, sans-serif;
  font-weight: 900;
  font-size: 3.4rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-mark .u { color: var(--secondary-maroon); }
.brand-mark .dot { color: var(--primary-teal); }
.nav-details { position: relative; }
.nav-details summary {
  list-style: none;
  color: white;
  font-size: 2.55rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-details summary::-webkit-details-marker { display: none; }
.nav-details summary:focus-visible { outline: 2px solid white; outline-offset: 4px; border-radius: 4px; }
.nav-details[open] summary { color: var(--primary-teal); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  background: white;
  box-shadow: 0 18px 38px rgba(0,0,0,0.32);
  border-radius: 8px;
  min-width: 220px;
  padding: 0.8rem 0;
  z-index: 1001;
}
.dropdown-menu a {
  display: block;
  padding: 0.95rem 1.5rem;
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 700;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  background: #f8f8f8;
  color: var(--secondary-maroon);
}

/* ─── Page hero ───────────────────────────────────────────────── */
.page-hero {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 4rem 5% 4rem;
}
.page-hero .eyebrow {
  color: var(--primary-teal);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.page-hero h1 span { color: var(--secondary-maroon); }
.page-hero .updated {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* ─── Page content ────────────────────────────────────────────── */
main.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 5% 5rem;
  scroll-margin-top: 118px;
}
main.page h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--secondary-maroon);
  margin: 2.5rem 0 0.8rem;
  line-height: 1.15;
}
main.page h2:first-child { margin-top: 0; }
main.page h3 {
  color: var(--primary-teal);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
main.page p, main.page li { font-size: 1.05rem; }
main.page p { margin-bottom: 1rem; }
main.page ul { margin: 0.5rem 0 1.2rem 1.4rem; }
main.page li { margin-bottom: 0.4rem; }
main.page a { color: var(--primary-teal); font-weight: 700; }
main.page a:hover { color: var(--secondary-maroon); }
main.page strong { color: var(--text-dark); }

.callout {
  background: white;
  border-left: 6px solid var(--primary-teal);
  padding: 1.2rem 1.4rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  margin: 1.5rem 0;
}
.callout.maroon { border-left-color: var(--secondary-maroon); }

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  background: var(--primary-teal);
  color: white !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 8px;
  font-size: 1.02rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  border: none;
  min-width: 180px;
  min-height: 48px;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(0,0,0,0.28); color: white !important; }
.btn.maroon { background: var(--secondary-maroon); }

/* ─── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 3rem 5% 2.5rem;
  font-size: 0.9rem;
}
.footer-links {
  margin: 1rem 0 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.25rem;
}
.footer-links a { color: white; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--secondary-maroon); }
.copyright { color: var(--primary-teal); }
.footer-address { margin-top: 1rem; font-size: 0.85rem; opacity: 0.7; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  header { height: 104px; }
  .brand-mark { font-size: 2.6rem; }
  main.page { scroll-margin-top: 104px; padding: 3rem 5% 4rem; }
  .page-hero { padding: 3rem 5%; }
}
@media (max-width: 480px) {
  header { height: 92px; }
  .brand-mark { font-size: 2.2rem; }
  .nav-details summary { font-size: 2.25rem; }
}
