/*
 * retire.phoenixareahome.com — Global Styles
 * Built on pah-zones visual zone system
 * Accessibility: 18px+ font, 7:1 contrast, 48px touch targets
 */

/* === Reset & Base === */

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }

/* === ADRE Brokerage Disclosure Bar === */

.brokerage-bar {
  background: #F5F1EB;
  text-align: center;
  padding: 4px 1rem;
  border-bottom: 1px solid #EDEAE4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.brokerage-bar p {
  font-size: 1rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.4;
}

/* === Site Navigation === */

.site-nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.site-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.site-nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d4a5e;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav-brand:hover { color: #0d3d52; }

.site-nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.site-nav-links a {
  padding: 8px 14px;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}

.site-nav-links a:hover,
.site-nav-links a:focus {
  background: #f0f4f7;
  color: #1a5f7a;
}

.site-nav-links a[aria-current="page"] {
  background: #e8f0f4;
  color: #1a5f7a;
  font-weight: 600;
}

/* Mobile nav toggle */
.site-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
}

.site-nav-toggle svg { display: block; }

@media (max-width: 640px) {
  .site-nav-toggle { display: block; }
  .site-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .site-nav-links.open { display: flex; }
  .site-nav-links a { padding: 14px 12px; }
}

/* === Main Content === */

main {
  flex: 1;
}

/* === Visual Zones (from pah-zones.css) === */

.pah-zone {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
}

.pah-zone h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: #111;
}

.pah-zone h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  color: #1a1a1a;
}

.pah-zone h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 1.5rem 0 0.5rem;
  color: #222;
}

.pah-zone p { margin: 0 0 1rem; }

.pah-zone a {
  color: #0d4a5e;
  text-decoration: underline;
}

.pah-zone a:hover,
.pah-zone a:focus {
  color: #0d3d52;
}

/* Touch targets — block-level interactive elements only */
.pah-zone button,
.pah-zone input,
.pah-zone select,
.pah-zone textarea,
.pah-bridge-links a {
  min-height: 48px;
}

.pah-zone p a { padding: 4px 0; }

.pah-zone button {
  font-size: 18px;
  padding: 12px 24px;
  cursor: pointer;
  border: 2px solid #1a5f7a;
  background: #1a5f7a;
  color: #fff;
  border-radius: 4px;
  font-family: inherit;
}

.pah-zone button:hover,
.pah-zone button:focus {
  background: #0d3d52;
  border-color: #0d3d52;
}

.pah-zone button:focus-visible {
  outline: 3px solid #f0a500;
  outline-offset: 2px;
}

/* Zone 1: Lobby */
.pah-lobby {
  background: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.pah-lobby-byline {
  font-size: 1rem;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pah-lobby-breadcrumb {
  font-size: 1rem;
  color: #3a3a3a;
  margin-bottom: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pah-lobby-breadcrumb a {
  color: #3a3a3a;
  padding: 10px 8px;
}

.pah-lobby-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.pah-lobby-breadcrumb li {
  display: flex;
  align-items: center;
}

.pah-lobby-breadcrumb li + li::before {
  content: '\203A';
  padding: 0 6px;
  color: #3a3a3a;
}

/* Zone 2: Data Room */
.pah-data-room {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.pah-data-room table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  margin: 1rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pah-data-room th {
  text-align: left;
  padding: 12px 16px;
  background: #e8e8e8;
  border-bottom: 2px solid #ccc;
  font-weight: 600;
  color: #222;
}

.pah-data-room td {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.pah-data-room tr:hover td { background: #ececec; }

.pah-data-room caption {
  font-weight: 600;
  text-align: left;
  padding: 8px 0;
  color: #333;
  font-size: 1rem;
}

.pah-source, .pah-data-room .pah-source {
  font-size: 1rem;
  color: #3a3a3a;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Zone 3: Stories */
.pah-stories { background: #faf8f5; }

.pah-stories blockquote {
  border-left: 4px solid #c4956a;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #444;
  background: rgba(196, 149, 106, 0.08);
}

.pah-stories blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 1rem;
  color: #3a3a3a;
}

/* Zone 4: Tool Room */
.pah-tool-room {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  padding: 2rem 1.5rem;
}

.pah-tool-room-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3a3a3a;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Zone 5: Bridge */
.pah-bridge {
  background: #f0f4f7;
  border-top: 1px solid #d8e0e5;
}

.pah-bridge h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.pah-bridge-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pah-bridge-links li { margin-bottom: 0.75rem; }

.pah-bridge-links a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #d0d8de;
  border-radius: 6px;
  color: #0d4a5e;
  text-decoration: none;
  font-size: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.pah-bridge-links a:hover,
.pah-bridge-links a:focus {
  border-color: #1a5f7a;
  box-shadow: 0 1px 4px rgba(26, 95, 122, 0.15);
  color: #0d3d52;
}

.pah-bridge-links small {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #3a3a3a;
}

.pah-bridge-links strong {
  display: block;
  font-size: 1rem;
  color: #0d4a5e;
}

/* === Not Ready Button (Anti-Funnel) === */

.pah-not-ready {
  background: none;
  border: 1px solid #999;
  color: #525252;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 48px;
}

.pah-not-ready:hover,
.pah-not-ready:focus {
  border-color: #555;
  color: #333;
  background: #f9f9f9;
}

/* === Site Footer (ADRE Compliance) === */

.site-footer {
  background: #F5F1EB;
  border-top: 1px solid #E0DCD5;
  padding: 2rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  color: #3a3a3a;
}

.site-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.site-footer p { margin: 0 0 0.5rem; }

.site-footer a {
  color: #3a3a3a;
  text-decoration: underline;
}

.site-footer a:hover { color: #0d4a5e; }

.site-footer .eho-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.site-footer .eho-badge span {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3a3a3a;
}

.site-footer .brokerage-details {
  margin-bottom: 1rem;
}

.site-footer .brokerage-details .firm-name {
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
}

.site-footer .brokerage-details p,
.site-footer .agent-details p {
  font-size: 1rem;
  color: #3a3a3a;
  margin: 0.25rem 0;
}

.site-footer .agent-details {
  margin-bottom: 1.25rem;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #E0DCD5;
  margin: 1.25rem 0;
}

.site-footer .disclaimer {
  font-size: 1rem;
  color: #3a3a3a;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.site-footer .copyright {
  font-size: 1rem;
  color: #3a3a3a;
  margin: 0;
}

/* === Landing Page === */

.landing-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.landing-hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #111;
}

.landing-hero .lead {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 680px;
}

.landing-hubs {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.landing-hub-card {
  background: #fff;
  border: 1px solid #d0d8de;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-hub-card:hover,
.landing-hub-card:focus {
  border-color: #1a5f7a;
  box-shadow: 0 2px 8px rgba(26, 95, 122, 0.12);
}

.landing-hub-card h2 {
  font-size: 1.2rem;
  color: #1a5f7a;
  margin: 0 0 0.5rem;
}

.landing-hub-card p {
  font-size: 1rem;
  color: #3a3a3a;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.landing-hub-card .hub-tool-label {
  font-size: 1rem;
  color: #3a3a3a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* === Responsive === */

@media (max-width: 768px) {
  .pah-zone {
    padding: 1.5rem 1rem;
  }

  .pah-zone h1 { font-size: 1.6rem; }
  .pah-zone h2 { font-size: 1.3rem; }

  .pah-tool-room {
    margin: 1rem -0.5rem;
    border-radius: 4px;
    padding: 1.5rem 1rem;
  }

  .pah-data-room th,
  .pah-data-room td {
    padding: 10px 10px;
    font-size: 18px;
  }

  .landing-hero h1 { font-size: 1.7rem; }
  .landing-hubs { grid-template-columns: 1fr; }
}

/* Table responsive scroll */
@media (max-width: 640px) {
  .pah-data-room table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
