/* ReqPath landing page. Loads after /rp-ui.css and /site.css; holds only what the landing page uses. */

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "copy access" "start access"; column-gap: 64px; align-items: start; }
.hero-copy { grid-area: copy; }
.hero-grid > .path-start { grid-area: start; }
.hero-grid > .access { grid-area: access; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5.6vw, 78px); line-height: 0.98; letter-spacing: -0.032em;
  text-wrap: balance; max-width: 13.5em;
}
.lead { margin-top: 28px; font-size: 19px; line-height: 1.6; color: var(--ink-700); max-width: 34em; }
.lead strong { color: var(--ink-900); font-weight: 600; }

/* access panel: a flat green field holding the working form */
.access {
  background: var(--green-700); color: #fff; border-radius: var(--radius-xl); padding: 32px;
  margin-top: 8px;
}
.access h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
.access .sub { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--green-50); }
.access form { margin-top: 24px; display: grid; gap: 14px; }
.access .field label { color: #fff; font-size: 13px; }
.access .field input { border-color: transparent; line-height: 1.2; }
.access .field input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-color: transparent; box-shadow: none; }
.access .btn--ink { margin-top: 6px; padding: 15px 20px; }
.access .btn--ink:focus-visible { outline-color: #fff; }
.access .fine { font-size: 13.5px; line-height: 1.5; color: var(--green-50); }
.access .fine a { color: #fff; }
.access .form-msg { color: #fff; }

/* ---------- the path ---------- */
.path-start { margin-top: 44px; padding-bottom: 8px; }
.student {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 12px 16px 12px 12px; width: fit-content; max-width: 100%;
}
.student strong { display: block; font-size: 15px; line-height: 1.3; }
.student span.meta { font-size: 14px; color: var(--ink-500); }
.demo-tag { font-size: 12px; font-weight: 600; color: var(--ink-700); background: var(--sunken); border-radius: 5px; padding: 4px 8px; }
.demo-note { margin-top: 10px; font-size: 14px; color: var(--ink-700); }
.route { margin-top: 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 640px; }
.route li { position: relative; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 12px; right: -2px; top: 5px; height: 2px; background: var(--border-strong); }
.route a { position: relative; z-index: 1; display: grid; gap: 2px; padding-right: 10px; text-decoration: none; color: var(--ink-900); }
.route .rnode { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--green-600); background: var(--canvas); margin-bottom: 8px; transition: background-color .2s; }
.route a:hover .rnode { background: var(--green-600); }
.route b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.route small { font-size: 12.5px; color: var(--ink-700); }
.route .short { display: none; }
.route a:hover b { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

.stop { padding-block: 112px 0; position: relative; }
.stop:first-of-type { padding-top: 96px; }
.stop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.stop h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.04; letter-spacing: -0.026em; text-wrap: balance; max-width: 15em; }
.role {
  flex: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 13px 6px 10px; background: var(--surface);
}
.role svg { color: var(--green-700); }
.stop-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.stop-grid--wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.stop-grid--wide .stop-copy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; }
.stop-grid--wide .facts { margin-top: 4px; }
.stop-copy p { color: var(--ink-700); max-width: 32em; }
.stop .facts { gap: 10px; }
.stop .facts li { font-size: 15px; line-height: 1.5; }

/* counselor review + branch */
.review-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.branch-legend { margin-top: 28px; display: grid; grid-template-columns: 76px 1fr; gap: 0 14px; align-items: center; }
.branch-legend svg { grid-row: 1 / span 2; }
.branch-legend p { font-size: 14.5px; line-height: 1.4; padding: 10px 0; max-width: none; }
.branch-legend p b { display: block; color: var(--ink-900); font-weight: 600; }
.branch-legend line { stroke-dasharray: 26; stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out) .1s; }
.branch-legend.will-draw line { stroke-dashoffset: 26; }
.branch-legend.will-draw.is-drawn line { stroke-dashoffset: 0; }
.review-note { padding: 14px 18px 0; }
.review-note label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.review-note textarea { width: 100%; resize: vertical; min-height: 64px; font: 400 14px/1.5 var(--font-body); color: var(--ink-900); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 10px 12px; }
.review-note textarea::placeholder { color: var(--ink-500); }
.review-note textarea:focus-visible { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.review-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 18px 16px; flex-wrap: wrap; }
.review-actions .status-line { margin-right: auto; font-size: 13.5px; color: var(--ink-500); }

/* schedule stop on an ink field */
.stop--dark { color: #fff; padding-bottom: 112px; background: var(--ink-900); box-shadow: 0 0 0 100vmax var(--ink-900); clip-path: inset(64px -100vmax 0 -100vmax); }
.stop--dark .stop-copy p, .stop--dark .facts li { color: var(--ink-300); }
.stop--dark .facts svg { color: var(--green-400); }
.stop--dark .role { background: transparent; color: #fff; border-color: var(--ink-500); }
.stop--dark .role svg { color: var(--green-400); }
.pub .badge { background: var(--info-bg); color: var(--info-text); }
.pub .badge i { background: var(--info); }
.goal { margin-top: 64px; }
.goal p { font: 700 clamp(22px, 2vw, 28px)/1.2 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.goal p span { display: block; font: 400 16px/1.5 var(--font-body); letter-spacing: 0; color: var(--ink-300); margin-top: 6px; }

/* ---------- commitments ---------- */
.section { padding-block: 128px; }
.section-head p { max-width: 38em; }
.commit { margin-top: 56px; border-top: 1px solid var(--ink-900); }
.commit div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 48px; align-items: baseline; padding: 26px 0 28px; border-bottom: 1px solid var(--border-strong); }
.commit h3 { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; }
.commit p { color: var(--ink-700); font-size: 16.5px; max-width: 36em; }

/* ---------- pricing ---------- */
.pricing { background: var(--surface); border-block: 1px solid var(--border); }
.pricing .price-grid { margin-top: 56px; }

/* ---------- close ---------- */
.close h2 { max-width: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "access" "start"; row-gap: 40px; }
  .hero-grid > .path-start { margin-top: 8px; }
  .access { max-width: 560px; }
  .stop-grid, .review-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stop-grid--wide .stop-copy { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 36px; }
  .lead { font-size: 17px; margin-top: 20px; }
  .access { padding: 24px 20px; }
  .path-start { margin-top: 32px; }
  .student { padding: 10px 12px 10px 10px; gap: 10px; }
  .stop { padding-top: 80px; }
  .stop-head { flex-direction: column; gap: 12px; }
  .role { margin-top: 0; }
  .stop-grid { margin-top: 22px; }
  .route small { display: none; }
  .route b { font-size: 12.5px; }
  .route .long { display: none; }
  .route .short { display: inline; }
  .stop--dark { clip-path: inset(48px -100vmax 0 -100vmax); }
  .commit div { grid-template-columns: minmax(0, 1fr); padding: 22px 0 24px; }
  .section { padding-block: 88px; }
}
