/* Shopper Path — linoleum aisle, shelf-edge labels, a single path down the page. */
:root {
  --floor: #e8ece6;
  --paper: #f4f6f2;
  --ink: #171c19;
  --muted: #4a534c;
  --line: #171c19;
  --tape: #c9a227;
  --open: #215c4e;
  --open-soft: #d7ebe4;
  --partial: #8a5a12;
  --partial-soft: #f3e5c8;
  --blocked: #9b2c2c;
  --blocked-soft: #f4d6d4;
  --focus: #215c4e;
  --max: 42rem;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 47px, rgba(23, 28, 25, 0.08) 47px, rgba(23, 28, 25, 0.08) 49px, transparent 49px),
    var(--floor);
  font-family: "Literata", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-optical-sizing: auto;
  line-height: 1.55;
  min-height: 100vh;
}

h1, h2, h3, .mark, .stamp, button, label {
  font-family: Syne, "Bahnschrift", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; margin-top: 1.2rem; }

p { margin: 0 0 0.9rem; }
a { color: var(--open); }
a:hover { color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 10; }

.site-head, .site-foot, main {
  width: min(var(--max), calc(100% - 2.2rem));
  margin-left: auto;
  margin-right: auto;
}

.site-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0 0.4rem;
}

.mark { font-size: 1.05rem; margin: 0; }
.mark a { color: var(--ink); text-decoration: none; }

.site-head nav { display: flex; gap: 1.1rem; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--ink); }

.hero { padding: 1.8rem 0 1rem; }
.deck { font-size: 1.12rem; max-width: 38rem; }

.scan-form label { display: block; margin-bottom: 0.35rem; font-size: 1rem; }
.scan-form .row { display: flex; gap: 0.5rem; align-items: stretch; }
.scan-form input[type="url"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  padding: 0.55rem 0.1rem;
  border-radius: 0;
}
.scan-form input[type="url"]:focus {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
}
.scan-form button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}
.scan-form button:hover { background: var(--open); }
.scan-form button:focus {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
}
.scan-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-note, .sample-link, .report-meta, .report-kicker, .site-foot, .lede {
  color: var(--muted);
  font-size: 0.95rem;
}

.alert {
  border-left: 4px solid var(--blocked);
  padding: 0.4rem 0 0.4rem 0.9rem;
  margin: 1rem 0;
}

.report {
  background: var(--paper);
  margin: 1.4rem 0 2rem;
  padding: 1.5rem 1.3rem 2rem 1.3rem;
  box-shadow: 6px 6px 0 rgba(23, 28, 25, 0.06);
}

.sample-flag {
  border-left: 4px solid var(--tape);
  padding-left: 0.8rem;
  color: var(--muted);
}

.report-kicker { margin-bottom: 0.2rem; }
.report-hero h1 { margin-bottom: 0.4rem; }
.report-url { font-size: 1.05rem; word-break: break-word; }
.report-summary { font-size: 1.08rem; }

.report[data-status="open"] .report-hero h1 { color: var(--open); }
.report[data-status="partial"] .report-hero h1 { color: var(--partial); }
.report[data-status="blocked"] .report-hero h1 { color: var(--blocked); }

.aisle { position: relative; margin-top: 1.6rem; padding-left: 0; }

.gate {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.9rem;
  position: relative;
  padding: 0 0 1.6rem 0;
}

.gate:last-child { padding-bottom: 0.4rem; }

.gate-rail {
  position: relative;
}
.gate-rail::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
  bottom: -1.6rem;
  width: 3px;
  background: var(--ink);
  opacity: 0.22;
}
.gate:last-child .gate-rail::before { bottom: 0.6rem; }

.tick {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  background: var(--tape);
  color: var(--ink);
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}

.gate[data-status="open"] .tick { background: var(--open); color: var(--paper); }
.gate[data-status="partial"] .tick { background: var(--partial); color: var(--paper); }
.gate[data-status="blocked"] .tick { background: var(--blocked); color: var(--paper); }

.gate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}
.gate-head h2 { margin: 0; }
.stamp {
  margin: 0;
  font-size: 0.95rem;
  white-space: nowrap;
}
.gate[data-status="open"] .stamp { color: var(--open); }
.gate[data-status="partial"] .stamp { color: var(--partial); }
.gate[data-status="blocked"] .stamp { color: var(--blocked); }

.gate-summary { margin-top: 0.45rem; }

.findings, .fixes, .limits, .product-list, .robots-list {
  margin: 0.3rem 0 0.6rem;
  padding: 0;
  list-style: none;
}
.findings li, .robots-list li, .product-list li, .limits li {
  padding: 0.25rem 0 0.25rem 0;
}
.findings li { display: grid; grid-template-columns: 0.7rem 1fr; gap: 0.55rem; align-items: start; }
.findings .pip {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  background: var(--open);
}
.findings li[data-severity="partial"] .pip { background: var(--partial); }
.findings li[data-severity="blocked"] .pip { background: var(--blocked); }

.fixes { list-style: decimal; padding-left: 1.3rem; }
.fixes li { margin: 0.4rem 0; padding-left: 0.2rem; }

.extras { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 2px solid rgba(23, 28, 25, 0.12); }
.proto { margin: 0.8rem 0 1.1rem; }
.proto-name { margin-bottom: 0.2rem; font-family: Syne, sans-serif; font-weight: 700; }
.proto-name span {
  font-weight: 700;
  margin-left: 0.4rem;
  color: var(--muted);
}
.proto[data-present="yes"] .proto-name span { color: var(--open); }
.proto[data-present="no"] .proto-name span { color: var(--partial); }

.about { margin: 2.4rem 0 1.2rem; }
.about p { max-width: 40rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
.toolbar button, .toolbar a.buttonish {
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.35rem 0.75rem;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.toolbar button:hover, .toolbar a.buttonish:hover { background: var(--ink); color: var(--paper); }
.toolbar button:focus, .toolbar a.buttonish:focus {
  outline: 3px solid var(--tape);
  outline-offset: 2px;
}

.site-foot { padding: 1.5rem 0 2.4rem; }

@media (max-width: 620px) {
  html { font-size: 17px; }
  .scan-form .row { flex-direction: column; }
  .scan-form button { width: 100%; }
  .report { padding: 1.15rem 0.9rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  body { background: white; }
  .site-head nav, .hero, .about, .site-foot, .toolbar, .skip { display: none !important; }
  .report { box-shadow: none; margin: 0; background: white; }
  a { color: inherit; text-decoration: none; }
}
