/* Mobile-first product layout. Desktop grids are enabled only at their breakpoints. */
.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: calc(100% - 28px);
  max-width: 1380px;
  margin-inline: auto;
}

.header-inner {
  min-height: 64px;
  gap: 10px;
}

.brand {
  min-width: 0;
}

.brand-roknord-lockup {
  display: grid;
  gap: 3px;
}

.brand-roknord .brand-logo {
  display: block;
  width: auto;
  height: 25px;
  object-fit: contain;
}

.brand-roknord small {
  color: #a9c3ba;
  font-size: 9px;
  letter-spacing: .01em;
}

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

.brand strong {
  white-space: nowrap;
  font-size: 14px;
}

.brand small,
.header-nav a:not(.office-link) {
  display: none;
}

.brand-roknord small {
  display: block;
}

.header-nav {
  flex: 0 0 auto;
  gap: 0;
}

.office-link {
  padding: 8px 9px;
  white-space: nowrap;
  font-size: 10px;
}

.hero-inner {
  display: block;
  min-height: 0;
  padding: 38px 0 42px;
}

.hero-copy,
.hero-lead,
.inn-form {
  width: 100%;
  max-width: none;
}

.eyebrow {
  margin-bottom: 15px;
  font-size: 9px;
}

.eyebrow span {
  width: 24px;
}

.hero h1 {
  max-width: none;
  font-size: clamp(36px, 10.7vw, 46px);
  line-height: 1.02;
}

.hero-lead {
  margin: 18px 0 25px;
  font-size: 14px;
  line-height: 1.55;
}

.inn-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 7px;
}

.inn-control input {
  width: 100%;
  min-width: 0;
  padding: 14px 12px;
  font-size: 19px;
}

.field-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #aeb2b9;
  font-size: 12px;
}

.inn-control button {
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  padding: 13px 15px;
}

.data-note {
  align-items: flex-start;
  margin-top: 18px;
  line-height: 1.4;
}

.live-dot {
  flex: 0 0 8px;
  margin-top: 4px;
}

.lookup-result .section-inner {
  padding: 22px 0 34px;
}

.result-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.result-main,
.monitoring-card {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd8d2;
}

.result-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #fff;
}

.result-heading {
  min-width: 0;
}

.result-heading h2 {
  overflow-wrap: anywhere;
  font-size: 29px;
  line-height: 1.08;
}

.result-actions,
.result-list {
  grid-column: 1;
}

.result-actions {
  display: grid;
  width: 100%;
}

.result-actions button,
.result-actions a {
  width: 100%;
  text-align: center;
}

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

.result-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 12px;
  align-items: start;
  padding: 17px;
  background: #f7f8f5;
}

.result-record > div {
  min-width: 0;
}

.result-record span {
  display: block;
  margin-bottom: 4px;
  color: #6a7974;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.result-record strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}

.result-record > a {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid #dfe5e1;
  font-size: 12px;
  font-weight: 750;
}

.monitoring-card {
  padding: 20px;
  color: #fff;
  background: var(--green);
}

.monitoring-kicker {
  margin: 0 0 7px;
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.monitoring-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.monitoring-card > p:not(.monitoring-kicker) {
  margin: 13px 0 20px;
  color: #b8ccc5;
  font-size: 12px;
}

.monitoring-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
}

.monitoring-fields label,
.monitoring-fields label span {
  display: block;
}

.monitoring-fields label span {
  margin-bottom: 5px;
  color: #c8d8d3;
  font-size: 10px;
  font-weight: 700;
}

.monitoring-fields input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  padding: 12px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-size: 16px;
}

.monitoring-fields input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 2px rgba(117,215,177,.15);
}

.monitoring-fields input::placeholder {
  color: #8eaaa1;
}

.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 14px;
  color: #b8ccc5;
  font-size: 10px;
  line-height: 1.5;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--mint);
}

.consent-row a {
  color: #fff;
}

.consent-row.advertising {
  padding: 12px;
  border: 1px solid rgba(117,215,177,.34);
  color: #e0ebe7;
  background: rgba(117,215,177,.07);
}

.monitoring-submit {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 17px;
  border: 0;
  padding: 14px 15px;
  color: #092a20;
  background: var(--mint);
  font-weight: 800;
  cursor: pointer;
}

.monitoring-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.monitoring-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #b8ccc5;
  font-size: 11px;
}

.monitoring-status[data-state="error"] {
  color: #ffd2cc;
}

.monitoring-success {
  border-top: 1px solid rgba(117,215,177,.35);
  padding-top: 20px;
}

.monitoring-success strong {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.monitoring-success p {
  color: #c8d8d3;
}

.analytics {
  padding: 50px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 39px;
}

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

.kpi-grid article {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.kpi-grid article:nth-child(even) {
  border-right: 0;
}

.kpi-grid article:nth-child(n + 3) {
  border-bottom: 0;
}

.analytics-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}

.panel,
.district-panel,
.timeline-panel {
  min-width: 0;
  grid-column: auto;
  padding: 17px;
}

.panel-heading {
  gap: 10px;
  margin-bottom: 18px;
}

.panel-heading h3 {
  font-size: 16px;
}

.bar-row {
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 7px 10px;
}

.bar-track {
  grid-column: 1 / -1;
  grid-row: 2;
}

.timeline-panel {
  overflow: hidden;
}

.timeline-chart {
  width: 100%;
  min-width: 0;
  height: 240px;
  min-height: 0;
  padding-bottom: 28px;
  gap: clamp(3px, 1vw, 8px);
}

.timeline-bar {
  min-width: 0;
}

.timeline-bar span {
  bottom: -29px;
  white-space: nowrap;
}

.chart-empty {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.method,
.cta-section {
  padding: 50px 0;
}

.method-grid,
.cta-inner,
.footer-inner {
  grid-template-columns: minmax(0, 1fr);
}

.method-grid {
  gap: 30px;
}

.method h2,
.cta-section h2 {
  font-size: 35px;
}

.method-cards article {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 19px 0;
}

.method-cards p {
  grid-column: 2;
}

.cta-inner {
  gap: 24px;
}

.cta-section a {
  width: 100%;
  justify-content: space-between;
}

.footer-inner {
  gap: 20px;
  padding: 30px 0;
}

@media (min-width: 700px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 48px);
  }

  .brand small {
    display: block;
  }

  .hero-inner {
    padding: 58px 0;
  }

  .hero h1 {
    font-size: 58px;
  }

  .inn-control {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .inn-control button {
    width: auto;
    min-width: 180px;
  }

  .result-main,
  .monitoring-card {
    padding: 26px;
  }

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

  .result-record > a {
    grid-column: auto;
    align-self: center;
    border-top: 0;
    padding-top: 0;
  }

  .monitoring-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .monitoring-fields .wide {
    grid-column: 1 / -1;
  }

  .analytics-grid {
    gap: 18px;
  }
}

@media (max-width: 699px) {
  .brand-roknord .brand-logo {
    height: 21px;
  }

  .timeline-chart {
    height: 220px;
  }

  .timeline-bar span {
    bottom: -29px;
    font-size: 7px;
    writing-mode: horizontal-tb;
  }
}

@media (min-width: 980px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 64px);
  }

  .header-nav {
    display: flex;
    gap: 25px;
  }

  .header-nav a:not(.office-link) {
    display: inline;
  }

  .office-link {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .analytics-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 22px;
  }

  .timeline-panel {
    grid-column: 1 / -1;
  }

  .method-grid {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cta-section a {
    width: auto;
  }

  .footer-inner {
    grid-template-columns: .7fr 1.4fr auto;
  }
}

@media (min-width: 1180px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 540px;
    align-items: center;
    padding: 64px 0;
  }

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

  .hero h1 {
    font-size: clamp(68px, 5.7vw, 84px);
  }

  .hero-lead,
  .inn-form {
    max-width: 800px;
  }

  .result-shell {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .7fr);
    gap: 24px;
  }

  .result-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .result-actions {
    grid-column: 2;
    align-self: start;
    width: auto;
  }

  .result-actions button {
    width: auto;
  }

  .result-list {
    grid-column: 1 / -1;
  }

  .result-record {
    grid-template-columns: repeat(5, minmax(100px, 1fr)) auto;
  }
}

/* Roknord visual system: graphite foundation, mint action colour, technical labels. */
:root {
  --ink: #121316;
  --green: #121316;
  --green-2: #1b1d22;
  --mint: #17e08a;
  --paper: #f5f4f0;
  --white: #f5f4f0;
  --line: #d8d7d1;
  --muted: #6e7278;
  --shadow: none;
  font-family: Onest, Inter, "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  background: #15171b;
  border-bottom-color: #34373d;
  backdrop-filter: none;
}

.header-inner { min-height: 78px; }
.brand-roknord small,
.eyebrow,
.panel-heading p,
.monitoring-kicker,
.result-record span,
.kpi-grid span,
.kpi-grid small {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
}

.header-nav a { color: #d8d7d1; }
.office-link { border-color: #555962; }

.hero {
  background-color: #121316;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero:before {
  right: 6%; top: 18%; width: 42vw; height: 42vw; max-width: 580px; max-height: 580px;
  border-radius: 0; border-color: rgba(23,224,138,.35);
  transform: rotate(45deg); box-shadow: 0 0 0 70px rgba(23,224,138,.025), 0 0 0 140px rgba(23,224,138,.018);
}
.hero h1,
.section-heading h2,
.monitoring-card h3,
.result-heading h2,
.cta-section h2 {
  font-family: Onest, Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 820px; }
.hero-lead { color: #d8d7d1; max-width: 610px; }
.hero-copy { width: 100%; max-width: none; }
.eyebrow { color: #17e08a; }
.eyebrow span { background: #17e08a; }

.inn-control { padding: 0; background: transparent; gap: 0; }
.inn-form {
  width: min(100%, 390px);
  max-width: none;
  margin-inline: auto;
}
.inn-control input {
  min-height: 68px;
  border: 1px solid #686c73;
  background: #1b1d22;
  color: #f5f4f0;
  caret-color: #17e08a;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.inn-control input::placeholder {
  color: #aeb2b9;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 450;
  letter-spacing: .02em;
  opacity: 1;
}
.inn-control input:hover { border-color: #92969d; }
.inn-control input:focus {
  border-color: #17e08a;
  background: #16191b;
  box-shadow: 0 0 0 4px rgba(23,224,138,.14), inset 0 0 0 1px #17e08a;
  outline: none;
}
.field-status,
.field-error { text-align: center; }
.inn-control button,
.monitoring-submit,
.cta-section a {
  background: #17e08a; color: #121316; clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.inn-control button:hover,.monitoring-submit:hover { background: #61efad; }
.data-note { color: #bfc1bc; }
.live-dot { background: #17e08a; box-shadow: 0 0 0 5px rgba(23,224,138,.14); }

.analytics { background: #f5f4f0; }
.section-heading h2 { color: #121316; }
.section-heading>p { color: #6e7278; }
.kpi-grid,.panel,.result-main { border-color: #bfc1bc; background: #f5f4f0; }
.kpi-grid article { background: #f5f4f0; }
.kpi-grid strong { font-family: Onest, Inter, sans-serif; font-weight: 600; }
.panel { box-shadow: none; }
.panel-heading h3 { font-size: 19px; }
.bar-track { background: #e3e2dc; }
.bar-track i,.timeline-bar,.status-legend i.active { background: #121316; }
.timeline-bar:hover { background: #17e08a; }
.donut { background: conic-gradient(#121316 0 98%, #e7b94d 98% 100%); }
.donut:after { background: #f5f4f0; }

.lookup-result { background: #e5e4df; border-bottom-color: #bfc1bc; }
.result-record { border-left-color: #17e08a; background: #f5f4f0; }
.monitoring-card { background: #1b1d22; border-color: #34373d; }
.monitoring-card h3 { font-size: 30px; }
.monitoring-fields input { background: #121316; border-color: #555962; }
.consent-row.advertising { border-color: rgba(23,224,138,.45); background: rgba(23,224,138,.08); }
.monitoring-success strong { color: #17e08a; font-family: Onest, Inter, sans-serif; font-weight: 600; }

.cta-section { background: #17e08a; }
.cta-section .eyebrow { color: #121316; }
.cta-section .eyebrow span { background: #121316; }
.cta-section a { background: #121316; color: #f5f4f0; }
footer { background: #121316; color: #bfc1bc; }
.footer-inner strong,.footer-inner>a { color: #f5f4f0; }

@media (max-width: 699px) {
  .hero { background-size: 42px 42px; }
  .inn-control { gap: 8px; }
  .inn-control input { min-height: 64px; }
  .inn-control button { min-height: 52px; }
}
