/* ── Mahalo Media Policy Pages — Shared Styles ── */

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

:root {
  --navy:      #1A2332;
  --navy-mid:  #243147;
  --blue:      #2E6DAD;
  --blue-lt:   #D6E6F5;
  --grey:      #6B7A8D;
  --rule:      #E4E8EE;
  --text:      #1A2332;
  --body-bg:   #FFFFFF;
  --serif:     Georgia, 'Times New Roman', serif;
  --sans:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { font-size: 17px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.8;
}

/* ── Site Header ── */
.site-header {
  background: var(--navy);
  padding: 0 2rem;
}
.site-header-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo span {
  color: var(--blue-lt);
  font-weight: 400;
}
.header-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.header-link:hover { color: #FFFFFF; }

/* ── Policy Nav Strip ── */
.policy-nav {
  border-bottom: 1px solid var(--rule);
  background: #F8FAFB;
}
.policy-nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
}
.policy-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--grey);
  text-decoration: none;
  padding: 0.7rem 1.1rem 0.7rem 0;
  margin-right: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.policy-nav a:hover { color: var(--navy); }
.policy-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* ── Page Layout ── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ── Page Header ── */
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.page-header h1 {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.page-meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--grey);
}

/* ── Section Headings ── */
.policy-section {
  margin-top: 2.5rem;
}
.policy-section h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--blue);
}
.policy-section p {
  font-size: 0.95rem;
  color: #2C3B4F;
  margin-bottom: 0.9rem;
  max-width: 68ch;
}
.policy-section ul, .policy-section ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  max-width: 66ch;
}
.policy-section li {
  font-size: 0.95rem;
  color: #2C3B4F;
  margin-bottom: 0.35rem;
}
.policy-section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-section a:hover { color: var(--navy); }

/* ── Callout Box ── */
.callout {
  background: var(--blue-lt);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 4px 4px 0;
  max-width: 68ch;
}
.callout p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--navy-mid);
}

/* ── Site Footer ── */
.site-footer {
  background: #F8FAFB;
  border-top: 1px solid var(--rule);
  padding: 2rem;
}
.site-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--grey);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--grey);
  text-decoration: none;
}
.footer-links a:hover { color: var(--navy); }

@media (max-width: 600px) {
  .page-wrap { padding: 2rem 1.25rem 4rem; }
  .site-header-inner { height: 56px; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; }
  .policy-nav-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
