/* Brand tokens — the working identity lives here so a rename/rebrand is a
   variable swap, not a rewrite. See apps/website/README.md. */
:root {
  --brand-accent: #a4470f; /* forge ember */
  --brand-accent-dark: #7e360b;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --paper: #faf9f7;
  --paper-alt: #f2efe9;
  --hairline: #ddd8d0;
  --font-display: georgia, "Times New Roman", serif;
  --font-body:
    system-ui, -apple-system, "Segoe UI", roboto, "Helvetica Neue", arial,
    sans-serif;
  --measure: 64ch;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  margin: 1rem 0 1.25rem;
}

/* The hero's hard break is for wide screens; let narrow ones wrap naturally. */
@media (max-width: 719px) {
  h1 br {
    display: none;
  }
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

p + p {
  margin-top: 1rem;
}

strong {
  font-weight: 600;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* Sections */

section {
  padding: 3.5rem 0;
}

section.alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.hero {
  padding: 4.5rem 0 4rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* CTAs */

.cta-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--paper);
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: var(--brand-accent-dark);
}

.button-small {
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.button-outline {
  background: transparent;
  color: var(--brand-accent);
  border: 1px solid var(--brand-accent);
}

.button-outline:hover {
  background: var(--paper-alt);
  color: var(--brand-accent-dark);
}

.cta-secondary {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 34ch;
}

/* Stat callout */

.stat {
  border-left: 3px solid var(--brand-accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-accent);
}

.stat-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 40ch;
}

/* Workflow steps */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-accent);
}

/* Pilot */

.pilot-list {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.pilot-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--hairline);
}

/* Start options */

.start-options {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.start-option .button {
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .start-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer .wordmark {
  font-size: 1rem;
  color: var(--ink);
}
