:root {
  --teal-deep: #0A3D42;
  --teal-darker: #072F33;
  --teal-ocean: #2DB4A8;
  --green-fresh: #6FD896;
  --green-soft: #9FE5B6;
  --text-body: #B8CFD0;
  --text-heading: #FFFFFF;
  --text-muted: #8DA3A5;
  --text-bright: #E8F2F2;
  --border: rgba(45, 180, 168, 0.2);
}

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

html, body {
  background: #051D20;
  color: #E8F2F2;
  font-family: 'Geist', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(45, 180, 168, 0.07), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(111, 216, 150, 0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  padding: 28px 0 0;
  display: flex;
  justify-content: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #E8F2F2;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #2DB4A8, #6FD896);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Main */
main { padding: 40px 0 80px; }

.page-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 24px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(18px, 3vw, 23px);
  color: var(--text-heading);
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--green-soft);
  margin-top: 28px;
  margin-bottom: 10px;
}

p {
  color: var(--text-body);
  margin-bottom: 14px;
  font-size: 16px;
}

p + p { margin-top: 0; }

ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

ul li {
  color: var(--text-body);
  font-size: 16px;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
}

ul li::before {
  content: '\B7';
  position: absolute;
  left: 6px;
  color: var(--green-fresh);
  font-weight: bold;
}

/* Prominent notices (all-caps blocks in legal docs) */
.legal-notice {
  background: rgba(10, 61, 66, 0.5);
  border-left: 3px solid #2DB4A8;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin-bottom: 20px;
  color: var(--text-bright);
  font-size: 14px;
  line-height: 1.6;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

thead th {
  background: rgba(45, 180, 168, 0.18);
  color: var(--green-soft);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(45, 180, 168, 0.3);
  white-space: nowrap;
}

tbody td {
  color: var(--text-body);
  padding: 11px 14px;
  border-bottom: 1px solid rgba(45, 180, 168, 0.08);
  vertical-align: top;
  line-height: 1.55;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: rgba(10, 61, 66, 0.25); }

/* Emergency banner (crisis page) */
.emergency-banner {
  background: rgba(45, 180, 168, 0.1);
  border: 2px solid #2DB4A8;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 36px;
}

.emergency-banner h2 {
  border: none;
  margin-top: 0;
  padding-bottom: 0;
  font-size: 20px;
  color: #6FD896;
  margin-bottom: 14px;
}

.emergency-banner p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #E8F2F2;
}

.emergency-banner a {
  color: #6FD896;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.emergency-banner .note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}

/* General links */
a { color: #6FD896; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Attorney general list */
.ag-list { margin-top: 8px; }
.ag-list li { font-size: 14px; }

/* Footer */
footer {
  padding: 40px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 18px;
  justify-content: center;
}

.footer-links a { color: #6FD896; font-size: 13px; }

footer p {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

footer a { color: #6FD896; }

/* Responsive */
@media (max-width: 500px) {
  main { padding: 28px 0 60px; }
  h2 { margin-top: 32px; }
  .emergency-banner { padding: 18px 16px; }
  .emergency-banner h2 { font-size: 18px; }
  .emergency-banner p { font-size: 15px; }
}
