/* A typography study based on the founder's DIGITAL MOCKUP reference.
   Archivo Black approximates its weight and compact uppercase letterforms.
   Keep the established logo and product UI fonts for a clear comparison. */
@font-face {
  font-family: "Archivo Black";
  src: url("assets/fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --sc-font-display: "Archivo Black", "Arial Black", sans-serif;
}

.hero h1,
.workflow h2,
.rail-intro h2,
.rail-item h3,
.rail-outro strong,
.confidence h2,
.pricing h2,
.plan h3,
.questions h2,
.closing h2 {
  font-family: var(--sc-font-display);
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: -.055em;
}

.hero h1 {
  font-size: clamp(3rem, 4.65vw, 5.6rem);
  line-height: .94;
  margin: 1.55rem 0 1.75rem;
}
.type-line { display: block; }
.hero h1 em { display: block; margin-top: .09em; }
.hero-lede { max-width: 44ch; }

.workflow h2 {
  font-size: clamp(2.5rem, 3.7vw, 4.3rem);
  line-height: .98;
}
.rail-intro h2 { font-size: clamp(2.7rem, 3.7vw, 4.2rem); line-height: .98; }
.rail-item h3 { font-size: clamp(1.25rem, 1.75vw, 1.75rem); line-height: 1.05; }
.rail-outro strong { font-size: clamp(2rem, 2.8vw, 3rem); line-height: 1; }
.confidence h2,
.pricing h2 { font-size: clamp(2.1rem, 3.45vw, 4.1rem); line-height: 1; }
.questions h2 { font-size: clamp(2rem, 2.8vw, 3.3rem); line-height: 1; }
.plan h3 { font-size: 1.85rem; line-height: 1.1; }
.closing h2 { font-size: clamp(2.5rem, 4.1vw, 4.9rem); line-height: 1; }

.header-nav a {
  font-size: .8rem; /* 12.8px: menu links stay readable (was .72rem, 11.5px) */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero-inner { padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 4.8rem); }
  .workflow h2 { font-size: clamp(2.3rem, 3.4vw, 3.5rem); }
  .workflow-head { gap: 1rem; }
  .closing h2 { font-size: clamp(2.5rem, 3.6vw, 4rem); }
}

@media (max-width: 1050px) and (min-width: 901px) {
  .hero h1 { font-size: 4.45vw; }
  .header-nav a { font-size: .72rem; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(3.3rem, 8.2vw, 5.5rem); }
  .workflow h2 { font-size: clamp(2.35rem, 6.6vw, 3.7rem); }
  .rail-intro h2 { font-size: clamp(2.7rem, 6vw, 4rem); }
  .confidence h2,
  .pricing h2 { font-size: clamp(2.1rem, 5.9vw, 3.8rem); }
  .questions h2 { font-size: clamp(2rem, 5.6vw, 3.2rem); }
  .closing h2 { font-size: clamp(2.4rem, 5.7vw, 3.7rem); }
}

@media (max-width: 700px) {
  .hero h1 { font-size: clamp(1.95rem, 9.9vw, 4.3rem); line-height: .97; }
  .workflow h2 { font-size: clamp(1.95rem, 7.6vw, 3rem); line-height: 1.02; }
  .rail-intro h2 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .rail-item h3 { font-size: 1.4rem; }
  .rail-outro strong { font-size: 2.15rem; }
  .confidence h2,
  .pricing h2 { font-size: clamp(1.85rem, 6.9vw, 2.8rem); line-height: 1.04; }
  .questions h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
  .closing h2 { font-size: clamp(2rem, 7.2vw, 3.2rem); line-height: 1.02; }
}
