/* RaisedHand marketing site, part 2: forms, states, responsive rules and utilities. Loaded after marketing.css. */
/* ---------- Forms (sign in, start, book a demo) ---------- */
body.task { background: var(--ground); }
body.task .head { background: var(--paper); }
.task-main { padding: 56px 0 96px; }
.task-main .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 72px; align-items: start; }
.task-main.narrow .wrap { grid-template-columns: minmax(0, 520px); justify-content: center; }
.pitch { display: grid; gap: 20px; position: sticky; top: calc(var(--head) + 32px); }
.pitch h1 { font-size: clamp(30px, 3.6vw, 44px); }
.pitch .next { display: grid; gap: 14px; counter-reset: n; margin-top: 8px; }
.pitch .next li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.pitch .next li::before { content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); font: 600 14px/1 var(--text); color: var(--ink); }
.pitch .next b { color: var(--ink); font-weight: 600; }
.card { padding: 32px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.card h1 { font-size: 28px; line-height: 1.15; }
.card h2 { font-size: 24px; }
.card > .small { margin-top: 8px; }
.form { display: grid; gap: 20px; margin-top: 24px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 14px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field .hint { font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--control); border-radius: 8px; background: var(--paper); font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .affix:focus-within { outline: 0; border-color: var(--blue-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-ink) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field .err { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--bad); }
.field .err .i { width: 16px; height: 16px; margin-top: 3px; }
.affix { display: flex; align-items: center; min-height: 48px; border: 1.5px solid var(--control); border-radius: 8px; background: var(--paper); }
.affix input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; box-shadow: none !important; padding-right: 4px; text-align: right; font-weight: 600; }
.affix span { padding-right: 12px; color: var(--ink-2); font: 400 14px/1 var(--mono); white-space: nowrap; }
.affix.invalid { border-color: var(--bad); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 20px; font-weight: 500; font-size: 14px; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label:has(:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choices label:has(:focus-visible) { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; }
.fine { font-size: 14px; color: var(--ink-2); }
.note { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--blue-tint); font-size: 14px; line-height: 1.5; }
.note .i { margin-top: 2px; color: var(--blue-ink); }
.note.bad { background: var(--bad-tint); }
.note.bad .i { color: var(--bad); }
.or { display: grid; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.or b { color: var(--ink); }

/* Step marker for Start for free */
.progress { display: flex; gap: 8px; margin-bottom: 20px; }
.progress li { flex: 1; display: grid; gap: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line-strong); }
.progress li[aria-current], .progress li.done { color: var(--ink); }
.progress li[aria-current]::before, .progress li.done::before { background: var(--go); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 4px; }
form:not(.stepped) [data-next], form:not(.stepped) [data-back] { display: none; }
form:not(.stepped) fieldset + fieldset { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
fieldset[data-step] { display: grid; gap: 20px; }
fieldset[data-step] > legend { font: 700 24px/1.2 var(--display); font-stretch: 106%; padding: 0; margin-bottom: 4px; }
.tick { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; font-weight: 400 !important; }
.tick input { width: 20px; min-height: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--go); }
.back { border: 0; background: none; padding: 8px 0; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* Confirmation */
.done-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--good-tint); color: var(--good); margin-bottom: 16px; }
.done-mark .i { width: 26px; height: 26px; stroke-width: 2.25; }
.recap { margin-top: 20px; border-top: 1px solid var(--line); }
.recap > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap dt { color: var(--ink-3); }
.recap dd { font-weight: 500; overflow-wrap: anywhere; }
.timeline { display: grid; gap: 0; margin-top: 24px; }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline .when { font: 500 12px/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--ink-2); font-size: 14px; }

/* ---------- Widths ---------- */
@media (max-width: 1000px) {
	.hero { padding: 48px 0 72px; }
	.hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "chat" "slip"; gap: 32px; }
	.cols-2, .task-main .wrap { grid-template-columns: minmax(0, 1fr); }
	.pitch { position: static; }
	.site-nav { display: none; }
	.head .cta { margin-left: auto; }
	.menu { display: block; }
	.foot .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.foot .about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.band, .close { padding: 64px 0; }
	.intro { margin-bottom: 32px; }
	.cols-3, .steps, .price { grid-template-columns: minmax(0, 1fr); }
	.price > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.asks { grid-template-columns: minmax(0, 1fr); }
	.asks li, .asks li:not(:nth-child(3n + 1)) { padding: 16px 0 18px; border-left: 0; }
	.steps.tall > li { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; }
	.log { min-height: 0; padding: 16px 12px; }
	.msg { max-width: 94%; }
	.versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; width: auto; }
	.versus thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.versus tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
	.versus th, .versus td { padding: 2px 0; border: 0; }
	.versus tbody th { width: auto; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
	.versus td::before { content: attr(data-h) ": "; font-weight: 400; color: var(--ink-3); }
	.card { padding: 24px 20px; }
	.row-2 { grid-template-columns: minmax(0, 1fr); }
	.task-main { padding: 32px 0 72px; }
	.page-head { padding: 48px 0 40px; }
	.foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Header keeps the logo, Sign in and the menu. The two buttons dock at the bottom. */
	.head .cta .btn { display: none; }
	body:not(.task) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	body:not(.task) .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line-strong); }
	body.task .head .cta .btn { display: inline-flex; }
}
@media (max-width: 400px) {
	body.task .brand span { display: none; }
	.head .cta { gap: 12px; }
	.btn { padding: 0 12px; }
	.slip dl > div { grid-template-columns: 80px minmax(0, 1fr); }
	.recap > div, .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.head, .dock, .foot, .tabs { display: none; }
}
.card:focus { outline: 0; }

/* ---------- Revision after review (2026-11-15) ---------- */
/* The buyer line above the hero headline is plain text, not a mono label. */
.eyebrow { display: block; margin-bottom: 16px; font: 600 16px/1.4 var(--text); color: var(--ink-2); }
.brand .hand { fill: var(--ink); }
.brand .cuff { fill: var(--go); }
.asks .topic { font: 600 14px/1.4 var(--text); color: var(--ink-3); }
.plain-label { display: block; margin-bottom: 10px; font: 600 14px/1.4 var(--text); color: var(--ink-2); }
.foot h2 { font: 600 14px/1.4 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); }

/* The scenario strip scrolls on a phone. A fade at the right edge says so. */
.tabs-wrap { position: relative; margin-bottom: 12px; }
.tabs-wrap .tabs { margin-bottom: 0; }
@media (max-width: 480px) {
	.tabs-wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28px; border-radius: 0 10px 10px 0; background: linear-gradient(to right, transparent, var(--ground)); pointer-events: none; }
}

/* The price block borrows the quote slip's tear-off rules, so the two read as one family. */
.price > div + div { border-left: 1px dashed var(--line-strong); }
@media (max-width: 760px) {
	.price > div + div { border-left: 0; border-top: 1px dashed var(--line-strong); }
}

/* A frame for a real screenshot of the product. The mockup shows what goes in it. */
.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--raised); box-shadow: var(--shadow); overflow: hidden; }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--ink-3); }
.shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.shot .bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot figcaption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

/* Start for free: the preview being built, and the result. */
.jobsteps { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.jobsteps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.jobsteps li::before { content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-strong); }
.jobsteps b { font-weight: 600; }
.jobsteps span { grid-column: 2; font-size: 14px; }
.jobsteps li.now { color: var(--ink); }
.jobsteps li.now::before { border-color: var(--blue-ink); border-right-color: transparent; animation: spin .9s linear infinite; }
.jobsteps li.done { color: var(--ink); }
.jobsteps li.done::before { border-color: var(--good); background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@keyframes spin { to { transform: rotate(1turn); } }
.cred { margin-top: 20px; border: 1.5px solid var(--ink); border-radius: 12px; }
.cred > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; }
.cred > div + div { border-top: 1px dashed var(--line-strong); }
.cred dt { font-size: 14px; color: var(--ink-3); }
.cred dd { font: 500 16px/1.4 var(--mono); overflow-wrap: anywhere; }
.cred button { border: 0; background: none; padding: 4px 0; font: 600 14px/1.4 var(--text); color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.after { display: grid; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.after b { color: var(--ink); }
.reasons { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.reasons li { padding-left: 18px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--ink-3); }
.versus-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin-top: 32px; }
.versus-two > div { padding-top: 16px; border-top: 2px solid var(--ink); }
.versus-two h3 { margin-bottom: 6px; }
.versus-two p { color: var(--ink-2); }

/* Contact, Privacy, Terms */
.prose { max-width: 720px; display: grid; gap: 16px; }
.prose h2 { font-size: 24px; margin-top: 24px; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose p, .prose li { color: var(--ink-2); }
.prose b { color: var(--ink); }
.entity { font-size: 14px; color: var(--ink-2); }

@media (max-width: 760px) {
	.versus-two { grid-template-columns: minmax(0, 1fr); }
	.brand { font-size: 18px; gap: 8px; }
}
@media (max-width: 400px) {
	/* The wordmark stays on the task pages (review item 9). */
	body.task .brand span { display: inline; }
	body.task .head .wrap { gap: 12px; }
	.cred > div { grid-template-columns: minmax(0, 1fr) auto; }
	.cred dt { grid-column: 1 / -1; }
}
.head .signin { white-space: nowrap; }
@media (max-width: 400px) {
	/* Task pages on a narrow phone: the wordmark stays, the bars go, and the outlined action becomes a text link. */
	body.task .brand svg { display: none; }
	body.task .head .cta .btn { font-size: 14px; padding: 0 10px; }
	body.task .head .cta .btn:not(.go) { min-height: 44px; padding: 0; border: 0; text-decoration: underline; text-underline-offset: 3px; }
	body.task .head .cta .btn:not(.go):hover { background: none; }
}

/* Utilities that replace inline styles. */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.lead-gap { margin: 16px 0 32px; }
.fs-24 { font-size: 24px; }
.flush { padding-top: 0; border: 0; }
.min-72 { min-height: 72px; }
.done-mark.warn { background: var(--warn-tint); color: var(--warn); }
.cols-2 > :only-child { grid-column: 1 / -1; max-width: 72ch; }
