@import url('/tokens.css');
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 'Segoe UI',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  border-top: 4px solid var(--forest);
}
a {
  color: var(--forest);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}
p {
  text-wrap: pretty;
}
.wrap {
  max-width: 880px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 40px;
  height: 28px;
  flex-shrink: 0;
}
.brand strong {
  font-weight: 750;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.header nav > a:not(.button) {
  color: var(--ink-soft);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
  border-radius: 4px;
  font-weight: 550;
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.15s;
}
.button:hover {
  background: var(--forest-hover);
  text-decoration: none;
}
.button:active {
  transform: translateY(1px);
}
.button.small {
  min-height: 44px;
  padding: 10px 16px;
  gap: 20px;
}
.button.outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--control-border);
}
.button.outline:hover {
  background: var(--paper-inset);
}
.button.danger {
  background: var(--red);
  border-color: var(--red);
}
.button.full {
  width: 100%;
}
.hero {
  max-width: 640px;
  margin: auto;
  padding: 56px 0 40px;
}
.hero h1,
.hero > .lead {
  text-align: center;
}
.hero h1 {
  color: var(--forest);
}
.hero > .lead {
  margin: 16px auto 32px;
}
.eyebrow {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--forest);
  border-radius: 50%;
}
.hero h1 span {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 2px;
}
.lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 24px;
  max-width: 550px;
}
.directory {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}
.section-heading h2 {
  font-size: 24px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  line-height: 1.5;
  padding: 6px 10px;
  background: var(--sage);
  border-radius: 3px;
  color: var(--forest);
  letter-spacing: 0.04em;
  font-weight: 550;
}
.location-control {
  position: relative;
}
.location-suggestions {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  background: var(--paper-raised);
  border: 1px solid var(--control-border);
  border-radius: 4px;
  max-height: 280px;
  overflow-y: auto;
}
.location-suggestions [role='option'] {
  min-height: 44px;
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.location-suggestions [role='option']:hover,
.location-suggestions [aria-selected='true'] {
  background: var(--sage);
  color: var(--forest);
}
.search {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 8px 20px;
  background: var(--paper-inset);
  border: 1px solid var(--control-border);
  border-radius: 5px;
}
.search input {
  border: 0;
  background: none;
  flex: 1;
  min-width: 0;
  padding: 12px 8px;
  font-size: 16px;
}
.search .button {
  min-width: 132px;
}
.search .location-button {
  min-width: 44px;
  width: 44px;
  padding: 0;
  flex-shrink: 0;
  border-color: transparent;
}
.location-button[aria-busy='true'] {
  opacity: 0.5;
}

.empty {
  margin-top: 20px;
  padding: 40px 24px;
  text-align: center;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.empty h3 {
  font-size: 18px;
}
.empty p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 540px;
  margin: 12px auto 16px;
}
.empty a {
  font-size: 13px;
  font-weight: 600;
}
.footer {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--ink-faint);
}
.footer strong {
  color: var(--ink-soft);
  font-weight: 600;
}
.footer p {
  margin-top: 8px;
  max-width: 560px;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: start;
}
.footer a {
  color: var(--ink-soft);
}
.loading {
  padding: 32px 0;
  color: var(--ink-faint);
  font-size: 14px;
}
.result-meta {
  font-size: 12px;
  color: var(--ink-faint);
  padding: 16px 0 8px;
  font-variant-numeric: tabular-nums;
}
.company-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.company-row:hover {
  background: var(--paper-inset);
  text-decoration: none;
}
.company-row h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.company-row div > span {
  font-size: 12px;
  color: var(--ink-soft);
}
.company-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.row-arrow {
  margin-left: auto;
  color: var(--forest);
  font-size: 24px;
}
.back {
  display: inline-block;
  font-size: 13px;
  margin-top: 32px;
}
.page-heading {
  padding: 48px 0 32px;
}
.page-heading h1 {
  font-size: clamp(28px, 4vw, 36px);
}
.page-heading .tag {
  margin-top: 24px;
}
.narrow {
  max-width: 760px;
}
.notice {
  border-left: 3px solid var(--brass);
  background: var(--sand);
  color: var(--ink-soft);
  padding: 16px 20px;
  font-size: 14px;
  margin: 16px 0 28px;
}
.notice p {
  margin: 8px 0;
}
.notice.error {
  border-color: var(--red);
  background: var(--error-paper);
  color: var(--red);
}
.evidence-list {
  margin: 32px 0;
}
.evidence {
  padding: 32px;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin: 24px 0;
}
.evidence-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font:
    12px ui-monospace,
    monospace;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.evidence h2 {
  font-size: 26px;
}
.description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 20px 0 28px;
  line-height: 1.8;
  max-width: 850px;
}
.evidence-actions {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  font-size: 13px;
}
.form-panel {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-raised);
}
.form-panel h2 {
  margin-bottom: 28px;
  font-size: 24px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 24px 0 8px;
}
label span {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-left: 8px;
}
input,
textarea,
select {
  width: 100%;
  background: var(--paper-inset);
  border: 1px solid var(--control-border);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  min-height: 48px;
}
input::placeholder,
textarea::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.field-help {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 8px 0 16px;
  line-height: 1.65;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.checkbox {
  display: flex;
  align-items: start;
  gap: 12px;
  font-weight: 400;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--forest);
  flex-shrink: 0;
}
.checkbox span {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  color: var(--ink-soft);
}
.verification {
  margin: 24px 0;
  font-size: 12px;
  color: var(--ink-soft);
  min-height: 65px;
}
.prose h2 {
  margin: 40px 0 16px;
  font-size: 24px;
}
.prose p {
  margin: 16px 0;
  color: var(--ink-soft);
  line-height: 1.85;
}
.history-section {
  margin: 48px 0;
}
.history-section > p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.timeline {
  list-style: none;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--rule);
  margin: 28px 0;
}
.timeline li {
  padding-bottom: 24px;
}
.timeline time {
  font-size: 12px;
  color: var(--ink-faint);
  margin-left: 12px;
}
.timeline p {
  margin-top: 12px;
  font-size: 14px;
  white-space: pre-wrap;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}
.filter-bar label {
  margin: 0;
}
.filter-bar select {
  width: 200px;
}
.decision-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.muted {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 12px;
}
.success {
  padding: 32px 0;
  text-align: center;
}
.success p {
  margin: 20px 0;
}
.success-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 24px;
  margin-bottom: 24px;
}
code {
  font:
    11px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--forest);
  color: var(--paper);
  z-index: 10;
}
.skip:focus {
  top: 8px;
}
[tabindex='-1']:focus {
  outline: none;
}
@media (max-width: 850px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header nav {
    gap: 20px;
  }
  .form-panel {
    padding: 24px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 620px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header {
    min-height: 88px;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .brand {
    font-size: 12px;
    gap: 8px;
  }
  .header nav {
    gap: 16px;
  }
  .header nav > a:not(.button) {
    font-size: 12px;
  }
  .header nav > a:nth-child(2) {
    display: none;
  }
  .header .button.small {
    font-size: 12px;
    padding: 10px 12px;
    gap: 8px;
  }
  .lead {
    font-size: 16px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-heading > .tag {
    margin-top: 16px;
  }
  .search {
    padding: 6px;
    gap: 0;
  }
  .search input {
    font-size: 14px;
  }
  .search .button {
    min-width: 80px;
    padding: 12px;
    gap: 8px;
  }
  .search .location-button {
    min-width: 44px;
    padding: 0;
  }
  .empty {
    padding: 28px 16px;
  }
  .footer {
    display: block;
    margin-top: 40px;
  }
  .footer-links {
    flex-direction: row;
    gap: 24px;
    margin-top: 24px;
  }
  .form-panel {
    width: 100%;
    padding: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-heading {
    padding: 32px 0;
  }
  .evidence {
    padding: 20px;
  }
  .evidence-meta {
    flex-wrap: wrap;
    gap: 12px;
  }
  .evidence-actions {
    flex-direction: column;
    gap: 12px;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar select {
    flex: 1;
  }
  .decision-actions .button {
    width: 100%;
  }
  .company-row {
    gap: 16px;
  }
  .company-row h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
