:root {
  --navy: #003153;
  --navy-2: #0a3d63;
  --navy-3: #124d74;
  --gold: #ffd700;
  --gold-2: #f0c400;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --muted-2: rgba(255, 255, 255, 0.62);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, white, transparent 0%),
    radial-gradient(800px 400px at 90% 10%, white, transparent 0%), var(--navy);
  color: var(--white);
  padding-bottom: 140px;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 18px 80px;
}

.hero {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 18px;
}

.title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.title-gold {
  display: block;
  color: var(--gold);
}

.title-break {
  display: block;
  color: var(--white);
}

.steps-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(14, 74, 111, 0.72),
    rgba(18, 87, 124, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin: 14px 0 16px;
  backdrop-filter: blur(10px);
}

.steps-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(255, 255, 255, 0.05),
      transparent 45%
    ),
    radial-gradient(
      circle at 82% 72%,
      rgba(255, 255, 255, 0.03),
      transparent 50%
    );
  pointer-events: none;
}

.steps-panel > * {
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--white);
  background: rgba(0, 49, 83, 0.24);
  border: 1px solid #f1be48;
}

.step-title {
  font-weight: 800;
  color: var(--white);
  margin-top: 2px;
  line-height: 1.2;
}

.step-text {
  margin-top: 3px;
  font-size: 14px;
  color: var(--white);
  line-height: 1.25;
}

.example {
  display: inline-block;
  margin-left: 6px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.search-card {
  margin-top: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  box-shadow: var(--shadow);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  align-items: center;
}

.input-wrap {
  position: relative;
}

#search-input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #f1be48;
  background: White;
  color: black;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

#search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

#search-input:focus {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 0 3px #f1be48;
}

.btn {
  border: 1px solid #f1be48;
  background: linear-gradient(
    180deg,
    rgba(255, 215, 0, 0.95),
    rgba(240, 196, 0, 0.95)
  );
  color: #0b2236;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition:
    transform 0.12s ease,
    filter 0.12s ease,
    box-shadow 0.12s ease;
}

.btn:hover {
  filter: brightness(1.02);
}

.btn:active {
  transform: translateY(1px);
}

button.btn {
  appearance: none;
}

a.btn,
a.btn:visited,
a.btn:hover,
a.btn:focus,
a.btn:active {
  text-decoration: none;
  color: #0b2236;
}

.btn-search {
  height: 48px;
  border-radius: 14px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  width: auto;
}

.spotlight {
  margin-top: 16px;
}

.spotlight-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #f1be48;
  padding: 16px;
  box-shadow: var(--shadow);
}

.spotlight-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.spotlight-title {
  font-weight: 900;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.2;
}

.spotlight-title-name {
  color: var(--white);
  margin-left: 8px;
}

.spotlight-address {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.spotlight-chips {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  padding: 6px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.chip-label {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 800;
}

.chip-value {
  font-size: 13px;
  color: var(--white);
  font-weight: 900;
}

.spotlight-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.results {
  margin-top: 16px;
}

.message {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  margin-bottom: 10px;
  color: var(--muted);
}

.message.error {
  border-color: rgba(255, 0, 0, 0.25);
  color: rgba(255, 220, 220, 0.9);
}

.table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: var(--shadow);
}

.sc-table {
  width: 100%;
  border-collapse: collapse;
}

.sc-table thead th {
  text-align: left;
  padding: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sc-table tbody td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 14px;
}

.sc-table tbody tr {
  cursor: pointer;
}

.sc-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.08);
}

a.councilor-link {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

a.councilor-link:hover {
  text-decoration: underline;
}

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

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

@media (max-width: 720px) {
  .search-row {
    grid-template-columns: 1fr;
  }

  .btn-search {
    width: 100%;
  }

  .spotlight-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
