/* eto.tools/apply/ (templates/landing/apply.html). Loaded after pages.css.
   Same hairline cells and story blocks as about and contact; the only new
   pieces are the icon lists, the role chips and the thank-you state. */

.lp-apply-gets .lp-cell { display: flex; flex-direction: column; }
.lp-apply-gets .lp-h3 { font-size: clamp(22px, 4.6vw, 26px); max-width: 16ch; }

/* Icon lists: one line per point, glyph in currentColor, hairlines between. */
.lp-apply-list { display: grid; border-top: 1px solid var(--line); }
.lp-apply-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--ink); }
.lp-apply-list .li { margin-top: 3px; color: var(--ink); }
.lp-apply-note { margin-top: 18px; max-width: 58ch; }

/* Founder numbers: proof-grid type inside a three-cell row. */
.lp-apply-proof { margin-top: 24px; }
.lp-apply-proof .lp-cell b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 6vw, 34px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-apply-proof .lp-cell span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Form */
.lp-apply-form-wrap { display: grid; gap: 28px; padding-top: 40px; scroll-margin-top: 72px; }
.lp-apply-form-head .lp-lede { margin-top: 12px; }
.lp-apply-form { min-width: 0; }
.lp-apply-form .lp-textarea { resize: none; overflow-y: hidden; max-height: 420px; }
.lp-apply-form .lp-textarea.is-capped { overflow-y: auto; }
.lp-apply-grid { display: grid; gap: 18px; }
.lp-opt { margin-left: 6px; color: var(--faint); }
.lp-apply-roles { margin: 0; padding: 0; border: 0; min-width: 0; }
.lp-apply-roles legend { padding: 0; margin-bottom: 8px; }
.lp-apply-hint { margin: -2px 0 10px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; color: var(--ink); cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; user-select: none; }
.lp-chip:hover { border-color: var(--ink); background: var(--ink-5); }
.lp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lp-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.lp-chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.lp-apply-checks { display: grid; gap: 12px; }
.lp-apply-checks .lp-check { font-size: 15px; color: var(--ink); }
.lp-select:invalid { color: var(--faint); }
.lp-select option { color: var(--ink); background: #fff; }

/* Contact: brand glyphs in currentColor, links as plain ink text, WhatsApp QR
   beside the list on wide screens (a phone can tap the link instead). */
.lp-apply-contact { display: grid; gap: 24px; }
.lp-apply-contact-list { margin-top: 18px; }
.lp-apply-contact-list .lp-brand { fill: currentColor; stroke: none; }
.lp-apply-contact-list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color 0.15s; }
.lp-apply-contact-list a:hover { text-decoration-color: var(--ink); }
.lp-apply-qr { display: none; margin: 0; }
.lp-apply-qr img { display: block; width: 148px; height: 148px; }
.lp-apply-qr figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 148px; }

/* Thank-you state */
.lp-apply-sent { max-width: 720px; }
.lp-apply-sent > .li { width: 28px; height: 28px; color: var(--ink); margin-bottom: 18px; }
.lp-apply-sent .lp-lede { margin-top: 14px; max-width: 52ch; }

@media (min-width: 640px) {
  .lp-apply-contact { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; }
  .lp-apply-qr { display: block; padding-top: 4px; }
  .lp-apply-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (min-width: 900px) {
  /* Same 5/7 split as the story blocks above, so the form lines up with them. */
  .lp-apply-form-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; padding-top: 48px; }
  .lp-apply-form-head { position: sticky; top: 88px; align-self: start; }
  .lp-apply-sent { grid-column: 1 / -1; }
}
