/* /fold and /booklet: illustrated how-to pages.
   fd- prefix, scoped to these two views. Primitives (kicker, tape cards,
   num-stroke, buttons) come from site.css. */

/* ---- left-aligned hero ---- */

.fd-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 8px;
}

.fd-hero .site-kicker { margin: 0; }

.fd-title {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(40px, 6.5vw, 56px);
  line-height: 1.0;
  letter-spacing: -1px;
  text-transform: lowercase;
}

.fd-intro {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---- step cards ---- */

.fd-steps {
  list-style: none;
  margin: 0;
  padding: 28px 0 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}

@media (max-width: 900px) { .fd-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fd-steps { grid-template-columns: 1fr; } }

.fd-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  text-align: left;
}

.fd-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.fd-step-num {
  font-size: 30px;
  line-height: 1;
}

/* keep the number legible if -webkit-text-stroke is unsupported */
@supports not (-webkit-text-stroke: 1px #000) {
  .fd-step-num { color: var(--ink); }
}

.fd-step-title {
  font-family: "Special Elite", "Courier New", monospace;
  text-transform: lowercase;
  font-size: 18px;
  font-weight: 400;
}

/* diagram inset: paper box, ink border, flex-centered svg */
.fd-step-art {
  background: var(--paper);
  border: 2px solid var(--ink);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fd-step-art svg { overflow: visible; }

.fd-step-body {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---- footer cta row ---- */

.fd-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}

.fd-cta-form { display: inline-block; }

/* the one loud action on the page, a size up from site-btn-hero */
.fd-btn-big {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
}

.fd-btn-big:hover { box-shadow: 5px 5px 0 var(--ink); }

.fd-cta-side {
  font-family: "Special Elite", "Courier New", monospace;
  text-transform: lowercase;
  font-size: 15px;
  color: var(--ink-faint);
}

.fd-cta-side a { color: var(--ink); }
