/* Reviews Agency — public site.
   Standalone product brand: monochrome, system type, sharp corners.
   Self-contained. No external fonts, no CDN, no trackers. */

:root {
  --ink: #111111;
  --ink-muted: #5c5c5c;
  --ink-faint: #8a8a8a;
  --paper: #ffffff;
  --rule: #e4e4e4;
  --rule-strong: #111111;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f2;
    --ink-muted: #a8a8a8;
    --ink-faint: #7d7d7d;
    --paper: #0d0d0d;
    --rule: #262626;
    --rule-strong: #f2f2f2;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Masthead --- */

.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  margin-bottom: 4rem;
}

.masthead .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.masthead nav a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  margin-left: 1.25rem;
}

.masthead nav a:hover {
  color: var(--ink);
}

/* --- Type --- */

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 3rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 3rem;
}

.muted {
  color: var(--ink-muted);
}

/* --- Components --- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 1.1rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
}

.callout {
  border: 1px solid var(--rule-strong);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

th {
  font-weight: 600;
  border-bottom: 1px solid var(--rule-strong);
}

.scroller {
  overflow-x: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  word-break: break-all;
}

/* --- Footer --- */

footer {
  border-top: 1px solid var(--rule);
  margin-top: 5rem;
  padding: 2rem 0 4rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

footer p {
  margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
  .masthead {
    margin-bottom: 2.5rem;
  }
}
