/* ============================================================
   Deep Blue Resources — Site-wide Design System
   Canonical Color Palette (May 2026):
   - Background:     #f5f0e8  (cream)
   - Surface/Card:   #faf7f2  (light cream)
   - Card Darker:    #ede5d8  (warm beige)
   - Navy Text:      #1a2634  (dark navy)
   - Gold Accent:    #C9A84C  (sunken gold)
   - Gold Hover:     #A8872A  (darker gold)
   - Teal Accent:    #3d7a8c  (muted teal)
   - Light Blue:     #d4e5f2  (ocean light)
   - Text Muted:     #6b7f8c  (steel gray)
   - Border:         #ddd5c8  (warm border)
============================================================ */

:root {
  --color-bg:            #f5f0e8;
  --color-surface:       #faf7f2;
  --color-surface-dark:  #ede5d8;
  --color-deep-sea-blue: #1a5568;
  --color-beige:         #f5f0e8;
  --color-gold:          #C9A84C;
  --color-gold-hover:    #A8872A;
  --color-dark-navy:     #1a2634;
  --color-muted-teal:    #3d7a8c;
  --color-ocean-light:   #d4e5f2;
  --color-text:          #1a2634;
  --color-text-muted:    #6b7f8c;
  --color-border:        #ddd5c8;
  --color-white:         #ffffff;
  --font-body:           'DM Sans', sans-serif;
  --font-heading:        'Space Grotesk', sans-serif;
  --nav-height:          70px;
}

/* ── Site Nav ─────────────────────────────────────────────── */
.site-nav {
  background: var(--color-beige);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-nav .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav .nav-brand img {
  height: 36px;
  width: auto;
}

.site-nav .nav-brand-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-deep-sea-blue);
  white-space: nowrap;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.site-nav .nav-links li a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.site-nav .nav-links li a:hover {
  background: hsl(192, 55%, 25%, 0.08);
  color: var(--color-deep-sea-blue);
}

.site-nav .nav-links li a.active {
  color: var(--color-deep-sea-blue);
  font-weight: 600;
}

.site-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-nav .nav-login {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.site-nav .nav-login:hover {
  background: hsl(192, 55%, 25%, 0.08);
  color: var(--color-deep-sea-blue);
}

.site-nav .nav-subscribe {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-gold);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.site-nav .nav-subscribe:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}

/* Mobile nav toggle (hidden on desktop) */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .site-nav .nav-links {
    gap: 0;
  }
  .site-nav .nav-links li a {
    padding: 6px 7px;
    font-size: 12.5px;
  }
}

@media (max-width: 860px) {
  .site-nav .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
  }
}

/* ── Site Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--color-beige);
  border-top: 1px solid var(--color-border);
  margin-top: 80px;
}

.site-footer .footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 32px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer .footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-deep-sea-blue);
  margin-bottom: 16px;
}

.site-footer .footer-brand-tagline {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 10px 0 20px;
}

.site-footer .footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

.site-footer .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin-bottom: 4px;
}

.site-footer .footer-social {
  display: flex;
  gap: 12px;
}

.site-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: hsl(192, 55%, 25%, 0.1);
  color: var(--color-deep-sea-blue);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.site-footer .footer-social a:hover {
  background: var(--color-deep-sea-blue);
  color: white;
  transform: translateY(-2px);
}

.site-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 10px;
}

.site-footer .footer-col ul li a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer .footer-col ul li a:hover {
  color: var(--color-deep-sea-blue);
}

.site-footer .footer-stay-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.site-footer .footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
}

.site-footer .footer-copyright {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.site-footer .footer-disclaimer {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted-teal);
  font-style: italic;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer .footer-container {
    padding: 40px 20px 24px;
  }
}

/* ── Stub Page ─────────────────────────────────────────────── */
.stub-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}

.stub-page-inner {
  max-width: 600px;
  text-align: center;
}

.stub-page-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.stub-page-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin-bottom: 16px;
}

.stub-page-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Content Page Layout ───────────────────────────────────── */
.content-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  padding: 60px 32px 0;
}

.content-page-inner {
  max-width: 840px;
  margin: 0 auto;
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 48px 56px;
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.content-card h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin-bottom: 8px;
}

.content-card .last-updated {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.content-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-deep-sea-blue);
  margin: 32px 0 12px;
}

.content-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark-navy);
  margin: 0;
}

.content-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-card ul {
  margin: 8px 0 16px 0;
  padding-left: 0;
  list-style: none;
}

.content-card ul li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 0;
}

.content-card ul li strong {
  color: var(--color-dark-navy);
}

.content-card ul li::before {
  content: "• ";
  color: var(--color-gold);
  font-weight: 700;
}

/* No odds box */
.no-odds-box {
  background: hsl(45, 38%, 93%);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 0 0 32px;
}

.no-odds-box h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin: 0 0 10px;
}

.no-odds-box p {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-dark-navy);
  margin: 0;
  line-height: 1.6;
}

/* Milestones table */
.milestones-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  padding: 60px 32px 0;
  text-align: center;
}

.milestones-hero {
  margin-bottom: 48px;
}

.milestones-trophy {
  font-size: 52px;
  margin-bottom: 20px;
}

.milestones-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin-bottom: 12px;
}

.milestones-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 500;
}

.milestones-card {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 60px;
}

.milestones-card-header {
  padding: 20px 28px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.milestones-table {
  width: 100%;
  border-collapse: collapse;
}

.milestones-table thead tr th {
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold);
  text-align: left;
  background: hsl(45, 38%, 95%);
  border-bottom: 1px solid var(--color-border);
}

.milestones-table tbody tr td {
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text);
  text-align: left;
  border-bottom: 1px solid hsl(45, 20%, 90%);
}

.milestones-table tbody tr:last-child td {
  border-bottom: none;
}

.milestones-table tbody tr:hover td {
  background: hsl(45, 38%, 97%);
}

/* Newsletter page */
.newsletter-page {
  background: var(--color-beige);
  min-height: calc(100vh - var(--nav-height));
  padding: 80px 32px 0;
  text-align: center;
}

.newsletter-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-deep-sea-blue);
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-deep-sea-blue);
  margin-bottom: 16px;
}

.newsletter-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 48px;
}

.newsletter-card {
  max-width: 440px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 36px 40px;
  border: 1px solid var(--color-border);
  text-align: left;
  margin-bottom: 60px;
}

.newsletter-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark-navy);
  margin-bottom: 6px;
}

.newsletter-card .card-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: white;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s;
}

.newsletter-input:focus {
  border-color: var(--color-deep-sea-blue);
}

.newsletter-input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--color-gold);
  border: none;
  padding: 10px 20px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.newsletter-btn:hover {
  background: var(--color-gold-hover);
}

.newsletter-privacy {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

@media (max-width: 540px) {
  .content-card {
    padding: 32px 24px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .content-page {
    padding: 40px 20px 0;
  }
}
