/* Growth Roadmap quiz funnel (roadmap.html). Builds on styles.css v2:
   paper, brick red, ink, Anton caps, sharp corners, ruled lines. No shadows, no radius. */

.rm-page main { min-height: calc(100vh - 150px); }
.rm-header .nav { height: 64px; }
.rm-header-note { font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.rm-narrow { max-width: 640px; }
.rm-wide { max-width: 860px; }
[hidden] { display: none !important; }

/* Intro ------------------------------------------------------------------ */
.rm-intro { padding: clamp(28px, 6vw, 64px) 0 clamp(36px, 6vw, 64px); }
.rm-intro h1 { font-size: clamp(2.5rem, 10vw, 4.4rem); line-height: 1; margin-bottom: .35em; }
.rm-for { display: block; color: var(--red); }
.rm-intro .lead { margin-bottom: 1.4em; }
.rm-start { margin-top: 4px; }
.rm-change { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
.rm-link { background: none; border: 0; padding: 0; font: inherit; color: var(--red); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rm-byline { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule); }
.rm-byline img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--ink); }
.rm-byline p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.rm-byline strong { color: var(--ink); }

/* Quiz ------------------------------------------------------------------- */
.rm-quiz { padding: 18px 0 48px; }
.rm-progress { height: 6px; background: var(--paper-2); border: 1px solid var(--rule); }
.rm-progress-fill { height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out, ease-out); }
.rm-quiz-top { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 18px; min-height: 40px; }
.rm-back { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; }
.rm-back:disabled { visibility: hidden; }
.rm-count { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.rm-q h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.05; margin-bottom: .3em; }
.rm-q .rm-hint { color: var(--ink-soft); font-size: .95rem; margin: 0 0 16px; }
.rm-options { display: grid; gap: 10px; margin: 0 0 18px; }
.rm-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; text-align: left;
  padding: 14px 16px; font: inherit; font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); cursor: pointer;
  transition: background .12s, color .12s, transform .14s var(--ease-out, ease-out);
}
.rm-opt:active { transform: scale(.985); }
.rm-opt .rm-box { flex: 0 0 20px; height: 20px; border: 2px solid var(--ink); background: var(--white); }
.rm-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rm-opt[aria-pressed="true"] .rm-box { background: var(--red); border-color: var(--paper); }
@media (hover: hover) { .rm-opt:hover { border-color: var(--red); } .rm-opt[aria-pressed="true"]:hover { border-color: var(--ink); } }
@media (min-width: 620px) { .rm-options--two { grid-template-columns: 1fr 1fr; } }
.rm-next { margin-top: 4px; position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; }
.rm-next:disabled { opacity: .45; cursor: not-allowed; }

/* Contact step */
.rm-form .field { margin-bottom: 14px; }
.rm-form .field input { font-size: 16px; min-height: 50px; }
.rm-form .opt { font-weight: 400; color: var(--ink-soft); }
.rm-form .consent { margin: 6px 0 0; line-height: 1.45; }
.rm-form .form-error { margin: 0 0 14px; }
.rm-privacy { font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; }

/* Results ---------------------------------------------------------------- */
.rm-results { padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.rm-results h1 { font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; margin-bottom: .3em; }
.rm-sub { color: var(--ink-soft); margin: 0 0 22px; }

.rm-score { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; background: var(--ink); color: var(--paper); padding: 22px clamp(18px, 4vw, 30px); margin: 0 0 30px; }
.rm-score-num { font-family: var(--font-display); font-size: clamp(4.2rem, 18vw, 7rem); line-height: .9; color: #F08A78; font-variant-numeric: tabular-nums; }
.rm-score-num small { font-size: .32em; color: #CBBFAB; margin-left: 4px; }
.rm-score-label { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.3rem, 4.5vw, 1.9rem); line-height: 1.05; margin: 0 0 6px; color: var(--paper); }
.rm-score p { margin: 0; color: #E6DBC8; font-size: .98rem; line-height: 1.5; }
.rm-meter { grid-column: 1 / -1; height: 8px; background: #3A3532; margin-top: 12px; }
.rm-meter span { display: block; height: 100%; background: #F08A78; }

.rm-fixes { border-top: 3px solid var(--ink); margin: 0 0 30px; padding: 0; list-style: none; }
.rm-fix { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.rm-fix-head { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; align-items: baseline; }
.rm-fix-n { font-family: var(--font-display); font-size: 2.4rem; line-height: .9; color: var(--red); font-variant-numeric: tabular-nums; }
.rm-fix h3 { font-size: clamp(1.35rem, 5vw, 1.8rem); margin: 0; }
.rm-fix dl { margin: 14px 0 0; display: grid; gap: 10px; }
.rm-fix dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.rm-fix dd { margin: 2px 0 0; max-width: 66ch; }
.rm-fix .rm-proof { font-size: .93rem; color: var(--ink-soft); border-left: 0; margin: 2px 0 0; }
.rm-fix .rm-service { display: inline-block; font-weight: 700; color: var(--red); }
@media (min-width: 760px) {
  .rm-fix-head { grid-template-columns: 64px 1fr; }
  .rm-fix dl { grid-template-columns: 150px 1fr; gap: 12px 20px; padding-left: 76px; }
  .rm-fix dd { margin: 0; }
}

.rm-take { background: var(--white); border: 3px solid var(--ink); padding: clamp(18px, 4vw, 28px); margin: 0 0 30px; }
.rm-take h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); margin-bottom: .4em; }
.rm-take table { width: 100%; border-collapse: collapse; }
.rm-take th, .rm-take td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .97rem; }
.rm-take th { font-weight: 700; padding-right: 14px; }
.rm-take th span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.rm-take td { font-variant-numeric: tabular-nums; white-space: normal; }
.rm-take .rm-note { font-size: .9rem; color: var(--ink-soft); margin: 12px 0 0; }
@media (max-width: 559px) {
  .rm-take tr { display: block; border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .rm-take th, .rm-take td { display: block; border: 0; padding: 0; }
  .rm-take td { margin-top: 4px; color: var(--red); font-weight: 700; }
}

.rm-book { background: var(--red); color: var(--paper); padding: clamp(22px, 5vw, 36px); margin: 0 0 24px; }
.rm-book h2 { color: var(--paper); font-size: clamp(1.8rem, 6.5vw, 2.8rem); margin-bottom: .3em; }
.rm-book p { color: #FBE9E2; margin: 0 0 18px; max-width: 56ch; }
.rm-nw { white-space: nowrap; }
.rm-book .btn { text-align: center; line-height: 1.1; background: var(--paper); color: var(--red); border-color: var(--paper); }
.rm-book .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rm-book .rm-alt { font-size: .9rem; margin: 14px 0 0; color: #FBE9E2; }
.rm-book .rm-alt a { color: var(--paper); }
.rm-book :focus-visible { outline-color: var(--paper); }

.rm-after { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--ink-soft); }
.rm-after button { font-size: .92rem; }
.rm-fine { font-size: .85rem; color: var(--ink-soft); max-width: 70ch; margin-top: 18px; }

.rm-footer { padding: 6px 0 22px; border-top-width: 4px; }
.rm-footer .footer-bottom { margin-top: 0; border-top: 0; }

@media print {
  .masthead, .rm-header, .rm-footer, .rm-book .btn, .rm-after { display: none !important; }
  .rm-score, .rm-book { background: #fff !important; color: #000 !important; border: 2px solid #000; }
  .rm-score * , .rm-book * { color: #000 !important; }
}
