/* =============================================
   INTAKE FORMS — Done-For-You Hiring + Launch Startup Services
   (done-for-you-hiring-intake.html, founder-intake.html).
   Loaded after styles.css; one layout for both so the two services
   feel like the same site.
   ============================================= */

body.intake-page { background: linear-gradient(180deg, #f3faf9 0%, #fdf8f3 420px, #ffffff 900px); min-height: 100vh; }

/* Focused header: logo + a way back, nothing else to wander off to */
.intake-bar { background: var(--white); border-bottom: 1.5px solid rgba(13,34,64,0.08); box-shadow: 0 2px 16px rgba(13,34,64,0.05); }
.intake-bar-inner { max-width: 1120px; margin: 0 auto; padding: 0.6rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.intake-bar img { height: 72px; width: auto; }
.intake-back { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.intake-back:hover { color: var(--orange-dark); }

.intake { max-width: 1120px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.intake-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }

.intake-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.32rem 0.95rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
  background: rgba(26,138,122,0.1); color: #157567; border: 1px solid rgba(26,138,122,0.25);
}
.intake-page.intake-fs .intake-eyebrow { background: rgba(13,34,64,0.06); color: var(--navy); border-color: rgba(13,34,64,0.15); }
.intake-main h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin-bottom: 0.7rem; }
.intake-lede { font-size: 1.02rem; color: var(--gray); max-width: 56ch; margin-bottom: 1.75rem; }
.intake-lede strong { color: var(--navy); }

/* Form card with numbered sections */
.intake-card {
  background: var(--white); border: 1px solid rgba(13,34,64,0.09); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 0.5rem 2rem 2rem;
}
.intake-step { padding: 1.6rem 0 0.4rem; border-top: 1px solid #eef1f4; }
.intake-step:first-child { border-top: none; }
.intake-step > h2 {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 1.1rem;
}
.intake-step > h2 .n {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); font-size: 0.8rem; font-weight: 800;
}

.field { margin: 0 0 1.35rem; padding: 0; border: none; min-width: 0; }
.field > legend, .field > label.field-label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; padding: 0; }
.req { color: var(--orange-dark); }
.opt { font-weight: 500; color: var(--gray); font-size: 0.82rem; }
.field-hint { font-size: 0.8rem; color: var(--gray); margin-top: 0.4rem; line-height: 1.5; }
.field-hint a { font-weight: 700; }

.fi {
  width: 100%; font-size: 0.95rem; padding: 0.75rem 1rem;
  border: 1.5px solid #dfe5ec; border-radius: 12px; background: #fbfcfd; color: var(--navy);
}
.fi:focus { background: var(--white); }
textarea.fi { min-height: 108px; resize: vertical; line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Choice chips — real radio/checkbox inputs underneath, so keyboard and screen readers just work */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 1rem; border-radius: var(--radius-pill);
  border: 1.5px solid #dfe5ec; background: var(--white);
  font-size: 0.88rem; font-weight: 600; color: var(--gray-dark); line-height: 1.3;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.chip:hover span { border-color: rgba(13,34,64,0.3); }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.chip input[type="checkbox"]:checked + span::before { content: '✓'; font-weight: 900; font-size: 0.8rem; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(244,124,32,0.35); }
.chip-help span { border-style: dashed; color: var(--gray); }

/* Optional extras tucked away so the form looks as short as it is */
.intake-more { margin: 0.2rem 0 1rem; }
.intake-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--orange-dark); }
.intake-more > summary::-webkit-details-marker { display: none; }
.intake-more > summary::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(244,124,32,0.12); font-weight: 900; }
.intake-more[open] > summary::before { content: '–'; }
.intake-more-body { padding-top: 1.1rem; }

/* Inline validation */
.field.has-error .fi, .field.has-error .chip span { border-color: #dc2626; }
.field-err { display: none; font-size: 0.8rem; font-weight: 600; color: #b91c1c; margin-top: 0.45rem; }
.field.has-error .field-err { display: block; }
.form-alert { display: none; background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 0.8rem 1rem; margin: 0.5rem 0 0; font-size: 0.88rem; color: #b91c1c; }

.intake-submit { width: 100%; justify-content: center; margin-top: 1.25rem; font-size: 1.05rem; padding: 1rem 2rem; }
.intake-fine { text-align: center; font-size: 0.82rem; color: var(--gray); margin-top: 0.8rem; }

/* Success */
.intake-success { text-align: center; padding: 3rem 2rem; }
.intake-success .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; background: rgba(26,138,122,0.12); color: #157567; }
.intake-success .tick svg { width: 30px; height: 30px; }
.intake-success h2 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.intake-success p { color: var(--gray); max-width: 46ch; margin: 0 auto; }
.intake-success .actions { margin-top: 1.75rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Sidebar */
.intake-side { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; margin-top: 4.25rem; }
.side-card { background: var(--white); border: 1px solid rgba(13,34,64,0.08); border-radius: var(--radius-lg); padding: 1.4rem 1.35rem; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1rem; margin-bottom: 0.9rem; }
.side-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 0.85rem; }
.side-steps li { counter-increment: s; position: relative; padding-left: 2.1rem; font-size: 0.87rem; color: var(--gray); line-height: 1.5; }
.side-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,124,32,0.12); color: var(--orange-dark); font-size: 0.75rem; font-weight: 800;
}
.side-steps strong { color: var(--navy); }
.side-trust { background: var(--navy); border: none; }
.side-trust ul { display: flex; flex-direction: column; gap: 0.6rem; }
.side-trust li { position: relative; padding-left: 1.5rem; font-size: 0.87rem; color: rgba(255,255,255,0.85); line-height: 1.45; }
.side-trust li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-weight: 900; }
.side-help { font-size: 0.85rem; color: var(--gray); text-align: center; }
.side-help a { font-weight: 700; }

@media (max-width: 900px) {
  .intake-grid { grid-template-columns: 1fr; }
  .intake-side { position: static; margin-top: 0; }
}
@media (max-width: 560px) {
  .intake { padding: 2rem 1rem 4rem; }
  .intake-bar-inner { padding: 0.5rem 1rem; }
  .intake-bar img { width: 52px; height: 46px; object-fit: cover; object-position: 50% 0; }
  .intake-card { padding: 0.25rem 1.1rem 1.5rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .chip span { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
}
