:root {
  color-scheme: light;
  --paper: #f5f2ea;
  --ink: #162321;
  --muted: #62706c;
  --line: #d8d0c2;
  --panel: #ffffff;
  --green: #1f6b52;
  --green-dark: #164d3c;
  --blue: #1f5d7a;
  --brass: #b58942;
  --clay: #b45a40;
  --mist: #dce8e5;
  --shadow: 0 18px 44px rgba(22, 35, 33, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

.skip-link, .noscript-warning {
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5;
  transform: translateY(-160%);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }
.noscript-warning { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(245, 242, 234, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  background: var(--green-dark);
  color: white;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0;
}
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }
nav { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  color: var(--muted);
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  border-radius: 999px;
}
nav a:hover { background: var(--mist); color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
}
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 { margin: 0; font-size: 1.12rem; }
.lede {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  padding: 0.8rem 1rem;
  text-decoration: none;
}
.button.primary { background: var(--green); color: white; }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: white; border-color: var(--line); }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-visual figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 0.8rem; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ink);
  color: white;
}
.proof-strip div { padding: 1.2rem clamp(1rem, 3vw, 2rem); border-right: 1px solid rgba(255,255,255,0.18); }
.proof-strip strong { display: block; font-size: 1.25rem; }
.proof-strip span { color: #dce8e5; }

.listings, .router-band, .owners, .safety {
  padding: clamp(2.25rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}
.listing-grid, .owner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.owner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.listing-grid article, .owner-grid article, .router, .route-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(22, 35, 33, 0.08);
}
.listing-grid article, .owner-grid article { padding: 1.1rem; }
.status {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.35rem 0.6rem;
}
.listing-grid p, .owner-grid p, .policy-note { color: var(--muted); }
.listing-grid dl, .route-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 0;
}
.route-card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; }
.listing-grid dl div, .route-card dl div {
  background: var(--mist);
  border-radius: 6px;
  padding: 0.7rem;
}
dt { color: var(--muted); font-size: 0.78rem; font-weight: 900; }
dd { margin: 0.15rem 0 0; font-weight: 900; }
.policy-note {
  border-left: 4px solid var(--brass);
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.router-band { background: #ebe5d8; }
.router-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.56fr);
  gap: 1rem;
  align-items: start;
}
.router {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.panel-note { grid-column: 1 / -1; margin: 0; color: var(--muted); }
fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
}
legend { font-weight: 900; padding: 0 0.35rem; }
label {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  margin-top: 0.75rem;
}
input { accent-color: var(--green); margin-top: 0.2rem; }
.route-card {
  position: sticky;
  top: 6rem;
  padding: 1.25rem;
}
#route-guidance { color: var(--muted); }
.copy-status { min-height: 1.5rem; color: var(--green-dark); font-weight: 900; }

.safety {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  background: var(--green-dark);
  color: white;
}
.safety .eyebrow { color: #dec184; }
.safety ul { display: grid; gap: 0.8rem; margin: 0; padding-left: 1.35rem; }
.safety li { color: #eef8f3; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero, .section-heading, .router-layout, .safety { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .router, .listing-grid, .owner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-card { position: static; }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  h1 { font-size: 3.15rem; }
  .proof-strip, .router, .listing-grid, .owner-grid, .route-card dl, .listing-grid dl { grid-template-columns: 1fr; }
}

/* Drill 008 theme correction: property operations dashboard identity. */
:root {
  --paper: #f4f7fa;
  --ink: #13202d;
  --muted: #586878;
  --line: #c8d3df;
  --green: #17695c;
  --green-dark: #0f3f48;
  --blue: #194f90;
  --brass: #aa7d32;
  --clay: #7a4b2e;
  --mist: #e6eef5;
}

body {
  background: var(--paper);
}

.site-header {
  background: #13202d;
  color: #ffffff;
  border-bottom: 0;
}

.brand small,
.site-header nav a {
  color: #cbd8e5;
}

.brand-mark {
  background: #aa7d32;
}

.site-header nav a:hover {
  background: #203244;
  color: #ffffff;
}

.hero {
  align-items: stretch;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-copy {
  display: grid;
  align-content: center;
  border-left: 10px solid var(--blue);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.hero-visual {
  display: grid;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.hero-visual img {
  border: 0;
  box-shadow: none;
}

.proof-strip {
  background: #194f90;
}

.listings {
  background: #ffffff;
}

.listing-grid article {
  border-top: 6px solid var(--blue);
  box-shadow: none;
}

.listing-grid article:nth-child(2) {
  border-top-color: var(--green);
}

.listing-grid article:nth-child(3) {
  border-top-color: var(--brass);
}

.router-band {
  background: #dfe8f1;
}

.router {
  box-shadow: none;
}

.route-card {
  background: #13202d;
  color: #ffffff;
  border-color: #13202d;
  box-shadow: 0 14px 28px rgba(19, 32, 45, 0.22);
}

.route-card .eyebrow,
.route-card dt,
.route-card #route-guidance {
  color: #cbd8e5;
}

.route-card dl div {
  background: #203244;
}

.owner-grid article {
  box-shadow: none;
  border-left: 5px solid var(--green);
}

.safety {
  background: #0f3f48;
}
