:root {
  --ink: #101b2b;
  --muted: #596980;
  --line: #d9e1ea;
  --soft-line: #e7edf3;
  --page: #f6f9fc;
  --panel: #ffffff;
  --pale: #eef4f9;
  --navy: #183b6a;
  --blue: #4cb4e7;
  --orange: #f47b20;
  --orange-dark: #d95f0e;
  --footer: #101b2b;
  --shadow: 0 12px 30px rgba(36, 54, 79, 0.08);
  --soft-shadow: 0 18px 48px rgba(35, 51, 77, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--page) 42%, #ffffff 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

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

.app-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(244, 123, 32, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 241, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(24, 59, 106, 0.06);
}

.header-inner {
  width: min(448px, calc(100% - 32px));
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--navy) 0%, #24567f 58%, var(--orange) 140%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 18px rgba(24, 59, 106, 0.14);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-ring {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(255, 255, 255, 0.84);
  stroke-width: 2;
}

.logo-road,
.logo-road-cut,
.logo-air {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-road {
  stroke-width: 2.6;
}

.logo-road-cut,
.logo-air {
  stroke-width: 2;
}

.logo-road-cut {
  stroke: var(--orange);
}

.logo-air {
  opacity: 0.88;
}

.brand-mark.mini {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: var(--navy);
  background: #fff0e5;
  box-shadow: inset 0 0 0 1px rgba(244, 123, 32, 0.18);
}

.brand-mark.mini .logo-ring {
  fill: rgba(244, 123, 32, 0.1);
  stroke: rgba(24, 59, 106, 0.55);
}

.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(24, 59, 106, 0.1);
  cursor: pointer;
}

.menu-lines {
  display: grid;
  gap: 4px;
}

.menu-lines span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--navy);
}

.menu-close {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
  font-size: 1.4rem;
  line-height: 1;
}

.site-menu {
  display: none;
  width: min(448px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(244, 123, 32, 0.12);
}

.site-menu a {
  display: block;
  padding: 13px 18px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}

.site-menu .nav-action {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 10px 22px rgba(244, 123, 32, 0.18);
}

.site-menu a.active,
.site-menu a:hover {
  color: var(--orange-dark);
  background: #fff0e5;
}

.site-menu .nav-action.active,
.site-menu .nav-action:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.app-header.nav-open .site-menu {
  display: grid;
  gap: 8px;
}

.app-header.nav-open .menu-lines {
  display: none;
}

.app-header.nav-open .menu-close {
  display: inline-flex;
}

.narrow,
.home-shell {
  width: min(448px, calc(100% - 32px));
  margin: 0 auto;
}

.home-shell {
  padding: 0 0 40px;
}

.hero-card,
.cta-panel {
  color: #ffffff;
  background: linear-gradient(145deg, #142a48 0%, #25557f 56%, #f47b20 145%);
  box-shadow: var(--soft-shadow);
}

.hero-card {
  margin-top: 0;
  padding: 32px 20px 40px;
  border-radius: 0 0 40px 40px;
}

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 650;
}

.spark {
  color: #ffffff;
}

.hero-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 680;
}

.hero-card h1 span {
  display: inline-block;
  padding: 0 8px 3px;
  border-radius: 8px;
  background: rgba(244, 123, 32, 0.92);
}

.hero-card p,
.cta-panel p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 450;
}

.hero-search {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.hero-search label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-search div {
  display: grid;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-search input,
.hero-search button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
}

.hero-search input {
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-search input::placeholder {
  color: #8b98a8;
}

.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(244, 123, 32, 0.24);
}

.primary-action {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  box-shadow: 0 14px 26px rgba(244, 123, 32, 0.22);
}

.primary-action.full {
  margin-top: 18px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 450;
}

.zones-strip,
.stack-section,
.soft-panel,
.browse-section,
.home-quick-panel,
.home-process,
.home-feature-grid,
.form-page {
  padding-top: 32px;
}

.zones-strip h2,
.admin-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: #62728a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  display: block;
  color: var(--orange-dark);
}

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

.zone-pills a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #1e2a3a;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.home-quick-panel {
  display: grid;
  gap: 10px;
}

.home-quick-panel div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  border: 1px solid rgba(244, 123, 32, 0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-quick-panel span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  font-size: 0.8rem;
  font-weight: 700;
}

.home-quick-panel strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
}

.home-quick-panel p,
.process-copy p,
.feature-lead p,
.home-directory-band > div p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-zone-board {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(24, 59, 106, 0.08);
  border-radius: 22px;
  padding: 24px 18px;
  background:
    linear-gradient(135deg, rgba(255, 244, 235, 0.78), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
}

.home-zone-board .section-lede {
  margin-bottom: 0;
}

.home-process,
.home-feature-grid,
.home-directory-band {
  display: grid;
  gap: 16px;
}

.process-copy {
  display: grid;
  gap: 10px;
}

.process-rail {
  display: grid;
  gap: 12px;
}

.process-rail article {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.process-rail article > span {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff0e5;
  font-size: 0.76rem;
  font-weight: 700;
}

.process-rail h3,
.feature-list h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.process-rail p,
.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-lead {
  display: grid;
  gap: 12px;
  border-radius: 24px;
  padding: 26px 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #142a48, #214f78 62%, #f47b20 145%);
  box-shadow: var(--soft-shadow);
}

.feature-lead h2,
.feature-lead p,
.feature-lead .section-kicker {
  color: #ffffff;
}

.home-feature-grid .feature-lead h2 {
  color: #ffffff;
}

.feature-lead p {
  opacity: 0.86;
}

.feature-lead a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--ink);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.feature-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--orange-dark);
  background: #fff0e5;
}

.stack-section h2,
.soft-panel h2,
.browse-section h2,
.home-process h2,
.home-feature-grid h2,
.plain-section h2,
.cta-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 650;
}

.section-lede {
  margin: 4px 0 24px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 450;
}

.step-stack,
.benefit-stack,
.content-stack,
.legal-stack {
  display: grid;
  gap: 12px;
}

.step-card,
.icon-card,
.directory-card,
.zone-card,
.text-card,
.form-block,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.step-card,
.icon-card,
.directory-card,
.zone-card,
.form-block,
.summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.step-card {
  min-height: 92px;
  padding: 16px;
}

.step-card > span,
.form-block > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--orange-dark);
  background: #fff1e8;
  font-size: 0.875rem;
  font-weight: 700;
}

.step-card h3,
.icon-card h3,
.directory-card h3,
.zone-card h2,
.text-card h2,
.text-card h3,
.summary-card h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 650;
}

.step-card p,
.icon-card p,
.directory-card p,
.zone-card p,
.text-card p,
.summary-card p,
.text-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.soft-panel {
  margin: 32px 2px 0;
  padding: 32px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f6f9fc, #fff5ee);
}

.soft-panel h2 {
  margin: 0 0 24px 10px;
}

.icon-card {
  min-height: 86px;
  padding: 16px;
}

.icon-card > span,
.pin {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--orange-dark);
  background: #fff0e5;
  font-size: 1rem;
  font-weight: 750;
}

.browse-section h2 {
  margin-bottom: 16px;
}

.directory-card {
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
  padding: 16px;
}

.directory-card strong,
.zone-card strong {
  color: var(--muted);
  font-size: 1.65rem;
  line-height: 1;
}

.cta-panel {
  margin: 32px 20px 0;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
}

.cta-panel h2 {
  color: #ffffff;
}

.cta-panel .primary-action {
  min-height: 52px;
  margin-top: 20px;
  border-radius: 16px;
}

.page-hero {
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 123, 32, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 244, 235, 0.94), rgba(233, 242, 250, 0.97));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -42px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.blue-hero {
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(16, 27, 43, 0.92), rgba(24, 59, 106, 0.84), rgba(244, 123, 32, 0.82)),
    url("/assets/clean-city-air-hero.png") center / cover no-repeat;
  border-radius: 0;
}

.compact-hero {
  padding: 32px 0;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 1.9rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 650;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 0;
  color: inherit;
  font-size: 1rem;
  font-weight: 420;
  opacity: 0.9;
}

.legal-hero {
  padding: 40px 0 30px;
}

.legal-hero p + p {
  margin-top: 6px;
}

.zones-list {
  padding-bottom: 44px;
}

.zone-card {
  grid-template-columns: auto 1fr auto;
  min-height: 132px;
  padding: 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zone-card:hover {
  border-color: rgba(244, 123, 32, 0.34);
  box-shadow: 0 18px 44px rgba(36, 54, 79, 0.12);
  transform: translateY(-2px);
}

.zone-card small {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 550;
}

.plain-section {
  padding-top: 28px;
}

.plain-section h2 {
  margin-bottom: 18px;
}

.text-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.text-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), rgba(244, 123, 32, 0));
  opacity: 0;
}

.legal-stack .text-card::before,
.plain-section .text-card::before {
  opacity: 1;
}

.text-card + .text-card {
  margin-top: 14px;
}

.text-card p + p,
.text-card ul {
  margin-top: 16px;
}

.text-card ul {
  padding-left: 22px;
}

.accent-card {
  border-left: 5px solid var(--orange);
}

.legal-stack {
  padding-bottom: 56px;
}

.payment-form {
  display: grid;
  gap: 12px;
  padding-bottom: 48px;
}

.form-page {
  position: relative;
}

.form-page::before {
  content: "";
  position: absolute;
  inset: 18px -14px auto;
  height: calc(100% - 68px);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 244, 235, 0.72), rgba(238, 246, 251, 0.72));
  z-index: -1;
}

.form-block {
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-block:focus-within {
  border-color: rgba(244, 123, 32, 0.42);
  box-shadow: 0 16px 38px rgba(244, 123, 32, 0.1);
}

.form-block label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.form-block input,
.form-block select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 450;
}

.form-error {
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 800;
}

.summary-card {
  grid-template-columns: 1fr auto;
  padding: 18px;
}

.summary-card strong {
  color: var(--orange-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.confirmation-page {
  padding: 44px 0 56px;
}

.highlight-card h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.order-summary {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 12px;
}

.order-summary dt {
  color: var(--muted);
  font-weight: 500;
}

.order-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.app-footer {
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--footer);
  text-align: center;
}

.app-footer p {
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-links {
  display: inline-flex;
  gap: 18px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.admin-sidebar-brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.admin-main {
  min-width: 0;
}

.admin-page-head {
  margin-bottom: 20px;
}

.admin-page-head h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #ffffff;
  background: var(--navy);
}

.admin-user {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-user span {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-stat-card strong {
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.secondary-action.subtle {
  min-height: 40px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: none;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #31445f;
  background: #f4f8fb;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
  font-weight: 400;
}

.admin-table a {
  color: var(--navy);
  font-weight: 500;
}

.table-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 500 !important;
}

.admin-detail-actions {
  margin-bottom: 14px;
}

.admin-detail-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.admin-detail-list div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}

.admin-detail-list .full {
  grid-column: 1 / -1;
}

.admin-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.admin-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.admin-detail-list a {
  color: var(--navy);
  font-weight: 500;
}

.admin-panel,
.admin-auth-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-panel h2,
.admin-auth-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.admin-panel p,
.admin-auth-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 400;
}

.admin-auth-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.admin-auth-card {
  width: min(420px, 100%);
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-form-narrow {
  max-width: 460px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 400;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}

.admin-check input {
  width: 16px;
  min-height: 16px;
}

.admin-primary {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--navy);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(24, 59, 106, 0.18);
}

.admin-alert {
  margin-top: 18px;
  border: 1px solid #bde6ca;
  border-radius: 12px;
  padding: 12px 14px;
  color: #17663a;
  background: #effaf3;
  font-size: 0.9rem;
  font-weight: 500;
}

.pagination-wrap {
  margin-top: 22px;
}

.check-body main {
  min-height: calc(100vh - 56px);
}

.check-loader {
  min-height: calc(100vh - 56px);
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 32px 16px;
  text-align: center;
}

.loader-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 4px solid transparent;
  border-top-color: var(--navy);
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

.check-loader h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.check-loader p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.check-flow {
  width: min(28rem, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.flow-progress {
  margin-bottom: 28px;
  text-align: center;
}

.flow-progress p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 450;
}

.flow-progress ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.flow-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 27px);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #e5ebf1;
}

.flow-progress li span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: #e9eef4;
  font-size: 1.1rem;
  font-weight: 800;
}

.flow-progress li strong {
  font-size: 0.78rem;
}

.flow-progress li.active {
  color: var(--navy);
}

.flow-progress li.active span,
.flow-progress li.complete span {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 18px rgba(244, 123, 32, 0.22);
}

.flow-progress li.complete::after {
  background: var(--orange);
}

.check-card {
  width: 100%;
  min-height: 292px;
  display: grid;
  align-content: start;
  padding: 30px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.flow-step {
  display: none;
  text-align: center;
}

.flow-step.active {
  display: grid;
  gap: 12px;
}

.flow-step h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 680;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 420;
}

.flow-step label {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.flow-step input,
.flow-step select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 500;
}

.plate-input {
  justify-self: center;
}

.plate-input input {
  width: min(310px, 100%);
  min-height: 66px;
  border: 5px solid #050505;
  border-radius: 15px;
  color: #4a4327;
  background: #f8d64d;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.choice-card,
.terms-check {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 420;
  line-height: 1.2;
  white-space: nowrap;
}

.flow-step label.choice-card,
.flow-step label.terms-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.choice-card {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 400;
}

.choice-card input,
.terms-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span,
.terms-check span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--orange);
  border-radius: 999px;
}

.choice-card input:checked + span,
.terms-check input:checked + span {
  border-color: var(--orange);
  background: var(--orange);
}

.choice-card input:checked + span::after,
.terms-check input:checked + span::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.choice-card:has(input:checked),
.terms-check:has(input:checked) {
  border-color: #b9c7d8;
  background: #fbfdff;
}

.dates-list {
  padding-right: 2px;
}

.dates-list .choice-card {
  font-weight: 400;
}

.field-label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
}

.total-card {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border: 1px solid #f3d8c4;
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
  background: #fff4eb;
  text-align: left;
}

.total-card strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.total-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.terms-check {
  margin-top: 16px;
  font-size: 0.86rem;
  white-space: normal;
}

.terms-check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.flow-errors {
  margin-top: 10px;
}

.flow-errors p {
  margin: 0 0 6px;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 600;
}

.flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.flow-next,
.flow-back {
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

.flow-next {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 18px rgba(244, 123, 32, 0.2);
}

.flow-next:hover {
  background: var(--orange-dark);
}

.flow-next:disabled {
  cursor: wait;
  opacity: 0.72;
}

.flow-back {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #ffffff;
}

.vehicle-checking {
  min-height: 232px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.vehicle-checking:not([hidden]) {
  display: grid;
}

.mini-loader {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 3px solid #e4ebf3;
  border-top-color: var(--navy);
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

.vehicle-checking h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.vehicle-checking p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 760px) {
  .app-header {
    display: grid;
    grid-template-columns: minmax(32px, 1fr) minmax(0, 1180px) minmax(32px, 1fr);
    align-items: center;
    gap: 0;
    padding: 8px 0;
  }

  .header-inner {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 230px;
    margin: 0;
  }

  .menu-toggle {
    display: none;
  }

  .site-menu,
  .app-header.nav-open .site-menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(720px, calc(100% - 270px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(24, 59, 106, 0.08);
    border-radius: 999px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 242, 232, 0.9));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 12px 28px rgba(24, 59, 106, 0.07);
  }

  .site-menu a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
  }

  .site-menu .nav-action {
    margin-left: 4px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-shell {
    width: 100%;
    padding-bottom: 64px;
  }

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

  .hero-card {
    min-height: calc(100svh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 72px max(40px, calc((100vw - 1180px) / 2)) 96px;
    border-radius: 0;
    background:
      linear-gradient(90deg, rgba(16, 27, 43, 0.92) 0%, rgba(24, 59, 106, 0.84) 45%, rgba(24, 59, 106, 0.35) 100%),
      url("/assets/clean-city-air-hero.png") center / cover no-repeat,
      linear-gradient(145deg, #17335e 0%, #224d7d 55%, #f47b20 140%);
  }

  .hero-card > * {
    max-width: 610px;
  }

  .hero-card h1 {
    font-size: clamp(3.1rem, 5.2vw, 4.8rem);
    max-width: 690px;
  }

  .hero-card p {
    max-width: 560px;
    font-size: 1.18rem;
  }

  .hero-search {
    max-width: 610px;
    margin-top: 34px;
  }

  .hero-search div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .hero-search button {
    min-width: 156px;
  }

  .hero-card .primary-action {
    width: fit-content;
    min-width: 220px;
    padding: 0 28px;
  }

  .trust-row {
    width: fit-content;
    justify-content: flex-start;
  }

  .zones-strip,
  .stack-section,
  .soft-panel,
  .browse-section,
  .home-quick-panel,
  .home-process,
  .home-feature-grid {
    width: min(1180px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }

  .zones-strip,
  .stack-section,
  .browse-section,
  .home-quick-panel,
  .home-process,
  .home-feature-grid {
    padding-top: 56px;
  }

  .zones-strip h2,
  .stack-section h2,
  .soft-panel h2,
  .browse-section h2 {
    text-align: left;
  }

  .zone-pills {
    gap: 10px;
  }

  .zone-pills a {
    padding: 8px 14px;
  }

  .home-quick-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -42px;
    position: relative;
    z-index: 2;
  }

  .home-quick-panel div {
    min-height: 118px;
    padding: 20px;
  }

  .home-zone-board {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    padding: 30px;
  }

  .home-process {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 44px;
  }

  .process-copy h2 {
    max-width: 420px;
    font-size: 2rem;
  }

  .process-copy p {
    max-width: 430px;
    font-size: 1rem;
  }

  .process-rail article {
    min-height: 112px;
    padding: 22px;
  }

  .home-feature-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 18px;
  }

  .feature-lead {
    align-content: center;
    padding: 42px;
  }

  .feature-lead h2 {
    max-width: 440px;
    font-size: 2rem;
  }

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

  .feature-list article {
    min-height: 168px;
    align-content: start;
    padding: 22px;
  }

  .home-directory-band {
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
    align-items: center;
  }

  .step-stack,
  .benefit-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .step-card,
  .icon-card {
    min-height: 168px;
    align-content: start;
    align-items: start;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .soft-panel {
    margin-top: 56px;
    padding: 34px;
  }

  .soft-panel h2 {
    margin-left: 0;
  }

  .directory-card {
    min-height: 104px;
    padding: 24px;
  }

  .cta-panel {
    width: min(1180px, calc(100% - 48px));
    margin: 56px auto 0;
    padding: 44px;
  }

  .cta-panel .primary-action {
    width: fit-content;
    min-width: 210px;
    padding: 0 28px;
  }

  .page-hero {
    margin-bottom: 0;
    padding: 76px 0;
  }

  .blue-hero {
    min-height: 360px;
    display: grid;
    align-items: center;
  }

  .page-hero h1 {
    max-width: 680px;
    font-size: clamp(2.45rem, 4vw, 3.45rem);
  }

  .page-hero p {
    max-width: 640px;
    font-size: 1.08rem;
  }

  .content-stack,
  .legal-stack,
  .payment-form {
    gap: 16px;
  }

  .zones-list,
  .form-page,
  .legal-stack {
    padding-top: 46px;
  }

  .zone-card {
    min-height: 118px;
    padding: 22px 24px;
  }

  .zones-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .zone-card h2 {
    font-size: 1.08rem;
  }

  .zone-card p {
    max-width: 92%;
  }

  .zones-list .plain-section {
    grid-column: 1 / -1;
  }

  .plain-section {
    padding-top: 36px;
  }

  .plain-section .text-card {
    display: inline-grid;
    width: min(100%, 520px);
    margin-right: 12px;
    vertical-align: top;
  }

  .form-page {
    width: min(980px, calc(100% - 48px));
  }

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

  .payment-form .summary-card,
  .payment-form .primary-action {
    grid-column: 1 / -1;
  }

  .payment-form .primary-action {
    justify-self: end;
    width: fit-content;
    min-width: 220px;
    padding: 0 28px;
  }

  .legal-stack {
    width: min(1080px, calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .legal-stack .text-card {
    min-height: 188px;
    padding: 28px;
  }

  .legal-stack .accent-card,
  .legal-stack .text-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .legal-stack .accent-card {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
  }

  .legal-stack .accent-card h2 {
    font-size: 1.35rem;
  }

  .legal-stack .accent-card p:first-of-type {
    margin-top: 0;
  }

  .confirmation-page {
    width: min(760px, calc(100% - 48px));
  }

  .check-body {
    background:
      linear-gradient(120deg, rgba(255, 244, 235, 0.9), rgba(246, 249, 252, 0.96) 45%, rgba(235, 245, 251, 0.92));
  }

  .check-flow {
    width: min(920px, calc(100% - 48px));
    padding-top: 48px;
  }

  .check-card {
    min-height: 340px;
    padding: 38px 40px 30px;
  }

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

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

  .flow-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

  .admin-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .admin-user button {
    width: auto;
  }

  .header-inner,
  .site-menu,
  .narrow,
  .home-shell {
    width: min(100% - 24px, 28rem);
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-card {
    padding: 32px 18px 34px;
    border-radius: 0 0 36px 36px;
  }

  .hero-card h1 {
    font-size: 2.45rem;
  }

  .primary-action {
    min-height: 56px;
  }

  .step-card,
  .icon-card,
  .zone-card,
  .form-block {
    gap: 16px;
    padding: 18px;
  }

  .zone-card {
    grid-template-columns: 1fr auto;
  }

  .zone-card .pin {
    display: none;
  }

  .text-card {
    padding: 24px 22px;
  }

  .check-flow {
    width: min(100% - 24px, 28rem);
    padding-top: 28px;
  }

  .flow-progress ol {
    gap: 8px;
  }

  .flow-progress li span {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .flow-progress li:not(:last-child)::after {
    top: 23px;
    left: calc(50% + 28px);
    width: 20px;
  }

  .flow-progress li strong {
    font-size: 0.74rem;
  }

  .check-card {
    padding: 26px 18px 20px;
  }

  .plate-input input {
    min-height: 64px;
  }

  .choice-card,
  .terms-check {
    gap: 10px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .choice-card span,
  .terms-check span {
    width: 17px;
    height: 17px;
  }
}
