/* Prime Accounting & Advisory – CPA firm styling */
:root {
  --color-navy: #1a365d;
  --color-navy-light: #2c5282;
  --color-gold: #b8860b;
  --color-bg: #fafbfc;
  --color-text: #2d3748;
  --color-text-muted: #4a5568;
  --color-border: #e2e8f0;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 720px;
  --header-height: 72px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Header */
.site-header {
  background: var(--color-navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-gold);
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
  box-sizing: border-box;
}

/* Coming Soon page */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-logo {
  display: block;
  margin: 0 auto 2rem;
  max-width: 100%;
  width: 280px;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

.cta-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
}

/* Legal pages */
.page-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.25rem;
}

.effective-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.content h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 1.75rem 0 0.5rem;
}

.content h2:first-of-type {
  margin-top: 0;
}

.content p {
  margin: 0 0 1rem;
}

.content p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 1.5rem 2rem;
  margin-top: auto;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--color-gold);
}

/* Layout: push footer down on short pages */
html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Mobile: stacked logo in header if horizontal is too wide */
@media (max-width: 600px) {
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-logo {
    max-width: 180px;
    height: 44px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  main {
    padding: 1.5rem 1rem 3rem;
  }
}
