/* Brand tokens and visual system copied from live
   join.localtradez.com.au/css/styles.css (fetched 22 Nov 2026).
   Body font stays the Apple/SF stack Phil asked for earlier.
   Headings use the join page's heavy uppercase treatment. */
:root {
  --primary: #F7931A;
  --primary-hover: #FAB766;
  --primary-deep: #CC7307;
  --error: #F0744A;
  --ink: #0A0908;
  --on-ink: #F4F1EC;
  --bg: #0A0908;
  --bg-elevated: #141210;
  --bg-input: #0C0B0A;
  --bg-header: rgba(10, 9, 8, 0.86);
  --bg-card: rgba(20, 18, 16, 0.92);
  --bg-popup: rgba(20, 18, 16, 0.94);
  --bg-modal: rgba(20, 18, 16, 0.98);
  --bg-modal-backdrop: rgba(10, 9, 8, 0.72);
  --bg-hover: #1C1814;
  --bg-overlay: rgba(10, 9, 8, 0.88);
  --text: #F4F1EC;
  --text-muted: #B4AFA7;
  --text-dim: #8A847C;
  --text-bright: #ffffff;
  --text-on-dark: #F4F1EC;
  --link: #F7931A;
  --link-hover: #FAB766;
  --accent: #F7931A;
  --placeholder: #6F6A64;
  --store-muted: #C8C4BC;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-warm: rgba(247, 147, 26, 0.28);
  --line: var(--border);
  --ink-elevated: #141210;
  --body: #B4AFA7;
  --muted: #8A847C;
  --card: #141210;
  --sidebar: #0A0908;
  --badge-ok-bg: rgba(46, 160, 67, 0.16);
  --badge-ok-fg: #8EE0A0;
  --badge-ok-border: rgba(46, 160, 67, 0.32);
  --badge-warn-bg: rgba(247, 147, 26, 0.14);
  --badge-warn-fg: #FAB766;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  --shadow-pop: 0 8px 28px rgba(0, 0, 0, 0.35);
  --focus-ring: 0 0 0 3px rgba(247, 147, 26, 0.28);
  --map-bg: #e8efe4;
  --body-bg-image:
    radial-gradient(ellipse 70% 60% at 78% 38%, rgba(247, 147, 26, 0.20) 0%, rgba(247, 147, 26, 0.06) 38%, transparent 68%),
    radial-gradient(ellipse 90% 55% at 50% 118%, rgba(247, 147, 26, 0.42) 0%, rgba(247, 147, 26, 0.14) 34%, rgba(247, 147, 26, 0.04) 58%, transparent 72%),
    radial-gradient(ellipse 60% 40% at 12% 0%, rgba(247, 147, 26, 0.06), transparent 60%),
    linear-gradient(180deg, #0B0A09 0%, #0A0908 100%);
  --heading: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 76px;
  --test-banner-h: 0px;
  --chrome-h: var(--header-h);
  --radius: 20px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-elevated: #F7F5F2;
  --bg-input: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-card: #F7F5F2;
  --bg-popup: #FFFFFF;
  --bg-modal: #FFFFFF;
  --bg-modal-backdrop: rgba(26, 23, 20, 0.45);
  --bg-hover: #EFEBE6;
  --bg-overlay: rgba(247, 245, 242, 0.94);
  --text: #1A1714;
  --text-muted: #6B655D;
  --text-dim: #6B655D;
  --text-bright: #1A1714;
  --link: #CC7307;
  --link-hover: #A85E06;
  --accent: #CC7307;
  --placeholder: #8A847C;
  --store-muted: #6B655D;
  --border: #E6E1DA;
  --border-strong: #D9D3CB;
  --border-warm: rgba(204, 115, 7, 0.28);
  --line: #E6E1DA;
  --ink-elevated: #F7F5F2;
  --body: #6B655D;
  --muted: #6B655D;
  --card: #F7F5F2;
  --sidebar: #FFFFFF;
  --badge-ok-bg: rgba(27, 107, 56, 0.12);
  --badge-ok-fg: #1B6B38;
  --badge-ok-border: rgba(27, 107, 56, 0.28);
  --badge-warn-bg: rgba(204, 115, 7, 0.12);
  --badge-warn-fg: #CC7307;
  --shadow: 0 16px 40px rgba(26, 23, 20, 0.08), 0 0 0 1px rgba(26, 23, 20, 0.04);
  --shadow-pop: 0 8px 28px rgba(26, 23, 20, 0.12);
  --body-bg-image:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(247, 147, 26, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 120%, rgba(247, 147, 26, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}


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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.2px;
  color: var(--text-muted);
  background-color: var(--bg);
  background-image: var(--body-bg-image);
  background-attachment: scroll;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 {
  font-family: var(--heading);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.h1-white,
.h1-orange { display: block; }
.h1-white { color: var(--text-bright); }
.h1-orange { color: var(--accent); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--primary);
  color: var(--ink);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; left: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 16px;
  min-height: var(--header-h);
  padding: 10px 0;
}
.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-link img { height: 48px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}
.nav a,
.nav-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  padding: 6px 0;
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary);
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--text);
}
.menu-btn svg { display: block; margin: auto; }

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  flex-wrap: wrap;
  min-width: 0;
}
.theme-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-hover);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.theme-toggle .theme-icon { display: block; }
.theme-icon-moon { display: none !important; }
html[data-theme="light"] .theme-icon-sun { display: none !important; }
html[data-theme="light"] .theme-icon-moon { display: block !important; }
.logo-light-bg { display: none; }
html[data-theme="light"] .logo-dark-bg { display: none; }
html[data-theme="light"] .logo-light-bg { display: block; }
html[data-theme="light"] .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B655D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.field select option { background: var(--bg-input); color: var(--text); }


/* Buttons — join page pill style, dark text on orange for contrast */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  height: auto;
  min-height: 44px;
}
.btn:hover, .btn:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}
.btn:focus-visible,
.nav a:focus-visible,
.logo-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.btn-primary { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--ink); border-color: var(--primary-hover); }
.btn-dark {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-dark:hover { background: var(--bg-hover); color: var(--text-bright); border-color: var(--border-strong); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-lg {
  min-height: 50px;
  padding: 12px 22px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-nav { padding: 9px 18px; }
.nav a.btn,
.nav a.btn-primary,
.nav a.btn-nav {
  color: var(--ink);
  padding: 9px 18px;
}
.nav a.btn:hover,
.nav a.btn-primary:hover,
.nav a.btn-nav:hover {
  color: var(--ink);
}
.form > .btn-primary,
.form > .btn-lg,
.btn-submit {
  width: 100%;
  padding: 14px 22px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Layout */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hero, .section { padding: 72px 0; }
.section-sm { padding: 56px 0; }
.section-muted { background: transparent; }
.eyebrow {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.lede { font-size: 18px; line-height: 1.5; color: var(--text); font-weight: 500; max-width: 38rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.hero {
  padding: 44px 0 72px;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.05rem, 5.4vw, 3.1rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--primary); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero-card, .form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}
.hero-card h2, .form-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.hero-card ul { list-style: none; display: grid; gap: 8px; }
.hero-card li { padding-left: 28px; position: relative; }
.hero-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 14 14' fill='none'><path d='M2.5 7.2 5.6 10.2 11.5 3.8' stroke='%230A0908' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center no-repeat;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-bottom: 10px; }
.card ul { margin: 12px 0 0 18px; }
.card li { margin: 6px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  font-family: var(--heading);
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

.pack-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
  border: 1px solid var(--badge-ok-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
}
.badge-warn { background: var(--badge-warn-bg); color: var(--badge-warn-fg); border-color: var(--border-warm); }

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink);
  line-height: 1.2;
}
.store-btn:hover { color: var(--on-ink); background: #1C1814; }
.store-btn small { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--store-muted); font-weight: 600; }
.store-btn strong { font-size: 15px; }
.store-btn.is-todo { position: relative; }
.todo-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.field label, .field .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 15px;
  appearance: none;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input, .field select { height: 44px; }
.field input[type="checkbox"], .field input[type="file"], .field input[type="radio"] { height: auto; width: auto; appearance: auto; }
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B4AFA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Directory */
.example-banner {
  background: var(--bg);
  color: var(--text-bright);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}
.dir-search {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  margin: 20px 0 16px;
}
.dir-groups, .trade-tiles, .job-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dir-group, .trade-tile, .job-filter {
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.trade-tile { border-radius: 10px; }
.dir-group.is-active, .trade-tile.is-active, .job-filter.is-active {
  background: var(--primary);
  color: var(--ink);
  border-color: var(--primary);
}
.dir-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 16px;
}
.ltz-map-wrap {
  position: relative;
  isolation: isolate;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--map-bg);
}
.ltz-map { width: 100%; height: 440px; background: var(--map-bg); }
.ltz-map-md { height: 320px; }
.leaflet-container { font-family: inherit; background: var(--map-bg); }
.map-fallback {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 500; background: var(--bg-popup); color: var(--text-bright);
  font-size: 12px; padding: 8px 12px; border-radius: 8px;
}
.dir-results { max-height: 440px; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.dir-card, .job-hide-row {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 12px;
  color: var(--text);
  width: 100%;
}
.dir-card { cursor: pointer; }
.dir-card.is-selected { border-color: var(--primary); box-shadow: var(--focus-ring); }
.dir-card h3 { font-size: 16px; color: var(--text-bright); text-transform: none; letter-spacing: -0.02em; }
.dir-empty, .empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}
.empty-state h2 { margin-bottom: 8px; }
.dir-out-of-area {
  margin: 8px 0 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-bright);
  text-align: left;
}
.dir-out-of-area p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--text-bright);
}

.ltz-pin { background: none !important; border: none; }
.ltz-pin-shape {
  display: block; width: 26px; height: 26px;
  background: #F7931A; border: 2px solid rgba(255,255,255,.95);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(10, 9, 8, .18);
}
.ltz-pin-shape i {
  display: block; width: 7px; height: 7px; margin: 7px auto 0;
  background: rgba(255,255,255,.95); border-radius: 50%;
  transform: rotate(45deg);
}
.ltz-pin.is-selected .ltz-pin-shape {
  width: 32px; height: 32px;
  background: #CC7307;
  box-shadow: 0 3px 8px rgba(10, 9, 8, .22);
}
.ltz-pin.is-selected .ltz-pin-shape i { margin-top: 8px; width: 8px; height: 8px; }
.ltz-cluster { background: rgba(247,147,26,.18); border-radius: 50%; }
.ltz-cluster div {
  background: var(--primary); color: var(--ink); font-weight: 700;
  border-radius: 50%; width: 34px; height: 34px; margin: 2px auto 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  box-shadow: 0 2px 6px rgba(10, 9, 8, .16);
}
.ltz-suburb-dot { background: none !important; border: none; }
.ltz-suburb-dot span {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(247,147,26,.92); border: 2px solid #fff;
  color: var(--ink); font-weight: 700; font-size: 11px;
}
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--body-font); }
.pop-name, .pop-job { font-family: var(--heading); font-weight: 700; margin: 0 0 4px; }
.pop-meta, .pop-trade { font-size: 12px; color: var(--muted); margin: 0 0 8px; }

/* Profile */
.listing-hero { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--heading);
  flex-shrink: 0;
}
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 20px;
}
.services-line { font-size: 14px; margin: 0 0 10px; }
.review-item { border-top: 1px solid var(--line); padding: 12px 0; }
.stars { color: var(--primary); letter-spacing: 1px; }

/* Footer */
.site-footer {
  background: transparent;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer a { color: var(--text-bright); font-weight: 550; }
.site-footer a:hover { color: var(--link); }
.site-footer h2 { color: var(--text-bright); font-size: 14px; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.legal { font-size: 13px; border-top: 1px solid var(--border); padding-top: 16px; }

.page-title { padding: 36px 0 8px; }
.page-title h1 { font-size: clamp(28px, 4vw, 40px); }
.legal-page { max-width: 720px; }
.legal-page h2 { margin: 24px 0 8px; font-size: 18px; }
.legal-page p, .legal-page li { margin-bottom: 10px; }
.draft-banner {
  background: var(--badge-warn-bg);
  border: 1px solid var(--border-warm);
  color: var(--badge-warn-fg);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 24px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .menu-btn { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    gap: 10px 16px;
    background: transparent;
    border: 0;
  }
  .hero-grid, .split, .teaser, .dir-map-layout, .listing-layout, .footer-grid,
  .steps, .pack-steps, .dir-search {
    grid-template-columns: 1fr;
  }
  .hero, .section { padding: 48px 0; }
  .ltz-map { height: 300px; }
  .ltz-map-md { height: 260px; }
}


/* Find Local Tradez map view — realestate-style layout */
.page-find main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--chrome-h));
}
.dir-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dir-intro { padding: 16px 24px 10px; }
.dir-lede { margin-top: 4px; font-size: 14px; max-width: 760px; }
.page-find .dir-intro h1 { font-size: clamp(26px, 3vw, 34px); }
.page-find .dir-search { margin: 14px 0 10px; }
.page-find .dir-groups, .page-find .trade-tiles { margin-bottom: 10px; }
.page-find .site-footer { margin-top: 0; }

#dir-main:not([hidden]) {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--chrome-h));
}
.dir-view {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  width: 100%;
  height: calc(100vh - var(--chrome-h));
  max-height: calc(100vh - var(--chrome-h));
  min-height: calc(100vh - var(--chrome-h));
  border-top: 1px solid var(--border);
  background: var(--map-bg);
  overflow: hidden;
}
.dir-map-col { position: relative; min-height: 0; height: 100%; }
.ltz-map-wrap-dir {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: 0;
  min-height: 0;
  overflow: hidden;
}
.ltz-map-dir { height: 100% !important; background: var(--map-bg); }

.dir-list-col {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.dir-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 8px;
  border-bottom: 1px solid var(--line);
}
.dir-list-toolbar h2 { font-size: 16px; margin: 0; }
.dir-results {
  flex: 1;
  max-height: none;
  overflow: auto;
  padding: 10px 12px 8px;
  gap: 8px;
}
.dir-privacy { font-size: 12px; padding: 8px 16px 16px; }
.dir-card-top { display: flex; gap: 12px; align-items: flex-start; }
.dir-card-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #F7931A;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.dir-card .badges-row { margin-top: 8px; gap: 6px; }
.dir-card .badge { padding: 4px 10px; font-size: 12px; }

.dir-mobile-toggle { display: none; }

/* Map overlays */
.map-follow {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-popup);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.map-follow input { width: 16px; height: 16px; accent-color: var(--primary); }
.map-count-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: var(--bg-popup);
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
}

.map-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.map-type-toggle {
  display: flex;
  background: var(--bg-popup);
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.map-type-toggle button {
  min-width: 84px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
}
.map-type-toggle button + button { border-left: 1px solid var(--border); }
.map-type-toggle button.is-active {
  background: var(--primary);
  color: var(--ink);
}
.map-zoom {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  width: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-popup);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-pop);
}
.map-zoom button {
  width: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  background: transparent;
}
.map-zoom button + button { border-top: 1px solid var(--border); }
.map-zoom button:hover, .map-type-toggle button:hover { background: var(--bg-hover); }
.map-type-toggle button.is-active:hover { background: var(--primary-hover); color: var(--ink); }

.leaflet-control-attribution {
  background: rgba(255,255,255,.86) !important;
  font-size: 10px;
  margin: 0 0 4px 4px !important;
}

/* Pin card popup */
.leaflet-popup.ltz-pin-popup .leaflet-popup-content-wrapper {
  background: var(--bg-popup);
  color: var(--text);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.leaflet-popup.ltz-pin-popup .leaflet-popup-tip {
  background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
}
.leaflet-popup.ltz-pin-popup .leaflet-popup-content {
  margin: 0;
  width: 380px !important;
  min-width: 320px;
}
.leaflet-popup.ltz-pin-popup .leaflet-popup-tip-container { margin-top: -1px; }
.leaflet-popup.ltz-pin-popup .leaflet-popup-close-button {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.pin-card { display: flex; min-height: 156px; align-items: stretch; }
.pin-card-media {
  position: relative;
  width: 150px;
  flex-shrink: 0;
  background: #0A0908;
  overflow: hidden;
}
.pin-card-media img { width: 100%; height: 100%; object-fit: cover; min-height: 156px; }
.pin-card-logo {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(10, 9, 8, 0.88);
  color: #F4F1EC;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
}
.pin-card-body { padding: 14px 36px 14px 14px; flex: 1; min-width: 0; }
.pin-card-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 2px;
}
.pin-card-body h3 {
  font-size: 18px;
  margin: 0 0 4px;
  line-height: 1.2;
}
.pin-card-loc { font-size: 13px; color: var(--body); margin: 0 0 6px; }
.pin-card-rating { font-size: 13px; margin: 0 0 8px; color: var(--text); }
.pin-card-rating .stars { color: var(--primary); letter-spacing: 1px; }
.pin-card-badges { margin-top: 0; gap: 6px; }
.pin-card-badges .badge { padding: 4px 8px; font-size: 11px; }
.pin-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
}
.pin-card-link:hover { color: var(--link-hover); }

@media (max-width: 900px) {
  .dir-intro { padding: 16px 16px 10px; }
  .dir-view {
    grid-template-columns: 1fr;
    height: calc(100vh - var(--chrome-h));
    max-height: calc(100vh - var(--chrome-h));
    min-height: calc(100vh - var(--chrome-h));
    position: relative;
  }
  .dir-map-col, .ltz-map-wrap-dir { min-height: 0; height: 100%; }
  .dir-list-col {
    border-left: 0;
    min-height: 0;
    height: 100%;
    position: relative;
    z-index: 5;
  }
  .dir-mobile-toggle {
    display: flex;
    background: var(--bg-popup);
    border: 1px solid var(--border-warm);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--shadow-pop);
  }
  .dir-mobile-toggle button {
    min-width: 72px;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
  }
  .dir-mobile-toggle button.is-active { background: var(--primary); color: var(--ink); }
  .dir-view.is-map .dir-results,
  .dir-view.is-map .dir-privacy { display: none; }
  .dir-view.is-map .dir-list-col {
    position: absolute;
    left: 12px;
    right: auto;
    top: auto;
    bottom: 14px;
    height: auto !important;
    background: transparent;
    border: 0;
    z-index: 1200;
    width: auto;
    pointer-events: none;
  }
  .dir-view.is-map .dir-list-toolbar {
    border: 0;
    padding: 0 0 0 4px;
    background: transparent;
    pointer-events: auto;
  }
  .dir-view.is-map .dir-list-toolbar h2 { display: none; }
  .dir-view.is-list .dir-map-col { display: none; }
  .dir-view.is-list .dir-list-toolbar { padding-top: 12px; }
  .map-count-pill {
    top: 58px;
    font-size: 12px;
    padding: 8px 14px;
  }
  .map-follow { max-width: calc(100% - 28px); }
  .leaflet-popup.ltz-pin-popup .leaflet-popup-content {
    width: min(320px, calc(100vw - 48px)) !important;
    min-width: 0;
  }
  .pin-card-media { width: 110px; }
}


/* Calmer street basemap — filter tiles only, never pins or popups */
.leaflet-tile-pane {
  filter: saturate(0.75) brightness(1.03) contrast(0.95);
}

/* Test mode */
.is-test-mode { --test-banner-h: 52px; --chrome-h: calc(var(--header-h) + var(--test-banner-h)); }
.test-banner {
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-warm);
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 24px;
  font-size: 13px;
  min-height: var(--test-banner-h);
}
.test-banner a, .test-banner button {
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
}
.test-banner a:hover, .test-banner button:hover { color: var(--link); }
.test-banner-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.is-test-mode .site-header { top: var(--test-banner-h); }
.badge-self { background: var(--badge-warn-bg); color: var(--badge-warn-fg); border: 1px solid var(--border-warm); }
.pin-card-new, .new-badge-line {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  margin: 0 0 8px;
}
.form-status { font-size: 14px; font-weight: 650; color: var(--text); }
.form-status.is-error { color: var(--error); }
.check-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill, .check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.check-pill input, .check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.check-pill {
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  border-radius: 999px;
  padding: 6px 12px;
}
.check-row { margin: 8px 0 12px; }
.dir-card-avatar img, .avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.avatar-photo { overflow: hidden; padding: 0; background: var(--ink-elevated); }
.profile-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.test-cta { margin: 0 0 24px; padding: 20px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend, fieldset.field .label { margin-bottom: 8px; }
.site-footer { color: var(--text-dim); }
.site-footer a:hover { color: var(--link); }

@media (max-width: 700px) {
  .test-banner { padding: 8px 16px; }
  .is-test-mode { --test-banner-h: 72px; }
}

img[hidden], [hidden] { display: none !important; }

/* Dark-theme polish copied from the join page */
.page-title h1 { color: var(--text-bright); }
.legal-page h2 { color: var(--text-bright); font-weight: 700; letter-spacing: -0.02em; text-transform: none; }
.hero-card li { color: var(--text); font-weight: 500; }
.form-intro, .form-note { color: var(--text-dim); font-size: 13px; }
.form-note { margin-top: 12px; text-align: center; }
.dir-list-toolbar h2 { color: var(--text-bright); text-transform: none; letter-spacing: -0.02em; font-weight: 700; }
.dir-card p, .dir-card .muted { color: var(--text-muted); }
.pin-card-body h3 { color: var(--text-bright); text-transform: none; letter-spacing: -0.02em; }
.pop-name, .pop-job { color: var(--text-bright); }
.leaflet-popup-content-wrapper { background: var(--bg-elevated); color: var(--text); }
.ltz-map-wrap { border-color: var(--border); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }
.field input[type="checkbox"], .field input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.test-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
}

@media (max-width: 720px) {
  .site-header-inner { width: min(1160px, calc(100% - 32px)); }
  .logo-link img { height: 40px; }
  h1, .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.35rem); }
}

/* Directory landing + compact chrome */
.menu-btn { display: none; }
.home-hero { padding: 64px 0 28px; text-align: center; }
.home-hero h1 { margin-left: auto; margin-right: auto; }
.home-hero .lede { margin: 0 auto 8px; }
.home-search {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.9fr) auto;
  align-items: end;
}
.home-search .btn { min-height: 44px; width: auto; text-transform: none; letter-spacing: 0.2px; }
.home-tiles-label {
  margin: 36px 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.home-tiles { justify-content: center; max-width: 820px; margin: 0 auto 8px; }
a.trade-tile { color: var(--text); text-decoration: none; }
a.trade-tile:hover, a.trade-tile:focus-visible { color: var(--primary); border-color: var(--primary); }
.listed-cta { padding-top: 24px; padding-bottom: 64px; }
.listed-cta h2 { text-transform: none; letter-spacing: -0.03em; }
.listed-cta-action { margin-top: 20px; }

.footer-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 8px 0 4px;
}
.footer-mini .footer-logo { height: 32px; width: auto; margin: 0 auto 0; }
.footer-mini .legal { border-top: 0; padding-top: 0; color: var(--text-dim); }
.footer-mini .legal a { color: var(--text); font-weight: 550; }
.footer-mini .legal a:hover { color: var(--primary); }
.site-footer { padding: 28px 0 24px; margin-top: 16px; }

@media (max-width: 700px) {
  .home-search { grid-template-columns: 1fr; padding: 18px 16px 16px; }
  .home-search .btn { width: 100%; text-transform: uppercase; letter-spacing: 0.06em; }
  .home-hero { padding: 40px 0 16px; }
}


/* Trade groups + unclaimed / admin (test) */
.home-tile-groups, #trade-tiles.trade-tiles, #trade-tiles {
  max-width: 900px;
  margin: 32px auto 8px;
  text-align: left;
}
.page-find #trade-tiles {
  max-width: none;
  margin: 8px 0 16px;
}
.tile-group { margin-bottom: 28px; }
.tile-group-title {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.tile-group .trade-tiles,
.home-tile-groups .trade-tiles {
  justify-content: flex-start;
  max-width: none;
  margin: 0;
}
.page-home .tile-group .trade-tiles { justify-content: center; }
.badge-unclaimed {
  background: var(--badge-warn-bg);
  color: var(--badge-warn-fg);
  border: 1px solid var(--border-warm);
}
.claim-line {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  margin: 6px 0 8px;
}
.claim-panel {
  margin: 8px 0 24px;
  padding: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
}
.claim-panel h2 {
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.claim-panel .form > .btn-primary { width: auto; }
.check-pills-wrap { max-height: 220px; overflow: auto; padding: 4px 2px; }
.trade-check-group { margin-bottom: 16px; }
.trade-check-group .tile-group-title { margin-bottom: 8px; }

.admin-form { margin-bottom: 24px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th, .admin-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.admin-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.admin-lock {
  font-size: 13px;
  font-weight: 650;
  color: var(--badge-warn-fg);
  margin: 0 0 8px;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.invite-dialog {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
}
.invite-text {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--text);
  font-size: 14px;
  margin-top: 12px;
}
@media (max-width: 700px) {
  .page-home .tile-group .trade-tiles { justify-content: flex-start; }
}


/* 3-2-1 Scope It quote flow */
.scope-cta-block { margin: 22px 0 8px; }
.scope-cta-block .btn-lg { width: 100%; max-width: 28rem; }
.scope-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.scope-cta-row .btn-lg { width: auto; max-width: none; }
.scope-unclaimed-note { margin: 10px 0 0; font-size: 13px; max-width: 36em; }
.btn.reveal-btn,
.btn-lg.reveal-btn {
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  line-height: 1.25;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.reveal-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.reveal-note {
  margin: 0;
  font-size: 12px;
  max-width: 22em;
  line-height: 1.4;
}
.reveal-error { margin: 0; font-size: 12px; color: var(--badge-warn-fg, #c0392b); }
a.reveal-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  background: transparent;
}
a.reveal-call:hover { background: var(--primary); color: var(--cta-text, #0A0908); }
.btn-sm.reveal-call, a.reveal-call.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.dir-card-actions .reveal-box,
.pin-card-actions .reveal-box { max-width: 100%; }
.admin-jump { margin: 16px 0 0; font-size: 14px; }
.admin-jump a { font-weight: 650; }
.admin-stats-table th, .admin-stats-table td { vertical-align: middle; }
.admin-stats-table th:nth-child(n+3),
.admin-stats-table td:nth-child(n+3) { text-align: left; white-space: nowrap; }
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
}
.admin-row-actions a,
.admin-row-actions .text-link {
  color: var(--link);
  font-size: 13px;
  font-weight: 650;
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
}
.admin-row-actions a:hover,
.admin-row-actions .text-link:hover { color: var(--link-hover); }
.invite-email {
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  max-width: 40rem;
}
.invite-email-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text-bright);
}
.invite-email-for { margin: 4px 0 12px; font-size: 13px; color: var(--text-muted); }
.invite-email-dl {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 14px;
}
.invite-email-dl dt {
  margin: 0;
  color: var(--text-dim);
  font-weight: 650;
}
.invite-email-dl dd { margin: 0; color: var(--text); }
.invite-email-body { white-space: pre-line; }
.scope-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 8px;
}
.scope-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.scope-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.scope-steps strong {
  display: block;
  color: var(--text-bright);
  font-size: 14px;
  margin-bottom: 2px;
}
.scope-steps div > span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.app-aside .store-row { margin-top: 16px; }
.dir-card-actions, .pin-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.pin-card-actions { margin-top: 10px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.app-modal[hidden] { display: none !important; }
.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg-modal-backdrop);
}
.app-modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: var(--bg-modal);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  color: var(--text-muted);
  outline: none;
}
.app-modal-card h2 {
  color: var(--text-bright);
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.app-modal-lede { margin-bottom: 18px; color: var(--text); }
.app-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.app-modal-close:hover { color: var(--link); }
.app-modal-qr {
  display: flex;
  justify-content: center;
  margin: 4px 0 14px;
}
.app-modal-qr svg {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.app-modal-scan { text-align: center; margin-bottom: 14px; font-size: 13px; }
.app-modal-card .store-row { justify-content: center; }
body.has-app-modal { overflow: hidden; }

@media (max-width: 700px) {
  .scope-steps { grid-template-columns: 1fr; }
  .scope-cta-block .btn-lg,
  .scope-cta-row .btn-lg,
  .scope-cta-row .reveal-btn,
  .scope-cta-row .reveal-call { width: 100%; max-width: none; }
  .scope-cta-row { flex-direction: column; align-items: stretch; }
}


@media (max-width: 700px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo toggle"
      "tools tools";
    align-items: center;
    gap: 8px 12px;
  }
  .logo-link { grid-area: logo; }
  .theme-toggle { grid-area: toggle; }
  .header-tools { grid-area: tools; width: 100%; justify-content: flex-end; }
}


/* Claim flow */
.claim-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.verify-preview {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px dashed var(--border-warm);
  border-radius: 12px;
  color: var(--text);
}
.verify-preview strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--text-bright);
  margin-top: 6px;
}
.email-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
  border: 1px solid var(--badge-ok-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
}
.claim-pending-note { margin: 0 0 8px; }
.admin-queue { display: grid; gap: 16px; margin: 16px 0 8px; }
.admin-queue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 20px;
}
.admin-queue-card h3 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.admin-queue-dl {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 6px 16px;
  margin: 14px 0;
  font-size: 14px;
}
.admin-queue-dl dt { color: var(--text-dim); font-weight: 650; }
.admin-queue-dl dd { color: var(--text); margin: 0; word-break: break-word; }
.admin-on-file {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 700px) {
  .admin-queue-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .admin-queue-dl dt { margin-top: 8px; }
}

.claim-help-link { margin: 16px 0 0; }
.claim-help-link .text-link {
  color: var(--link);
  font-size: 14px;
  font-weight: 650;
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.claim-help-link .text-link:hover { color: var(--link-hover); }
#claim-help { margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--border); }
#claim-help h3 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
