@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./material-symbols-outlined.f4f8cd265b1f.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --page: #040807;
  --surface: #08100f;
  --surface-raised: #0d1715;
  --surface-soft: #111d1a;
  --panel: var(--surface);
  --bg: var(--page);
  --ink: #f3f6f3;
  --text: var(--ink);
  --muted: #a7b2ad;
  --line: rgba(221, 235, 226, 0.17);
  --line-strong: rgba(221, 235, 226, 0.3);
  --brand: #35a33d;
  --brand-strong: #23832d;
  --brand-soft: #76c943;
  --accent: var(--brand-soft);
  --danger: #d85e56;
  --header-height: 82px;
  --shell: 1480px;
  --page-shell: 1160px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #f3f5f1;
  --surface: #ffffff;
  --surface-raised: #f8faf6;
  --surface-soft: #ecf1e9;
  --panel: var(--surface);
  --bg: var(--page);
  --ink: #101813;
  --text: var(--ink);
  --muted: #56615b;
  --line: rgba(27, 55, 37, 0.16);
  --line-strong: rgba(27, 55, 37, 0.3);
  --brand: #247c2d;
  --brand-strong: #185f22;
  --brand-soft: #3f9638;
  --accent: var(--brand-soft);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

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

button,
input,
select,
textarea { font: inherit; }

button,
summary,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--brand-soft);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 7, 0.94);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.94); }

.site-nav {
  width: min(100% - 40px, var(--shell));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 32px;
}

.site-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  text-decoration: none;
}

.site-brand img,
.footer-brand img {
  display: block;
  width: auto;
  max-width: 224px;
  object-fit: contain;
}

.site-brand img { height: 50px; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 52px);
}

.nav-drawer-header,
.nav-drawer-actions {
  display: none;
}

.nav-drawer-links {
  display: contents;
}

.primary-nav a,
.nav-login,
.nav-signup,
.theme-toggle {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a,
.nav-login { color: var(--ink); }

.primary-nav a:hover,
.nav-login:hover { color: var(--brand-soft); }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.theme-toggle,
.nav-menu-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
}

.theme-toggle .material-symbols-outlined { font-size: 20px; }

.nav-signup {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
}

.nav-signup:hover { border-color: var(--brand-soft); }

.nav-menu-button {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border-radius: 10px;
}

.site-main:not(.landing-main) {
  width: min(100% - 40px, var(--page-shell));
  min-height: 62vh;
  margin: 0 auto;
  padding: 54px 0 80px;
}

.site-main:not(.landing-main) h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.site-main:not(.landing-main) h2 {
  margin: 36px 0 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

:where(.site-main:not(.landing-main)) :where(p, li) { color: var(--muted); }

.site-main:not(.landing-main) .hero,
.site-main:not(.landing-main) .band,
.site-main:not(.landing-main) .item {
  border-color: var(--line);
  background: transparent;
}

.button,
.property-view-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.landing-main { min-height: 0; }

.landing-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  background: #030807;
  color: #f5f7f5;
}

.landing-visual,
.landing-overlay {
  position: absolute;
  inset: 0 0 auto;
  height: 800px;
  z-index: -2;
}

.landing-visual picture,
.landing-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%;
}

.landing-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 60% 15%, rgba(53, 163, 61, 0.08), transparent 60%),
    linear-gradient(to bottom, rgba(1, 7, 6, 0.42) 0%, rgba(1, 7, 6, 0.65) 60%, #030807 100%);
}

.landing-shell {
  width: min(100% - 56px, var(--shell));
  margin: 0 auto;
  padding: 68px 0 48px;
}

.hero-copy { max-width: 680px; }

.hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-word { display: inline-block; }
.hero-word:not(:last-child) { margin-right: 0.12em; }
.hero-copy h1 em { color: #42b44a; font-style: normal; }

.hero-copy p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #e2ede5;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
  text-wrap: balance;
}

.property-explorer {
  position: relative;
  z-index: 10;
  width: min(100%, 970px);
  min-height: 76px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 16, 14, 0.78);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}

.property-choice { position: relative; min-width: 0; }

.property-choice + .property-choice { border-left: 1px solid rgba(255, 255, 255, 0.1); }

.property-choice summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
  border-radius: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.property-choice summary::-webkit-details-marker { display: none; }

.property-choice summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.property-choice summary:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 1px;
}

.choice-icon { color: var(--brand-soft); font-size: 24px; }
.choice-state { color: #a9b3ae; font-size: 20px; transition: transform 150ms ease; }
.property-choice[open] .choice-state { transform: rotate(180deg); }
.choice-copy { display: flex; flex-direction: column; min-width: 0; }

.choice-label {
  color: #a9b3ae;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.property-choice summary strong { font-size: 16px; font-weight: 700; color: #ffffff; }

.choice-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(300px, calc(100vw - 48px));
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(10, 20, 18, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 50;
}

.choice-menu :is(a, button) {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 10px 14px;
  color: #f3f6f3;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.choice-menu :is(a, button):hover,
.choice-menu :is(a, button):focus-visible,
.choice-menu :is(a, button)[aria-pressed="true"] {
  background: rgba(53, 163, 61, 0.2);
  color: #76c943;
  font-weight: 700;
}

.property-submit {
  min-width: 200px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #35a33d 0%, #23832d 100%);
  box-shadow: 0 8px 24px rgba(35, 131, 45, 0.35);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.property-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(35, 131, 45, 0.45);
}

.intent-rail {
  width: min(100%, 1070px);
  min-height: 84px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(8, 16, 14, 0.72);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.intent-rail a {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-content: center;
  align-items: center;
  gap: 0 12px;
  padding: 16px 22px;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.intent-rail a + a { border-left: 1px solid rgba(255, 255, 255, 0.1); }

.intent-rail a:hover { background: rgba(35, 131, 45, 0.22); }

.intent-icon { grid-row: 1; color: var(--brand-soft); font-size: 28px; }
.intent-copy { display: flex; flex-direction: column; min-width: 0; }
.intent-rail strong { font-size: 16px; font-weight: 700; color: #ffffff; }

.intent-rail span { color: #aeb8b3; font-size: 12px; }

.landing-apps {
  margin-top: 36px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(14, 26, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-apps-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.landing-apps-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-featured {
  position: relative;
  margin-top: 40px;
}

.featured-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.featured-heading h2 {
  margin: 0 0 4px;
  color: #f5f7f5;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.featured-heading p {
  margin: 0;
  color: #aeb8b3;
  font-size: 14px;
}

.featured-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 10px;
  background: rgba(53, 163, 61, 0.14);
  border: 1px solid rgba(53, 163, 61, 0.35);
  color: #76c943;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.featured-heading > a:hover {
  background: rgba(53, 163, 61, 0.24);
  border-color: rgba(53, 163, 61, 0.55);
}

.featured-controls { display: flex; gap: 8px; }

.featured-controls button {
  width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(14, 26, 22, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f5f7f5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.featured-controls button:hover {
  border-color: var(--brand-soft);
  color: var(--brand-soft);
  background: rgba(53, 163, 61, 0.15);
}

.featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  grid-template-rows: 1fr;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #2d8037 #0a1311;
  padding-bottom: 12px;
}

.featured-card {
  scroll-snap-align: start;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 26, 22, 0.85) 0%, rgba(8, 16, 14, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f5f7f5;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  border-color: rgba(77, 178, 70, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), 0 0 20px rgba(53, 163, 61, 0.2);
  transform: translateY(-4px);
}

.featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #15201c;
}

.featured-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.03);
}

.featured-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #72c950;
  font-weight: 800;
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(32, 125, 42, 0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-price-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(3, 12, 11, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.featured-body {
  min-height: 98px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px;
}

.featured-body strong {
  font-size: 16px;
  line-height: 1.3;
  color: #f3f6f3;
}

.featured-body span {
  color: #aab4af;
  font-size: 13px;
}

.featured-body small {
  color: #68bd4a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.featured-empty {
  min-height: 140px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: radial-gradient(circle at 88% 20%, rgba(53, 163, 61, 0.12), transparent 45%), linear-gradient(135deg, rgba(14, 26, 22, 0.8), rgba(8, 16, 14, 0.95));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.featured-empty .featured-heading {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--page);
  color: var(--muted);
}

.footer-shell {
  width: min(100% - 56px, var(--shell));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: 44px;
}

.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { max-width: 420px; margin: 6px 0; font-size: 13px; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; }
.footer-column strong { color: var(--ink); margin-bottom: 12px; }
.footer-column a { margin: 5px 0; font-size: 13px; text-decoration: none; }
.footer-column a:hover { color: var(--brand-soft); }

.footer-apps {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-apps-title { color: var(--ink); font-weight: 700; margin-right: 4px; }
.footer-store-button {
  min-width: 165px;
  min-height: 54px;
  display: inline-grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(14, 26, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.footer-store-button > span:last-child { display: grid; line-height: 1.1; }
.footer-store-button small { color: rgba(255, 255, 255, 0.72); font-size: 10px; font-weight: 600; }
.footer-store-button strong { color: #ffffff; font-size: 14px; font-weight: 700; }
.footer-store-button .material-symbols-outlined { color: var(--brand-soft); font-size: 26px; }

.footer-app-disabled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(14, 26, 22, 0.5);
  color: rgba(255, 255, 255, 0.65);
  opacity: 0.85;
}
.footer-app-disabled strong { color: rgba(255, 255, 255, 0.65); }
.footer-app-disabled small { color: rgba(255, 255, 255, 0.5); }

/* Landing Stage App Store Buttons: Always Crisp High-Contrast */
.landing-stage .footer-store-button {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
.landing-stage .footer-store-button strong {
  color: #ffffff !important;
}
.landing-stage .footer-store-button small {
  color: rgba(255, 255, 255, 0.78) !important;
}
.landing-stage .footer-store-button .material-symbols-outlined {
  color: #52c25a !important;
}
.landing-stage .footer-app-disabled {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.landing-stage .footer-app-disabled strong,
.landing-stage .footer-app-disabled small {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Light Theme Footer Adaptation */
:root[data-theme="light"] .site-footer .footer-store-button {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  color: var(--ink) !important;
}
:root[data-theme="light"] .site-footer .footer-store-button strong {
  color: var(--ink) !important;
}
:root[data-theme="light"] .site-footer .footer-store-button small {
  color: var(--muted) !important;
}
:root[data-theme="light"] .site-footer .footer-store-button .material-symbols-outlined {
  color: var(--brand) !important;
}
:root[data-theme="light"] .site-footer .footer-app-disabled {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
:root[data-theme="light"] .site-footer .footer-app-disabled strong,
:root[data-theme="light"] .site-footer .footer-app-disabled small {
  color: var(--muted) !important;
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav a,
  .nav-login,
  .nav-signup,
  .theme-toggle,
  .button,
  .property-submit,
  .property-choice summary,
  .intent-rail a,
  .featured-card,
  .featured-controls button,
  .footer-column a,
  .footer-store-button,
  .property-card,
  .property-view-button {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }
  .nav-signup:hover,
  .theme-toggle:hover,
  .footer-store-button:hover { border-color: var(--brand-soft); transform: translateY(-2px); }
  .button:hover,
  .property-submit:hover,
  .property-view-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(25, 116, 36, 0.3); }
  .property-choice summary:hover { background: rgba(255, 255, 255, 0.07); }
  .intent-rail a:hover { transform: translateY(-2px); }
  .featured-card:hover,
  .property-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2); }
}

/* Shared editorial system for About, Help, legal, enterprise, and support pages. */
.public-content-page .site-main {
  position: relative;
}

.public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero, .catalogue-head) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 8px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(75, 174, 74, 0.2), transparent 34%),
    linear-gradient(135deg, var(--surface), var(--surface-raised));
}

.public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(91, 184, 81, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(72, 164, 66, 0.04), 0 0 0 88px rgba(72, 164, 66, 0.025);
}

.public-content-page :is(.about-kicker, .contact-kicker, .faq-kicker, .policy-kicker, .legal-kicker, .agent-kicker, .delete-kicker, .ent-kicker, .eyebrow) {
  border: 1px solid rgba(77, 178, 70, 0.25);
  border-radius: 999px;
  background: rgba(71, 170, 64, 0.1);
  color: var(--brand-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-content-page :is(.about-summary, .contact-summary, .faq-summary, .policy-summary, .legal-summary, .agent-summary, .delete-summary, .ent-summary) {
  max-width: 760px;
  line-height: 1.75;
}

.public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card, .band, .item) {
  border-color: var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card) {
  position: relative;
  overflow: hidden;
}

.public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--brand-soft), transparent);
  opacity: 0.7;
}

.public-content-page :is(.mission-card, .highlight-card, .faq-contact, .contact-panel) {
  background: linear-gradient(135deg, #155c25, #2b8d34);
  box-shadow: 0 20px 50px rgba(18, 99, 34, 0.2);
}

.public-content-page :is(.mission-card, .highlight-card, .faq-contact, .contact-panel) :is(h2, h3, p, li, strong, a, span) {
  color: #ffffff;
}

.public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) a {
  border-color: var(--line);
  transition: color 160ms ease, padding-left 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) a:hover { padding-left: 5px; }
  .public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card):hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    transition: transform 180ms ease, border-color 180ms ease;
  }
}

.public-content-page .about-layout {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.public-content-page .about-card { grid-column: span 6; }
.public-content-page .about-card:nth-child(1) { grid-column: span 7; }
.public-content-page .about-card:nth-child(2) { grid-column: span 5; }
.public-content-page .about-card:last-child { grid-column: 1 / -1; }

.public-content-page .feature-box,
.public-content-page .community-list span,
.public-content-page .contact-method,
.public-content-page .level-card,
.public-content-page .fact {
  border-radius: 12px;
}

/* ========================================================================= */
/* ROUTE 2: PROPERTY CATALOGUE & PROPERTY DETAIL PUBLIC                      */
/* ========================================================================= */

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--brand-soft);
  text-decoration: underline;
}
.breadcrumb-separator {
  color: var(--line-strong);
  user-select: none;
}
.breadcrumb-current {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: clamp(200px, 40vw, 420px);
}

/* --- Catalogue Header --- */
.catalogue-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.catalogue-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.catalogue-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  border: 1px solid rgba(53, 163, 61, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
:root[data-theme="light"] .catalogue-kicker-pill {
  color: var(--brand-strong);
  background: rgba(36, 124, 45, 0.1);
  border-color: rgba(36, 124, 45, 0.25);
}
.catalogue-kicker-pill .kicker-icon {
  font-size: 16px;
}
.catalogue-head .breadcrumbs {
  margin-bottom: 0;
}
.catalogue-head h1,
.public-content-page .catalogue-head h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
}

/* --- Property Grid & Cards --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 54px;
}
.property-card,
.public-content-page .property-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}
:root[data-theme="light"] .property-card,
:root[data-theme="light"] .public-content-page .property-card {
  background: var(--surface);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.property-card:hover,
.property-card:focus-within,
.public-content-page .property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 163, 61, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(53, 163, 61, 0.25);
}
:root[data-theme="light"] .property-card:hover,
:root[data-theme="light"] .property-card:focus-within,
:root[data-theme="light"] .public-content-page .property-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 32px -8px rgba(36, 124, 45, 0.18), 0 0 0 1px var(--brand);
}
.property-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.property-media,
.public-content-page .property-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.property-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.property-card:hover .property-media img {
  transform: scale(1.04);
}
.property-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.property-media-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.property-badge-purpose,
.property-purpose {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(4, 8, 7, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.property-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.property-badge-status.status-available {
  background: rgba(14, 38, 22, 0.88);
  color: #76c943;
  border: 1px solid rgba(118, 201, 67, 0.35);
}
:root[data-theme="light"] .property-badge-status.status-available {
  background: rgba(255, 255, 255, 0.92);
  color: #1b6823;
  border: 1px solid rgba(27, 104, 35, 0.3);
}
.property-badge-status.status-unavailable {
  background: rgba(45, 16, 15, 0.88);
  color: #ff8e86;
  border: 1px solid rgba(216, 94, 86, 0.35);
}
:root[data-theme="light"] .property-badge-status.status-unavailable {
  background: rgba(255, 255, 255, 0.92);
  color: #a3221b;
  border: 1px solid rgba(163, 34, 27, 0.3);
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.property-body,
.public-content-page .property-body {
  display: grid;
  gap: 8px;
  padding: 18px 18px 14px;
}
.property-price-wrap {
  display: flex;
  align-items: center;
}
.property-price,
.public-content-page .property-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.property-title,
.public-content-page .property-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.property-location .property-pin {
  font-size: 16px;
  color: var(--brand);
  flex-shrink: 0;
}
.property-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-card-footer,
.public-content-page .property-card-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
  margin-top: auto;
}
.property-view-button,
.public-content-page .property-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 88px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(35, 131, 45, 0.3);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.property-view-button:hover,
.property-view-button:focus-visible,
.public-content-page .property-view-button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 131, 45, 0.45);
}

/* --- Empty State --- */
.empty-state.catalogue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 48px;
}
:root:not([data-theme="light"]) .empty-state.catalogue-empty {
  border-color: rgba(255, 255, 255, 0.12);
}
.empty-state.catalogue-empty .empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(53, 163, 61, 0.12);
  color: var(--brand);
  margin-bottom: 18px;
}
.empty-state.catalogue-empty .empty-state-icon .material-symbols-outlined {
  font-size: 32px;
}
.empty-state.catalogue-empty h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.empty-state.catalogue-empty p {
  max-width: 480px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.empty-state.catalogue-empty .empty-return-button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
}

/* --- Pagination --- */
.catalogue-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 0 54px;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}
:root:not([data-theme="light"]) .pagination-btn {
  border-color: rgba(255, 255, 255, 0.12);
}
.pagination-btn:hover,
.pagination-btn:focus-visible {
  border-color: var(--brand);
  color: var(--brand-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.pagination-btn .material-symbols-outlined {
  font-size: 18px;
}
.pagination-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* --- Property Detail Layout & Components --- */
.property-detail {
  padding: 32px 0 64px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.68fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout,
  .public-content-page .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .detail-main-column {
    display: contents;
  }
  .detail-primary-image { order: 1; width: 100%; }
  .detail-gallery { order: 2; width: 100%; }
  .detail-summary,
  .public-content-page .detail-summary {
    order: 3;
    position: static !important;
    top: auto;
    width: 100%;
  }
  .detail-copy { order: 4; width: 100%; }
}
.detail-primary-image,
.public-content-page .detail-primary-image {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
:root:not([data-theme="light"]) .detail-primary-image,
:root:not([data-theme="light"]) .public-content-page .detail-primary-image {
  border-color: rgba(255, 255, 255, 0.12);
}
.detail-image-link {
  display: block;
  height: 100%;
  width: 100%;
}
.detail-primary-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.detail-primary-image:hover img {
  transform: scale(1.025);
}
.detail-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 24px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.detail-gallery .detail-image-link {
  height: auto;
}
.detail-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
:root:not([data-theme="light"]) .detail-thumb-link {
  border-color: rgba(255, 255, 255, 0.12);
}
.detail-thumb-link:hover,
.detail-thumb-link:focus-visible {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.detail-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Detail Description Section */
.detail-copy {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 32px;
}
.detail-section-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.detail-description-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
:root:not([data-theme="light"]) .detail-description-card {
  border-color: rgba(255, 255, 255, 0.1);
}
.detail-copy p,
.detail-description-card p {
  margin: 0;
  white-space: pre-line;
  max-width: 850px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

/* Detail Sticky Card */
.detail-summary,
.public-content-page .detail-summary {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}
:root:not([data-theme="light"]) .detail-summary,
:root:not([data-theme="light"]) .public-content-page .detail-summary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 16, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.detail-purpose-pill,
.detail-purpose {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  border: 1px solid rgba(53, 163, 61, 0.3);
}
:root[data-theme="light"] .detail-purpose-pill,
:root[data-theme="light"] .detail-purpose {
  color: var(--brand-strong);
  background: rgba(36, 124, 45, 0.1);
  border-color: rgba(36, 124, 45, 0.25);
}
.detail-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.detail-status-pill.status-available {
  background: rgba(53, 163, 61, 0.12);
  color: #76c943;
  border: 1px solid rgba(118, 201, 67, 0.3);
}
:root[data-theme="light"] .detail-status-pill.status-available {
  color: #1b6823;
  background: rgba(36, 124, 45, 0.12);
  border-color: rgba(36, 124, 45, 0.3);
}
.detail-status-pill.status-unavailable {
  background: rgba(216, 94, 86, 0.12);
  color: #ff8e86;
  border: 1px solid rgba(216, 94, 86, 0.3);
}
:root[data-theme="light"] .detail-status-pill.status-unavailable {
  color: #a3221b;
  background: rgba(216, 94, 86, 0.12);
  border-color: rgba(216, 94, 86, 0.3);
}
.detail-summary h1,
.public-content-page .detail-summary h1,
.detail-title {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  color: var(--ink);
}
.detail-price-box {
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-price-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.detail-price {
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.detail-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.detail-location .location-pin {
  font-size: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Facts Grid */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  background: transparent;
  border: none;
}
.fact,
.public-content-page .fact {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
:root:not([data-theme="light"]) .fact,
:root:not([data-theme="light"]) .public-content-page .fact {
  border-color: rgba(255, 255, 255, 0.1);
}
.fact:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.fact .fact-label,
.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fact .fact-value,
.fact strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* Primary Action Button */
.detail-action-button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -4px rgba(35, 131, 45, 0.45);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.detail-action-button:hover,
.detail-action-button:focus-visible {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(35, 131, 45, 0.55);
}
.detail-action-button .action-btn-icon {
  font-size: 20px;
  transition: transform 0.18s ease;
}
.detail-action-button:hover .action-btn-icon {
  transform: translateX(3px);
}

/* Inspection Notice */
.detail-inspection-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
:root:not([data-theme="light"]) .detail-inspection-notice {
  border-color: rgba(255, 255, 255, 0.1);
}
.detail-inspection-notice .notice-icon {
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}
.detail-inspection-notice .notice-text,
.detail-inspection-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.public-content-page > .site-main > .hero {
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(circle at 90% 10%, rgba(75, 174, 74, 0.2), transparent 35%), var(--surface);
}
.public-content-page > .site-main > .band { margin-top: 18px; padding: 28px; border: 1px solid var(--line); }

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .site-nav { grid-template-columns: auto 1fr auto; }
  .primary-nav { gap: 22px; }
  .nav-login { display: none; }
  .landing-visual, .landing-overlay { height: 730px; }
  .footer-primary { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .site-nav { width: min(100% - 24px, var(--shell)); grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-menu-button {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 12px;
  }
  .nav-menu-button .material-symbols-outlined { font-size: 24px; }
  .site-brand { justify-self: center; }
  .site-brand img { height: 42px; max-width: 174px; }
  .primary-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 12px;
    right: 12px;
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: rgba(8, 16, 14, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
  }
  .primary-nav.is-open {
    display: flex;
    animation: drawerFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes drawerFadeIn {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
  }
  .nav-drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .nav-drawer-close:hover {
    background: var(--surface-soft);
    color: var(--brand-soft);
  }
  .nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .nav-drawer-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .nav-drawer-links a:hover,
  .nav-drawer-links a:focus-visible {
    background: rgba(53, 163, 61, 0.15);
    border-color: rgba(53, 163, 61, 0.4);
    color: var(--brand-soft);
  }
  .nav-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-drawer-actions .nav-drawer-login,
  .nav-drawer-actions .nav-drawer-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
  }
  .nav-drawer-actions .nav-drawer-login {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
  }
  .nav-drawer-actions .nav-drawer-signup {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #ffffff;
  }
  :root[data-theme="light"] .primary-nav {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 55, 37, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  }
  :root[data-theme="light"] .nav-drawer-links a {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }
  :root[data-theme="light"] .nav-drawer-links a:hover {
    background: rgba(36, 124, 45, 0.08);
    border-color: rgba(36, 124, 45, 0.25);
  }
  .nav-actions { gap: 8px; }
  .theme-toggle { min-height: 44px; min-width: 44px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
  .nav-signup { display: none; }
  .landing-shell { width: min(100% - 30px, var(--shell)); padding-top: 48px; }
  .hero-copy h1 { font-size: clamp(56px, 14vw, 88px); }
  .property-explorer {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(8, 16, 14, 0.85);
  }
  .property-choice + .property-choice { border-left: 0; }
  .property-submit { min-height: 52px; grid-column: 1 / -1; }
  .intent-rail {
    width: 100%;
    min-height: auto;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    overflow: visible;
  }
  .intent-rail a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(8, 16, 14, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  .intent-rail a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .intent-rail a:hover,
  .intent-rail a:active {
    background: rgba(35, 131, 45, 0.25);
    border-color: rgba(77, 178, 70, 0.4);
    transform: translateY(-1px);
  }
  .intent-icon { font-size: 26px; color: var(--brand-soft); flex-shrink: 0; }
  .intent-copy { display: flex; flex-direction: column; min-width: 0; }
  .intent-rail strong { font-size: 15px; font-weight: 700; color: #ffffff; }
  .intent-copy > span {
    display: block;
    font-size: 12px;
    color: #aeb8b3;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .featured-carousel { grid-auto-columns: minmax(270px, 72%); }
  .footer-primary { grid-template-columns: 1fr 1fr; }
  .public-content-page .site-main:not(.landing-main) { padding-top: 24px; }
  .public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero, .catalogue-head) {
    padding: 34px 24px !important;
    border-radius: 20px;
  }
  .public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero) h1 {
    max-width: 620px;
    font-size: clamp(36px, 9vw, 58px);
  }
  .public-content-page .about-card { grid-column: 1 / -1; }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border-radius: 14px;
    scrollbar-width: none;
  }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc)::-webkit-scrollbar { display: none; }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) :is(strong, h2) {
    flex: 0 0 auto;
    margin: 0 6px 0 2px;
    font-size: 12px;
    white-space: nowrap;
  }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) ul { display: contents; }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) li { display: contents; }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-raised);
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .site-nav { width: calc(100% - 20px); }
  .nav-menu-button { min-height: 44px; min-width: 44px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
  .site-brand img { height: 38px; max-width: 145px; }
  .theme-toggle { min-height: 44px; min-width: 44px; padding: 0 8px; border-radius: 10px; }
  .theme-toggle [data-theme-label] { display: none; }
  .theme-toggle .material-symbols-outlined { font-size: 22px; }
  .site-main:not(.landing-main) { width: calc(100% - 24px); padding-top: 18px; padding-bottom: 48px; }
  .landing-stage { min-height: auto; }
  .landing-visual, .landing-overlay { height: 730px; }
  .landing-visual picture, .landing-visual img { object-position: center center; }
  .landing-overlay {
    background:
      radial-gradient(circle at 50% 20%, rgba(53, 163, 61, 0.08), transparent 70%),
      linear-gradient(to bottom, rgba(1, 7, 6, 0.35) 0%, rgba(1, 7, 6, 0.75) 60%, #030807 100%);
  }
  .landing-shell { width: calc(100% - 24px); padding: 32px 0 28px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(26px, 7.5vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
  .hero-copy h1 .hero-word { display: inline; }
  .hero-copy h1 .hero-word:not(:last-child) { margin-right: 0.15em; }
  .hero-copy h1 .hero-word:last-child { display: inline; margin-top: 0; }
  .hero-copy p { max-width: 100%; margin-top: 10px; font-size: 13.5px; line-height: 1.5; }
  .property-explorer {
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(8, 16, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .property-choice + .property-choice { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .property-choice summary { min-height: 54px; padding: 6px 14px; }
  .property-submit { min-height: 50px; grid-column: auto; font-size: 15px; border-radius: 10px; }
  .choice-menu {
    position: relative;
    top: 0;
    width: 100%;
    margin: 6px 0 8px;
    padding: 6px;
    background: rgba(14, 26, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: none;
  }
  .choice-menu :is(a, button) {
    min-height: 44px;
    padding: 10px 12px;
  }
  .intent-rail {
    min-height: auto;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: transparent;
    border: 0;
  }
  .intent-rail a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    min-height: 52px;
    border-radius: 14px;
  }
  .intent-icon { font-size: 24px; }
  .intent-rail strong { font-size: 14px; }
  .intent-copy > span { font-size: 11px; }
  .landing-featured { margin-top: 26px; }
  .featured-heading { align-items: flex-start; gap: 12px; }
  .featured-heading h2 { font-size: 18px; }
  .featured-heading p { max-width: 230px; font-size: 13px; }
  .featured-controls button { width: 44px; min-height: 44px; border-radius: 10px; }
  .featured-carousel { grid-auto-columns: minmax(250px, 86%); gap: 12px; }
  .featured-empty { padding: 22px 18px; border-radius: 16px; background: rgba(8, 16, 15, 0.75); }
  .featured-empty .featured-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .featured-empty .featured-heading > div { max-width: 100%; }
  .featured-empty .featured-heading > div p { max-width: 100%; }
  .featured-empty .featured-heading > a {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    white-space: nowrap;
  }
  .landing-apps {
    margin-top: 22px;
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(14, 26, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .landing-apps-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-shell { width: calc(100% - 24px); padding: 28px 0 20px; }
  .footer-primary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 38px; margin-bottom: 10px; }
  .footer-brand p { max-width: 330px; font-size: 11px; }
  .footer-column strong { margin-bottom: 7px; font-size: 12px; }
  .footer-column a { margin: 4px 0; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  .footer-apps-title { grid-column: 1 / -1; margin: 0 0 2px; font-size: 13px; }
  .footer-store-button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .footer-store-button .material-symbols-outlined { font-size: 22px; }
  .footer-store-button strong { font-size: 12px; }
  .footer-store-button small { font-size: 8px; }
  .public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero, .catalogue-head) {
    padding: 28px 20px !important;
    border-radius: 16px;
  }
  .public-content-page :is(.about-hero, .contact-hero, .faq-hero, .policy-hero, .legal-hero, .agent-hero, .delete-hero, .ent-hero) h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.02;
  }
  .public-content-page :is(.about-summary, .contact-summary, .faq-summary, .policy-summary, .legal-summary, .agent-summary, .delete-summary, .ent-summary) {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.65;
  }
  .public-content-page :is(.about-layout, .contact-layout, .faq-layout, .policy-layout, .legal-layout, .agent-layout, .delete-layout, .ent-layout) {
    gap: 14px;
    padding: 16px 0 28px;
  }
  .public-content-page .about-layout > .about-card { grid-column: 1 / -1; }
  .public-content-page :is(.faq-toc, .policy-toc, .legal-toc, .agent-toc, .delete-toc, .ent-toc) :is(strong, h2, .ent-toc-header) {
    display: none !important;
  }
  .public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card) {
    padding: 20px;
    border-radius: 15px;
  }
  .public-content-page :is(.about-card, .contact-card, .faq-card, .policy-section, .legal-section, .agent-section, .delete-section, .ent-card)::before { top: 18px; bottom: 18px; }
  .public-content-page .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .public-content-page .feature-box { padding: 14px; }
  .public-content-page .feature-box strong { font-size: 13px; }
  .public-content-page .feature-box p { font-size: 12px; }
  .public-content-page .community-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .public-content-page .community-list span { padding: 10px; font-size: 12px; }
  .public-content-page > .site-main > .hero { padding: 28px 20px; border-radius: 16px; }
  .public-content-page > .site-main > .band { margin-top: 12px; padding: 20px; border-radius: 15px; }
  .public-content-page .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 36px;
  }
  .public-content-page .property-card {
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .public-content-page .property-media {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
  }
  .public-content-page .property-media-badges {
    top: 6px;
    left: 6px;
    right: 6px;
    gap: 4px;
  }
  .public-content-page .property-badge-purpose {
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 4px;
  }
  .public-content-page .property-badge-status {
    padding: 2px 6px;
    font-size: 8.5px;
    font-weight: 750;
    border-radius: 999px;
  }
  .public-content-page .property-body {
    gap: 4px;
    padding: 10px 8px 8px !important;
  }
  .public-content-page .property-price {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2;
  }
  .public-content-page .property-title {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .public-content-page .property-location {
    font-size: 10.5px !important;
    gap: 2px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .public-content-page .property-location .material-symbols-outlined {
    font-size: 12px;
  }
  .public-content-page .property-description {
    display: none !important;
  }
  .public-content-page .property-card-footer {
    padding: 0 8px 8px !important;
  }
  .public-content-page .property-view-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    justify-content: center;
  }
  .public-content-page .detail-summary { padding: 20px; border-radius: 16px; }
  .public-content-page .facts { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 440px) {
  .landing-apps-buttons,
  .footer-apps {
    grid-template-columns: 1fr;
  }
  .footer-store-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Web Install Prompt Dialog for Django Public Site */
.install-prompt-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.install-prompt-dialog.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.install-prompt-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.install-prompt-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(24px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.install-prompt-dialog.is-visible .install-prompt-card {
  transform: translateY(0);
}

.install-prompt-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.install-prompt-close:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.install-prompt-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-right: 36px;
}

.install-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.install-prompt-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.install-prompt-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.install-prompt-message {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.install-prompt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.install-prompt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.install-prompt-btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.install-prompt-btn-secondary:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.install-prompt-btn-primary {
  background: var(--brand);
  color: #ffffff;
  border: 0;
}

.install-prompt-btn-primary:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

@media (min-width: 600px) {
  .install-prompt-dialog {
    align-items: center;
  }
}

/* ========================================================================= */
/* ROUTE 3: ABOUT US & HOW ENTERPRISE WORKS                                 */
/* ========================================================================= */

/* --- Common Route 3 Foundations --- */
.about-page,
.ent-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* --- About Us Page --- */
.about-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(53, 163, 61, 0.12);
  border: 1px solid rgba(53, 163, 61, 0.3);
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-kicker .kicker-icon {
  font-size: 18px;
  color: var(--brand-soft);
}

.about-hero h1 {
  font-size: clamp(34px, 5.8vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 880px;
  margin: 6px 0 0;
  color: var(--ink);
}

.about-summary {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.68;
  color: var(--muted);
  max-width: 860px;
  margin: 10px 0 0;
}

.about-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
}

/* About Layout & Cards */
.about-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 16px 0 54px;
}

.about-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

:root:not([data-theme="light"]) .about-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
}

.about-card-intro {
  grid-column: span 7;
}

.about-card-full {
  grid-column: 1 / -1;
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  margin-bottom: 10px;
}

.about-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 14px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}

.about-card .section-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 800px;
  margin-bottom: 24px;
}

/* Problem vs Solution Grid */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.solution-box {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.solution-box.problem-box {
  border-color: rgba(216, 94, 86, 0.28);
  background: rgba(216, 94, 86, 0.04);
}

.solution-box .box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.solution-box .box-icon {
  font-size: 20px;
  color: var(--brand-soft);
}

.problem-box .box-icon {
  color: var(--danger);
}

.solution-box strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.clean-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-check-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.clean-check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Material Symbols Outlined";
  font-size: 16px;
}

.positive-list li::before {
  content: "check_circle";
  color: var(--brand-soft);
}

.negative-list li::before {
  content: "cancel";
  color: var(--danger);
}

/* Mission Card (High Elevation Emerald Card) */
.mission-card {
  grid-column: span 5;
  background: linear-gradient(145deg, #124d20 0%, #1a632b 50%, #257d38 100%) !important;
  border: 1px solid rgba(118, 201, 67, 0.3) !important;
  color: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mission-card h2,
.mission-card p,
.mission-card strong,
.mission-card span {
  color: #ffffff !important;
}

.mission-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mission-card h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 14px;
}

.mission-subtext {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 22px;
}

.mission-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: auto;
}

.mission-value-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mission-value-item .material-symbols-outlined {
  font-size: 22px;
  color: #a4e578;
}

.mission-value-item strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.mission-value-item p {
  font-size: 12.5px;
  line-height: 1.45;
  opacity: 0.88;
  margin: 0;
}

/* Verification Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:root:not([data-theme="light"]) .pillar-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--surface-raised);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  margin-bottom: 16px;
}

.pillar-icon-wrap .material-symbols-outlined {
  font-size: 24px;
}

.pillar-step {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  margin-bottom: 6px;
}

.pillar-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Feature Grid (Ecosystem) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-box {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  transition: border-color 0.18s ease;
}

:root:not([data-theme="light"]) .feature-box {
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-box:hover {
  border-color: var(--brand-soft);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-icon {
  font-size: 24px;
  color: var(--brand-soft);
}

.feature-box strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.feature-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Community & Geographic Coverage */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.coverage-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .coverage-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.coverage-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.coverage-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.coverage-indicator.active {
  background: var(--brand-soft);
  box-shadow: 0 0 8px var(--brand-soft);
}

.coverage-indicator.expansion {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.coverage-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.coverage-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(53, 163, 61, 0.12);
  color: var(--brand-soft);
}

.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

:root:not([data-theme="light"]) .area-pill {
  border-color: rgba(255, 255, 255, 0.1);
}

.area-pill:hover {
  border-color: var(--brand-soft);
  background: rgba(53, 163, 61, 0.12);
}

/* Closing CTA Card */
.closing-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(53, 163, 61, 0.12), rgba(13, 23, 21, 0.8)) !important;
  border: 1px solid rgba(53, 163, 61, 0.3) !important;
}

.closing-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(53, 163, 61, 0.16);
  border: 1px solid rgba(53, 163, 61, 0.35);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-bottom: 14px;
}

.closing-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.closing-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.closing-btn-primary {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.closing-btn-secondary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}


/* --- How Enterprise Works Page --- */
.ent-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ent-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(53, 163, 61, 0.12);
  border: 1px solid rgba(53, 163, 61, 0.3);
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ent-kicker .kicker-icon {
  font-size: 18px;
  color: var(--brand-soft);
}

.ent-hero h1 {
  font-size: clamp(34px, 5.8vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 880px;
  margin: 6px 0 0;
  color: var(--ink);
}

.ent-summary {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.68;
  color: var(--muted);
  max-width: 860px;
  margin: 10px 0 0;
}

.ent-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ent-hl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

:root:not([data-theme="light"]) .ent-hl-badge {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-hl-badge .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
}

/* Enterprise Layout */
.ent-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  padding: 20px 0 60px;
}

/* Sticky Sidebar Table of Contents */
.ent-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

:root:not([data-theme="light"]) .ent-toc {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
}

.ent-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ent-toc-icon {
  font-size: 20px;
  color: var(--brand-soft);
}

.ent-toc-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-soft);
}

.ent-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ent-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
}

.ent-toc-link:hover,
.ent-toc-link:focus-visible {
  background: rgba(53, 163, 61, 0.12);
  color: var(--ink);
  transform: translateX(3px);
}

.ent-toc-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-soft);
  opacity: 0.85;
}

.ent-toc-text {
  flex: 1;
}

/* Enterprise Content & Cards */
.ent-content {
  min-width: 0;
}

.ent-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 36px);
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  scroll-margin-top: 110px;
}

:root:not([data-theme="light"]) .ent-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
}

.ent-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.ent-section-number {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-soft);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(53, 163, 61, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ent-section-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  margin-bottom: 2px;
}

.ent-section-header h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.ent-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Enterprise Benefits & Automation Grid */
.ent-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ent-feature-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  transition: border-color 0.18s ease;
}

:root:not([data-theme="light"]) .ent-feature-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-feature-card:hover {
  border-color: var(--brand-soft);
}

.ent-feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  margin-bottom: 14px;
}

.ent-feature-icon-box .material-symbols-outlined {
  font-size: 22px;
}

.ent-feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}

.ent-feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Application Requirements Grid */
.ent-req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.ent-req-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .ent-req-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-req-card.highlight-req {
  border-color: rgba(53, 163, 61, 0.4);
  background: rgba(53, 163, 61, 0.05);
}

.ent-req-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ent-req-step {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
}

.ent-req-icon {
  font-size: 22px;
  color: var(--brand-soft);
}

.ent-req-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}

.ent-req-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Info Note Banner */
.ent-note-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(53, 163, 61, 0.3);
  background: rgba(53, 163, 61, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.ent-note-icon {
  font-size: 22px;
  color: var(--brand-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Admin Responsibilities Grid */
.ent-roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.ent-role-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .ent-role-item {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-role-icon-col {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
}

.ent-role-icon-col .material-symbols-outlined {
  font-size: 24px;
}

.ent-role-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}

.ent-role-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Membership Flow Steps */
.ent-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.ent-flow-step {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .ent-flow-step {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-flow-number {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ent-flow-step h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}

.ent-flow-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Callout Box */
.ent-rule-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.ent-rule-icon {
  font-size: 22px;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison Cards: Admin vs Member Rules */
.ent-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.ent-comparison-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .ent-comparison-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.admin-badge {
  background: rgba(216, 94, 86, 0.12);
  border: 1px solid rgba(216, 94, 86, 0.3);
  color: var(--danger);
}

.member-badge {
  background: rgba(53, 163, 61, 0.12);
  border: 1px solid rgba(53, 163, 61, 0.3);
  color: var(--brand-soft);
}

.ent-comparison-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.ent-comparison-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 10px;
}

.ent-comparison-card p:last-child {
  margin-bottom: 0;
}

/* Policy Grid: 24hr Cooldown & 3-Rejection */
.ent-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}

.ent-policy-card {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

:root:not([data-theme="light"]) .ent-policy-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-policy-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 163, 61, 0.14);
  color: var(--brand-soft);
  margin-bottom: 12px;
}

.ent-policy-icon-wrap .material-symbols-outlined {
  font-size: 22px;
}

.ent-policy-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}

.ent-policy-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Support CTA Block */
.ent-support-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(53, 163, 61, 0.14), rgba(13, 23, 21, 0.85));
  border: 1px solid rgba(53, 163, 61, 0.35);
  margin-top: 10px;
}

.ent-support-copy {
  max-width: 520px;
}

.ent-support-copy h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}

.ent-support-copy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

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

.ent-whatsapp-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.ent-app-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}


/* --- Responsive Adjustments for Route 3 --- */
@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-card-intro {
    grid-column: 1 / -1;
  }
  .mission-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .ent-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }
  
  /* Mobile Sticky Horizontal Chip Rail for TOC */
  .ent-toc {
    position: sticky;
    top: var(--header-height);
    z-index: 25;
    margin-bottom: 20px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(8, 16, 15, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  :root[data-theme="light"] .ent-toc {
    background: rgba(255, 255, 255, 0.94);
  }

  .ent-toc-header {
    display: none;
  }

  .ent-toc-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 2px;
    scrollbar-width: none;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ent-toc-nav::-webkit-scrollbar {
    display: none;
  }

  .ent-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .ent-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .ent-toc-link {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
    font-size: 13px;
    white-space: nowrap;
  }

  :root:not([data-theme="light"]) .ent-toc-link {
    border-color: rgba(255, 255, 255, 0.15);
  }

  .ent-flow-steps {
    grid-template-columns: 1fr;
  }

  .ent-policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero,
  .ent-hero {
    margin-bottom: 18px;
  }

  .about-layout {
    gap: 16px;
  }

  .about-card,
  .ent-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

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

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

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

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

  .ent-features-grid {
    grid-template-columns: 1fr;
  }

  .ent-req-grid {
    grid-template-columns: 1fr;
  }

  .ent-comparison-grid {
    grid-template-columns: 1fr;
  }

  .ent-support-cta {
    padding: 20px 16px;
  }

  .ent-support-actions,
  .closing-actions {
    width: 100%;
  }

  .ent-whatsapp-btn,
  .ent-app-btn,
  .closing-btn-primary,
  .closing-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}



/* ========================================================================= */
/* ROUTE 4: SUPPORT, FAQS & CONTACT US                                       */
/* ========================================================================= */

/* --- Common Route 4 Foundations --- */
.contact-page,
.faq-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* --- Contact Us Page Styles --- */
.contact-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.contact-kicker .kicker-icon {
  font-size: 18px;
  color: var(--brand-soft);
}

.contact-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.contact-summary {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 820px;
}

.contact-hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.contact-hero-badge .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
}

/* Direct Contact Methods Grid (4 elevated cards) */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.contact-method-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-method-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(53, 163, 61, 0.14);
  border: 1px solid rgba(53, 163, 61, 0.3);
  color: var(--brand-soft);
}

.contact-method-icon-wrap.whatsapp-icon-wrap {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.contact-method-icon-wrap .material-symbols-outlined {
  font-size: 26px;
}

.contact-method-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.contact-method-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-method-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method-value-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-address-text {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}

/* Prominent Action Buttons */
.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 180ms ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-action-btn .material-symbols-outlined {
  font-size: 20px;
}

.contact-btn-email {
  background: var(--surface-raised);
  border-color: var(--line-strong);
  color: var(--ink);
}

.contact-btn-email:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.contact-btn-whatsapp {
  background: linear-gradient(135deg, #20ba59, #1b8e40);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(32, 186, 89, 0.28);
}

.contact-btn-whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #1fad4c);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.36);
  color: #ffffff !important;
}

.contact-btn-call {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(35, 131, 45, 0.25);
}

.contact-btn-call:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #ffffff !important;
}

.contact-btn-office {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}

.contact-btn-disabled {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Contact Main Layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(53, 163, 61, 0.12);
  color: var(--brand-soft);
  flex-shrink: 0;
}

.contact-card-icon .material-symbols-outlined {
  font-size: 22px;
}

.contact-card-header h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--ink);
}

.contact-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

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

/* Timetable list */
.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.contact-hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.contact-hour-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-hour-day {
  font-weight: 700;
  color: var(--ink);
}

.contact-hour-time {
  font-weight: 600;
  color: var(--muted);
}

.contact-hour-row.closed .contact-hour-time {
  color: var(--danger);
  font-weight: 700;
}

.contact-tz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.contact-tz-badge .material-symbols-outlined {
  font-size: 15px;
  color: var(--brand-soft);
}

.contact-inline-link {
  color: var(--brand-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:root[data-theme="light"] .contact-inline-link {
  color: var(--brand);
}

/* Fraud guidelines checklist */
.contact-fraud-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.contact-fraud-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.45;
}

.contact-fraud-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(216, 94, 86, 0.4);
  background: rgba(216, 94, 86, 0.08);
  color: #ff8580;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: all 180ms ease;
}

:root[data-theme="light"] .contact-secondary-btn {
  color: #b52c24;
}

.contact-secondary-btn:hover {
  background: rgba(216, 94, 86, 0.18);
  border-color: rgba(216, 94, 86, 0.7);
  transform: translateY(-1px);
}

/* Customer Support Highlight CTA Panel (in sidebar) */
.contact-highlight-panel {
  position: relative;
  background: linear-gradient(135deg, rgba(35, 131, 45, 0.22), rgba(13, 23, 21, 0.95));
  border: 1px solid rgba(53, 163, 61, 0.4);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

:root[data-theme="light"] .contact-highlight-panel {
  background: linear-gradient(135deg, #185f22, #247c2d);
  color: #ffffff;
}

:root[data-theme="light"] .contact-highlight-panel :is(h2, h3, p, span, strong) {
  color: #ffffff;
}

.contact-highlight-panel h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}

.contact-highlight-panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}

.contact-highlight-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-highlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  color: #185f22 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.contact-reassurance-card {
  border-left: 3px solid var(--brand-soft);
}

.contact-reassurance-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

/* --- FAQs Page Styles --- */
.faq-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.faq-kicker .kicker-icon {
  font-size: 18px;
  color: var(--brand-soft);
}

.faq-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.faq-summary {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 820px;
}

.faq-hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.faq-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.faq-stat-chip .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
}

/* FAQ Layout: Sticky Sidebar on Desktop */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

/* FAQ TOC */
.faq-toc {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  max-height: calc(100vh - var(--header-height) - 36px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.faq-toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.faq-toc-icon {
  font-size: 20px;
  color: var(--brand-soft);
}

.faq-toc-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.faq-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: all 160ms ease;
}

.faq-toc-chip-icon {
  font-size: 18px;
  color: var(--muted);
  transition: color 160ms ease;
  flex-shrink: 0;
}

.faq-toc-link:hover {
  background: var(--surface-soft);
  color: var(--brand-soft);
  border-color: var(--line);
}

.faq-toc-link:hover .faq-toc-chip-icon {
  color: var(--brand-soft);
}

.faq-toc-subindex {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-toc-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.faq-subindex-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.faq-subindex-list a {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.4;
  transition: background 150ms ease, color 150ms ease;
}

.faq-subindex-list a:hover {
  background: var(--surface-soft);
  color: var(--brand-soft);
}

/* FAQ Content List & Category Groups */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.faq-group-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.faq-group-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-soft);
}

.faq-group-pill .material-symbols-outlined {
  font-size: 16px;
}

.faq-group-title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--ink);
}

.faq-group-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* FAQ Accordions (<details> & <summary>) */
.faq-accordion {
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.faq-accordion:hover {
  border-color: var(--line-strong);
}

.faq-accordion[open] {
  border-color: rgba(53, 163, 61, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  background: var(--surface-raised);
}

.faq-summary-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 160ms ease;
}

.faq-summary-btn::-webkit-details-marker,
.faq-summary-btn::marker {
  display: none;
}

.faq-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(53, 163, 61, 0.12);
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question-text {
  flex: 1;
  font-size: clamp(16px, 1.8vw, 17.5px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.faq-chevron {
  font-size: 24px;
  color: var(--muted);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), color 160ms ease;
  flex-shrink: 0;
}

.faq-accordion[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-soft);
}

.faq-accordion[open] .faq-question-text {
  color: var(--brand-soft);
}

:root[data-theme="light"] .faq-accordion[open] .faq-question-text {
  color: var(--brand-strong);
}

.faq-answer-body {
  padding: 0 20px 22px 62px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid rgba(221, 235, 226, 0.08);
}

:root[data-theme="light"] .faq-answer-body {
  border-top-color: rgba(27, 55, 37, 0.08);
}

.faq-answer-body p {
  margin: 12px 0 0;
}

.faq-answer-body p:first-child {
  margin-top: 14px;
}

.faq-answer-body ul,
.faq-answer-body ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.faq-answer-body li {
  margin: 6px 0;
  padding-left: 2px;
}

.faq-answer-body strong {
  color: var(--ink);
}

.faq-answer-body a {
  color: var(--brand-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:root[data-theme="light"] .faq-answer-body a {
  color: var(--brand);
}

/* FAQ Support CTA Card (Bottom) */
.faq-support-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(53, 163, 61, 0.16), rgba(13, 23, 21, 0.95));
  border: 1px solid rgba(53, 163, 61, 0.4);
  margin-top: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

:root[data-theme="light"] .faq-support-cta {
  background: linear-gradient(135deg, #185f22, #247c2d);
  color: #ffffff;
}

:root[data-theme="light"] .faq-support-cta :is(h2, p, span) {
  color: #ffffff;
}

.faq-cta-content {
  max-width: 580px;
}

.faq-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-soft);
  margin-bottom: 8px;
}

:root[data-theme="light"] .faq-cta-badge {
  color: #d1f4d7;
}

.faq-cta-content h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--ink);
}

.faq-cta-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

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

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 180ms ease;
  box-sizing: border-box;
}

.faq-btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.faq-btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.faq-btn-email {
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  color: var(--ink) !important;
}

:root[data-theme="light"] .faq-btn-email {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.faq-btn-email:hover {
  background: var(--brand);
  color: #ffffff !important;
  border-color: var(--brand);
}

.faq-btn-secondary {
  background: #ffffff;
  color: #185f22 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.faq-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* ========================================================================= */
/* RESPONSIVE BREAKPOINTS FOR ROUTE 4                                        */
/* ========================================================================= */

@media (max-width: 1040px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  /* Mobile Sticky Horizontal Chip Rail for FAQ TOC */
  .faq-toc {
    position: sticky;
    top: var(--header-height);
    z-index: 25;
    margin-bottom: 20px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(8, 16, 15, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: none;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  :root[data-theme="light"] .faq-toc {
    background: rgba(255, 255, 255, 0.94);
  }

  .faq-toc-header,
  .faq-toc-subindex {
    display: none;
  }

  .faq-toc-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 2px;
    scrollbar-width: none;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .faq-toc-nav::-webkit-scrollbar {
    display: none;
  }

  .faq-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .faq-group {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .faq-toc-link {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
    font-size: 13px;
    white-space: nowrap;
  }

  :root:not([data-theme="light"]) .faq-toc-link {
    border-color: rgba(255, 255, 255, 0.15);
  }

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

@media (max-width: 640px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-highlight-panel,
  .faq-support-cta {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .faq-answer-body {
    padding-left: 20px;
  }

  .faq-cta-actions {
    width: 100%;
  }

  .faq-cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-hero,
  .faq-hero {
    margin-bottom: 20px;
  }

  .contact-summary,
  .faq-summary {
    font-size: 15px;
  }

  .contact-action-btn,
  .contact-secondary-btn,
  .contact-highlight-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Route 5: Legal & System Pages
   (Terms, Privacy, Agent Terms, Owner Terms, Delete Account, Unavailable)
   ========================================================================== */

/* Shared Legal & System Layout */
.public-content-page :is(.legal-layout, .policy-layout, .agent-layout, .delete-layout, .owner-layout) {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 36px;
  padding: 36px 0 64px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Legal Heroes */
.public-content-page :is(.legal-hero, .policy-hero, .agent-hero, .delete-hero, .owner-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 8px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(75, 174, 74, 0.2), transparent 34%),
    linear-gradient(135deg, var(--surface), var(--surface-raised));
}

.public-content-page :is(.legal-kicker, .policy-kicker, .agent-kicker, .delete-kicker, .owner-kicker) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(77, 178, 70, 0.25);
  border-radius: 999px;
  background: rgba(71, 170, 64, 0.1);
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.public-content-page :is(.legal-kicker, .policy-kicker, .agent-kicker, .delete-kicker, .owner-kicker) .kicker-icon {
  font-size: 16px;
  color: var(--brand-soft);
}

.public-content-page :is(.legal-hero, .policy-hero, .agent-hero, .delete-hero, .owner-hero) h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  max-width: 820px;
}

.public-content-page :is(.legal-summary, .policy-summary, .agent-summary, .delete-summary, .owner-summary) {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
}

.public-content-page :is(.legal-summary, .policy-summary, .agent-summary, .delete-summary, .owner-summary) strong {
  color: var(--ink);
}

/* Meta Pill Row */
.public-content-page :is(.legal-meta, .policy-meta, .agent-meta, .delete-meta, .owner-meta) {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.public-content-page :is(.legal-pill, .policy-pill, .agent-pill, .delete-pill, .owner-pill) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: border-color 160ms ease;
}

.public-content-page :is(.legal-pill, .policy-pill, .agent-pill, .delete-pill, .owner-pill):hover {
  border-color: var(--line-strong);
}

.public-content-page :is(.legal-pill, .policy-pill, .agent-pill, .delete-pill, .owner-pill) .material-symbols-outlined {
  font-size: 17px;
  color: var(--brand-soft);
}

/* Desktop Sticky TOC Sidebar */
.public-content-page :is(.legal-toc, .policy-toc, .agent-toc, .delete-toc, .owner-toc) {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  display: block;
}

.public-content-page :is(.legal-toc-header, .policy-toc-header, .agent-toc-header, .delete-toc-header, .owner-toc-header) {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.public-content-page :is(.legal-toc-icon, .policy-toc-icon, .agent-toc-icon, .delete-toc-icon, .owner-toc-icon) {
  font-size: 20px;
  color: var(--brand-soft);
}

.public-content-page :is(.legal-toc-title, .policy-toc-title, .agent-toc-title, .delete-toc-title, .owner-toc-title) {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.public-content-page :is(.legal-toc-nav, .policy-toc-nav, .agent-toc-nav, .delete-toc-nav, .owner-toc-nav) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.public-content-page :is(.legal-toc-link, .policy-toc-link, .agent-toc-link, .delete-toc-link, .owner-toc-link) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 38px;
  transition: all 180ms ease;
}

.public-content-page :is(.legal-toc-link, .policy-toc-link, .agent-toc-link, .delete-toc-link, .owner-toc-link):hover {
  background: var(--surface-soft);
  color: var(--brand-soft);
  padding-left: 14px;
}

.public-content-page :is(.legal-toc-num, .policy-toc-num, .agent-toc-num, .delete-toc-num, .owner-toc-num) {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-soft);
  opacity: 0.8;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.public-content-page :is(.legal-toc-text, .policy-toc-text, .agent-toc-text, .delete-toc-text, .owner-toc-text) {
  flex: 1;
}

/* Legal Content & Sections */
.public-content-page :is(.legal-content, .policy-content, .agent-content, .delete-content, .owner-content) {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) {
  position: relative;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  scroll-margin-top: 110px;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--brand-soft), transparent);
  opacity: 0.7;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--brand-soft);
  margin: 0 0 14px;
  line-height: 1.25;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) h3 {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  margin: 22px 0 10px;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) p {
  max-width: 840px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 14px;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) p:last-child {
  margin-bottom: 0;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) ul,
.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) ol {
  margin: 10px 0 16px;
  padding-left: 22px;
  color: var(--muted);
  max-width: 840px;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) li {
  margin: 8px 0;
  padding-left: 4px;
  line-height: 1.6;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) li strong,
.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) p strong {
  color: var(--ink);
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) a {
  color: var(--brand-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}

.public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) a:hover {
  color: var(--brand);
}

/* Callouts & Notice Boxes */
.legal-notice-box,
.notice-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(53, 163, 61, 0.08);
  border: 1px solid rgba(53, 163, 61, 0.25);
  border-left: 4px solid var(--brand-soft);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.legal-notice-box .notice-icon,
.notice-box .notice-icon {
  font-size: 22px;
  color: var(--brand-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-notice-box p,
.notice-box p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.legal-warning-box,
.warning-box,
.notice-warning {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(216, 94, 86, 0.08);
  border: 1px solid rgba(216, 94, 86, 0.25);
  border-left: 4px solid var(--danger);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.legal-warning-box .notice-icon,
.warning-box .notice-icon,
.notice-warning .notice-icon {
  font-size: 22px;
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-warning-box p,
.warning-box p,
.notice-warning p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Agent Terms Callout inside General Terms */
.legal-agent-callout,
.agent-terms-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(145deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-soft);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.legal-agent-callout-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(53, 163, 61, 0.12);
  color: var(--brand-soft);
  flex-shrink: 0;
}

.legal-agent-callout-icon .material-symbols-outlined {
  font-size: 26px;
}

.legal-agent-callout-body,
.agent-terms-callout > div:first-child {
  flex: 1;
}

.legal-agent-callout-body strong,
.agent-terms-callout strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.legal-agent-callout-body p,
.agent-terms-callout p {
  margin: 0 !important;
  font-size: 14.5px !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
}

.legal-agent-callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.legal-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand-strong);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  transition: background 160ms ease, transform 160ms ease;
}

.legal-btn-primary:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.legal-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 160ms ease;
}

.legal-btn-secondary:hover {
  border-color: var(--line-strong);
  color: var(--brand-soft) !important;
  transform: translateY(-1px);
}

/* Legal Contact & Support Panels */
.public-content-page :is(.legal-contact-panel, .contact-panel) {
  background: linear-gradient(135deg, #10441d 0%, #1c6b2d 100%) !important;
  border: 1px solid rgba(107, 191, 89, 0.3) !important;
  color: #ffffff !important;
  border-radius: 20px;
}

.public-content-page :is(.legal-contact-panel, .contact-panel) :is(h2, h3, p, strong, span, a) {
  color: #ffffff !important;
}

.public-content-page :is(.legal-contact-panel, .contact-panel) a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.legal-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  min-height: 48px;
  transition: background 160ms ease;
}

.legal-contact-item:hover {
  background: rgba(255, 255, 255, 0.18);
}

.legal-contact-item .material-symbols-outlined {
  font-size: 20px;
  color: #8be08b !important;
  flex-shrink: 0;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: #ffffff !important;
  color: #10441d !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.legal-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

/* Account Deletion Steps */
.delete-steps-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.delete-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 160ms ease;
}

.delete-step-card:hover {
  border-color: var(--line-strong);
}

.delete-step-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(53, 163, 61, 0.15);
  border: 1px solid rgba(53, 163, 61, 0.3);
  color: var(--brand-soft);
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.delete-step-content {
  flex: 1;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}

.delete-step-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.delete-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.delete-data-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.delete-data-pill .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-soft);
  flex-shrink: 0;
}

/* Property Unavailable Styles */
.unavailable-wrap {
  width: min(100% - 40px, var(--page-shell));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.unavailable-hero-card {
  text-align: center;
  padding: clamp(48px, 7vw, 84px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at 50% 20%, rgba(75, 174, 74, 0.15), transparent 45%),
    linear-gradient(135deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 48px;
}

.unavailable-badge-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(53, 163, 61, 0.12);
  border: 1px solid rgba(53, 163, 61, 0.25);
  color: var(--brand-soft);
  margin-bottom: 22px;
}

.unavailable-badge-icon .material-symbols-outlined {
  font-size: 38px;
}

.unavailable-hero-card h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 16px;
}

.unavailable-hero-card p,
.unavailable-lead {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.unavailable-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.unavailable-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--brand-strong);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(35, 131, 45, 0.3);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.unavailable-cta-primary:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 131, 45, 0.4);
}

.unavailable-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 160ms ease;
}

.unavailable-cta-secondary:hover {
  border-color: var(--line-strong);
  color: var(--brand-soft) !important;
  transform: translateY(-1px);
}

/* Suggestions Section for Unavailable Property Page */
.unavailable-suggestions,
.suggestions {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.unavailable-suggestions-head,
.suggestions-head {
  margin-bottom: 24px;
}

.unavailable-suggestions-head h2,
.suggestions-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}

.unavailable-suggestions-head p,
.suggestions-head p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.unavailable-grid,
.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.unavailable-card,
.suggestion-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.unavailable-card:hover,
.suggestion-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.unavailable-card-media,
.suggestion-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--surface-soft);
  overflow: hidden;
}

.unavailable-card-media img,
.suggestion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.unavailable-card:hover .unavailable-card-media img,
.suggestion-card:hover .suggestion-media img {
  transform: scale(1.03);
}

.unavailable-card-placeholder,
.suggestion-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-raised), var(--surface-soft));
  color: var(--brand-soft);
  font-weight: 800;
  font-size: 15px;
}

.unavailable-card-badge,
.suggestion-purpose {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(4, 8, 7, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.unavailable-card-body,
.suggestion-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}

.unavailable-card-price,
.suggestion-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.unavailable-card-title,
.suggestion-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unavailable-card-location,
.suggestion-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  margin-top: auto;
}

.unavailable-card-location .material-symbols-outlined {
  font-size: 16px;
  color: var(--brand-soft);
  flex-shrink: 0;
}

/* Responsive Dual-Mode TOC & Grids (<=900px) */
@media (max-width: 900px) {
  .public-content-page :is(.legal-layout, .policy-layout, .agent-layout, .delete-layout, .owner-layout) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
    padding: 20px 0 44px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .public-content-page :is(.legal-toc, .policy-toc, .agent-toc, .delete-toc, .owner-toc) {
    position: sticky !important;
    top: var(--header-height) !important;
    z-index: 25;
    margin-bottom: 16px;
    padding: 8px 10px !important;
    border-radius: 14px;
    background: rgba(8, 16, 15, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: none !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  :root[data-theme="light"] .public-content-page :is(.legal-toc, .policy-toc, .agent-toc, .delete-toc, .owner-toc) {
    background: rgba(255, 255, 255, 0.94) !important;
  }

  .public-content-page :is(.legal-toc-header, .policy-toc-header, .agent-toc-header, .delete-toc-header, .owner-toc-header) {
    display: none !important;
  }

  .public-content-page :is(.legal-toc-nav, .policy-toc-nav, .agent-toc-nav, .delete-toc-nav, .owner-toc-nav) {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 4px 2px !important;
    scrollbar-width: none !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .public-content-page :is(.legal-toc-nav, .policy-toc-nav, .agent-toc-nav, .delete-toc-nav, .owner-toc-nav)::-webkit-scrollbar {
    display: none !important;
  }

  .public-content-page :is(.legal-toc-link, .policy-toc-link, .agent-toc-link, .delete-toc-link, .owner-toc-link) {
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    min-height: 44px !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--line) !important;
    background: var(--surface-raised) !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  :root:not([data-theme="light"]) .public-content-page :is(.legal-toc-link, .policy-toc-link, .agent-toc-link, .delete-toc-link, .owner-toc-link) {
    border-color: rgba(255, 255, 255, 0.15) !important;
  }

  .public-content-page :is(.legal-content, .policy-content, .agent-content, .delete-content, .owner-content) {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .public-content-page :is(.legal-section, .policy-section, .agent-section, .delete-section, .owner-section) {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .legal-agent-callout,
  .agent-terms-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-agent-callout-actions {
    width: 100%;
  }

  .legal-agent-callout-actions a {
    flex: 1;
    text-align: center;
  }

  .unavailable-grid,
  .suggestion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .unavailable-grid,
  .suggestion-grid {
    grid-template-columns: 1fr !important;
  }

  .unavailable-hero-card {
    padding: 36px 18px;
    border-radius: 20px;
  }

  .unavailable-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .unavailable-cta-primary,
  .unavailable-cta-secondary {
    width: 100%;
  }

  .delete-step-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .legal-contact-grid {
    grid-template-columns: 1fr;
  }
}

