:root {
  --bg: #f4f5f7;
  --bg-warm: #faf9f7;
  --bg-soft: #eceff3;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-strong: #f6f7f9;
  --border: #dde3eb;
  --border-strong: #c5ced9;
  --text: #0f2744;
  --muted: #5c6b7a;
  --soft: #8b97a5;
  --gold: #c2410c;
  --gold-light: #ea580c;
  --gold-subtle: rgba(234, 88, 12, 0.12);
  --ink: #0a1628;
  --green: #0d7a55;
  --blue: #1e4d8c;
  --blue-light: #2d5fa3;
  --blue-dark: #153a6b;
  --navy: #0f2744;
  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.05);
  --shadow: 0 4px 6px rgba(15, 39, 68, 0.05), 0 12px 28px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 39, 68, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --accent: #1e4d8c;
  --champagne: #9a3412;
  --copper: #153a6b;
  --smoke: #8b97a5;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-strong: #ffffff;
  --deep-shadow: 0 16px 40px rgba(15, 39, 68, 0.1);
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 42%, var(--bg-soft) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  display: none;
}

body.nav-lock {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.section {
  padding: 58px 0;
  position: relative;
}

.section::before {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.site-header::before,
.site-header::after {
  display: none;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  text-decoration: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: block;
  object-fit: contain;
  padding: 4px;
  border: 1px solid rgba(234, 88, 12, 0.5);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(234, 88, 12, 0.08));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  image-rendering: auto;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--text);
  font-size: clamp(17px, 4.4vw, 21px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.brand-copy span {
  color: var(--gold-light);
  font-size: clamp(11px, 3.1vw, 13px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.nav-toggle {
  position: relative;
  z-index: 60;
  width: 46px;
  min-height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 11px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(234, 88, 12, 0.32);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(240, 206, 134, 0.7);
  transform: translateY(-1px);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:not(.sr-only):nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:not(.sr-only):nth-child(3) {
  opacity: 0;
}

.nav-toggle.is-open span:not(.sr-only):nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 94px;
  right: 16px;
  z-index: 55;
  width: min(calc(100vw - 32px), 390px);
  max-height: calc(100svh - 116px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(30, 35, 41, 0.96), rgba(15, 18, 21, 0.98));
  border: 1px solid rgba(234, 88, 12, 0.24);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(1.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) translateY(-8px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.26s ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(0) scale(1);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.22s ease;
}

.site-nav.is-open + .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-panel-header {
  display: grid;
  gap: 3px;
  padding: 6px 6px 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.nav-panel-title {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-panel-subtitle {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(234, 88, 12, 0.22);
  transform: translateX(2px);
}

.nav-icon {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 1px solid rgba(240, 206, 134, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.08);
}

.site-nav .nav-language {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.language-switcher {
  display: grid;
  gap: 9px;
}

.language-switcher > span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.language-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.language-select:hover,
.language-select:focus {
  border-color: rgba(240, 206, 134, 0.75);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.12);
  outline: 0;
}

.language-select option {
  color: #151109;
  background: #f7f0e6;
}

.language-bar {
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 10, 12, 0.48);
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 14px 34px rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}

.language-bar::-webkit-scrollbar {
  display: none;
}

.language-pill {
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  color: rgba(247, 240, 230, 0.78);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.language-pill:hover,
.language-pill:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(234, 88, 12, 0.22);
  transform: translateY(-1px);
}

.language-pill:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.28);
  outline-offset: 2px;
}

.language-pill.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, #fed7aa, #ea580c 58%, #c2410c);
  border-color: rgba(255, 242, 212, 0.5);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.language-flag {
  font-size: 15px;
  line-height: 1;
}

.language-code {
  letter-spacing: 0;
  white-space: nowrap;
}

.header-language {
  display: none;
  min-width: 312px;
  max-width: min(42vw, 420px);
  margin-left: auto;
}

.header-language .language-bar {
  justify-content: flex-start;
}

.back-nav {
  padding-top: clamp(14px, 3.4vw, 22px);
}

.back-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  color: rgba(247, 240, 230, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(8, 10, 12, 0.52);
  border: 1px solid rgba(246, 223, 170, 0.24);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-button:hover,
.back-button:focus-visible {
  color: #fff7e8;
  border-color: rgba(246, 223, 170, 0.58);
  background:
    linear-gradient(145deg, rgba(246, 223, 170, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(8, 10, 12, 0.64);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(234, 88, 12, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.075);
  transform: translateX(-2px);
}

.back-button:active {
  transform: translateX(-1px) scale(0.98);
}

.back-button-icon {
  color: var(--champagne);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.back-button:hover .back-button-icon,
.back-button:focus-visible .back-button-icon {
  transform: translateX(-2px);
}

[dir="rtl"] .back-button:hover,
[dir="rtl"] .back-button:focus-visible {
  transform: translateX(2px);
}

[dir="rtl"] .back-button:active {
  transform: translateX(1px) scale(0.98);
}

[dir="rtl"] .back-button-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .back-button:hover .back-button-icon,
[dir="rtl"] .back-button:focus-visible .back-button-icon {
  transform: rotate(180deg) translateX(-2px);
}

[dir="rtl"] .site-nav {
  right: auto;
  left: 16px;
}

[dir="rtl"] .site-nav a:hover,
[dir="rtl"] .site-nav a:focus-visible {
  transform: translateX(-2px);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.button-full {
  width: 100%;
}

.floating-apply {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 25;
  min-height: 48px;
  max-width: calc(100vw - 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 8px 24px rgba(234, 88, 12, 0.28);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none;
  animation: apply-bounce 3.2s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.floating-apply:hover,
.floating-apply:focus-visible {
  border-color: rgba(255, 244, 215, 0.62);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.44), 0 8px 26px rgba(234, 88, 12, 0.34);
  filter: saturate(1.08) brightness(1.03);
  transform: translateY(-3px);
  animation-play-state: paused;
}

.floating-apply:active {
  transform: translateY(0) scale(0.97);
}

@keyframes apply-bounce {
  0%, 72%, 100% {
    transform: translateY(0);
  }

  80% {
    transform: translateY(-7px);
  }

  88% {
    transform: translateY(0);
  }
}

.hero {
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(234, 88, 12, 0.15), transparent 22rem),
    linear-gradient(135deg, rgba(12, 14, 16, 0.98), rgba(23, 27, 32, 0.92));
}

.hero-grid {
  display: grid;
  gap: 26px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 9vw, 66px);
}

h2 {
  font-size: clamp(24px, 5vw, 36px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 4.5vw, 21px);
}

.trust-strip {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.equal-housing-badge,
.ssl-badge {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: all 0.3s ease;
}

.equal-housing-badge:hover,
.ssl-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(226, 195, 145, 0.1);
  border-radius: 8px;
  color: var(--accent);
}

.trust-badge-text {
  font-size: 14px;
  line-height: 1.4;
}

.trust-badge-text strong {
  display: block;
  font-weight: 600;
  color: var(--text);
}

/* Application Received Page Styles */
.status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: rgba(226, 195, 145, 0.15);
  border: 1px solid rgba(226, 195, 145, 0.3);
  border-radius: 24px;
  margin: 0 auto 24px auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.confirmation-card {
  background: rgba(24, 28, 32, 0.74);
  border: 1px solid rgba(238, 226, 205, 0.16);
  border-radius: var(--radius);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(234, 88, 12, 0.1);
  backdrop-filter: blur(20px) saturate(1.1);
  padding: 20px;
  width: 100%;
  margin-bottom: 18px;
  position: relative;
}

.confirmation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(234, 88, 12, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(226, 195, 145, 0.02) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.confirmation-card h1 {
  font-size: clamp(18px, 4.8vw, 26px);
  font-weight: 700;
  margin: 0 auto 16px auto;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.confirmation-card h2 {
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 600;
  margin: 0 auto 12px auto;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.confirmation-card p {
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}

.application-id {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(226, 195, 145, 0.05);
  border: 1px solid rgba(226, 195, 145, 0.2);
  border-radius: 12px;
  font-family: 'Courier New', monospace;
}

.application-id strong {
  color: var(--text);
}

.application-id span {
  color: var(--accent);
  font-weight: 600;
}

.review-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.review-status-heading h2 {
  margin: 0;
}

.review-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(226, 195, 145, 0.28);
  border-radius: 999px;
  background: rgba(226, 195, 145, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.payment-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.payment-info-card h2 {
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 600;
  margin: 0 auto 20px auto;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.payment-details {
  margin-bottom: 20px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-row strong {
  color: var(--text);
  font-weight: 600;
}

.payment-row span {
  color: var(--muted);
  text-align: right;
  max-width: 60%;
}

.payment-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-footer p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.supported-payments-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(226, 195, 145, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(226, 195, 145, 0.14), transparent 16rem),
    radial-gradient(circle at 90% 12%, rgba(152, 180, 174, 0.1), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(12, 17, 19, 0.68);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.32),
    0 10px 28px rgba(185, 140, 87, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  text-align: center;
}

.supported-payments-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(226, 195, 145, 0.045));
  pointer-events: none;
}

.supported-payments-card > * {
  position: relative;
  z-index: 1;
}

.supported-payments-heading {
  max-width: 620px;
  margin: 0 auto 18px;
}

.supported-payments-kicker {
  margin: 0 0 8px;
  color: rgba(226, 195, 145, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.supported-payments-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 4.2vw, 24px);
  line-height: 1.18;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.payment-method-tile {
  display: grid;
  min-width: 0;
  min-height: 108px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.payment-method-tile span:last-child {
  color: rgba(247, 240, 230, 0.88);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.payment-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.payment-method-chime {
  background: linear-gradient(145deg, #00a86b, #0f7f58);
}

.payment-method-zelle {
  background: linear-gradient(145deg, #6d1ed4, #4f0da9);
}

.payment-method-apple {
  background: linear-gradient(145deg, #1f2328, #050607);
  font-size: 14px;
}

.payment-method-venmo {
  background: linear-gradient(145deg, #2d9cff, #0074de);
}

.payment-method-paypal {
  background: linear-gradient(145deg, #123f88, #0070ba);
}

.supported-payments-card p:not(.supported-payments-kicker) {
  max-width: 690px;
  margin: 0 auto;
  color: rgba(247, 240, 230, 0.74);
  font-size: 14.5px;
  line-height: 1.65;
}

.supported-payments-note {
  margin-top: 8px !important;
}

.payment-workflow-methods {
  margin-bottom: 26px;
}

.payment-confirmation {
  margin-bottom: 24px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(226, 195, 145, 0.05);
  border: 1px solid rgba(226, 195, 145, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
  background: rgba(226, 195, 145, 0.1);
}

.checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-wrapper label {
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.continue-button-wrapper {
  margin-bottom: 32px;
}

.continue-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Payment Confirmation Page Styles */
.payment-confirmation-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.payment-confirmation-section .page-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-confirmation-section .page-header h1 {
  font-size: clamp(20px, 5.2vw, 30px);
  font-weight: 700;
  margin: 0 auto 12px auto;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.payment-confirmation-section .page-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.upload-section {
  margin-bottom: 32px;
  text-align: center;
}

/* Submit Button Styles */
.submit-section {
  text-align: center;
  margin-top: 32px;
}

.submit-button {
  background: linear-gradient(135deg, var(--accent), rgba(226, 195, 145, 0.8));
  border: none;
  border-radius: 24px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(226, 195, 145, 0.2);
}

.submit-button:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.9), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(226, 195, 145, 0.4);
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-button:hover::before {
  left: 100%;
}

.upload-area {
  border: 2px dashed rgba(226, 195, 145, 0.3);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  background: rgba(226, 195, 145, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.upload-area:hover {
  border-color: rgba(226, 195, 145, 0.5);
  background: rgba(226, 195, 145, 0.05);
  box-shadow: 0 8px 32px rgba(226, 195, 145, 0.15);
}

.upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  opacity: 0.8;
  filter: drop-shadow(0 4px 12px rgba(226, 195, 145, 0.3));
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--accent);
  background: rgba(226, 195, 145, 0.05);
}

.upload-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

/* Trust Indicators - Removed from Payment Confirmation Page */



.upload-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.upload-text p strong {
  color: var(--text);
  font-weight: 600;
}

.uploaded-files {
  margin-top: 24px;
  text-align: center;
}

.uploaded-files h3 {
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 600;
  margin: 0 auto 16px auto;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.file-preview {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-info {
  flex: 1;
}

.file-info strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}

.file-info span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.remove-file {
  padding: 8px 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 8px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-file:hover {
  background: rgba(220, 38, 38, 0.2);
}

.email-option {
  text-align: center;
  margin-bottom: 32px;
}

.email-option h2 {
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 600;
  margin: 0 auto 16px auto;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
}

.email-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.email-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(226, 195, 145, 0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.email-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px auto;
  background: rgba(226, 195, 145, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.15), rgba(226, 195, 145, 0.05));
  border: 1px solid rgba(226, 195, 145, 0.3);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.email-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 195, 145, 0.2), transparent);
  transition: left 0.5s ease;
}

.email-link:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.25), rgba(226, 195, 145, 0.1));
  border-color: rgba(226, 195, 145, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 195, 145, 0.3);
}

.email-link:hover::before {
  left: 100%;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(226, 195, 145, 0.1);
  border: 1px solid rgba(226, 195, 145, 0.3);
  border-radius: 24px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-link:hover {
  background: rgba(226, 195, 145, 0.2);
  transform: translateY(-2px);
}

.email-icon {
  display: flex;
  align-items: center;
}

.submit-section {
  margin-bottom: 32px;
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.success-icon {
  color: #22c55e;
  margin-bottom: 16px;
}

.success-message h3 {
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 600;
  margin: 0 auto 12px auto;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
}

.success-message p {
  color: var(--muted);
  margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .confirmation-card,
  .payment-info-card,
  .supported-payments-card {
    padding: 20px;
  }
  
  .confirmation-card h1 {
    font-size: 22px;
  }
  
  .confirmation-card h2 {
    font-size: 18px;
  }
  
  .payment-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .payment-row span {
    max-width: 100%;
    text-align: left;
  }

  .review-status-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .payment-method-tile {
    min-height: 98px;
  }

  .payment-method-tile:last-child {
    grid-column: 1 / -1;
  }
  
  .upload-area {
    padding: 32px 16px;
  }
  
  .file-item {
    flex-direction: column;
    text-align: center;
  }
  
  .file-preview {
    margin: 0 auto;
  }
}

/* Chime Help Section Styles */
.chime-help-section {
  margin-bottom: 32px;
}

.chime-help-section .confirmation-card h2 {
  text-align: center !important;
  white-space: nowrap !important;
  font-size: clamp(16px, 4.2vw, 20px) !important;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow: visible;
}

.app-store-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-small-text {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

.app-large-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.setup-guide {
  text-align: center;
}

.setup-guide h3 {
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 600;
  margin: 0 auto 16px auto;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.setup-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.setup-steps li {
  margin-bottom: 8px;
}

.setup-steps li:last-child {
  margin-bottom: 0;
}

.help-section {
  margin-bottom: 32px;
}

.help-section .confirmation-card h2 {
  text-align: center !important;
  white-space: nowrap !important;
  font-size: clamp(16px, 4.2vw, 20px) !important;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow: visible;
}

.contact-info {
  margin: 20px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  color: var(--text);
  font-weight: 600;
  min-width: 60px;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.website-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 0;
  font-style: italic;
}

/* Payment Confirmation Page Layout Improvements */
.payment-confirmation-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.payment-confirmation-section .page-header {
  text-align: center;
  margin-bottom: 32px;
}

.payment-confirmation-section .page-header h1 {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  margin: 0 auto 16px auto;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.payment-confirmation-section .page-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
  max-width: 480px;
}

.payment-upload-form {
  margin-bottom: 40px;
}

.hidden-field {
  display: none;
}

.applicant-details {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.premium-field {
  position: relative;
}

.premium-field input {
  width: 100%;
  min-height: 62px;
  padding: 24px 18px 10px;
  border: 1px solid rgba(226, 195, 145, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(226, 195, 145, 0.025));
  color: var(--text);
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.premium-field label {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  transform-origin: left center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.premium-field input:focus,
.premium-field input:not(:placeholder-shown) {
  border-color: rgba(226, 195, 145, 0.58);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(226, 195, 145, 0.04));
  box-shadow: 0 0 0 4px rgba(226, 195, 145, 0.11), 0 14px 38px rgba(0, 0, 0, 0.18);
}

.premium-field input:focus + label,
.premium-field input:not(:placeholder-shown) + label {
  color: var(--accent);
  transform: translateY(-12px) scale(0.78);
}

.upload-section {
  margin-bottom: 40px;
  text-align: center;
}

.upload-area {
  display: block;
  border: 2px dashed rgba(226, 195, 145, 0.4);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.03), rgba(226, 195, 145, 0.01));
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.upload-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(226, 195, 145, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.upload-area:hover::before {
  opacity: 1;
}

.upload-area:hover {
  border-color: rgba(226, 195, 145, 0.6);
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.06), rgba(226, 195, 145, 0.02));
  box-shadow: 0 12px 40px rgba(226, 195, 145, 0.2);
  transform: translateY(-2px);
}

.upload-area.drag-over,
.upload-area:focus-within {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.08), rgba(226, 195, 145, 0.03));
  box-shadow: 0 0 0 4px rgba(226, 195, 145, 0.12), 0 14px 44px rgba(226, 195, 145, 0.18);
}

.upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  opacity: 0.9;
  filter: drop-shadow(0 6px 16px rgba(226, 195, 145, 0.4));
  transition: all 0.4s ease;
}

.upload-area:hover .upload-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(226, 195, 145, 0.6));
}

.upload-text {
  display: grid;
  gap: 8px;
}

.upload-text span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  transition: color 0.3s ease;
}

.upload-text span strong {
  color: var(--text);
  font-weight: 600;
}

.upload-area:hover .upload-text span,
.upload-area.drag-over .upload-text span {
  color: var(--text);
}

#fileInput {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.uploaded-files {
  margin-top: 32px;
  text-align: center;
}

.uploaded-files h3 {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 600;
  margin: 0 auto 20px auto;
  color: var(--text);
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.file-item:hover {
  border-color: rgba(226, 195, 145, 0.3);
  box-shadow: 0 8px 32px rgba(226, 195, 145, 0.15);
}

.file-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-info {
  flex: 1;
}

.file-name {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.file-size {
  font-size: 13px;
  color: var(--muted);
}

.remove-file {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.15), rgba(226, 195, 145, 0.05));
  border: 1px solid rgba(226, 195, 145, 0.3);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-file:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.25), rgba(226, 195, 145, 0.1));
  border-color: rgba(226, 195, 145, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 195, 145, 0.2);
}

/* Email Option Styles */
.email-option {
  text-align: center;
  margin-bottom: 40px;
}

.email-option h2 {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 600;
  margin: 0 auto 20px auto;
  color: var(--text);
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.email-option p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Premium Email Card */
.email-card {
  background: linear-gradient(135deg, var(--surface), rgba(226, 195, 145, 0.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.email-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(226, 195, 145, 0.4), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.email-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(226, 195, 145, 0.25);
  border-color: rgba(226, 195, 145, 0.4);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.2), rgba(226, 195, 145, 0.08));
  border: 1px solid rgba(226, 195, 145, 0.4);
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.email-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 195, 145, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-link:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.3), rgba(226, 195, 145, 0.15));
  border-color: rgba(226, 195, 145, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(226, 195, 145, 0.4);
}

.email-link:hover::before {
  left: 100%;
}

/* Submit Button Styles */
.submit-section {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 48px;
}

.submit-button {
  background: linear-gradient(135deg, var(--accent), rgba(226, 195, 145, 0.85));
  border: none;
  border-radius: 28px;
  padding: 20px 48px;
  font-size: 17px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(226, 195, 145, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.95), var(--accent));
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(226, 195, 145, 0.5);
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-button:hover::before {
  left: 100%;
}

/* Success Message Styles */
.success-message {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--surface), rgba(34, 197, 94, 0.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 40px;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: rgba(34, 197, 94, 0.9);
}

.success-message h3 {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  margin: 0 auto 16px auto;
  color: var(--text);
  text-align: center;
  overflow: visible;
  max-width: 100%;
}

.success-message h1 {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  margin: 0 auto 16px auto;
  color: var(--text);
  line-height: 1.12;
  text-align: center;
  max-width: 100%;
}

.success-message p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.12), rgba(226, 195, 145, 0.04));
  border: 1px solid rgba(226, 195, 145, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: linear-gradient(135deg, rgba(226, 195, 145, 0.18), rgba(226, 195, 145, 0.08));
  border-color: rgba(226, 195, 145, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(226, 195, 145, 0.25);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

/* Footer Styles */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 48px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-identity {
  text-align: center;
}

.footer-identity strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-role {
  font-size: 15px;
  color: var(--muted);
}

.footer-legal {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* Footer Contact Channels */
.footer-contact-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(226, 195, 145, 0.05);
  border: 1px solid rgba(226, 195, 145, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact-channel:hover {
  background: rgba(226, 195, 145, 0.1);
  border-color: rgba(226, 195, 145, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 195, 145, 0.2);
}

.contact-channel-icon {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.contact-channel-text {
  font-size: 14px;
  font-weight: 500;
}

.contact-email-ltr {
  direction: ltr;
}

.contact-phone-ltr {
  direction: ltr;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .app-store-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .app-button {
    padding: 16px;
    justify-content: center;
    text-align: center;
  }
  
  .app-text {
    align-items: center;
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .contact-item strong {
    min-width: auto;
  }
  
  /* Make headings smaller on mobile for cleaner look */
  .confirmation-card h1 {
    font-size: clamp(14px, 3.8vw, 18px);
    white-space: nowrap;
    text-align: center;
  }
  
  .confirmation-card h2 {
    font-size: clamp(14px, 3.6vw, 16px);
    white-space: nowrap;
    text-align: center;
  }
  
  .payment-info-card h2 {
    font-size: clamp(14px, 3.6vw, 16px);
    white-space: nowrap;
    text-align: center;
  }
  
  .setup-guide h3 {
    font-size: clamp(14px, 3.6vw, 16px);
    white-space: nowrap;
    text-align: center;
  }
  
  .payment-confirmation-section {
    padding: 0 16px;
  }
  
  .payment-confirmation-section .page-header h1 {
    font-size: clamp(20px, 5vw, 28px);
    margin: 0 auto 12px auto;
    max-width: 100%;
  }
  
  .payment-confirmation-section .page-subtitle {
    font-size: 15px;
    margin: 0 auto;
  }

  .payment-upload-form {
    margin-bottom: 32px;
  }

  .applicant-details {
    gap: 14px;
    margin-bottom: 24px;
  }

  .premium-field input {
    min-height: 58px;
    padding: 22px 16px 9px;
    border-radius: 12px;
  }

  .premium-field label {
    top: 19px;
    left: 16px;
    font-size: 14px;
  }
  
  .upload-area {
    padding: 32px 16px;
    border-radius: 12px;
  }
  
  .upload-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px auto;
  }
  
  .upload-text span {
    font-size: 14px;
  }
  
  .uploaded-files h3 {
    font-size: clamp(16px, 4vw, 20px);
    margin: 0 auto 16px auto;
    max-width: 100%;
  }
  
  .file-item {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    text-align: center;
  }
  
  .file-preview img {
    width: 56px;
    height: 56px;
  }
  
  .email-card {
    padding: 32px 24px;
  }
  
  .email-option h2 {
    font-size: clamp(16px, 4vw, 20px);
    margin: 0 auto 16px auto;
  }
  
  .email-option p {
    font-size: 14px;
    margin-bottom: 16px;
    max-width: 320px;
  }
  
  .email-link {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }
  
  .submit-button {
    width: 100%;
    max-width: 360px;
    padding: 18px 36px;
    font-size: 14px;
  }
  
  .trust-indicators {
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
  }
  
  .trust-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .trust-badge-icon {
    font-size: 14px;
  }
  
  .success-message {
    padding: 32px 24px;
  }
  
  .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
  }
  
  .success-message h3 {
    font-size: clamp(16px, 4vw, 20px);
    margin: 0 auto 12px auto;
  }
  
  .success-message p {
    font-size: 14px;
  }
  
  .site-footer {
    padding: 24px 0;
  }
  
  .footer-identity strong {
    font-size: 16px;
  }
  
  .footer-role {
    font-size: 14px;
  }
  
  .footer-legal {
    font-size: 12px;
  }
  
  /* EHO Section Mobile Responsive */
  .ehc-section {
    padding: 16px 0;
  }
  
  .ehc-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  
  .ehc-logo-placeholder {
    margin: 0 auto;
  }
  
  .ehc-content {
    text-align: center;
  }
  
  .ehc-content h3 {
    font-size: clamp(14px, 3.6vw, 16px);
    margin: 0 auto 10px auto;
  }
  
  .ehc-content p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .ehc-trust-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  /* Application Form Mobile Responsive */
  .form-section {
    margin-bottom: 24px;
  }
  
  .form-intro {
    padding: 16px 20px;
  }
  
  .application-form {
    gap: 16px;
  }
  
  .application-form fieldset {
    margin-bottom: 20px;
  }
  
  .application-form legend {
    margin-bottom: 12px;
  }
  
  .application-form label {
    margin-bottom: 6px;
  }
  
  .application-form input,
  .application-form textarea,
  .application-form select {
    padding: 12px;
    font-size: 16px;
  }
}

/* Equal Housing Opportunity Section Styles */
.ehc-section {
  padding: 24px 0;
}

.ehc-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 24px;
  text-align: center;
}

.ehc-logo-placeholder {
  position: relative;
  width: 60px;
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 16px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(226, 195, 145, 0.08);
  border: 1px solid rgba(226, 195, 145, 0.2);
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  backdrop-filter: blur(8px);
  margin-top: 16px;
}

.ehc-trust-badge .ehc-icon {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

.trust-pill,
.manager-card,
.copy-panel,
.process-list li,
.faq-card,
.consultation-panel,
.confirmation-panel,
.form-intro,
fieldset {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-pill {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
}

.trust-pill strong {
  display: block;
  font-size: 16px;
}

.trust-pill p,
.section-heading p,
.copy-panel p,
.process-list p,
.faq-card p,
.consultation-panel p,
.form-intro p,
.status-box p,
.next-step-box p {
  color: var(--muted);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.hoa-badge {
  color: #dff7e8;
  background: rgba(128, 198, 160, 0.14);
  border: 1px solid rgba(128, 198, 160, 0.5);
}

.secure-badge {
  color: #eaf1ff;
  background: rgba(143, 184, 255, 0.13);
  border: 1px solid rgba(143, 184, 255, 0.48);
}

.manager-card {
  overflow: hidden;
  background: rgba(24, 28, 32, 0.74);
  border: 1px solid rgba(238, 226, 205, 0.16);
  border-radius: var(--radius);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(234, 88, 12, 0.1);
  backdrop-filter: blur(20px) saturate(1.1);
  padding: 20px;
  position: relative;
}

.manager-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(234, 88, 12, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(226, 195, 145, 0.02) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.manager-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.manager-card div {
  padding: 18px;
  position: relative;
  z-index: 2;
}

.manager-card h2 {
  font-size: 26px;
  color: var(--text);
}

.manager-card p {
  margin-top: 6px;
  color: var(--gold);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p {
  margin-top: 12px;
}

.split-section {
  display: grid;
  gap: 22px;
}

.copy-panel,
.consultation-panel {
  padding: 22px;
}

.copy-panel {
  position: relative;
  display: grid;
  gap: 15px;
  overflow: hidden;
  border-color: rgba(246, 223, 170, 0.18);
}

.copy-panel::before {
  content: "";
  position: absolute;
  left: clamp(20px, 4vw, 34px);
  right: clamp(20px, 4vw, 34px);
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 170, 0.72), transparent);
  opacity: 0.78;
}

.copy-panel p {
  max-width: 68ch;
  line-height: 1.74;
}

.copy-panel p + p {
  padding-top: 15px;
  border-top: 1px solid rgba(246, 223, 170, 0.11);
}

.copy-panel .hoa-badge {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
  padding: 16px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(246, 223, 170, 0.08), rgba(255, 255, 255, 0.028)),
    rgba(10, 13, 15, 0.42);
  border: 1px solid rgba(246, 223, 170, 0.16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.2);
}

.hoa-logo-placeholder {
  position: relative;
  width: 76px;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(246, 223, 170, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(246, 223, 170, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 26px rgba(0, 0, 0, 0.22);
}

.hoa-logo-placeholder img {
  display: block;
  width: 65%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
  margin: 0 auto;
}

.form-intro .zillow-badge {
  display: grid;
  grid-template-columns: minmax(76px, 100px) 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
  padding: 16px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(246, 223, 170, 0.08), rgba(255, 255, 255, 0.028)),
    rgba(10, 13, 15, 0.42);
  border: 1px solid rgba(246, 223, 170, 0.16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.2);
}

.zillow-logo-placeholder {
  position: relative;
  width: 100%;
  max-width: 100px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 6px 8px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(246, 223, 170, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.zillow-logo-placeholder img {
  display: block;
  width: 70%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.24));
  margin: 0 auto;
}

.zillow-text {
  display: grid;
  gap: 6px;
}

.zillow-text strong {
  color: var(--text);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.25;
  font-weight: 700;
}

.zillow-text span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

.hoa-text {
  display: grid;
  gap: 5px;
}

.hoa-text strong {
  color: var(--text);
  font-size: clamp(16px, 2.6vw, 19px);
  line-height: 1.2;
}

.hoa-text span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.consultation-panel {
  display: grid;
  gap: 18px;
  border-color: rgba(234, 88, 12, 0.3);
}

.consultation-panel h2 {
  max-width: 760px;
  line-height: 1.28;
}

.consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.faq-grid {
  display: grid;
  gap: 18px;
}

.process-list li:hover,
.faq-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.faq-card,
.confirmation-panel {
  padding: 22px;
}

.faq-card p {
  margin-top: 10px;
}

.process-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  gap: 12px;
  padding: 20px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.process-list span {
  width: auto;
  height: auto;
  display: block;
  color: var(--blue);
  background: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto;
  height: 48%;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 170, 0.07), transparent);
  pointer-events: none;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 22px;
  overflow: hidden;
  background: rgba(24, 28, 32, 0.74);
  border: 1px solid rgba(238, 226, 205, 0.16);
  border-radius: var(--radius);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(234, 88, 12, 0.1);
  backdrop-filter: blur(20px) saturate(1.1);
  padding: 22px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(234, 88, 12, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(226, 195, 145, 0.02) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 170, 0.32), transparent);
  opacity: 0.8;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 223, 170, 0.34);
  box-shadow: var(--deep-shadow), 0 12px 34px rgba(234, 88, 12, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.service-icon {
  width: auto;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  color: var(--blue);
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.service-card h3 {
  max-width: 18ch;
  font-size: clamp(19px, 3vw, 24px);
}

.community-section {
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 54%;
  background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.08), transparent);
  pointer-events: none;
}

.community-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

@keyframes communityCinematicDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.02) translate3d(0, -10px, 0);
  }
}

.community-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(246, 223, 170, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(120% 85% at 50% 108%, rgba(234, 88, 12, 0.06), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.026)),
    rgba(5, 7, 9, 0.86);
  box-shadow: var(--deep-shadow), 0 38px 96px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
  touch-action: manipulation;
}

.community-track {
  position: relative;
  min-height: clamp(288px, 54vw, 640px);
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 42%, rgba(12, 14, 17, 0.2), rgba(4, 6, 8, 0.85));
}

.community-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  transition:
    opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.08s cubic-bezier(0.35, 0, 0.2, 1),
    filter 0.8s ease;
  filter: saturate(1.02) brightness(0.93);
}

.community-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
  pointer-events: auto;
  filter: saturate(1.05) contrast(1.02) brightness(1);
}

.community-slide.is-active img {
  animation: communityCinematicDrift 24s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@media (hover: hover) and (pointer: fine) {
  .community-slide.is-active:hover {
    transform: scale(1.006);
  }
}

.community-slide:not(.is-active) img {
  animation: none;
}

.community-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.06);
}

.community-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 5, 7, 0.55), transparent 28%, transparent 74%, rgba(4, 5, 7, 0.65)),
    linear-gradient(90deg, rgba(3, 4, 6, 0.38), transparent 22%, transparent 78%, rgba(3, 4, 6, 0.38)),
    radial-gradient(ellipse 85% 70% at 50% 50%, transparent 52%, rgba(2, 3, 4, 0.35)),
    radial-gradient(ellipse at 50% -10%, rgba(246, 223, 170, 0.08), transparent 48%);
  pointer-events: none;
}

.community-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(8, 10, 12, 0.58);
  border: 1px solid rgba(246, 223, 170, 0.3);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.community-control span {
  font-size: 34px;
  line-height: 0.8;
  transform: translateY(-1px);
}

.community-control:hover,
.community-control:focus-visible {
  background: rgba(16, 18, 20, 0.78);
  border-color: rgba(246, 223, 170, 0.64);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 8px 24px rgba(234, 88, 12, 0.14);
}

.community-control-prev {
  left: 18px;
}

.community-control-next {
  right: 18px;
}

.community-control-prev:hover,
.community-control-prev:focus-visible {
  transform: translateY(-50%) translateX(-2px);
}

.community-control-next:hover,
.community-control-next:focus-visible {
  transform: translateY(-50%) translateX(2px);
}

.community-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  max-width: calc(100% - 40px);
  padding: 10px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: rgba(6, 8, 10, 0.62);
  border: 1px solid rgba(246, 223, 170, 0.2);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.community-dots::-webkit-scrollbar {
  display: none;
}

.community-dot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(247, 240, 230, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1), background 0.32s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.community-dot.is-active {
  width: 26px;
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.22);
}

.community-dot:hover,
.community-dot:focus-visible {
  transform: scale(1.16);
  outline: none;
}

.community-dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.35);
}

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

.faq-accordion {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.accordion-item {
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}

.accordion-item:last-child {
  border-bottom: 0;
}

.accordion-item summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--navy);
  font-size: clamp(16px, 3.2vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.accordion-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background-color: var(--surface-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4d8c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.accordion-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--blue);
  border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.accordion-item:hover,
.accordion-item[open] {
  background: var(--surface-strong);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.accordion-content > p {
  min-height: 0;
  overflow: hidden;
  padding: 0 22px;
}

.accordion-item[open] .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-item[open] .accordion-content > p {
  padding-bottom: 20px;
}

.page-hero {
  background:
    radial-gradient(circle at 18% 0%, rgba(234, 88, 12, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(18, 22, 26, 0.96), rgba(12, 14, 16, 0.98));
}

.form-section {
  padding-top: 0;
}

.form-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 20px;
  border-color: var(--border-strong);
}

.application-form {
  display: grid;
  gap: 18px;
}

fieldset {
  display: grid;
  gap: 12px;
  padding: 20px;
  margin: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 13vw, 128px);
  background:
    linear-gradient(115deg, rgba(7, 8, 9, 0.98), rgba(16, 20, 24, 0.92)),
    linear-gradient(90deg, rgba(246, 223, 170, 0.12), transparent);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 170, 0.42), transparent);
}

.application-form {
  gap: 20px;
}

.form-intro {
  border-radius: 26px;
}

fieldset {
  gap: 14px;
  border-radius: 26px;
}

legend {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

label {
  color: rgba(247, 240, 230, 0.86);
  font-size: 14px;
}

input,
select,
textarea {
  border-radius: 16px;
  background: rgba(7, 9, 11, 0.66);
  border-color: rgba(246, 223, 170, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

legend {
  padding: 0 8px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  background: rgba(7, 9, 11, 0.72);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.back-button:focus-visible,
.community-control:focus-visible,
.community-dot:focus-visible,
.floating-apply:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.28);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: rgba(7, 9, 11, 0.9);
}

.check-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.check-row input {
  width: 24px;
  min-height: 24px;
  margin-top: 5px;
}

.submit-button {
  min-height: 58px;
  font-size: 19px;
}

.received-section {
  min-height: calc(100svh - 144px);
  display: flex;
  align-items: center;
}

.status-box,
.next-step-box {
  margin-top: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.status-box {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(234, 88, 12, 0.14);
}

.next-step-box h2 {
  font-size: 24px;
}

.received-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  padding: 32px 0 86px;
  color: var(--soft);
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.footer-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 520px;
  margin-inline: auto;
}

.footer-identity {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.footer-identity strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 195, 145, 0.72);
}

.footer-contact-lines {
  display: grid;
  gap: 10px;
  width: 100%;
}

.direct-contact-heading {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 195, 145, 0.78);
}

.consultation-panel p.direct-contact-heading {
  color: rgba(226, 195, 145, 0.78);
}

.consultation-copy .direct-contact-heading {
  margin-top: 16px;
}

.contact-channels {
  display: grid;
  gap: 10px;
  width: 100%;
}

.surface-contact-strip .contact-channels {
  max-width: 100%;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  margin: 0;
  justify-content: inherit;
  text-decoration: none;
  color: rgba(237, 234, 228, 0.88);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  border-bottom: 1px solid rgba(152, 180, 174, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-channel:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-channel:first-child {
  padding-top: 0;
}

.site-footer .contact-channel {
  justify-content: center;
  flex-wrap: wrap;
  padding: 7px 10px;
  border: 1px solid rgba(152, 180, 174, 0.14);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.35);
}

.site-footer .contact-channel:last-child {
  border-bottom-width: 1px;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  color: var(--champagne);
  border-color: rgba(226, 195, 145, 0.28);
  outline: none;
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: rgba(226, 195, 145, 0.88);
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.18);
}

.contact-channel-icon svg {
  width: 16px;
  height: 16px;
}

.contact-channel-text {
  text-align: start;
  word-break: break-word;
}

.contact-phone-ltr,
.contact-email-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.surface-contact-strip {
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 20px;
  border: 1px solid rgba(234, 88, 12, 0.18);
  background:
    linear-gradient(135deg, rgba(246, 223, 170, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 14, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.surface-contact-strip p {
  margin: 0 0 12px;
  color: rgba(237, 234, 228, 0.91);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 640;
}

.application-contact-banner {
  margin-bottom: 20px;
  padding: 16px 18px;
}

.application-contact-banner p {
  margin: 0 0 10px;
  color: rgba(237, 234, 228, 0.9);
  font-size: 14px;
  line-height: 1.62;
}

.application-contact-banner .contact-channels {
  gap: 8px;
}

.application-contact-banner .contact-channel {
  padding: 6px 0;
}

.about-contact-cta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 223, 170, 0.12);
}

.about-contact-cta > p {
  margin: 0 0 10px;
  color: rgba(237, 234, 228, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.copy-panel .about-contact-cta > p {
  color: rgba(237, 234, 228, 0.9);
}

.direct-contact-mini .contact-channel {
  border-bottom-color: rgba(152, 180, 174, 0.1);
}

.direct-contact-mini .contact-channel-icon {
  width: 28px;
  height: 28px;
}

.direct-contact-mini .contact-channel {
  padding: 6px 0;
  font-size: 13px;
}

.footer-legal {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(201, 192, 178, 0.72);
  line-height: 1.5;
}

@media (min-width: 720px) {
  .footer-content {
    max-width: 640px;
    gap: 22px;
  }

  .site-footer .contact-channel {
    justify-content: center;
  }

  .application-contact-banner {
    margin-bottom: 22px;
  }
}

@media (max-width: 719px) {
  .contact-section .contact-channels {
    gap: 8px;
  }

  .contact-section .contact-channel {
    gap: 10px !important;
    padding: 9px 11px !important;
    font-size: 12px !important;
  }

  .contact-section .contact-channel-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
  }

  .contact-section .contact-channel-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .contact-section .contact-channel-text {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .contact-section .contact-email-ltr {
    font-size: 10.5px !important;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  /* Center the email + phone text inside the small contact pills on mobile */
  .contact-section .direct-contact-mini .contact-channel {
    justify-content: center !important;
  }

  .contact-section .direct-contact-mini .contact-channel-text {
    text-align: center !important;
  }

  .about-contact-cta .contact-channel,
  .consultation-copy .contact-channel,
  .application-contact-banner .contact-channel {
    justify-content: center;
  }

  .about-contact-cta .contact-channel-text,
  .application-contact-banner .contact-channel-text {
    text-align: center;
  }

  .consultation-copy .direct-contact-heading {
    text-align: center;
  }

  .consultation-copy .contact-channels,
  .application-contact-banner .contact-channels {
    align-items: center;
  }

  .application-contact-banner > p {
    text-align: center;
  }

  .about-contact-cta > p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .brand {
    flex: 0 1 auto;
  }

  .header-language {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .consultation-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .consultation-actions {
    justify-self: end;
    min-width: 220px;
  }

  .process-list,
  .faq-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  fieldset {
    padding: 24px;
  }

  .received-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 1040px) {
  .hero {
    min-height: 720px;
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Professional trust visual system */
:root {
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --champagne: #9a3412;
  --copper: #1d4ed8;
  --smoke: #94a3b8;
  --glass: rgba(255, 255, 255, 0.96);
  --glass-strong: #ffffff;
  --deep-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 50%, var(--bg-soft) 100%);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body::before {
  display: none;
}

.section {
  padding: clamp(76px, 13vw, 132px) 0;
}

.site-header {
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.82), rgba(8, 10, 12, 0.68)),
    rgba(8, 10, 12, 0.62);
  border-bottom-color: rgba(246, 223, 170, 0.18);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.header-inner {
  min-height: 84px;
}

.brand {
  position: relative;
  gap: 15px;
  padding: 6px 0;
  isolation: isolate;
}

.brand-mark {
  width: clamp(58px, 6.2vw, 68px);
  height: clamp(58px, 6.2vw, 68px);
  flex: 0 0 clamp(58px, 6.2vw, 68px);
  padding: 5px;
  border-radius: 18px;
  border-color: rgba(246, 223, 170, 0.66);
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 245, 215, 0.3), transparent 36%),
    linear-gradient(145deg, rgba(246, 223, 170, 0.22), rgba(255, 255, 255, 0.07) 44%, rgba(7, 8, 9, 0.42));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 26px rgba(246, 223, 170, 0.16),
    0 18px 42px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -12px 24px rgba(0, 0, 0, 0.2);
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  filter: contrast(1.08) saturate(1.04) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.34));
}

.brand-copy strong {
  font-family: var(--font-display);
  color: #fff7e8;
  font-size: clamp(22px, 3.9vw, 29px);
  font-weight: 600;
  line-height: 0.98;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.36);
}

.brand-copy span {
  color: rgba(246, 223, 170, 0.9);
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
  text-wrap: balance;
}

.brand-copy {
  gap: 5px;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: rgba(255, 231, 174, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 34px rgba(246, 223, 170, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -12px 24px rgba(0, 0, 0, 0.2);
}

.site-nav {
  top: 88px;
  background: linear-gradient(180deg, rgba(25, 30, 35, 0.92), rgba(8, 10, 12, 0.98));
  border-color: rgba(246, 223, 170, 0.2);
  border-radius: 24px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.58);
}

.nav-toggle {
  border-radius: 16px;
}

.button {
  min-height: 54px;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  letter-spacing: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ffe5a7 0%, #d7a953 48%, #9c7035 100%);
  box-shadow: 0 18px 48px rgba(234, 88, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(246, 223, 170, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.floating-apply {
  right: 18px;
  min-height: 48px;
  padding-inline: 18px;
  background: linear-gradient(135deg, #fed7aa, #ea580c 58%, #c2410c);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44), 0 9px 26px rgba(234, 88, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  padding-top: clamp(54px, 9vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7, 8, 9, 0.98) 0%, rgba(13, 16, 19, 0.88) 45%, rgba(25, 22, 16, 0.84) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -12% auto 34%;
  height: 62%;
  background:
    linear-gradient(120deg, transparent, rgba(246, 223, 170, 0.13), transparent),
    linear-gradient(90deg, transparent, rgba(159, 178, 182, 0.08));
  filter: blur(18px);
  transform: skewY(-8deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 9, 0.92));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(28px, 7vw, 76px);
  align-items: center;
}

.hero-copy-block {
  max-width: 900px;
}

.profile-hero {
  padding: clamp(68px, 10vw, 112px) 0;
}

.profile-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
}

.profile-image-card {
  position: relative;
  width: min(100%, 360px);
  justify-self: end;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(10, 12, 14, 0.68);
  border: 1px solid rgba(246, 223, 170, 0.2);
  border-radius: 30px;
  box-shadow: var(--deep-shadow), 0 0 42px rgba(234, 88, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: profile-float 5.8s ease-in-out infinite;
}

.profile-image-card::before {
  content: "";
  position: absolute;
  inset: -18% -18% auto 30%;
  height: 52%;
  background: radial-gradient(circle, rgba(246, 223, 170, 0.2), transparent 62%);
  pointer-events: none;
}

.profile-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 520px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(214, 202, 184, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 62px rgba(0, 0, 0, 0.46),
    0 0 68px rgba(152, 180, 174, 0.09),
    0 0 0 1px rgba(7, 9, 11, 0.55);
  background: rgba(5, 7, 9, 0.55);
}

.profile-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.08) 0%, transparent 35%, rgba(4, 6, 8, 0.38) 88%),
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.06) 46%, transparent 72%);
  mix-blend-mode: multiply;
}

.profile-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.6s ease;
  filter: saturate(1.03) contrast(1.02);
}

@media (hover: hover) and (pointer: fine) {
  .profile-image-card:hover .profile-photo-img {
    transform: scale(1.035);
    filter: saturate(1.06) contrast(1.03);
  }
}

.profile-image-card:active .profile-photo-img {
  transform: scale(1.02);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, #fed7aa, #ea580c 58%, #c2410c);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 28px rgba(234, 88, 12, 0.2);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.profile-card-caption {
  display: grid;
  gap: 4px;
  padding: 15px 5px 4px;
  text-align: center;
}

.profile-card-caption strong {
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.profile-card-caption span {
  color: rgba(246, 223, 170, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes profile-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.eyebrow {
  color: var(--champagne);
  font-size: 12px;
  letter-spacing: 0.08em;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(48px, 12vw, 96px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1;
}

h3 {
  font-size: clamp(21px, 4.8vw, 27px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 720px;
  color: rgba(247, 240, 230, 0.72);
  font-size: clamp(18px, 4.4vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.hero-metrics div {
  padding: 15px 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(246, 223, 170, 0.16);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero-metrics strong {
  display: block;
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  margin-top: 26px;
}

.trust-pill,
.manager-card,
.copy-panel,
.process-list li,
.faq-card,
.consultation-panel,
.confirmation-panel,
.form-intro,
fieldset {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.028)),
    rgba(15, 18, 21, 0.7);
  border: 1px solid rgba(246, 223, 170, 0.14);
  border-radius: 24px;
  box-shadow: var(--deep-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.trust-pill {
  border-radius: 18px;
}

.manager-card {
  position: relative;
  transform: translateZ(0);
  border-radius: 28px;
}

.manager-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(246, 223, 170, 0.2);
  border-radius: 22px;
  pointer-events: none;
}

.manager-card img {
  filter: saturate(0.92) contrast(1.04);
}

.manager-card div {
  background: linear-gradient(180deg, rgba(12, 14, 16, 0), rgba(12, 14, 16, 0.82));
}

.split-section {
  gap: clamp(22px, 6vw, 72px);
}

.copy-panel,
.consultation-panel {
  padding: clamp(24px, 5vw, 42px);
}

.process-list {
  gap: 16px;
}

.process-list li {
  position: relative;
  min-height: 235px;
  padding: 24px;
  overflow: hidden;
}

.services-grid {
  gap: 16px;
}

.process-list li::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 223, 170, 0.34), transparent);
}

.process-list span {
  width: auto;
  height: auto;
}

.community-section {
  padding-top: clamp(68px, 10vw, 104px);
}

.community-heading .section-heading {
  max-width: 840px;
}

.community-slider {
  border-radius: 30px;
}

.faq-grid {
  gap: 16px;
}

.faq-card {
  padding: 0;
}

.faq-card:hover {
  transform: none;
  border-color: rgba(246, 223, 170, 0.12);
}

.faq-card,
.accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246, 223, 170, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.faq-card:last-child,
.accordion-item:last-child {
  border-bottom: 0;
}

.consultation-panel {
  position: relative;
  overflow: hidden;
}

.consultation-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 719px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    background:
      linear-gradient(150deg, rgba(246, 223, 170, 0.07), transparent 34rem),
      linear-gradient(180deg, #070809 0%, #0c0e10 48%, #111519 100%);
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .site-header {
    background:
      linear-gradient(180deg, rgba(10, 12, 14, 0.9), rgba(8, 10, 12, 0.78)),
      rgba(8, 10, 12, 0.78);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
  }

  .header-inner {
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    gap: 11px;
    min-height: 58px;
    padding-block: 5px;
  }

  .brand-mark {
    width: clamp(52px, 14vw, 58px);
    height: clamp(52px, 14vw, 58px);
    flex-basis: clamp(52px, 14vw, 58px);
    border-radius: 16px;
    padding: 4px;
  }

  .brand-copy strong {
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 0.98;
  }

  .brand-copy span {
    max-width: 190px;
    font-size: clamp(9px, 2.7vw, 10px);
    line-height: 1.18;
  }

  .nav-toggle {
    width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
  }

  .site-nav {
    top: 78px;
    left: 15px;
    right: 15px;
    width: auto;
    max-height: calc(100svh - 96px);
    padding: 14px;
    border-radius: 22px;
    transform: translateY(-10px) scale(0.98);
  }

  [dir="rtl"] .site-nav {
    left: 15px;
    right: 15px;
  }

  .site-nav a {
    min-height: 52px;
    padding: 12px;
    border-radius: 14px;
    font-size: 15px;
  }

  .back-nav {
    padding-top: 12px;
  }

  .back-button {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .nav-panel-header {
    padding-bottom: 12px;
  }

  .site-nav .nav-language {
    margin-top: 12px;
    padding-top: 16px;
  }

  .site-nav .language-switcher > span {
    text-align: center;
  }

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

  .language-pill {
    min-height: 40px;
    padding-inline: 10px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(31px, 9vw, 44px);
    line-height: 1.04;
  }

  h3 {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 82px;
  }

  .hero-grid {
    gap: 30px;
  }

  .profile-hero {
    padding-top: 54px;
    padding-bottom: 74px;
  }

  .profile-hero h1 {
    max-width: 18ch;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.08;
  }

  .profile-hero .hero-grid {
    justify-items: center;
    text-align: center;
  }

  .profile-image-card {
    width: min(100%, 330px);
    justify-self: center;
    padding: 10px;
    border-radius: 26px;
    animation-duration: 6.8s;
  }

  .profile-photo-frame {
    border-radius: 19px;
    max-height: min(78vh, 440px);
  }

  .profile-card-caption strong {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 18px;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .consultation-actions {
    display: grid;
  }

  .consultation-actions .button {
    width: 100%;
  }

  .hero-metrics {
    gap: 12px;
  }

  .hero-metrics div {
    padding: 16px;
    border-radius: 20px;
  }

  .trust-strip {
    gap: 12px;
  }

  .trust-pill {
    grid-template-columns: 44px 1fr;
    padding: 15px;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
  }

  .manager-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .manager-card img {
    aspect-ratio: 5 / 6;
  }

  .copy-panel,
  .consultation-panel,
  .faq-card,
  .process-list li,
  .form-intro,
  fieldset,
  .confirmation-panel {
    border-radius: 22px;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .copy-panel,
  .consultation-panel {
    padding: 22px;
  }

  .process-list {
    gap: 14px;
  }

  .process-list li {
    min-height: auto;
    padding: 22px;
  }

  .services-grid {
    max-width: 560px;
    margin-inline: auto;
    gap: 14px;
  }

  .service-card {
    min-height: 150px;
    justify-items: center;
    gap: 16px;
    padding: 22px 20px;
    text-align: center;
  }

  .service-card h3 {
    max-width: 20ch;
  }

  .community-section {
    padding-top: 66px;
  }

  .community-heading {
    display: block;
  }

  .community-slider {
    border-radius: 22px;
  }

  .community-track {
    min-height: clamp(240px, 62vw, 380px);
    aspect-ratio: 16 / 11;
  }

  .community-control {
    width: 42px;
    height: 42px;
  }

  .community-control-prev {
    left: 10px;
  }

  .community-control-next {
    right: 10px;
  }

  .community-dots {
    bottom: 11px;
    max-width: calc(100% - 24px);
    padding-inline: 10px;
  }

  .faq-grid {
    gap: 14px;
  }

  .faq-accordion {
    gap: 12px;
  }

  .accordion-item summary {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .accordion-item summary::after {
    width: 26px;
    height: 26px;
    background-size: 12px;
  }

  .accordion-content > p {
    padding-inline: 18px;
  }

  .accordion-item[open] .accordion-content > p {
    padding-bottom: 18px;
  }

  .button,
  .floating-apply {
    min-height: 52px;
    white-space: normal;
  }

  .floating-apply {
    right: 15px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 46px;
    max-width: calc(100vw - 30px);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
  }

  .page-hero {
    padding-top: 66px;
    padding-bottom: 76px;
  }

  .form-section {
    padding-top: 0;
  }

  .application-form {
    gap: 16px;
  }

  fieldset {
    padding: 20px 16px;
  }

  legend {
    font-size: 22px;
  }

  label {
    font-size: 14px;
  }

  input,
  select,
  textarea {
    min-height: 54px;
    font-size: 16px;
  }

  textarea {
    min-height: 112px;
  }

  .reveal {
    transform: translateY(14px);
    transition-duration: 0.42s;
  }
}

@media (max-width: 719px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    text-rendering: optimizeLegibility;
  }

  .container {
    width: min(100% - 34px, var(--container));
  }

  .narrow {
    max-width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .header-inner {
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 15px;
  }

  .brand-copy {
    gap: 4px;
    max-width: min(54vw, 220px);
  }

  .brand-copy strong {
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1;
  }

  .brand-copy span {
    max-width: 100%;
    font-size: 9px;
    line-height: 1.16;
  }

  .nav-toggle {
    width: 44px;
    min-height: 44px;
    flex-basis: 44px;
    margin-left: auto;
  }

  .site-nav {
    top: 82px;
    padding: 16px;
  }

  .nav-panel-header {
    text-align: center;
  }

  .site-nav a {
    grid-template-columns: 16px 1fr;
    gap: 10px;
    justify-items: start;
  }

  .section-heading,
  .page-hero .narrow,
  .confirmation-panel,
  .consultation-panel,
  .copy-panel {
    text-align: center;
  }

  .section-heading {
    max-width: 610px;
    margin-inline: auto;
    margin-bottom: 28px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  h1 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(38px, 11.4vw, 54px);
    line-height: 1.02;
  }

  h2 {
    max-width: 15ch;
    margin-inline: auto;
    font-size: clamp(30px, 8.4vw, 42px);
    line-height: 1.06;
  }

  h3 {
    font-size: clamp(20px, 5.5vw, 23px);
    line-height: 1.12;
  }

  p,
  .hero-copy {
    line-height: 1.68;
  }

  .hero-copy,
  .section-heading p {
    max-width: 34rem;
    margin-inline: auto;
    font-size: 16px;
  }

  .split-section {
    gap: 18px;
  }

  .copy-panel,
  .consultation-panel,
  .form-intro,
  .confirmation-panel {
    max-width: 620px;
    margin-inline: auto;
  }

  .copy-panel,
  .consultation-panel {
    padding: 24px 20px;
  }

  .copy-panel {
    gap: 13px;
    text-align: left;
  }

  .copy-panel p {
    max-width: 100%;
    line-height: 1.72;
  }

  .copy-panel p + p {
    padding-top: 13px;
  }

  .copy-panel .hoa-badge {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;
    padding: 16px 14px;
    border-radius: 18px;
    text-align: center;
  }

  .hoa-logo-placeholder {
    width: 72px;
    min-height: 60px;
    border-radius: 16px;
    padding: 6px;
  }

  .hoa-logo-placeholder img {
    width: 65%;
    height: auto;
    max-height: 48px;
    margin: 0 auto;
  }

  .form-intro .zillow-badge {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    max-width: 360px;
    margin-inline: auto;
    padding: 16px 14px;
    text-align: center;
    border-radius: 18px;
  }

  .zillow-logo-placeholder {
    max-width: 112px;
    height: 50px;
  }

  .zillow-logo-placeholder img {
    width: 70%;
    height: auto;
    max-height: 40px;
    margin: 0 auto;
  }

  .zillow-text {
    justify-items: center;
  }

  .zillow-text strong {
    max-width: 26ch;
    font-size: 16px;
  }

  .zillow-text span {
    max-width: 34ch;
    font-size: 13px;
  }

  .hoa-text {
    justify-items: center;
  }

  .hoa-text strong {
    max-width: 24ch;
    font-size: 16px;
  }

  .hoa-text span {
    max-width: 30ch;
    font-size: 13px;
  }

  .process-list {
    max-width: 560px;
    margin-inline: auto;
    gap: 16px;
  }

  .services-grid {
    max-width: 560px;
    margin-inline: auto;
    gap: 16px;
  }

  .process-list li {
    justify-items: center;
    gap: 11px;
    padding: 24px 20px;
    text-align: center;
  }

  .process-list span {
    width: 58px;
    height: 40px;
  }

  .service-card {
    min-height: 150px;
    justify-items: center;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }

  .service-card h3 {
    max-width: 21ch;
  }

  .community-section {
    padding-block: 78px;
  }

  .community-heading .section-heading {
    margin-bottom: 24px;
  }

  .community-slider {
    width: min(100%, 620px);
    margin-inline: auto;
    border-radius: 24px;
  }

  .community-track {
    min-height: clamp(250px, 64vw, 390px);
    aspect-ratio: 16 / 10.8;
  }

  .community-control {
    width: 44px;
    height: 44px;
  }

  .community-dots {
    padding: 7px 9px;
  }

  .faq-accordion {
    max-width: 620px;
    margin-inline: auto;
    gap: 14px;
  }

  .faq-card {
    padding: 0;
  }

  .accordion-item summary {
    padding: 19px 18px;
    text-align: left;
  }

  .accordion-content > p {
    text-align: left;
  }

  .consultation-panel {
    gap: 20px;
  }

  .consultation-panel h2 {
    max-width: min(100%, 40ch);
    line-height: 1.32;
    font-size: clamp(22px, 5.6vw, 32px);
  }

  .consultation-actions {
    justify-items: center;
  }

  .consultation-actions .button,
  .received-actions .button,
  .submit-button {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .button {
    min-height: 52px;
    padding-inline: 20px;
  }

  .back-nav {
    padding-top: 14px;
  }

  .back-button {
    min-height: 46px;
    padding-inline: 15px;
  }

  .page-hero {
    padding-top: 54px;
    padding-bottom: 66px;
  }

  .form-section {
    padding-top: 0;
  }

  .form-intro {
    padding: 22px 18px;
    text-align: center;
  }

  .application-form {
    max-width: 620px;
    margin-inline: auto;
    gap: 18px;
  }

  fieldset {
    gap: 13px;
    padding: 22px 18px;
  }

  legend {
    margin-inline: auto;
    padding-inline: 10px;
    font-size: 21px;
    text-align: center;
  }

  label {
    line-height: 1.35;
  }

  input,
  select,
  textarea {
    min-height: 54px;
    border-radius: 12px;
  }

  .check-row {
    text-align: left;
  }

  .received-section {
    min-height: auto;
    padding-top: 54px;
  }

  .status-box,
  .next-step-box {
    text-align: left;
  }

  .received-actions {
    justify-content: center;
  }

  .floating-apply {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    min-height: 46px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .profile-hero .hero-grid {
    justify-items: center;
    text-align: center;
  }

  .profile-image-card {
    width: min(100%, 335px);
    justify-self: center;
  }

  .profile-photo-frame {
    max-height: min(78vh, 440px);
  }
}

@media (min-width: 720px) and (max-width: 920px) {
  .container {
    width: min(100% - 56px, var(--container));
  }

  .header-inner {
    gap: 16px;
  }

  .brand-copy strong {
    font-size: clamp(22px, 3.2vw, 27px);
  }

  .section {
    padding: 96px 0;
  }

  .profile-hero .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-image-card {
    justify-self: center;
    width: min(100%, 420px);
  }

  .profile-photo-frame {
    max-height: min(74vh, 500px);
  }

  .section-heading {
    margin-inline: auto;
    text-align: center;
  }

  .split-section,
  .consultation-panel {
    grid-template-columns: 1fr;
  }

  .copy-panel,
  .consultation-panel,
  .faq-accordion,
  .application-form,
  .form-intro,
  .confirmation-panel {
    max-width: 680px;
    margin-inline: auto;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .community-slider {
    max-width: 820px;
    margin-inline: auto;
  }

  .consultation-actions {
    justify-self: center;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .header-inner {
    min-height: 70px;
    gap: 8px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .nav-toggle {
    width: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 42px);
  }

  .profile-hero h1 {
    max-width: 17ch;
    font-size: clamp(27px, 8.2vw, 32px);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(28px, 8.8vw, 36px);
  }

  .section {
    padding: 66px 0;
  }

  .community-track {
    min-height: 230px;
  }

  .profile-image-card {
    width: min(100%, 300px);
  }

  .profile-photo-frame {
    max-height: min(68vh, 380px);
  }

  .floating-apply {
    right: 13px;
    bottom: max(13px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 719px), (hover: none) {
  .process-list li:hover,
  .service-card:hover,
  .faq-card:hover,
  .button:hover,
  .brand:hover,
  .nav-toggle:hover {
    transform: none;
  }

}

/* Trust platform identity — light, professional, renter-friendly */
:root {
  --bg: #f7f9fc;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-strong: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1e293b;
  --muted: #64748b;
  --soft: #94a3b8;
  --gold: #c2410c;
  --gold-light: #ea580c;
  --champagne: #9a3412;
  --copper: #1d4ed8;
  --smoke: #94a3b8;
  --green: #059669;
  --blue: #2563eb;
  --ink: #0f172a;
  --glass: rgba(255, 255, 255, 0.96);
  --glass-strong: #ffffff;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --deep-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
  --accent: #2563eb;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 50%, var(--bg-soft) 100%);
  color: var(--text);
}

body::before {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.brand-mark {
  border-color: rgba(226, 195, 145, 0.58);
  background:
    radial-gradient(circle at 34% 18%, rgba(232, 215, 181, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(152, 180, 174, 0.14), rgba(185, 140, 87, 0.11) 48%, rgba(7, 9, 11, 0.56));
  box-shadow:
    0 0 0 1px rgba(232, 215, 181, 0.05),
    0 0 28px rgba(152, 180, 174, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-copy strong,
.profile-card-caption strong {
  color: #fff8ec;
}

.brand-copy span,
.language-switcher > span,
.nav-panel-title,
.eyebrow,
.profile-card-caption span {
  color: var(--champagne);
}

.site-nav,
.language-bar,
.faq-accordion,
.community-slider,
.profile-image-card,
.copy-panel,
.consultation-panel,
.confirmation-panel,
.form-intro,
fieldset,
.trust-pill,
.manager-card,
.process-list li,
.service-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.022)),
    linear-gradient(180deg, rgba(18, 24, 27, 0.74), rgba(10, 13, 14, 0.76));
  border-color: rgba(214, 202, 184, 0.14);
  box-shadow: var(--deep-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-hero,
.hero {
  background:
    radial-gradient(circle at 78% 26%, rgba(185, 140, 87, 0.16), transparent 21rem),
    radial-gradient(circle at 20% 28%, rgba(152, 180, 174, 0.14), transparent 24rem),
    linear-gradient(112deg, rgba(7, 9, 11, 0.99) 0%, rgba(13, 19, 22, 0.94) 48%, rgba(22, 18, 14, 0.9) 100%);
}

.hero::before {
  background:
    linear-gradient(120deg, transparent, rgba(152, 180, 174, 0.12), transparent),
    linear-gradient(90deg, transparent, rgba(185, 140, 87, 0.08));
}

.button-primary,
.floating-apply,
.language-pill.is-active,
.service-icon,
.process-list span,
.profile-avatar {
  background: linear-gradient(135deg, #efe0bd 0%, #b98c57 54%, #7f5635 100%);
  color: var(--ink);
  border-color: rgba(239, 224, 189, 0.38);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 10px 26px rgba(185, 140, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-secondary,
.language-pill,
.back-button,
.nav-toggle,
.community-control {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024)),
    rgba(12, 17, 19, 0.62);
  border-color: rgba(152, 180, 174, 0.22);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.back-button:hover,
.back-button:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.community-control:hover,
.community-control:focus-visible,
.language-pill:hover,
.language-pill:focus-visible {
  border-color: rgba(226, 195, 145, 0.48);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34), 0 8px 22px rgba(152, 180, 174, 0.08);
}

.floating-apply:hover,
.floating-apply:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  filter: saturate(1.04) brightness(1.04);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.44), 0 12px 32px rgba(185, 140, 87, 0.26);
}

.service-card::after,
.process-list li::after,
.consultation-panel::after,
.copy-panel::before {
  background: linear-gradient(90deg, transparent, rgba(152, 180, 174, 0.22), rgba(226, 195, 145, 0.42), transparent);
}

.services-section::before,
.community-section::before {
  background: linear-gradient(90deg, transparent, rgba(152, 180, 174, 0.075), rgba(185, 140, 87, 0.075), transparent);
}

.service-card:hover,
.process-list li:hover,
.faq-card:hover {
  border-color: rgba(226, 195, 145, 0.28);
  box-shadow: var(--deep-shadow), 0 12px 34px rgba(152, 180, 174, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.052);
}

.accordion-item:hover,
.accordion-item[open],
.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(152, 180, 174, 0.055);
  border-color: rgba(226, 195, 145, 0.18);
}

.nav-icon {
  border-color: rgba(226, 195, 145, 0.72);
  box-shadow: 0 0 0 4px rgba(152, 180, 174, 0.08);
}

input,
select,
textarea {
  background: rgba(5, 8, 9, 0.74);
  border-color: rgba(214, 202, 184, 0.13);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(226, 195, 145, 0.72);
  background: rgba(6, 9, 10, 0.92);
  box-shadow: 0 0 0 4px rgba(152, 180, 174, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.status-dot,
.community-dot.is-active {
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  box-shadow: 0 0 0 6px rgba(152, 180, 174, 0.12);
}

.site-footer {
  color: rgba(201, 192, 178, 0.78);
  border-top-color: rgba(152, 180, 174, 0.14);
  background: linear-gradient(180deg, transparent, rgba(5, 7, 8, 0.42));
}

.copy-panel .hoa-badge {
  background:
    radial-gradient(circle at 14% 0%, rgba(152, 180, 174, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.022)),
    rgba(9, 13, 15, 0.54);
  border-color: rgba(214, 202, 184, 0.16);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    0 8px 22px rgba(152, 180, 174, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hoa-logo-placeholder {
  border-color: rgba(226, 195, 145, 0.22);
  background:
    radial-gradient(circle at 50% 38%, rgba(226, 195, 145, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(152, 180, 174, 0.08), rgba(255, 255, 255, 0.022));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.form-intro .zillow-badge {
  background:
    radial-gradient(circle at 14% 0%, rgba(152, 180, 174, 0.1), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(9, 13, 15, 0.52);
  border-color: rgba(214, 202, 184, 0.16);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 8px 22px rgba(152, 180, 174, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.zillow-logo-placeholder {
  border-color: rgba(214, 202, 184, 0.2);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(145deg, rgba(152, 180, 174, 0.06), rgba(255, 255, 255, 0.018));
}

.hoa-text strong {
  color: #fff8ec;
}

.hoa-text span {
  color: var(--muted);
}

/* Mobile-first Services card refinement */
@media (max-width: 719px) {
  .services-section {
    padding-block: 72px 78px;
  }

  .services-section .section-heading {
    max-width: 410px;
    margin-inline: auto;
  }

  .services-grid {
    width: min(100%, 440px);
    max-width: 440px;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-inline: auto;
  }

  .service-card {
    min-height: 142px;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 24px 20px 26px;
    border-radius: 26px;
    text-align: center;
    isolation: isolate;
    touch-action: manipulation;
    background:
      radial-gradient(circle at 50% 0%, rgba(226, 195, 145, 0.105), transparent 42%),
      linear-gradient(155deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
      linear-gradient(180deg, rgba(19, 26, 29, 0.86), rgba(8, 11, 12, 0.86));
    border-color: rgba(214, 202, 184, 0.18);
    box-shadow:
      0 22px 54px rgba(0, 0, 0, 0.42),
      0 10px 26px rgba(152, 180, 174, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .service-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(152, 180, 174, 0.06), transparent 44%, rgba(185, 140, 87, 0.055));
    pointer-events: none;
  }

  .service-card::after {
    left: 24px;
    right: 24px;
    bottom: 18px;
    width: auto;
    height: 1px;
    opacity: 0.72;
  }

  .service-icon {
    width: 56px;
    height: 42px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .service-card h3 {
    max-width: 24ch;
    font-size: clamp(18px, 4.8vw, 21px);
    line-height: 1.16;
  }

  .service-card:active {
    transform: scale(0.985);
    border-color: rgba(226, 195, 145, 0.34);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.38),
      0 8px 20px rgba(185, 140, 87, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 380px) {
  .services-section {
    padding-block: 66px 72px;
  }

  .services-grid {
    gap: 14px;
  }

  .service-card {
    min-height: 134px;
    padding: 22px 16px 24px;
    border-radius: 22px;
  }

  .service-icon {
    width: 52px;
    height: 40px;
  }

  .service-card h3 {
    max-width: 22ch;
    font-size: clamp(17px, 5vw, 19px);
  }
}

/* Layout restoration layer
   Repairs the responsive structure without changing the existing visual theme. */
:root {
  --accent: var(--blue);
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

main,
section,
header,
footer {
  min-width: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 32px, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 32px, 780px);
  max-width: 780px;
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section > .container,
.section > .narrow,
.hero > .container,
.back-nav > .container {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 28px;
}

.services-section .section-heading,
.process-section .section-heading,
.community-section .section-heading,
.faq-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3,
p,
label,
legend,
summary,
.button,
.floating-apply {
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}

h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.15;
}

.hero-copy,
.section-heading p {
  line-height: 1.65;
}

.hero-grid,
.split-section,
.consultation-panel,
.process-list,
.services-grid,
.faq-accordion,
.application-form,
.form-intro,
fieldset {
  min-width: 0;
}

.hero-grid {
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split-section {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
}

.copy-panel,
.consultation-panel,
.form-intro,
fieldset,
.service-card,
.process-list li,
.faq-accordion,
.confirmation-panel {
  max-width: 100%;
}

.copy-panel,
.consultation-panel {
  padding: clamp(22px, 4vw, 40px);
}

.copy-panel p {
  max-width: 68ch;
}

.copy-panel .hoa-badge,
.form-intro .zillow-badge {
  width: 100%;
  min-width: 0;
}

.hoa-logo-placeholder,
.zillow-logo-placeholder {
  flex: 0 0 auto;
  max-width: 100%;
}

.hoa-logo-placeholder img,
.zillow-logo-placeholder img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 158px;
  padding: 24px;
}

.service-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.service-card h3 {
  position: relative;
  z-index: 2;
  max-width: 22ch;
}

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: auto;
}

.faq-accordion {
  display: grid;
  max-width: 860px;
  margin-inline: auto;
}

.accordion-item summary {
  min-width: 0;
}

.accordion-content > p {
  max-width: 100%;
}

.page-hero {
  padding-top: clamp(44px, 7vw, 82px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.form-section {
  padding-top: 0;
}

.form-intro {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
  padding: clamp(20px, 4vw, 28px);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0;
}

.equal-housing-badge,
.ssl-badge {
  min-width: 0;
}

.application-form {
  display: grid;
  gap: 22px;
}

.application-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 4vw, 28px);
  margin: 0;
  min-width: 0;
}

.application-form legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  line-height: 1.2;
}

.application-form label {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  line-height: 1.35;
}

.application-form input,
.application-form select,
.application-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.application-form input[type="date"],
.application-form input[type="time"],
.application-form input[type="datetime-local"] {
  text-align: left;
  direction: ltr;
}

.application-form input[type="date"]::-webkit-date-and-time-value,
.application-form input[type="date"]::-webkit-datetime-edit,
.application-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  text-align: left;
}

.application-form textarea {
  min-height: 118px;
}

.application-form .check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.application-form .check-row input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 4px 0 0;
}

.application-form .check-row label {
  margin: 0;
}

.application-form .submit-button {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
}

.floating-apply {
  left: auto;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .narrow {
    width: min(100% - 48px, 780px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

  .split-section,
  .consultation-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .container,
  .narrow {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .section-heading,
  .page-hero .narrow {
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.08;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(28px, 7.4vw, 40px);
    line-height: 1.1;
  }

  h3 {
    font-size: clamp(19px, 5vw, 22px);
  }

  .hero-copy,
  .section-heading p {
    max-width: 34rem;
    font-size: 16px;
  }

  .hero-grid,
  .split-section,
  .consultation-panel {
    grid-template-columns: 1fr;
  }

  .profile-hero .hero-grid {
    justify-items: center;
    text-align: center;
  }

  .profile-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 40px);
  }

  .profile-image-card {
    justify-self: center;
    width: min(100%, 335px);
  }

  .copy-panel,
  .consultation-panel,
  .form-intro,
  .confirmation-panel,
  .application-form {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .copy-panel {
    text-align: left;
  }

  .copy-panel .hoa-badge,
  .form-intro .zillow-badge {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    max-width: 380px;
    margin-inline: auto;
    text-align: center;
  }

  .hoa-logo-placeholder {
    width: 72px;
    min-height: 60px;
  }

  .zillow-logo-placeholder {
    width: 112px;
    height: 52px;
  }

  .trust-badges,
  .services-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-list,
  .faq-accordion {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .service-card {
    min-height: auto;
    align-content: center;
    justify-items: center;
    text-align: center;
  }

  .service-card h3 {
    max-width: 24ch;
  }

  .process-list li {
    justify-items: center;
    text-align: center;
  }

  .accordion-item summary {
    grid-template-columns: minmax(0, 1fr) 32px;
    text-align: left;
  }

  .form-intro {
    text-align: center;
  }

  .application-form,
  .application-form fieldset {
    display: flex;
    flex-direction: column;
  }

  .application-form fieldset {
    gap: 10px;
    padding: 20px 18px;
  }

  .application-form legend {
    text-align: center;
  }

  .application-form label,
  .application-form input,
  .application-form select,
  .application-form textarea {
    width: 100%;
  }

  .application-form .check-row {
    text-align: left;
  }

  .application-form .submit-button,
  .consultation-actions .button,
  .received-actions .button {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .floating-apply {
    right: 15px;
    bottom: max(14px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 30px);
    min-height: 46px;
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .container,
  .narrow {
    width: min(100% - 24px, var(--container));
  }

  h1 {
    font-size: clamp(30px, 8.8vw, 38px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .application-form fieldset,
  .form-intro,
  .copy-panel,
  .consultation-panel {
    padding-inline: 16px;
  }
}

@media (max-width: 719px) {
  .payment-confirmation-page .back-nav {
    padding-top: 10px;
  }

  .payment-confirmation-page .back-nav .container {
    width: min(100% - 28px, 780px);
  }

  .payment-confirmation-page .back-button {
    min-height: 44px;
    padding: 8px 12px;
    gap: 7px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.1;
  }

  .payment-confirmation-page .back-button-icon {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .payment-confirmation-page .back-button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* Stable dark interaction states: prevents white tap flashes and full-page washout. */
html,
body {
  -webkit-tap-highlight-color: transparent;
}

.button,
.back-button,
.upload-area,
.email-link,
.app-button,
.continue-button,
.submit-button {
  -webkit-tap-highlight-color: transparent;
}

.submit-button::before,
.email-link::before {
  display: none;
}

.button:active,
.back-button:active,
.upload-area:active,
.email-link:active,
.app-button:active,
.continue-button:active,
.submit-button:active {
  filter: none;
}

.submit-button:active,
.button-primary:active,
.continue-button:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), 0 10px 26px rgba(185, 140, 87, 0.24);
}

.email-link:active,
.upload-area:active,
.app-button:active {
  transform: translateY(-1px) scale(0.99);
}

.submit-button:disabled,
.submit-button[aria-busy="true"] {
  background: linear-gradient(135deg, var(--accent), rgba(226, 195, 145, 0.78));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 8px 22px rgba(226, 195, 145, 0.22);
  filter: none;
}

.payment-confirmation-page::before,
.payment-confirmation-page::after {
  transition: none;
  animation: none;
}

/* Payment confirmation page visual alignment with the main site. */
.payment-confirmation-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(185, 140, 87, 0.16), transparent 24rem),
    radial-gradient(circle at 16% 34%, rgba(152, 180, 174, 0.12), transparent 26rem),
    linear-gradient(120deg, rgba(246, 223, 170, 0.08), transparent 32%),
    linear-gradient(240deg, rgba(129, 154, 158, 0.08), transparent 38%),
    linear-gradient(180deg, #070809 0%, #0c0e10 42%, #111519 100%);
}

.payment-confirmation-page > .page-header {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.78), rgba(8, 10, 12, 0.18));
}

.payment-confirmation-page .payment-confirmation-section {
  position: relative;
  z-index: 2;
  padding-top: clamp(38px, 7vw, 74px);
}

.payment-confirmation-page .payment-confirmation-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: min(100vw, 1180px);
  margin-left: calc(min(100vw, 1180px) / -2);
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 223, 170, 0.08), transparent 32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%);
  pointer-events: none;
  z-index: -1;
}

.payment-confirmation-page .page-subtitle,
.payment-confirmation-page .upload-text span,
.payment-confirmation-page .email-option p {
  color: rgba(247, 240, 230, 0.72);
}

.payment-confirmation-page .premium-field input,
.payment-confirmation-page .upload-area,
.payment-confirmation-page .email-card,
.payment-confirmation-page .file-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024)),
    rgba(12, 17, 19, 0.62);
  border-color: rgba(246, 223, 170, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.payment-confirmation-page .upload-area {
  border-color: rgba(246, 223, 170, 0.34);
}

.payment-confirmation-page .upload-area:hover,
.payment-confirmation-page .upload-area.drag-over,
.payment-confirmation-page .upload-area:focus-within {
  background:
    linear-gradient(145deg, rgba(246, 223, 170, 0.095), rgba(255, 255, 255, 0.03)),
    rgba(12, 17, 19, 0.7);
  border-color: rgba(246, 223, 170, 0.58);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34), 0 10px 28px rgba(185, 140, 87, 0.18);
}

html {
  background-color: #070809;
}

body.payment-confirmation-page {
  background-color: #070809 !important;
  color: var(--text);
}

body.payment-confirmation-page,
body.payment-confirmation-page > .page-header,
body.payment-confirmation-page .payment-confirmation-section,
body.payment-confirmation-page .site-footer {
  background-color: #070809;
}

body.payment-confirmation-page .container,
body.payment-confirmation-page .narrow {
  background-color: transparent;
}

.application-form .form-status,
.payment-upload-form .form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: rgba(247, 240, 230, 0.78);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.application-form .form-status.is-success,
.payment-upload-form .form-status.is-success {
  color: var(--green);
}

.application-form .form-status.is-error,
.payment-upload-form .form-status.is-error {
  color: #f0a7a7;
}

.application-form .submit-button:disabled,
.application-form .submit-button[aria-busy="true"],
.payment-upload-form .submit-button:disabled,
.payment-upload-form .submit-button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.86;
  filter: none;
}

[dir="rtl"] .application-form,
[dir="rtl"] .application-form fieldset,
[dir="rtl"] .payment-upload-form,
[dir="rtl"] .applicant-details,
[dir="rtl"] .confirmation-card,
[dir="rtl"] .payment-info-card,
[dir="rtl"] .supported-payments-card,
[dir="rtl"] .success-message {
  text-align: right;
}

[dir="rtl"] .application-form legend {
  float: right;
}

[dir="rtl"] .application-form .check-row {
  grid-template-columns: minmax(0, 1fr) 24px;
}

[dir="rtl"] .application-form .check-row input {
  grid-column: 2;
}

[dir="rtl"] .application-form .check-row label {
  grid-column: 1;
  grid-row: 1;
}

[dir="rtl"] .premium-field label {
  left: auto;
  right: 18px;
}

[dir="rtl"] .premium-field input {
  text-align: right;
}

[dir="rtl"] .payment-row {
  text-align: right;
}

[dir="rtl"] .file-item,
[dir="rtl"] .email-card,
[dir="rtl"] .status-box,
[dir="rtl"] .ehc-card,
[dir="rtl"] .zillow-badge {
  direction: rtl;
}

[dir="rtl"] .contact-email-ltr,
[dir="rtl"] .contact-phone-ltr {
  direction: ltr;
  unicode-bidi: embed;
}

/* Main site navigation and language switcher — homepage only */
body:not(.home-page) .site-nav,
body:not(.home-page) .nav-toggle,
body:not(.home-page) .nav-overlay,
body:not(.home-page) .language-switcher,
body:not(.home-page) .language-bar {
  display: none !important;
}

/* Apply page — premium application flow stepper */
.apply-page-stepper-wrap {
  --apply-primary: #1e4d8c;
  --apply-primary-light: #2d5fa3;
  --apply-accent: #c2410c;
  --apply-accent-light: #ea580c;
  --apply-gold: var(--apply-accent);
  --apply-gold-light: var(--apply-accent-light);
  --apply-soft: #8b97a5;
  padding: 18px clamp(16px, 4vw, 28px) 14px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-warm) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: apply-stepper-fade-in 0.45s ease both;
}

.apply-page-stepper__status {
  display: block;
  width: min(100%, 720px);
  margin: 0 auto 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--apply-primary);
  letter-spacing: 0.02em;
}

.apply-page-stepper {
  list-style: none;
  margin: 0 auto;
  padding: 4px 0 0;
  width: min(100%, 720px);
  display: flex;
  align-items: center;
}

.apply-page-step {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.apply-page-step:last-child {
  flex: 0 1 auto;
}

.apply-page-step__node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.apply-page-step__marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.apply-page-step__marker svg {
  width: 12px;
  height: 12px;
}

.apply-page-step.is-done .apply-page-step__marker,
.apply-page-step.is-active .apply-page-step__marker {
  color: #ffffff;
  background: linear-gradient(145deg, var(--apply-primary-light), var(--apply-primary));
  border: 1px solid var(--apply-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.apply-page-step.is-done .apply-page-step__marker {
  box-shadow: 0 2px 8px rgba(30, 77, 140, 0.22), inset 0 -1px 0 rgba(234, 88, 12, 0.28);
}

.apply-page-step.is-active .apply-page-step__marker {
  box-shadow:
    0 0 0 3px rgba(30, 77, 140, 0.12),
    0 0 0 5px rgba(234, 88, 12, 0.2),
    0 4px 14px rgba(30, 77, 140, 0.24);
  animation: apply-step-glow 3s ease-in-out infinite;
}

.apply-page-step.is-upcoming .apply-page-step__marker {
  color: var(--apply-soft);
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.apply-page-step__label {
  font-size: clamp(10px, 2.5vw, 13px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.apply-page-step.is-done .apply-page-step__label {
  color: var(--apply-primary-light);
}

.apply-page-step.is-active .apply-page-step__label {
  color: var(--text);
  font-weight: 800;
}

.apply-page-step.is-upcoming .apply-page-step__label {
  color: var(--apply-soft);
}

.apply-page-step__rail {
  flex: 1 1 auto;
  height: 2px;
  min-width: 8px;
  margin: 0 clamp(4px, 1.2vw, 10px);
  border-radius: 999px;
  background: var(--border);
}

.apply-page-step__rail.is-done {
  background: linear-gradient(90deg, var(--apply-primary), rgba(45, 95, 163, 0.45));
}

.apply-page-step__rail.is-partial {
  background: linear-gradient(
    90deg,
    var(--apply-primary) 0%,
    rgba(45, 95, 163, 0.4) 28%,
    var(--border) 28%,
    var(--border) 100%
  );
}

@keyframes apply-stepper-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes apply-step-glow {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(30, 77, 140, 0.1),
      0 0 0 5px rgba(234, 88, 12, 0.16),
      0 4px 12px rgba(30, 77, 140, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(30, 77, 140, 0.14),
      0 0 0 6px rgba(234, 88, 12, 0.24),
      0 6px 16px rgba(30, 77, 140, 0.26);
  }
}

@media (max-width: 639px) {
  .apply-page-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    align-items: start;
    padding-top: 2px;
  }

  .apply-page-stepper::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--apply-primary) 0%,
      rgba(45, 95, 163, 0.4) 22%,
      var(--border) 22%,
      var(--border) 100%
    );
    z-index: 0;
  }

  .apply-page-stepper-wrap--at-review .apply-page-stepper::before {
    background: linear-gradient(
      90deg,
      var(--apply-primary) 0%,
      rgba(45, 95, 163, 0.4) 44%,
      var(--border) 44%,
      var(--border) 100%
    );
  }

  .apply-page-step {
    flex: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .apply-page-step__node {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .apply-page-step__marker {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .apply-page-step__label {
    font-size: 10px;
    white-space: normal;
    text-align: center;
    max-width: 5rem;
  }

  .apply-page-step__rail {
    display: none;
  }
}

@media (min-width: 640px) {
  .apply-page-stepper__status {
    display: none;
  }
}

@media (max-width: 359px) {
  .apply-page-step__label {
    font-size: 9px;
    max-width: 4.2rem;
  }

  .apply-page-step__marker {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-page-stepper-wrap,
  .apply-page-step.is-active .apply-page-step__marker {
    animation: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .apply-page-step.is-upcoming .apply-page-step__marker:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
  }
}

.apply-page .page-hero {
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(20px, 4vw, 32px);
  background: transparent !important;
  box-shadow: none !important;
}

.apply-page .page-hero::after {
  display: none !important;
}

.apply-page .form-section {
  background: transparent;
}

.apply-page .site-header .header-inner,
.application-received-page .site-header .header-inner,
.simple-flow-page .site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

html[dir="rtl"] .apply-page .back-button-icon,
html[dir="rtl"] .application-received-page .back-button-icon {
  transform: scaleX(-1);
}

.application-received-page .site-header .header-inner,
.apply-page .site-header .header-inner {
  min-height: 52px;
  justify-content: flex-start;
}

.application-received-page .back-nav,
.apply-page .back-nav {
  padding-top: clamp(10px, 2.4vw, 14px);
}

.application-received-page .back-button,
.apply-page .back-button {
  min-height: 44px;
  padding: 0 14px;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.application-received-page .back-button-icon,
.apply-page .back-button-icon {
  font-size: 15px;
}

.application-received-page .site-header .brand {
  margin-inline: 0;
}

.application-received-page .received-section {
  padding-top: clamp(24px, 4vw, 40px);
}

.application-received-page .confirmation-card .application-id {
  margin-bottom: 4px;
}

.application-received-page .received-payment-ready {
  margin-top: clamp(28px, 5vw, 40px) !important;
  padding: clamp(18px, 4vw, 24px) !important;
  display: grid;
  gap: 6px;
}

@media (max-width: 719px) {
  .application-received-page .site-header .header-inner,
  .apply-page .site-header .header-inner {
    min-height: 48px;
  }

  .application-received-page .back-button,
  .apply-page .back-button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
    gap: 5px;
  }

  .application-received-page .back-button-icon,
  .apply-page .back-button-icon {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .application-received-page .back-button > span:not(.back-button-icon),
  .apply-page .back-button > span:not(.back-button-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .application-received-page .back-button,
  .apply-page .back-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    justify-content: center;
  }
}

/* =============================================================================
   PREMIUM PROFESSIONAL BALANCE — global visual layer (functionality unchanged)
   80% corporate trust · 20% refined luxury accents
   ============================================================================= */

html {
  background-color: var(--bg-warm);
}

body {
  background:
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 45%, var(--bg-soft) 100%) !important;
  color: var(--text) !important;
}

body::before,
body::after,
.section::before {
  display: none !important;
}

/* —— Header & brand (minimal logo, SaaS-style) —— */
.site-header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.header-inner {
  min-height: 80px !important;
}

.brand {
  gap: 12px !important;
}

.brand-mark {
  visibility: visible !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  flex: 0 0 54px !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 13px !important;
  border: 1px solid var(--border) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  filter: none !important;
  object-fit: contain !important;
}

.brand-copy strong {
  font-family: var(--font-body) !important;
  color: var(--navy) !important;
  font-size: clamp(17px, 3.2vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

.brand-copy span {
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.home-page .brand {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
}

.home-page .brand-copy {
  max-width: min(42vw, 320px);
}

.site-nav a {
  color: var(--text) !important;
  font-weight: 600 !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue) !important;
}

/* —— Typography —— */
h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
  color: var(--navy) !important;
}

h2 {
  font-size: clamp(1.5rem, 3.8vw, 2.125rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: var(--navy) !important;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.35rem) !important;
  font-weight: 600 !important;
  color: var(--text) !important;
}

.eyebrow {
  color: var(--blue) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

#hero-title.eyebrow {
  font-size: clamp(1.8rem, 7vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
  text-transform: none !important;
}

.hero-copy,
.section-heading p,
p {
  color: var(--muted) !important;
  line-height: 1.7 !important;
}

.page-hero h1 {
  color: var(--navy) !important;
}

.page-hero .hero-copy {
  color: var(--muted) !important;
  max-width: 62ch;
}

/* —— Hero & sections —— */
.hero,
.profile-hero {
  background:
    linear-gradient(165deg, #ffffff 0%, var(--bg-warm) 38%, var(--bg) 100%) !important;
  min-height: auto !important;
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  display: none !important;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0 !important;
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.45);
}

.page-hero {
  background: transparent !important;
  padding-top: clamp(32px, 5vw, 56px) !important;
  padding-bottom: clamp(24px, 4vw, 40px) !important;
}

.page-hero::after {
  display: none !important;
}

/* —— Elevated cards —— */
.site-nav,
.language-bar,
.community-slider,
.profile-image-card,
.copy-panel,
.consultation-panel,
.confirmation-panel,
.form-intro,
fieldset,
.trust-pill,
.manager-card,
.process-list li,
.service-card,
.confirmation-card,
.ehc-card,
.received-section .confirmation-card,
.upload-area,
.email-card,
.file-item,
.received-payment-ready {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
  border: 1px solid rgba(15, 39, 68, 0.09) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  color: var(--text) !important;
}

.received-fee-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 39, 68, 0.04);
  border: 1px solid rgba(15, 39, 68, 0.08);
}

.received-fee-summary__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.received-fee-summary__amount {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.profile-image-card {
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(15, 39, 68, 0.1) !important;
}

.profile-card-caption strong {
  color: var(--muted) !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.profile-card-caption span {
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.status-badge {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  border: 1px solid rgba(234, 88, 12, 0.25) !important;
  border-left: 4px solid var(--gold-light) !important;
  color: #9a3412 !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm) !important;
}

/* —— Premium CTAs (blue + subtle warm accent) —— */
.button,
.button-primary,
.submit-button,
.continue-button,
.app-button {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%) !important;
  color: #ffffff !important;
  border: 1px solid var(--blue-dark) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(234, 88, 12, 0.28),
    0 4px 14px rgba(30, 77, 140, 0.28) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  animation: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.floating-apply {
  z-index: 30 !important;
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%) !important;
  color: #ffffff !important;
  border: 1px solid var(--blue-dark) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(234, 88, 12, 0.25),
    0 8px 20px rgba(30, 77, 140, 0.32) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  animation: floating-apply-float 2.5s ease-in-out infinite !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.button:hover,
.button-primary:hover,
.button:focus-visible,
.button-primary:focus-visible,
.submit-button:hover,
.continue-button:hover,
.floating-apply:hover,
.floating-apply:focus-visible {
  background: linear-gradient(180deg, #3a6fad 0%, var(--blue-light) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(234, 88, 12, 0.35),
    0 12px 28px rgba(30, 77, 140, 0.38) !important;
  transform: translateY(-4px) !important;
  animation-play-state: paused !important;
  filter: none !important;
}

.button-secondary {
  background: #ffffff !important;
  color: var(--blue) !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: var(--shadow-sm) !important;
}

.button.is-disabled,
.button-primary.is-disabled {
  opacity: 0.5 !important;
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

/* —— Forms —— */
.application-form label {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.application-form legend,
.form-intro h2 {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.application-form input,
.application-form select,
.application-form textarea,
.premium-field input {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 2px rgba(15, 39, 68, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus,
.premium-field input:focus {
  border-color: var(--blue-light) !important;
  box-shadow:
    inset 0 1px 2px rgba(15, 39, 68, 0.04),
    0 0 0 3px rgba(30, 77, 140, 0.12),
    0 0 0 1px rgba(234, 88, 12, 0.2) !important;
}

.check-row span {
  color: var(--muted) !important;
}

/* —— Secondary controls —— */
.back-button {
  background: #ffffff !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-sm) !important;
}

.back-button-icon {
  color: var(--blue) !important;
}

.back-button:hover,
.back-button:focus-visible {
  background: var(--surface-strong) !important;
  border-color: var(--border-strong) !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow) !important;
}

.application-received-page .back-button,
.apply-page .back-button,
.privacy-notice-page .back-button {
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
}

/* —— Footer & misc —— */
.site-footer {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%) !important;
  border-top: 1px solid var(--border) !important;
}

.site-footer strong {
  color: var(--navy) !important;
}

.language-pill {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.language-pill.is-active {
  background: linear-gradient(180deg, #f0f5fb 0%, #e8f0fa 100%) !important;
  border-color: rgba(30, 77, 140, 0.25) !important;
  color: var(--blue) !important;
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.18) !important;
}

.nav-toggle {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.payment-confirmation-page,
body.payment-confirmation-page,
html:has(body.payment-confirmation-page) {
  background: var(--bg-warm) !important;
}

.payment-confirmation-page .site-header {
  background: rgba(255, 255, 255, 0.96) !important;
}

.payment-confirmation-page .payment-confirmation-section::before {
  display: none !important;
}

.payment-confirmation-page .upload-area,
.payment-confirmation-page .email-card,
.payment-confirmation-page .premium-field input,
.payment-confirmation-page .file-item {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
}

.success-message {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius) !important;
}

@media (max-width: 719px) {
  .site-nav.is-open {
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
  }

  .header-inner {
    min-height: 74px !important;
  }

  .brand-mark {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    flex: 0 0 50px !important;
    padding: 4px !important;
    border-radius: 12px !important;
  }

  .home-page .header-brand-group {
    max-width: calc(100% - 56px);
  }

  .home-page .header-inner {
    min-height: 80px !important;
  }

  .home-page .brand-mark {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex: 0 0 58px !important;
  }

  .home-page .nav-toggle {
    width: 46px;
    min-height: 46px;
    flex: 0 0 46px;
  }

  .application-form fieldset {
    text-align: left;
  }

  .application-form legend {
    text-align: left;
    margin-inline: 0;
  }

  .application-form input,
  .application-form select,
  .application-form textarea {
    text-align: left;
  }

  .section {
    padding: clamp(40px, 10vw, 64px) 0 !important;
  }

  fieldset,
  .confirmation-card {
    padding: clamp(18px, 4vw, 24px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-page-step.is-active .apply-page-step__marker {
    animation: none !important;
  }
}

/* —— Services & process numbering (simple) —— */
.services-section .service-icon,
.process-list span {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--gold-light) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
}

/* —— FAQ accordion (chevron dropdown toggle) —— */
.faq-accordion {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.faq-card,
.faq-accordion .accordion-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-item:last-child {
  border-bottom: 0 !important;
}

.faq-accordion .accordion-item summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 56px !important;
  padding: 16px 20px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  cursor: pointer !important;
}

.faq-accordion .accordion-item summary::after {
  content: "" !important;
  flex-shrink: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 6px !important;
  background-color: var(--surface-strong) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4d8c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px !important;
  transform: none !important;
}

.faq-accordion .accordion-item[open] summary::after {
  transform: rotate(180deg) !important;
  background-color: var(--blue) !important;
  border-color: var(--blue) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
}

.faq-accordion .accordion-item:hover,
.faq-accordion .accordion-item[open] {
  background: var(--surface-strong) !important;
}

.faq-accordion .accordion-item summary:hover::after {
  border-color: var(--blue-light) !important;
  color: var(--blue) !important;
}

@keyframes floating-apply-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(234, 88, 12, 0.25),
      0 6px 16px rgba(30, 77, 140, 0.26);
  }

  50% {
    transform: translateY(-12px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(234, 88, 12, 0.32),
      0 16px 32px rgba(30, 77, 140, 0.38);
  }
}

/* —— Contact section & HOA — readability on light theme —— */
.contact-section {
  background: linear-gradient(180deg, #eef2f6 0%, #e4eaf0 100%) !important;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}

.home-page .contact-section {
  padding-bottom: clamp(20px, 3vw, 32px) !important;
}

.home-page main {
  padding-bottom: 0;
}

.home-page .site-footer {
  margin-top: 0 !important;
}

.contact-section .consultation-panel {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(14px, 3vw, 20px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.contact-section .consultation-panel::after {
  display: none !important;
}

.contact-section .consultation-copy {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 4vw, 26px);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(15, 39, 68, 0.11);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(15, 39, 68, 0.04),
    0 10px 28px rgba(15, 39, 68, 0.08);
}

.contact-section .consultation-copy .eyebrow {
  margin: 0 !important;
  color: var(--blue) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
}

.contact-section-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 4px;
}

.contact-section .contact-brand-mark {
  width: clamp(64px, 18vw, 80px);
  height: clamp(64px, 18vw, 80px);
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.contact-section .direct-contact-heading,
.contact-section .consultation-panel p.direct-contact-heading {
  margin: 0 !important;
  color: var(--navy) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.contact-section .direct-contact-mini {
  margin: 0;
}

.contact-section .contact-channels {
  gap: 10px;
}

.contact-section .contact-channel {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 39, 68, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--navy) !important;
  font-size: clamp(13px, 2.1vw, 15px) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(15, 39, 68, 0.06) !important;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease !important;
}

.contact-section .contact-channel:hover,
.contact-section .contact-channel:focus-visible {
  color: var(--blue-dark) !important;
  background: #f8fafc !important;
  border-color: rgba(30, 77, 140, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 16px rgba(30, 77, 140, 0.1) !important;
  transform: translateY(-1px);
  outline: none !important;
}

.contact-section .contact-channel-icon {
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  color: var(--blue) !important;
  background: linear-gradient(180deg, #eef4fb 0%, #e2ebf6 100%) !important;
  border: 1px solid rgba(30, 77, 140, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.contact-section .contact-channel-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.contact-section .contact-channel-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--navy) !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  line-height: 1.35 !important;
}

.contact-section .contact-email-ltr {
  font-size: 0.92em;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.contact-section .consultation-actions {
  display: block;
  width: 100%;
  min-width: 0;
}

.contact-section .hoa-badge {
  display: grid !important;
  grid-template-columns: minmax(72px, 84px) minmax(0, 1fr) !important;
  gap: clamp(14px, 3vw, 18px) !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(18px, 4vw, 22px) clamp(18px, 4vw, 24px) !important;
  color: var(--navy) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%) !important;
  border: 1px solid rgba(15, 39, 68, 0.11) !important;
  border-top: 3px solid rgba(30, 77, 140, 0.22) !important;
  border-radius: var(--radius) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 39, 68, 0.04),
    0 10px 24px rgba(15, 39, 68, 0.07) !important;
}

.contact-section .hoa-logo-placeholder {
  width: 100% !important;
  min-height: 68px !important;
  padding: 8px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 39, 68, 0.1) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 10px rgba(15, 39, 68, 0.06) !important;
}

.contact-section .hoa-logo-placeholder img {
  width: 78% !important;
  max-height: 56px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  filter: contrast(1.06) saturate(1.05) !important;
  opacity: 1 !important;
}

.contact-section .hoa-text strong {
  color: var(--navy) !important;
  font-size: clamp(15px, 2.5vw, 17px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.contact-section .hoa-text span {
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Contact info blocks (application / help pages) */
.contact-info {
  margin: 20px 0 !important;
  padding: 18px 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%) !important;
  border: 1px solid rgba(15, 39, 68, 0.11) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(15, 39, 68, 0.06) !important;
}

.contact-item {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline !important;
  gap: 8px 12px !important;
  margin-bottom: 12px !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
}

.contact-item:last-child {
  margin-bottom: 0 !important;
}

.contact-item strong {
  color: var(--navy) !important;
  font-weight: 700 !important;
  min-width: 72px;
}

.contact-item a {
  color: var(--blue) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--blue-dark) !important;
  text-decoration: underline !important;
  outline: none;
}

/* Footer contact channels */
.site-footer .footer-contact-lines .contact-channel {
  padding: 10px 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 39, 68, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.06) !important;
}

.site-footer .footer-contact-lines .contact-channel:hover,
.site-footer .footer-contact-lines .contact-channel:focus-visible {
  color: var(--blue) !important;
  border-color: rgba(30, 77, 140, 0.24) !important;
  background: #f8fafc !important;
  transform: translateY(-1px);
}

.site-footer .footer-contact-lines .contact-channel-icon {
  width: 36px !important;
  height: 36px !important;
  color: var(--blue) !important;
  background: linear-gradient(180deg, #eef4fb 0%, #e2ebf6 100%) !important;
  border: 1px solid rgba(30, 77, 140, 0.14) !important;
}

.site-footer .footer-contact-lines .contact-channel-text {
  color: var(--navy) !important;
  font-weight: 600 !important;
}

/* About panel contact CTA (when present) */
.copy-panel .about-contact-cta {
  margin-top: 20px !important;
  padding: 18px 20px !important;
  border-top: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%) !important;
  border: 1px solid rgba(15, 39, 68, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.copy-panel .about-contact-cta > p {
  margin: 0 0 12px !important;
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}

.copy-panel .about-contact-cta .contact-channel {
  padding: 12px 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 39, 68, 0.11) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--navy) !important;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.05) !important;
}

.copy-panel .about-contact-cta .contact-channel-icon {
  color: var(--blue) !important;
  background: linear-gradient(180deg, #eef4fb 0%, #e2ebf6 100%) !important;
  border: 1px solid rgba(30, 77, 140, 0.14) !important;
}

.copy-panel .about-contact-cta .contact-channel-text {
  color: var(--navy) !important;
  font-weight: 600 !important;
}

.copy-panel .hoa-badge {
  color: var(--navy) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%) !important;
  border: 1px solid rgba(15, 39, 68, 0.11) !important;
  border-top: 3px solid rgba(30, 77, 140, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px rgba(15, 39, 68, 0.07) !important;
}

.copy-panel .hoa-logo-placeholder {
  background: #ffffff !important;
  border: 1px solid rgba(15, 39, 68, 0.1) !important;
  box-shadow: 0 2px 10px rgba(15, 39, 68, 0.06) !important;
}

.copy-panel .hoa-logo-placeholder img {
  filter: contrast(1.06) saturate(1.05) !important;
  opacity: 1 !important;
}

.copy-panel .hoa-text strong {
  color: var(--navy) !important;
}

@media (max-width: 719px) {
  .contact-section .consultation-copy,
  .contact-section .hoa-badge {
    padding: 18px 16px !important;
  }

  .contact-section .contact-channel {
    padding: 9px 11px !important;
    font-size: 12px !important;
  }

  .contact-section .hoa-badge {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .contact-section .hoa-text {
    justify-items: center !important;
  }

  .contact-section .hoa-text strong {
    max-width: 28ch;
  }

  .contact-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .contact-item strong {
    min-width: 0 !important;
  }
}

/* —— Phone: call or text prompt —— */
.phone-choice-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.phone-choice-dialog[hidden] {
  display: none !important;
}

body.phone-choice-open {
  overflow: hidden;
}

.phone-choice-dialog__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 39, 68, 0.45);
  cursor: pointer;
}

.phone-choice-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 24px 22px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 39, 68, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(15, 39, 68, 0.2);
}

.phone-choice-dialog__title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.phone-choice-dialog__number {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.01em;
}

.phone-choice-dialog__actions {
  display: grid;
  gap: 10px;
}

.phone-choice-dialog__action,
.phone-choice-dialog__cancel {
  width: 100%;
  min-height: 48px;
  margin: 0;
  justify-content: center;
  text-align: center;
}

.contact-section .contact-channel:not(:has(.contact-channel-icon)) {
  justify-content: center;
  padding: 14px 18px !important;
}

.contact-section .contact-channel-icon {
  display: none !important;
}

.why-work-placeholders {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-work-placeholder {
  margin: 0;
}

.why-work-placeholder__media {
  min-height: clamp(170px, 24vw, 250px);
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(241, 245, 249, 0.88));
  color: rgba(71, 85, 105, 0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 14px;
}

.why-work-points {
  margin: clamp(18px, 3vw, 24px) 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.why-work-points li {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .why-work-placeholders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .why-work-placeholders {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-apply {
    animation: none !important;
  }
}

/* —— Application agreement panel —— */
.final-step-fieldset {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.agreement-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.1) !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow:
    0 1px 2px rgba(15, 39, 68, 0.04),
    0 8px 24px rgba(15, 39, 68, 0.06) !important;
}

.agreement-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(20px, 4vw, 24px);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.04) 0%, rgba(255, 255, 255, 0) 72%);
}

.agreement-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(30, 77, 140, 0.08);
  border: 1px solid rgba(30, 77, 140, 0.12);
}

.agreement-panel__intro {
  min-width: 0;
}

.agreement-panel__eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.agreement-panel__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(18px, 3.2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.agreement-panel__body {
  display: grid;
  gap: 0;
  padding: clamp(18px, 3.5vw, 22px);
}

.agreement-panel__section + .agreement-panel__section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 39, 68, 0.07);
}

.agreement-panel__section-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.agreement-panel__section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.agreement-panel__confirm {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px clamp(18px, 3.5vw, 22px);
  border-top: 1px solid rgba(15, 39, 68, 0.1);
  background: rgba(15, 39, 68, 0.025);
}

.agreement-panel__label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  cursor: pointer;
}

.agreement-panel__label input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.agreement-panel__label-text {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.agreement-panel__label:hover .agreement-panel__label-text,
.agreement-panel__label:focus-within .agreement-panel__label-text {
  color: var(--navy);
}

.agreement-panel__privacy-card {
  margin-top: 20px;
  padding: clamp(16px, 3.2vw, 20px);
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 39, 68, 0.04);
}

.agreement-panel__privacy-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 39, 68, 0.07);
}

.agreement-panel__privacy-title {
  margin: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.agreement-panel__privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, gap 0.2s ease;
}

.agreement-panel__privacy-link svg {
  flex: 0 0 auto;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.agreement-panel__privacy-link:hover,
.agreement-panel__privacy-link:focus-visible {
  color: var(--navy);
  outline: none;
}

.agreement-panel__privacy-link:hover svg,
.agreement-panel__privacy-link:focus-visible svg {
  opacity: 1;
  transform: translate(1px, -1px);
}

.agreement-panel__label--consent {
  gap: 14px;
}

.agreement-panel__label-text--consent {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.agreement-panel__label--consent:hover .agreement-panel__label-text--consent,
.agreement-panel__label--consent:focus-within .agreement-panel__label-text--consent {
  color: var(--text);
}

.agreement-panel__security-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(15, 39, 68, 0.06);
  color: rgba(15, 39, 68, 0.62);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.agreement-panel__security-icon {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  color: var(--blue);
  background: rgba(30, 77, 140, 0.08);
}

.agreement-panel__security-icon svg {
  display: block;
}

.agreement-panel__security-copy {
  flex: 1;
  min-width: 0;
}

.agreement-panel__payment-method {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.agreement-panel__payment-method-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.agreement-panel__payment-method-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.agreement-panel__payment-method-logo img {
  display: block;
  width: min(132px, 100%);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30, 199, 119, 0.18);
}

[dir="rtl"] .agreement-panel__payment-method-logo {
  justify-content: flex-end;
}

[dir="rtl"] .agreement-panel__header,
[dir="rtl"] .agreement-panel__label,
[dir="rtl"] .agreement-panel__privacy-card,
[dir="rtl"] .agreement-panel__privacy-header,
[dir="rtl"] .agreement-panel__security-note {
  direction: rtl;
}

[dir="rtl"] .agreement-panel__privacy-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .agreement-panel__privacy-link:hover svg,
[dir="rtl"] .agreement-panel__privacy-link:focus-visible svg {
  transform: scaleX(-1) translate(-1px, -1px);
}

@media (max-width: 640px) {
  .agreement-panel__header {
    gap: 12px;
  }

  .agreement-panel__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .agreement-panel__icon svg {
    width: 18px;
    height: 18px;
  }

  .agreement-panel__privacy-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .agreement-panel__privacy-link {
    white-space: normal;
  }
}

/* Mobile accessibility — touch targets, overflow, safe areas */
@media (max-width: 719px) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .home-page main {
    padding-bottom: 0;
  }

  .application-id {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 10px;
  }

  .application-id span {
    flex: 1 1 100%;
    word-break: break-all;
  }

  .review-status-heading {
    flex-wrap: wrap;
    gap: 10px;
  }

  .review-status-badge {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .payment-info-card h2 {
    white-space: normal;
  }

  .floating-apply {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    max-width: min(calc(100vw - 24px), 240px);
    padding-inline: 16px;
  }

  .community-dot {
    position: relative;
    width: 10px;
    height: 10px;
  }

  .community-dot::before {
    content: "";
    position: absolute;
    inset: -18px;
  }

  .simple-flow-page .success-message .submit-section {
    width: 100%;
  }

  .simple-flow-page .success-message .submit-button,
  .simple-flow-page .success-message .button-primary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .simple-flow-page .back-button {
    min-height: 44px;
    min-width: 44px;
  }

  .application-received-page .received-section .container.narrow {
    text-align: center;
  }

  .contact-section .consultation-panel {
    gap: clamp(20px, 5vw, 28px);
  }

  .contact-section .hoa-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

/* —— Privacy notice page (legal document layout) —— */
.privacy-notice-page {
  background: #f7f8fa;
}

.privacy-notice-page__header.back-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.privacy-main {
  padding: clamp(28px, 5vw, 48px) 0 clamp(48px, 8vw, 72px);
}

.privacy-document-wrap {
  width: min(100% - 32px, 680px);
  max-width: 680px;
  margin-inline: auto;
}

.privacy-document {
  padding: clamp(32px, 5vw, 48px) clamp(28px, 4.5vw, 40px);
  background: #ffffff;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.06);
  color: #3d4f63;
  font-size: 15px;
  line-height: 1.75;
}

.privacy-document__header {
  margin-bottom: clamp(28px, 4vw, 36px);
  padding-bottom: clamp(24px, 3.5vw, 32px);
  border-bottom: 1px solid rgba(15, 39, 68, 0.12);
}

.privacy-document__updated {
  margin: 0 0 16px;
  color: #6b7c8f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.privacy-document__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.privacy-document__lead {
  margin: 0;
  max-width: 58ch;
  color: #5c6b7a;
  font-size: 15px;
  line-height: 1.65;
}

.privacy-document__body {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 36px);
}

.privacy-document__section h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
  color: var(--navy);
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.privacy-document__section p {
  margin: 0;
}

.privacy-document__section p + p {
  margin-top: 14px;
}

.privacy-document__section ul {
  margin: 12px 0 0;
  padding-left: 1.35em;
  list-style: disc;
}

.privacy-document__section ul li {
  margin: 0;
  padding-left: 0.2em;
}

.privacy-document__section ul li + li {
  margin-top: 8px;
}

.privacy-document__section ul li::marker {
  color: #8b97a5;
}

.privacy-document__contact {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.listing-bridge-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
  border: 1px solid rgba(30, 77, 140, 0.12);
  border-left: 3px solid var(--blue, #1e4d8c);
  box-shadow: var(--shadow-sm);
  font-size: clamp(15px, 3.6vw, 16px);
  line-height: 1.6;
  color: var(--muted, #5c6b7a);
}

.listing-bridge-note span {
  display: block;
}

.listing-bridge-note span[hidden] {
  display: none;
}

.listing-bridge-note [data-listing-bridge-property] {
  color: var(--navy, #0f2744);
  font-weight: 700;
}

.page-hero .listing-bridge-note {
  margin-top: 16px;
  max-width: 680px;
}

.property-context-banner {
  --property-banner-accent: var(--blue, #1e4d8c);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.98) 100%);
  border-bottom: 1px solid rgba(30, 77, 140, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 28px rgba(15, 39, 68, 0.06);
  animation: property-banner-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.property-context-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-light, #2d5fa3) 0%, var(--blue, #1e4d8c) 100%);
}

.property-context-banner--home {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 480px);
  margin: 0;
  border: 1px solid rgba(30, 77, 140, 0.14);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.property-context-banner--home[hidden] {
  display: none;
}

.property-context-banner--home .property-context-banner__inner {
  min-height: 0;
  padding: 8px 12px 8px 10px;
  gap: 10px;
}

.property-context-banner--home .property-context-banner__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.property-context-banner--home .property-context-banner__icon svg {
  width: 18px;
  height: 18px;
}

.property-context-banner--home .property-context-banner__label {
  font-size: 11px;
}

.property-context-banner--home .property-context-banner__value {
  font-size: clamp(13px, 2.6vw, 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-context-banner--apply {
  margin: 0;
  border-top: 1px solid rgba(30, 77, 140, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.property-context-banner--compact {
  margin: 0 0 20px;
  border: 1px solid rgba(30, 77, 140, 0.14);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.confirmation-card .property-context-banner--compact {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(30, 77, 140, 0.1) 100%),
    rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 22px rgba(0, 0, 0, 0.16);
}

.confirmation-card .property-context-banner--compact .property-context-banner__label {
  color: rgba(148, 163, 184, 0.95);
}

.confirmation-card .property-context-banner--compact .property-context-banner__value {
  color: #f8fafc;
}

.confirmation-card .property-context-banner--compact .property-context-banner__icon {
  color: #93c5fd;
  background: linear-gradient(145deg, rgba(45, 95, 163, 0.28), rgba(30, 77, 140, 0.16));
  border-color: rgba(147, 197, 253, 0.18);
}

.property-context-banner--compact::before {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.property-context-banner__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 0 14px 10px;
}

.property-context-banner--apply .property-context-banner__inner,
.property-context-banner--compact .property-context-banner__inner {
  min-height: 0;
  padding: 14px 16px 14px 14px;
}

.property-context-banner__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue, #1e4d8c);
  background: linear-gradient(145deg, rgba(45, 95, 163, 0.12), rgba(30, 77, 140, 0.08));
  border: 1px solid rgba(30, 77, 140, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.property-context-banner__icon svg {
  width: 22px;
  height: 22px;
}

.property-context-banner__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.property-context-banner__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted, #5c6b7a);
}

.property-context-banner__value {
  font-size: clamp(16px, 3.6vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--navy, #0f2744);
  word-break: break-word;
}

@keyframes property-banner-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[dir="rtl"] .property-context-banner::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .property-context-banner__inner {
  padding-left: 0;
  padding-right: 10px;
}

[dir="rtl"] .property-context-banner--apply .property-context-banner__inner,
[dir="rtl"] .property-context-banner--compact .property-context-banner__inner {
  padding-right: 14px;
}

.privacy-document__contact li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 0;
}

.privacy-document__contact li + li {
  margin-top: 10px;
}

.privacy-document__contact-label {
  flex: 0 0 auto;
  min-width: 3.25rem;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.privacy-document__contact li::marker {
  content: none;
}

.privacy-document__contact a {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.privacy-document__contact a:hover,
.privacy-document__contact a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  outline: none;
}

[dir="rtl"] .privacy-notice-page .privacy-document,
[dir="rtl"] .privacy-notice-page .privacy-document__section,
[dir="rtl"] .privacy-notice-page .privacy-document__contact li {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .privacy-document__section ul {
  padding-right: 1.35em;
  padding-left: 0;
}

[dir="rtl"] .privacy-document__contact li {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

@media (max-width: 719px) {
  .privacy-document {
    padding: 24px 20px 28px;
    border-radius: 2px;
  }

  .privacy-document__contact li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  [dir="rtl"] .privacy-document__contact li {
    align-items: flex-end;
  }
}

/* —— Application fee explainer —— */
.section-lead {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.fee-explainer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fee-explainer-card {
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fee-explainer-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: var(--navy);
}

.fee-explainer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.fee-explainer-card--refund {
  grid-column: 1 / -1;
  padding: 28px 28px 26px;
  border: 1px solid rgba(15, 39, 68, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
}

.fee-refund-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.fee-explainer-card--refund h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.fee-refund-text {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.fee-explainer-card--highlight {
  border-color: rgba(201, 169, 98, 0.45);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.fee-explainer-note {
  margin-top: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark) !important;
}

/* —— Team section —— */
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  padding: 24px 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.team-card__photo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}

.team-card__photo--katherine {
  object-position: 54% 38%;
}

.team-card__photo--marcus {
  object-position: 48% 40%;
}

.team-card__photo--phillip {
  object-position: 44% 46%;
}

.team-card__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--navy);
}

.team-card__role {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

.team-card__bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* —— Testimonials —— */
.testimonials-featured {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.testimonials-featured--more {
  margin-bottom: 28px;
}

.testimonial-card {
  margin: 0;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.testimonial-author__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  background: hsl(var(--avatar-hue, 210), 42%, 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.testimonial-author__text time {
  font-size: 0.78rem;
  color: var(--muted);
}


.testimonials-submit {
  margin-top: 32px;
  padding: 28px 26px 26px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-solid) 100%);
  box-shadow: var(--shadow);
}

.testimonials-submit__header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.testimonials-submit__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.testimonials-submit__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.testimonials-submit__grid {
  display: grid;
  gap: 16px;
}

.testimonials-submit__field {
  display: grid;
  gap: 6px;
}

.testimonials-submit__field--full {
  grid-column: 1 / -1;
}

.testimonials-submit__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.testimonials-submit__input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 39, 68, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.testimonials-submit__input::placeholder {
  color: var(--soft);
}

.testimonials-submit__input:focus,
.testimonials-submit__input:focus-visible {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  color: var(--text);
  box-shadow:
    inset 0 1px 2px rgba(15, 39, 68, 0.04),
    0 0 0 3px rgba(30, 77, 140, 0.12);
}

.testimonials-submit__textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.testimonials-submit__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonials-submit__footer .button {
  min-width: 168px;
}

.testimonials-submit__status {
  margin: 0;
  flex: 1 1 220px;
  min-height: 1.2em;
  font-size: 0.86rem;
  color: var(--muted);
}

.testimonials-submit__status.is-success {
  color: var(--green);
}

.testimonials-submit__status.is-error {
  color: #b42318;
}

@media (max-width: 960px) {
  .team-grid,
  .testimonials-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .fee-explainer-grid,
  .team-grid,
  .testimonials-featured {
    grid-template-columns: 1fr;
  }

  .testimonial-card__meta {
    flex-direction: row;
    align-items: center;
  }
}
