:root {
  --ink: #111210;
  --paper: #f7f5ee;
  --foam: #fffefa;
  --muted: #696b64;
  --line: #d7d5cb;
  --dark-line: #3c3d38;
  --accent: #e8b84a;
  --accent-deep: #6b4a0c;
  --observed: #2c6b4d;
  --attention: #8a5c13;
  --blocked: #a14438;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  line-height: 1.5;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.site-header {
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--foam);
  background: var(--ink);
  border-bottom: 1px solid var(--dark-line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

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

.site-header nav a,
.header-link {
  color: #c8c8c0;
  font-size: 0.84rem;
  text-decoration: none;
}

.site-header nav a:hover,
.header-link:hover {
  color: var(--accent);
}

.header-link {
  justify-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: clamp(72px, 9vw, 132px) clamp(24px, 7vw, 108px) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  overflow: hidden;
  color: var(--foam);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(#f7f5ee 0.65px, transparent 0.65px);
  background-size: 7px 7px;
}

.hero-copy,
.owl-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 7.2vw, 7.3rem);
  line-height: 0.92;
}

.hero-summary {
  max-width: 640px;
  margin-bottom: 42px;
  color: #b8b9b2;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.62;
}

.scan-form {
  max-width: 700px;
}

.scan-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.scan-controls {
  display: flex;
  background: var(--foam);
  border: 1px solid var(--foam);
}

.scan-controls input {
  min-width: 0;
  flex: 1;
  padding: 20px 22px;
  color: var(--ink);
  background: var(--foam);
  border: 0;
  outline: 0;
}

.scan-controls input::placeholder {
  color: #85867e;
}

.scan-controls:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.scan-controls button,
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 24px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: var(--accent);
  border: 0;
  cursor: pointer;
}

.scan-controls button:hover,
.button-light:hover {
  background: #f2c761;
}

.scan-controls button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.form-note,
.form-error {
  margin: 12px 0 0;
  color: #888a82;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
}

.form-error {
  min-height: 1.1em;
  color: #f2ad9f;
}

.owl-stage {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.owl-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 24px 42px rgb(0 0 0 / 0.35));
}

.owl-stage p {
  position: absolute;
  right: 0;
  bottom: 4px;
  z-index: 3;
  margin: 0;
  padding-left: 30px;
  color: #9a9b94;
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.65;
}

.owl-stage p::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 20px;
  border-top: 1px solid var(--accent);
}

.orbit {
  position: absolute;
  border: 1px solid #43443f;
  border-radius: 50%;
}

.orbit-large {
  width: 480px;
  height: 480px;
}

.orbit-small {
  width: 330px;
  height: 330px;
  border-style: dashed;
}

.star {
  position: absolute;
  z-index: 3;
  color: var(--accent);
}

.star-one { top: 8%; right: 8%; font-size: 1.5rem; }
.star-two { bottom: 22%; left: 3%; font-size: 3rem; }
.star-three { top: 34%; left: 4%; font-size: 1rem; }

.report {
  padding: clamp(72px, 8vw, 120px) clamp(24px, 7vw, 108px);
  background: var(--foam);
  scroll-margin-top: 20px;
}

.report-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.report h2,
.observations h2,
.method h2,
.searchseal h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
}

.report-meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: right;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 42px;
  border: 1px solid var(--line);
}

.summary-item {
  padding: 24px 26px;
  display: flex;
  align-items: baseline;
  gap: 13px;
  border-left: 4px solid var(--line);
}

.summary-item + .summary-item {
  border-top: 0;
  border-left-width: 1px;
}

.summary-item strong {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 500;
}

.summary-item span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.summary-item.observed { border-bottom: 3px solid var(--observed); }
.summary-item.attention { border-bottom: 3px solid var(--attention); }
.summary-item.unknown { border-bottom: 3px solid #8c8d86; }

.table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

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

th,
td {
  padding: 24px 20px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  padding-top: 13px;
  padding-bottom: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
}

tbody th {
  width: 27%;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

tbody td {
  width: 36.5%;
  color: #4f514b;
  font-size: 0.9rem;
}

.status,
.access {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  border: 1px solid currentColor;
}

.status-observed,
.access-allowed { color: var(--observed); }
.status-attention { color: var(--attention); }
.status-blocked,
.access-blocked { color: var(--blocked); }
.status-unknown,
.access-unknown { color: var(--muted); }

.result-copy {
  margin: 10px 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.report-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
}

.detail-card h3,
.report-handoff h3,
.ledger-grid h3 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
}

.crawler-list,
.limitations-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.crawler-list li {
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.crawler-list div {
  min-width: 0;
}

.crawler-list strong,
.crawler-list div span {
  display: block;
}

.crawler-list div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.access {
  text-transform: capitalize;
}

.limitations-card li {
  position: relative;
  padding: 12px 0 12px 25px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.limitations-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-deep);
}

.report-handoff {
  padding: clamp(32px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--foam);
  background: var(--ink);
}

.report-handoff h3 {
  margin-bottom: 12px;
}

.report-handoff p {
  max-width: 680px;
  margin-bottom: 0;
  color: #acaea6;
}

.button-light {
  flex: none;
}

.observations,
.method,
.searchseal {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 108px);
}

.section-intro {
  max-width: 850px;
  margin-bottom: 70px;
}

.section-intro > p:last-child,
.method-copy > p:last-child,
.searchseal > div > p {
  max-width: 720px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.65;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ledger-grid article {
  min-height: 285px;
  padding: 28px clamp(20px, 2.3vw, 38px) 36px;
  border-left: 1px solid var(--line);
}

.ledger-grid article:first-child {
  border-left: 0;
}

.ledger-grid h3 {
  margin-bottom: 16px;
}

.ledger-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.method {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 10vw, 160px);
  background: #ece9df;
}

.status-key {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.status-key > div {
  padding: 27px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  border-bottom: 1px solid #c9c7bd;
}

.status-key dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.status-key dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #8c8d86;
}

.status-dot.observed { background: var(--observed); }
.status-dot.attention { background: var(--attention); }

.searchseal {
  color: var(--foam);
  background: var(--ink);
}

.searchseal > div {
  max-width: 960px;
}

.searchseal > div > p {
  color: #adafa7;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 5px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

footer {
  padding: 38px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  align-items: center;
  gap: 40px;
  color: #8f918a;
  background: var(--ink);
  border-top: 1px solid var(--dark-line);
}

footer p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-brand {
  color: var(--foam);
  font-size: 1.05rem;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--foam);
  text-align: center;
  background: var(--ink);
}

.not-found main {
  max-width: 620px;
}

.not-found img {
  width: 180px;
  height: auto;
}

.not-found h1 {
  margin: 20px 0;
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found p {
  color: #b6b8b0;
}

.not-found a {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .owl-stage {
    min-height: 390px;
  }

  .owl-stage img {
    width: 360px;
  }

  .orbit-large { width: 390px; height: 390px; }
  .orbit-small { width: 270px; height: 270px; }

  .ledger-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ledger-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .method {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding-inline: 20px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 64px 20px 60px;
    gap: 30px;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.1rem);
  }

  .scan-controls {
    display: block;
    background: transparent;
    border: 0;
  }

  .scan-controls input,
  .scan-controls button {
    width: 100%;
  }

  .scan-controls input {
    min-height: 60px;
  }

  .scan-controls button {
    margin-top: 10px;
  }

  .scan-controls:focus-within {
    outline: 0;
  }

  .scan-controls input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .owl-stage {
    min-height: 310px;
  }

  .owl-stage img {
    width: 280px;
  }

  .owl-stage p {
    right: auto;
    left: 10px;
  }

  .orbit-large { width: 310px; height: 310px; }
  .orbit-small { width: 210px; height: 210px; }

  .report,
  .observations,
  .method,
  .searchseal {
    padding: 68px 20px;
  }

  .report-heading {
    display: block;
  }

  .report-meta {
    margin-top: 20px;
    text-align: left;
  }

  .report-summary,
  .report-details,
  .searchseal {
    grid-template-columns: 1fr;
  }

  .summary-item + .summary-item {
    border-top: 1px solid var(--line);
    border-left-width: 4px;
  }

  .summary-item.observed,
  .summary-item.attention,
  .summary-item.unknown {
    border-bottom: 0;
  }

  .summary-item.observed { border-left-color: var(--observed); }
  .summary-item.attention { border-left-color: var(--attention); }
  .summary-item.unknown { border-left-color: #8c8d86; }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  tbody th,
  tbody td {
    width: 100%;
    padding: 5px 0;
    border: 0;
  }

  tbody th {
    padding-bottom: 12px;
  }

  .report-handoff {
    display: block;
  }

  .button-light {
    width: 100%;
    margin-top: 28px;
  }

  .ledger-grid {
    grid-template-columns: 1fr;
  }

  .ledger-grid article,
  .ledger-grid article:nth-child(2),
  .ledger-grid article:nth-child(4) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ledger-grid article:first-child {
    border-top: 0;
  }

  .status-key > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
