:root {
  --ink: #182019;
  --muted: #667067;
  --paper: #f7f7f2;
  --card: #fffefa;
  --line: #dcded6;
  --accent: #315f45;
  --accent-soft: #e6efe7;
  --privileged: #7b4d14;
  --privileged-soft: #fff3dd;
  --target: #344e8a;
  --target-soft: #edf2ff;
  --shadow: 0 18px 45px rgba(29, 40, 30, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 max(3vw, 18px);
  background: rgba(255, 254, 250, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  padding: 11px 0;
  margin: 0 auto;
}

.app-bar .brand-mark {
  color: #fff;
  background: var(--accent);
}

.app-bar .nav-links a {
  color: var(--muted);
}

.app-bar .nav-links a:hover {
  color: var(--ink);
}

.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;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 max(5vw, 24px) 54px;
  color: #f7fbf6;
  background:
    radial-gradient(circle at 78% -20%, rgba(193, 226, 181, 0.2), transparent 42%),
    radial-gradient(circle at -15% 120%, rgba(124, 164, 139, 0.32), transparent 46%),
    #173326;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.018);
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  padding: 22px 0;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 0.87rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #173326;
  background: #d8ebd7;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.84rem;
}

.nav-links a {
  color: rgba(247, 251, 246, 0.76);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 88px 0 70px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: #82a88e;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b5d4b9;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin: 0 auto 24px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 1.02;
}

.lede {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(247, 251, 246, 0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.stat {
  padding: 21px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.stat span {
  color: rgba(247, 251, 246, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

main {
  max-width: 1500px;
  padding: 28px max(3vw, 18px) 55px;
  margin: 0 auto;
}

.browser-heading {
  display: flex;
  gap: 25px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.browser-heading h1 {
  max-width: none;
  margin: 0 0 5px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.browser-heading p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.compact-stats {
  display: flex;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.compact-stats span {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.compact-stats span + span {
  border-left: 1px solid var(--line);
}

.compact-stats strong {
  margin-right: 3px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 0.98rem;
  font-weight: 500;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.result-count {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.controls {
  padding: 12px;
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.search-wrap svg {
  position: absolute;
  left: 15px;
  width: 18px;
  fill: none;
  stroke: #798079;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-wrap input {
  width: 100%;
  padding: 10px 54px 10px 42px;
  color: var(--ink);
  background: #f9faf6;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
}

.search-wrap input:focus {
  border-color: #8eac97;
  box-shadow: 0 0 0 3px rgba(49, 95, 69, 0.1);
}

kbd {
  position: absolute;
  right: 14px;
  padding: 1px 7px 2px;
  color: #7b827b;
  background: #efefea;
  border: 1px solid #dddeda;
  border-radius: 5px;
  font-size: 0.73rem;
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: end;
}

.filter-row .result-count {
  min-width: 105px;
  margin: 0 2px 10px 5px;
  text-align: right;
}

.filter-row label {
  flex: 1;
}

.filter-row label > span {
  display: block;
  margin: 0 0 5px 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

select {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.secondary {
  min-width: 126px;
  padding: 10px 16px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #c9ddcd;
  border-radius: 9px;
  font-weight: 650;
}

.secondary:hover {
  background: #dceade;
}

.browser-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
  min-height: min(720px, calc(100vh - 235px));
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.result-list {
  max-height: 840px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.result-item {
  display: block;
  width: 100%;
  padding: 17px 18px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8e9e3;
}

.result-item:hover {
  background: #f7f8f3;
}

.result-item.active {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 var(--accent);
}

.result-item strong {
  display: block;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 650;
}

.result-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-badge {
  display: inline-block;
  padding: 2px 7px;
  margin-bottom: 7px;
  color: var(--accent);
  background: rgba(49, 95, 69, 0.08);
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.repair-panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 54px);
}

.empty-state {
  display: grid;
  min-height: 580px;
  place-content: center;
  color: var(--muted);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.empty-state p {
  max-width: 360px;
}

.empty-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 15px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 14px;
  font-size: 1.4rem;
}

.repair-header {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.repair-header h3 {
  margin: 9px 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.verified {
  color: #24623d;
  background: #daf1e2;
}

.repair-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.nav-buttons {
  display: flex;
  gap: 7px;
}

.icon-button {
  width: 37px;
  height: 37px;
  color: var(--ink);
  background: #f5f6f1;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.icon-button:hover {
  background: #eaece5;
}

.lesson-section {
  padding: 28px 0 5px;
}

.lesson-section + .lesson-section {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.step-label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-label span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  font-size: 0.66rem;
}

.message-stack {
  display: grid;
  gap: 10px;
}

.message {
  padding: 13px 15px;
  background: #f7f8f4;
  border: 1px solid #e4e6df;
  border-radius: 10px;
}

.message.system {
  color: var(--muted);
  background: #f1f2ed;
}

.message-role {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.message-body {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.privileged {
  padding: 24px;
  margin-top: 28px !important;
  background: var(--privileged-soft);
  border: 1px solid #efd8ad !important;
  border-radius: 14px;
}

.privileged .step-label {
  color: var(--privileged);
}

.privileged .step-label span {
  background: var(--privileged);
}

blockquote {
  margin: 0;
  color: #51330d;
  font-family: Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.target .step-label {
  color: var(--target);
}

.target .step-label span {
  background: var(--target);
}

.tool-call {
  padding: 15px;
  margin-bottom: 10px;
  background: var(--target-soft);
  border: 1px solid #d7dff4;
  border-radius: 11px;
}

.tool-call-header {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 9px;
  color: var(--target);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  font-weight: 700;
}

.tool-call-header::before {
  content: "ƒ";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--target);
  border-radius: 6px;
  font-family: Georgia, serif;
}

pre {
  max-width: 100%;
  padding: 12px;
  margin: 0;
  overflow-x: auto;
  color: #253359;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  white-space: pre-wrap;
}

.assistant-text {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #f7f8f4;
  border: 1px solid #e4e6df;
  border-radius: 10px;
  white-space: pre-wrap;
}

.details {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.details summary {
  padding: 18px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 650;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 20px;
}

.tool-chip {
  padding: 4px 9px;
  color: #4b544d;
  background: #eff1eb;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.69rem;
}

.trace-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
  margin-top: 25px;
  background: #eff1eb;
  border-radius: 11px;
}

.trace-tab {
  padding: 9px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.trace-tab:hover {
  color: var(--ink);
}

.trace-tab.active {
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 2px 8px rgba(29, 40, 30, 0.08);
}

.trace-loading {
  padding: 36px;
  margin-top: 20px;
  color: var(--muted);
  background: #f5f6f1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: 0.84rem;
}

.trace-view {
  padding-top: 30px;
}

.view-intro {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.view-intro h4 {
  margin: 0 0 7px;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.view-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checker-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  margin: 20px 0;
  background: #fff4ef;
  border: 1px solid #efd4c8;
  border-radius: 11px;
}

.checker-card.pass {
  background: #ebf7ee;
  border-color: #cae5d1;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: #b85c3d;
  border-radius: 50%;
}

.checker-card.pass .status-dot {
  background: #348250;
}

.checker-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.checker-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.transcript {
  display: grid;
  gap: 9px;
}

.trace-message {
  position: relative;
  padding: 12px 15px;
  background: #f7f8f4;
  border: 1px solid #e4e6df;
  border-radius: 10px;
}

.trace-message.assistant {
  margin-right: 7%;
  background: #f1f5f0;
}

.trace-message.user {
  margin-left: 7%;
  background: #fff;
}

.trace-message.tool {
  margin-right: 12%;
  color: #41506f;
  background: #f0f3fa;
  border-color: #dde3f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
}

.trace-message.first-bad {
  border-color: #cf7455;
  box-shadow: inset 3px 0 #b85c3d;
}

.trace-message.first-bad::after {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 2px 7px;
  color: #93452d;
  content: "first invalid turn";
  background: #ffe4d8;
  border-radius: 100px;
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trace-message .message-body {
  font-size: 0.82rem;
}

.search-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.summary-metric {
  padding: 13px 15px;
  background: #f7f8f4;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.summary-metric strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.summary-metric span {
  color: var(--muted);
  font-size: 0.68rem;
}

.agent-summary {
  grid-column: 1 / -1;
  padding: 15px 17px;
  color: #465047;
  background: #f2f4ee;
  border-radius: 10px;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.agent-summary::before {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  content: "POST-HOC CONSTRUCTOR SUMMARY";
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.attempt-nav {
  display: flex;
  gap: 7px;
  padding: 4px 0 17px;
  overflow-x: auto;
}

.attempt-button {
  min-width: 86px;
  padding: 8px 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

.attempt-button.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #bcd3c1;
}

.attempt-button.pass {
  color: #24623d;
  border-color: #bcd9c5;
}

.attempt-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0 14px;
}

.attempt-heading h5 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.slate {
  padding: 15px;
  margin-bottom: 16px;
  background: var(--privileged-soft);
  border: 1px solid #efd8ad;
  border-radius: 11px;
}

.slate-title {
  margin-bottom: 9px;
  color: var(--privileged);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slate-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 9px;
  padding: 8px 0;
  color: #51330d;
  border-top: 1px solid rgba(123, 77, 20, 0.14);
  font-size: 0.78rem;
}

.slate-row:first-of-type {
  border-top: 0;
}

.slate-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
}

.turn-timeline {
  display: grid;
  gap: 14px;
}

.turn-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.turn-card.repaired {
  border-color: #d6bc89;
  box-shadow: inset 3px 0 var(--privileged);
}

.turn-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #f4f5f0;
  border-bottom: 1px solid var(--line);
}

.turn-header strong {
  font-size: 0.75rem;
}

.turn-flags {
  display: flex;
  gap: 5px;
}

.turn-flag {
  padding: 2px 7px;
  color: var(--muted);
  background: #e8eae4;
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.turn-flag.hinted {
  color: var(--privileged);
  background: #f8e7c8;
}

.turn-hint {
  padding: 10px 14px;
  color: #674514;
  background: #fff8ea;
  border-bottom: 1px solid #efd8ad;
  font-family: Georgia, serif;
  font-size: 0.86rem;
}

.step-list {
  padding: 5px 14px;
}

.step {
  padding: 11px 0;
  border-bottom: 1px solid #e8e9e3;
}

.step:last-child {
  border-bottom: 0;
}

.step-index {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-text {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  font-size: 0.77rem;
  white-space: pre-wrap;
}

.call-list,
.observation-list {
  display: grid;
  gap: 5px;
  margin-top: 6px;
}

.call-line,
.observation-line {
  padding: 7px 9px;
  overflow-wrap: anywhere;
  color: #2f426d;
  background: var(--target-soft);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  white-space: pre-wrap;
}

.observation-line {
  color: #4b544d;
  background: #f1f2ed;
}

.final-slate {
  margin: 20px 0 16px;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 8px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.text-button {
  padding: 0;
  color: var(--accent);
  background: none;
  border: 0;
  font-weight: 700;
}

.method {
  padding: 105px 0 10px;
}

.method > h2 {
  max-width: 700px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-grid > div {
  padding: 34px;
  background: var(--card);
}

.method-number {
  display: block;
  margin-bottom: 40px;
  color: #91a597;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.method-grid h3 {
  margin-bottom: 9px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.method-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  padding: 30px 24px;
  color: #8c958d;
  background: #e9ebe5;
  text-align: center;
  font-size: 0.75rem;
}

.no-results {
  padding: 36px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .browser-heading {
    align-items: start;
  }

  .compact-stats span {
    padding: 8px 9px;
  }

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

  .stat:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .result-item:nth-child(odd) {
    border-right: 1px solid #e8e9e3;
  }

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

  .method-number {
    margin-bottom: 15px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-copy {
    padding: 62px 0 50px;
    text-align: left;
  }

  h1 {
    font-size: 2.75rem;
  }

  .lede {
    margin: 0;
  }

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

  .stat {
    padding: 16px 10px;
  }

  main {
    padding-top: 20px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .browser-heading {
    display: block;
  }

  .compact-stats {
    width: 100%;
    margin-top: 13px;
  }

  .compact-stats span {
    flex: 1;
    text-align: center;
  }

  .section-heading {
    display: block;
  }

  .result-count {
    margin-top: 9px;
  }

  .filter-row {
    flex-wrap: wrap;
  }

  .filter-row label {
    min-width: calc(50% - 6px);
  }

  .secondary {
    width: 100%;
  }

  .filter-row .result-count {
    width: 100%;
    margin: 1px 0 3px;
    text-align: center;
  }

  .result-list {
    grid-template-columns: 1fr;
  }

  .result-item:nth-child(odd) {
    border-right: 0;
  }

  .repair-panel {
    padding: 24px 18px;
  }

  .trace-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-summary {
    grid-template-columns: 1fr 1fr;
  }

  .agent-summary {
    grid-column: 1 / -1;
  }

  .repair-header {
    display: block;
  }

  .nav-buttons {
    margin-top: 16px;
  }

  .privileged {
    padding: 19px;
  }
}
