/* Cheapfax — design system shared across all marketing pages.
   Stark, type-driven, anchored on theordinary.com. */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  counter-reset: section;
}

@media (max-width: 480px) {
  .wrap { padding: 2.5rem 1.25rem 2rem; }
}

/* ---------- Hero (landing page only) ---------- */

.wordmark {
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.status {
  font-size: 1rem;
  color: #666;
}

.cta {
  display: inline-block;
  font-size: 1rem;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Section ---------- */

section {
  counter-increment: section;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid #000;
}

section h2 {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

section h2::before {
  content: counter(section, decimal-leading-zero) ". ";
}

section p { margin-bottom: 1rem; }
section p:last-child { margin-bottom: 0; }

/* ---------- Numbered step list (How it works) ---------- */

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: #666;
}

/* ---------- Bulleted lists (privacy / terms) ---------- */

section ul {
  list-style: none;
  margin-bottom: 1rem;
}

section ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #666;
}

/* ---------- Inline code (privacy mentions us-east1, etc) ---------- */

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

/* ---------- Page title (privacy / terms only) ---------- */

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.page-meta {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- Backlink (privacy / terms only) ---------- */

.backlink {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  margin-bottom: 3rem;
}

.backlink:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.footer {
  padding-top: 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid #000;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer a {
  margin-right: 1.5rem;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

.footer .copyright {
  display: block;
  margin-top: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: #666;
}
