/* Straight Cache — shared MJR privacy & support hub */
:root {
  --navy: #0f2a3d;
  --navy-soft: #1a3d52;
  --teal: #1e5c63;
  --gold: #b8903a;
  --gold-soft: #d4b56a;
  --cream: #f6f1e6;
  --ink: #0f2a3d;
  --muted: #3d5463;
  --line: #d7cbb3;
  --card: #fffdf8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--navy); }

.site-header {
  background: var(--navy);
  color: var(--cream);
  padding: 1.1rem 1.25rem;
}

.site-header .inner {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand:hover { color: var(--gold-soft); }

.brand-sub {
  display: block;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #c9d4dc;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

.nav {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
}

.nav a {
  color: var(--cream);
  margin-left: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.nav a:first-child { margin-left: 0; }

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

main {
  flex: 1;
  padding: 2rem 1.25rem 2.5rem;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
}

.wrap h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  font-weight: 700;
}

.lede, .effective, .publisher {
  font-size: 1.05rem;
}

.publisher, .effective {
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.effective { margin-bottom: 1.25rem; }

h2 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.65rem;
  color: var(--navy);
}

p, li { font-size: 1.05rem; }

p { margin: 0.7rem 0; }

ul { padding-left: 1.2rem; }

li { margin: 0.35rem 0; }

.disclaimer {
  margin: 1.4rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: #fff8e8;
}

.disclaimer p {
  margin: 0;
  font-weight: 700;
}

.page-url {
  font-size: 0.95rem;
  color: var(--muted);
  word-break: break-word;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.app-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.app-card p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.app-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.crumb {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.crumb a { color: var(--teal); }

.credits {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.credits h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.credits p { font-size: 0.95rem; }

/* Footer: copyright left, stacked Developed/by + logo at bottom right */
.site-footer {
  background: var(--navy);
  color: #c9d4dc;
  padding: 1.1rem 1.1rem 1.15rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  margin-top: auto;
}

.footer-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.footer-copy p {
  margin: 0.15rem 0;
  font-size: 0.88rem;
}

.footer-copy a {
  color: var(--gold-soft);
  text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

.credit {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-right: -2px;
}

.credit-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2px;
}

.credit-words span {
  font-size: 11px;
  line-height: 13px;
  text-align: center;
  color: rgba(246, 241, 232, 0.92);
  font-weight: 500;
}

.credit img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  display: block;
}

@media (max-width: 420px) {
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav a { margin-left: 0; margin-right: 1rem; }
  .wrap h1 { font-size: 1.55rem; }
  .credit img { width: 32px; height: 32px; border-radius: 6px; }
}
