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

:root {
  --dma-bg: #FAF7F1;
  --dma-text: #25302B;
  --dma-text-sec: #4A5550;
  --dma-accent: #1E40AF;
  --dma-accent-hover: #1D4ED8;
  --dma-accent-soft: #EFF6FF;
  --dma-card: #FFFFFF;
  --dma-border: #E2DDD3;
  --dma-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dma-max: 1100px;
  --dma-radius: 12px;
  --dma-radius-sm: 8px;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--dma-font);
  background-color: var(--dma-bg);
  color: var(--dma-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--dma-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--dma-accent-hover);
}

.container {
  max-width: var(--dma-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--dma-text);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: var(--dma-radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Header */
.site-header {
  position: relative;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(37, 48, 43, 0.08);
}

body.dma-has-hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0) 100%);
  border-bottom: none;
}

.header-inner {
  max-width: var(--dma-max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dma-text);
  white-space: nowrap;
}

.header-logo img {
  height: 38px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.header-nav a {
  color: var(--dma-text-sec);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--dma-accent);
}

body.dma-has-hero .header-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.dma-has-hero .header-nav a:hover {
  color: #fff;
}

.header-nav .dma-nav-login {
  font-weight: 600;
  padding: 0.42rem 0.9rem;
  border-radius: var(--dma-radius-sm);
  border: 1px solid rgba(37, 48, 43, 0.22);
}

body.dma-has-hero .header-nav .dma-nav-login {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

body.dma-has-hero .header-nav .dma-nav-login:hover {
  background: rgba(255, 255, 255, 0.18);
}

.header-nav .nav-cta {
  display: inline-block;
  background: var(--dma-accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--dma-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.header-nav .nav-cta:hover {
  background: var(--dma-accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dma-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

body.dma-has-hero .menu-toggle span {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--dma-card);
  border-bottom: 1px solid var(--dma-border);
  padding: 1rem 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0.65rem;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.mobile-nav a {
  color: var(--dma-text-sec);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.35rem 0;
  display: block;
}

.mobile-nav a:hover {
  color: var(--dma-accent);
}

.mobile-nav .dma-mob-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--dma-border);
}

.mobile-nav .dma-mob-login {
  display: inline-block;
  padding: 0.6rem 1.15rem;
  border-radius: var(--dma-radius-sm);
  border: 1.5px solid #CBD5E1;
  color: var(--dma-text);
  font-weight: 600;
  text-align: center;
}

.mobile-nav .nav-cta {
  display: inline-block;
  background: var(--dma-accent);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--dma-radius-sm);
  font-weight: 600;
  text-align: center;
}

.mobile-nav .nav-cta:hover {
  background: var(--dma-accent-hover);
  color: #fff;
}

.mobile-nav.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
  padding: 6.5rem 1.5rem 4rem;
  background-color: #0F172A;
  color: #fff;
  overflow: hidden;
}

.hero-bg, .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.54) 0%, rgba(15, 23, 42, 0.38) 42%, rgba(15, 23, 42, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
}

.dma-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #E0F2FE;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.dma-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60A5FA;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.45);
  letter-spacing: -0.015em;
}

.dma-hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 630px;
  margin: 0 auto 1.85rem;
  text-shadow: 0 1px 6px rgba(15, 23, 42, 0.45);
}

.dma-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dma-accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.hero .btn-cta:hover {
  background: var(--dma-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.52);
}

.dma-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  transition: background 0.2s, transform 0.15s;
}

.dma-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.dma-hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 660px;
  margin: 0 auto 1.15rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  text-align: left;
}

.dma-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.35;
}

.dma-trust-check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.28);
  border: 1px solid rgba(147, 197, 253, 0.55);
  color: #BFDBFE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.dma-hero-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.5);
}

/* Page Header (Legal) */
.page-header {
  background: var(--dma-card);
  border-bottom: 1px solid var(--dma-border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--dma-text);
}

.page-header .last-updated {
  font-size: 0.9rem;
  color: var(--dma-text-sec);
  margin-top: 0.5rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--dma-card);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dma-accent);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dma-text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.section h3 {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--dma-text);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.35;
}

.section p {
  margin-bottom: 1rem;
  color: var(--dma-text-sec);
  max-width: 740px;
}

.section ul, .section ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--dma-text-sec);
  max-width: 680px;
}

.section li {
  margin-bottom: 0.5rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--dma-card);
  border: 1px solid var(--dma-border);
  border-radius: var(--dma-radius);
  padding: 1.65rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.card:hover {
  box-shadow: 0 6px 22px rgba(30, 64, 175, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--dma-text);
}

.card p {
  font-size: 0.94rem;
  color: var(--dma-text-sec);
  margin-bottom: 0.75rem;
}

.card a {
  font-weight: 600;
  font-size: 0.94rem;
}

/* Interactive City Explorer */
#au-cities, #local-guide {
  scroll-margin-top: 20px;
}

.dma-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.dma-tab {
  appearance: none;
  background: var(--dma-card);
  color: var(--dma-text);
  border: 1.5px solid #D6D0C4;
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}

.dma-tab:hover {
  border-color: var(--dma-accent);
  color: var(--dma-accent);
}

.dma-tab[aria-selected="true"] {
  background: var(--dma-accent);
  border-color: var(--dma-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.28);
}

.dma-spot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--dma-card);
  border: 1px solid var(--dma-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(37, 48, 43, 0.06);
  margin-bottom: 2rem;
}

.dma-spot-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1E293B;
}

.dma-spot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease;
}

.dma-spot-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.dma-spot-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dma-spot-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dma-accent);
  margin-bottom: 0.35rem;
}

.dma-spot-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dma-text);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.dma-spot-desc {
  font-size: 0.96rem;
  color: var(--dma-text-sec);
  margin-bottom: 1rem;
  max-width: none;
}

.dma-spot-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--dma-bg);
  border: 1px solid #E8E3D9;
  border-radius: 10px;
}

.dma-spot-dl div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dma-spot-dl dt {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dma-accent);
}

.dma-spot-dl dd {
  font-size: 0.9rem;
  color: var(--dma-text);
  margin: 0;
  line-height: 1.45;
}

.dma-spot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.dma-spot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dma-accent);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.72rem 1.35rem;
  border-radius: 9px;
  transition: background 0.2s, transform 0.15s;
}

.dma-spot-cta:hover {
  background: var(--dma-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.dma-spot-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dma-accent);
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  border: 1.5px solid #CBD5E1;
  background: var(--dma-card);
  transition: border-color 0.2s, background 0.2s;
}

.dma-spot-link:hover {
  border-color: var(--dma-accent);
  background: var(--dma-accent-soft);
  color: var(--dma-accent);
}

.dma-city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 0 0 2.25rem;
}

.dma-city-card {
  background: var(--dma-card);
  border: 1.5px solid var(--dma-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.dma-city-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.09);
  transform: translateY(-2px);
}

.dma-city-card.dma-active {
  border-color: var(--dma-accent);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.14);
}

.dma-city-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1E293B;
  cursor: pointer;
}

.dma-city-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dma-city-card:hover .dma-city-thumb img {
  transform: scale(1.04);
}

.dma-city-state {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.dma-city-info {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dma-city-info h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.dma-city-info h3 a {
  color: var(--dma-text);
}

.dma-city-info h3 a:hover {
  color: var(--dma-accent);
}

.dma-city-info p {
  font-size: 0.86rem;
  color: var(--dma-text-sec);
  margin: 0 0 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.dma-city-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid #F1EDE5;
}

.dma-preview-btn {
  appearance: none;
  background: var(--dma-accent-soft);
  color: var(--dma-accent);
  border: none;
  border-radius: 7px;
  padding: 0.38rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.dma-preview-btn:hover {
  background: #DBEAFE;
}

.dma-guide-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dma-text-sec);
}

.dma-guide-link:hover {
  color: var(--dma-accent);
}

.dma-city-notes {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dma-border);
}

/* 30-Second Comfort & Pace Finder */
.dma-quiz {
  background: var(--dma-bg);
  border: 1.5px solid var(--dma-border);
  border-radius: 16px;
  padding: 1.6rem;
  margin-top: 2rem;
  max-width: 820px;
}

.dma-quiz-head {
  margin-bottom: 1.2rem;
}

.dma-quiz-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dma-text);
}

.dma-quiz-head p {
  margin: 0;
  font-size: 0.92rem;
}

.dma-quiz-group {
  margin-bottom: 1.15rem;
}

.dma-quiz-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dma-text);
  margin-bottom: 0.55rem;
}

.dma-quiz-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dma-q-btn {
  appearance: none;
  background: var(--dma-card);
  color: var(--dma-text);
  border: 1.5px solid #D6D0C4;
  border-radius: 9px;
  padding: 0.48rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s;
}

.dma-q-btn:hover {
  border-color: var(--dma-accent);
  color: var(--dma-accent);
}

.dma-q-btn[aria-pressed="true"] {
  background: var(--dma-accent);
  border-color: var(--dma-accent);
  color: #fff;
}

.dma-quiz-res {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--dma-card);
  border: 1.5px solid #BFDBFE;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dma-quiz-res-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dma-accent);
}

.dma-quiz-res p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--dma-text);
}

/* Native Details FAQ Accordion */
.dma-faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dma-faq-item {
  background: var(--dma-card);
  border: 1.5px solid var(--dma-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.dma-faq-item[open] {
  border-color: #93C5FD;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.06);
}

.dma-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--dma-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dma-faq-item summary::-webkit-details-marker {
  display: none;
}

.dma-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--dma-accent-soft);
  color: var(--dma-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.dma-faq-item[open] summary::after {
  content: "−";
  background: var(--dma-accent);
  color: #fff;
}

.dma-faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--dma-text-sec);
  font-size: 0.96rem;
}

.dma-faq-body p:last-child {
  margin-bottom: 0;
}

/* Steps & City Grid (subpages) */
.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.city-card {
  background: var(--dma-card);
  border: 1px solid var(--dma-border);
  border-radius: var(--dma-radius);
  padding: 1.45rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.city-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.08);
}

.city-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.city-card h3 a {
  color: var(--dma-text);
}

.city-card h3 a:hover {
  color: var(--dma-accent);
}

.city-card p {
  font-size: 0.9rem;
  color: var(--dma-text-sec);
  margin: 0;
}

.steps-list {
  list-style: none;
  max-width: 660px;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  margin-bottom: 1.25rem;
  padding-left: 3rem;
  position: relative;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--dma-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps-list li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dma-text);
}

.steps-list li p {
  margin: 0;
}

/* Bottom CTA */
.section-cta {
  background: var(--dma-card);
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--dma-border);
}

.section-cta h2 {
  font-size: 1.55rem;
  margin-bottom: 1.4rem;
  color: var(--dma-text);
}

.btn-cta {
  display: inline-block;
  background: var(--dma-accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 2.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.28);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-cta:hover {
  background: var(--dma-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: #161F1C;
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--dma-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  max-width: 340px;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0.42rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  max-width: var(--dma-max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.56);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
  color: #fff;
}

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.legal-body h3 {
  font-size: 1.1rem;
}

.legal-body p, .legal-body ul {
  max-width: 100%;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .dma-city-grid { grid-template-columns: repeat(2, 1fr); }
  .section h2 { font-size: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero h1 { font-size: 2.9rem; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .dma-spot { grid-template-columns: 1.05fr 1fr; padding: 1.5rem; gap: 1.75rem; }
  .dma-city-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 4.5rem 0; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 100svh; padding: 5.5rem 1.15rem 2.5rem; }
  .hero h1 { font-size: 1.85rem; }
  .dma-hero-sub { font-size: 0.96rem; margin-bottom: 1.4rem; }
  .dma-hero-actions { flex-direction: column; width: 100%; gap: 0.65rem; }
  .hero .btn-cta, .dma-hero-ghost { width: 100%; max-width: 320px; font-size: 0.98rem; padding: 0.82rem 1.4rem; }
  .dma-hero-trust { grid-template-columns: 1fr; gap: 0.5rem; padding: 0.8rem 0.9rem; }
  .section { padding: 2.75rem 0; }
  .section h2 { font-size: 1.48rem; }
  .section h3 { font-size: 1.12rem; }
  .section-cta h2 { font-size: 1.32rem; }
  .cards-grid, .city-grid { gap: 1rem; }
  .card, .city-card { padding: 1.25rem; }
  .dma-quiz { padding: 1.2rem; }
}

/* Phase 3 Deep Local & Safety Callout Modules */
.dma-local-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.5rem 0;
  max-width: 820px;
}

.dma-local-dl > div {
  background: var(--dma-card);
  border: 1.5px solid var(--dma-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.section-alt .dma-local-dl > div {
  background: var(--dma-bg);
}

.dma-local-dl dt {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dma-accent);
  margin-bottom: 0.35rem;
}

.dma-local-dl dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--dma-text-sec);
  line-height: 1.6;
}

.dma-safety-box {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-left: 4px solid var(--dma-accent);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
  max-width: 780px;
}

.dma-safety-box h3 {
  margin: 0 0 0.55rem !important;
  font-size: 1.06rem;
  color: var(--dma-accent);
}

.dma-safety-box ul {
  margin: 0 0 0 1.2rem;
}

.dma-safety-box li {
  font-size: 0.93rem;
  color: var(--dma-text);
  margin-bottom: 0.4rem;
}

@media (min-width: 720px) {
  .dma-local-dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
