/* ========================================
   SpeedyBail - Dark Navy & Gold Theme
   Bail Bonds Information Resource
   Complete Redesign - March 2026
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

/* ---- Custom Properties ---- */
:root {
  --color-bg: #0a0e1a;
  --color-surface: #141829;
  --color-surface-raised: #1a1f35;
  --color-gold: #c9a227;
  --color-gold-light: #d4b445;
  --color-gold-dark: #a88620;
  --color-white: #ffffff;
  --color-text: #e0e4ef;
  --color-text-secondary: #8892b0;
  --color-text-muted: #5a6380;
  --color-border: rgba(201, 162, 39, 0.15);
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-glass: rgba(20, 24, 41, 0.7);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-danger: #e05555;
  --color-success: #3aaf6c;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --max-content: 720px;
  --max-wide: 1100px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold); }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 12px;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.nav-logo span {
  color: var(--color-gold);
}
.nav-logo:hover { color: var(--color-white); }

/* Nav links - scoped list-style */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-white); }
.nav-cta {
  background: var(--color-gold);
  color: var(--color-bg) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--color-gold-light); color: var(--color-bg) !important; }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-trigger svg {
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg) 0%, #0d1225 50%, var(--color-bg) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.gold { color: var(--color-gold); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
.scroll-indicator {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  min-height: 48px;
  min-width: 48px;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}
.btn-primary:hover { background: var(--color-gold-light); color: var(--color-bg); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--color-gold-light);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-arrow::after { content: '\2192'; }

/* ---- Section Layouts ---- */
.section {
  padding: var(--space-xl) var(--space-md);
}
.section-dark {
  background: var(--color-surface);
}
.section-raised {
  background: var(--color-surface-raised);
}
.container {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.container-narrow {
  max-width: var(--max-content);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-dark));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-surface-raised);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 auto var(--space-sm);
}
.step-title {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ---- Topic Grid ---- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.topic-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition);
}
.topic-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.08);
}
.topic-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(201, 162, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.topic-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}
.topic-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.topic-card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topic-card .card-link::after { content: '\2192'; transition: transform var(--transition); }
.topic-card:hover .card-link::after { transform: translateX(4px); }

/* ---- Trust Signals ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
}
.trust-item {
  padding: var(--space-md);
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}
.trust-title {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.trust-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* ---- Content Pages ---- */
.page-hero {
  position: relative;
  padding: calc(var(--space-2xl) + 32px) var(--space-md) var(--space-xl);
  text-align: center;
  background: linear-gradient(180deg, #0d1225, var(--color-bg));
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto var(--space-sm);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
/* Content body */
.content-body {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.content-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-white);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.content-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--color-white);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}
.content-body p {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  line-height: 1.8;
}
.content-body p + p {
  margin-top: 0;
}

/* Content lists - gold bullets visible */
.content-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
}
.content-body ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.7;
  color: var(--color-text);
}
.content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}
.content-body ol {
  padding-left: 1.5em;
  margin-bottom: var(--space-md);
}
.content-body ol li {
  margin-bottom: 0.5em;
  line-height: 1.7;
  color: var(--color-text);
}
.content-body ol li::marker {
  color: var(--color-gold);
  font-weight: 700;
}

/* Callout boxes */
.callout {
  background: var(--color-surface);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-md);
  margin: var(--space-md) 0;
}
.callout-title {
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.callout-urgent {
  border-left-color: var(--color-danger);
}
.callout-urgent .callout-title {
  color: var(--color-danger);
}

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: 0.95rem;
}
.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.info-table th {
  background: var(--color-surface);
  color: var(--color-gold);
  font-weight: 600;
  white-space: nowrap;
}
.info-table td {
  color: var(--color-text);
}
.info-table tbody tr:hover {
  background: var(--color-surface);
}

/* Image breaks */
.content-image {
  margin: var(--space-lg) calc(-1 * var(--space-md));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.content-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Disclaimer bar */
.disclaimer-bar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  text-align: center;
  line-height: 1.6;
}

/* ---- FAQ Section ---- */
.faq-section {
  margin-top: var(--space-lg);
}
.faq-section h2 {
  margin-top: 0;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: var(--space-xs);
  overflow: hidden;
}
.faq-item summary {
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 48px;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-gold);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  background: var(--color-surface);
}
.faq-answer {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.faq-answer p { margin-bottom: var(--space-xs); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- Help Section ---- */
.help-section {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-raised) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  margin-top: var(--space-xl);
}
.help-section h2 {
  margin-top: 0;
  color: var(--color-white);
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
  text-align: left;
}
.help-card {
  background: rgba(10, 14, 26, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.help-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  margin-top: 0;
}
.help-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}
.help-reassurance {
  margin-top: var(--space-md);
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
}
.footer-brand h3 {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}
.footer-brand h3 span { color: var(--color-gold); }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}
/* Footer links - scoped list-style none */
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li { margin-bottom: var(--space-xs); }
.footer-col ul li a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-gold); }

.footer-bottom {
  max-width: var(--max-wide);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer-disclaimer {
  max-width: var(--max-wide);
  margin: var(--space-md) auto 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
  padding: 0 var(--space-md);
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.about-card h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}
.about-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
    width: 100%;
  }
  .nav-cta { margin-top: var(--space-xs); text-align: center; border-bottom: none !important; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity var(--transition), visibility var(--transition);
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu a {
    padding: 10px 0 10px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .process-steps::before {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero { min-height: 70vh; padding-top: 100px; }
  .page-hero { padding-top: 100px; }

  .help-grid { grid-template-columns: 1fr; }

  .content-image {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .topic-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Legal Page (noindex) ---- */
.legal-content {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}
.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
}
.legal-content ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  color: var(--color-text-secondary);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

/* ---- Focus Styles ---- */
a:focus-visible, button:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ---- Utility ---- */
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
