/**
 * JamFile home page.
 *
 * The look borrows from the job itself: a blueprint grid, paper forms filled
 * in blue ink, a hi-vis stripe, and Barlow, which is modelled on California
 * highway signs. Sizes are in px because the BB theme rescales the root.
 *
 * Motion only starts once home.js adds .jf-js, so without JavaScript every
 * piece shows in its finished state.
 */

.jf {
	--navy: #2b2f3a;
	--navy-2: #333744;
	--ink: #1f2430;
	--muted: #4b5263;
	--line: #dcd8cd;
	--paper: #fffdf8;
	--cream: #f6f3ec;
	--orange: #c2410c;
	--orange-dk: #9a3412;
	--hi: #fb923c;
	--amber: #f59e0b;
	--blue-ink: #1d3d7a;
	--ok: #15803d;
	--fix: #b42318;
	--check: #b54708;

	color: var(--ink);
	background: #fff;
	font: 400 17px/1.55 Barlow, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.jf *,
.jf *::before,
.jf *::after {
	box-sizing: border-box;
}

.jf :where(p, ul, ol, dl, dd, h1, h2, h3) {
	margin: 0;
	padding: 0;
}

.jf :where(ul, ol) {
	list-style: none;
}

.jf a {
	color: var(--orange);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jf a:hover {
	color: var(--orange-dk);
}

.jf a:focus-visible,
.jf button:focus-visible,
.jf summary:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 3px;
	border-radius: 4px;
}

.jf h1,
.jf h2,
.jf h3 {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	letter-spacing: 0.005em;
	color: inherit;
}

.jf-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.jf .jf-wrap {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 24px;
	padding-left: 24px;
}

/* ---------- buttons ---------- */

.jf .jf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: 2px solid transparent;
	border-radius: 8px;
	font: 700 18px/1 Barlow, sans-serif;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.jf .jf-btn:hover {
	transform: translateY(-2px);
}

.jf .jf-btn--primary {
	background: var(--orange);
	color: #fff;
	box-shadow: 0 6px 0 -2px var(--orange-dk);
}

.jf .jf-btn--primary:hover {
	background: #b13a0a;
	color: #fff;
}

.jf .jf-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.jf .jf-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.jf .jf-btn--ghost-dark {
	border-color: var(--ink);
	color: var(--ink);
}

.jf .jf-btn--ghost-dark:hover {
	background: var(--ink);
	color: #fff;
}

/* ---------- hero ---------- */

.jf-hero {
	position: relative;
	padding-top: var(--jf-top, 120px);
	color: #fff;
	background-color: var(--navy);
	background-image:
		linear-gradient(rgba(148, 196, 235, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 196, 235, 0.09) 1px, transparent 1px),
		linear-gradient(rgba(148, 196, 235, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 196, 235, 0.04) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: -1px -1px;
}

.jf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 48px;
	align-items: center;
	padding-top: 56px;
	padding-bottom: 84px;
}

.jf-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 5px 12px;
	border: 1px solid rgba(251, 146, 60, 0.6);
	border-radius: 4px;
	color: var(--hi);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jf .jf-hero__title {
	font-size: clamp(42px, 5.4vw, 68px);
	line-height: 1.02;
	color: #fff;
}

.jf-wipe {
	position: relative;
	display: inline-block;
	color: #fff;
	z-index: 0;
}

/* A highlighter swipe under the promise: the one movement in the headline. */
.jf-wipe::after {
	content: "";
	position: absolute;
	left: -4px;
	right: -6px;
	bottom: 0.06em;
	height: 0.34em;
	background: var(--orange);
	z-index: -1;
	transform-origin: left center;
}

.jf-js .jf-wipe::after {
	animation: jf-wipe 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
}

@keyframes jf-wipe {
	from {
		transform: scaleX(0);
	}
}

.jf-hero__lede {
	max-width: 34em;
	margin-top: 22px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 19px;
}

.jf-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.jf-hero__fine {
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.jf-hero__guide {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.jf .jf-hero__guide a {
	color: var(--hi);
}

.jf .jf-hero__guide a:hover {
	color: #fdba74;
}

/* Hi-vis tape along the bottom edge. */
.jf-hero__stripe {
	height: 10px;
	background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--navy) 14px 28px);
}

/* ---------- hero demo ---------- */

.jf-demo__stage {
	position: relative;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	grid-template-areas:
		"project sheet"
		"legend send";
	gap: 16px 20px;
	align-items: start;
}

.jf-card {
	border-radius: 10px;
}

.jf-project {
	grid-area: project;
	margin-top: 34px;
	padding: 14px 14px 10px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

.jf-project__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px !important;
	font: 700 15px/1.2 "Barlow Condensed", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jf-project__head em {
	width: 100%;
	color: var(--muted);
	font: italic 500 12px/1.2 Barlow, sans-serif;
	letter-spacing: 0;
	text-transform: none;
}

.jf-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--orange);
}

.jf-project__rows > div {
	padding: 6px 8px;
	border-radius: 6px;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.jf-project__rows dt {
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jf-project__rows dd {
	font: 500 13px/1.3 "IBM Plex Mono", ui-monospace, monospace;
	color: var(--blue-ink);
	overflow-wrap: anywhere;
}

.jf-project__rows > div.is-lit {
	background: #fff4e8;
	box-shadow: inset 3px 0 0 var(--orange);
}

.jf-sheet {
	grid-area: sheet;
	position: relative;
	padding: 0 20px 18px;
	border-radius: 4px;
	background: var(--paper);
	color: var(--ink);
	box-shadow:
		0 1px 0 #e9e4d8,
		6px 6px 0 -1px #e7e1d3,
		12px 12px 0 -2px #d6cfbe,
		0 30px 60px -24px rgba(0, 0, 0, 0.6);
	transform-origin: 50% 0;
}

.jf-sheet__tab {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 -20px 12px;
	padding: 9px 20px;
	border-bottom: 2px solid var(--ink);
	font: 700 20px/1 "Barlow Condensed", sans-serif;
	letter-spacing: 0.04em;
}

.jf-sheet__count {
	color: var(--muted);
	font: 500 12px/1 Barlow, sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jf-sheet__title {
	min-height: 2.6em;
	margin-bottom: 8px !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
}

.jf-sheet__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 14px;
}

/* Who and what get the full width; the middle four pair up. */
.jf-f:first-child,
.jf-f:last-child {
	grid-column: 1 / -1;
}

.jf-f {
	position: relative;
	min-width: 0;
	padding: 4px 0 3px;
	border-bottom: 1px solid #b9b2a2;
	transition: background-color 0.3s ease;
}

.jf-f span {
	display: block;
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.jf-f b {
	display: block;
	min-height: 20px;
	overflow: hidden;
	color: var(--blue-ink);
	font: 500 13px/20px "IBM Plex Mono", ui-monospace, monospace;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* A field that came from the project gets the orange tick; a typed one gets
   a dashed underline, matching the legend. */
.jf-f.is-filled.is-from {
	border-bottom-color: var(--orange);
	box-shadow: inset 0 -2px 0 var(--orange);
}

.jf-f.is-filled.is-typed {
	border-bottom: 2px dashed var(--blue-ink);
}

.jf-f.is-active {
	background: #fff1df;
}

.jf-f.is-active b::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 15px;
	margin-left: 1px;
	vertical-align: -2px;
	background: var(--blue-ink);
	animation: jf-caret 0.8s steps(1) infinite;
}

@keyframes jf-caret {
	50% {
		opacity: 0;
	}
}

.jf-sheet__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}

.jf-sign {
	flex: 0 1 180px;
	min-width: 0;
}

.jf-sign__ink {
	display: block;
	width: 100%;
	height: 40px;
	border-bottom: 1px solid #b9b2a2;
	fill: none;
	stroke: var(--blue-ink);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jf-sign__ink path {
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
}

.jf-sign__ink.is-drawn path {
	stroke-dashoffset: 0;
}

.jf-sign span {
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.jf-stamp {
	padding: 6px 12px;
	border: 3px solid var(--ok);
	border-radius: 6px;
	color: var(--ok);
	font: 700 17px/1 "Barlow Condensed", sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: rotate(-7deg);
	opacity: 0;
}

.jf-stamp.is-stamped {
	opacity: 0.92;
}

.jf-send {
	grid-area: send;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jf-send li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.jf-send svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jf-send li.is-on {
	border-color: var(--hi);
	background: var(--hi);
	color: var(--ink);
}

.jf-send li.is-pop {
	transform: scale(1.08);
}

.jf-legend {
	grid-area: legend;
	align-self: center;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12.5px;
	line-height: 1.9;
}

.jf-legend span {
	display: block;
	white-space: nowrap;
}

.jf-legend i {
	display: inline-block;
	width: 18px;
	height: 0;
	margin-right: 8px;
	vertical-align: middle;
}

.jf-legend__from {
	border-bottom: 3px solid var(--hi);
}

.jf-legend__typed {
	border-bottom: 2px dashed #fff;
}

/* The chip that carries a value from the project card to the form. */
.jf-token {
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--orange);
	color: #fff;
	font: 500 12px/1.4 "IBM Plex Mono", ui-monospace, monospace;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}

/* ---------- facts strip ---------- */

.jf-facts {
	border-bottom: 1px solid var(--line);
	background: var(--cream);
}

.jf-facts__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 28px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.jf-facts li {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.35;
}

.jf-facts b {
	display: block;
	color: var(--ink);
	font: 700 26px/1.1 "Barlow Condensed", sans-serif;
}

/* ---------- sections ---------- */

.jf-section {
	padding: 88px 0;
	scroll-margin-top: 80px;
}

.jf-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.jf-kicker {
	margin-bottom: 8px !important;
	color: var(--orange);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.jf .jf-head h2 {
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.05;
	color: var(--ink);
}

.jf-head p:not(.jf-kicker) {
	margin-top: 14px;
	color: var(--muted);
	font-size: 19px;
}

.jf-note {
	margin-top: 26px !important;
	color: var(--muted);
	font-size: 14px;
}

.jf-note--center {
	text-align: center;
}

/* ---------- deadline track ---------- */

.jf-clock {
	background: #fff;
}

.jf-track {
	position: relative;
}

.jf-track__rail {
	position: absolute;
	top: 13px;
	left: 0;
	right: 0;
	height: 6px;
	border-radius: 3px;
	background: #e6e1d5;
}

.jf-track__fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--orange), var(--amber));
	transform-origin: left center;
}

.jf-track__head {
	position: absolute;
	top: 50%;
	left: 100%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--orange);
	box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
	opacity: 0;
}

.jf-track__stops {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
}

.jf-track__stops li {
	position: relative;
	padding-top: 44px;
}

/* Milestone pin on the rail. */
.jf-track__stops li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 20px;
	height: 20px;
	border: 3px solid var(--orange);
	border-radius: 50%;
	background: var(--orange);
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.jf-when {
	color: var(--orange);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.jf-what {
	margin-top: 4px !important;
	font: 700 24px/1.1 "Barlow Condensed", sans-serif;
}

.jf-why {
	margin-top: 6px !important;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.45;
}

.jf-track__stops li > p {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

/* While the job runs along the rail, stops ahead of it wait in grey. */
.jf-js .jf-track.is-running .jf-track__stops li::before {
	background: #fff;
	border-color: #c9c2b2;
}

/* Upcoming stops change colour, not opacity: faded text failed contrast. */
.jf-js .jf-track.is-running .jf-track__stops li:not(.is-passed) .jf-when {
	color: #5f6673;
}

.jf-js .jf-track.is-running .jf-track__stops li:not(.is-passed) .jf-what {
	color: var(--muted);
}

.jf-js .jf-track.is-running .jf-track__stops li.is-passed::before {
	background: var(--orange);
	border-color: var(--orange);
	transform: scale(1.15);
}



.jf-js .jf-track.is-running .jf-track__head {
	opacity: 1;
}

/* ---------- forms ---------- */

.jf-forms {
	background: var(--cream);
	background-image:
		linear-gradient(rgba(43, 47, 58, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43, 47, 58, 0.04) 1px, transparent 1px);
	background-size: 24px 24px;
}

.jf-trays {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
}

.jf .jf-tray__name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--ink);
	font-size: 26px;
	line-height: 1.1;
}

.jf-tray__name span {
	color: var(--muted);
	font: 500 13px/1.2 Barlow, sans-serif;
}

.jf-tray li {
	position: relative;
	margin-bottom: 12px;
}

/* Each form is a link to a filled sample: a paper card with the form's first page as a thumbnail. */
.jf .jf-formcard {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px 14px 12px 12px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 1px 0 #e9e4d8, 0 10px 24px -18px rgba(31, 36, 48, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jf .jf-formcard:hover,
.jf .jf-formcard:focus-visible {
	color: var(--ink);
	border-color: #cfc6b2;
	transform: translateY(-3px) rotate(-0.4deg);
	box-shadow: 0 1px 0 #e9e4d8, 0 18px 30px -18px rgba(31, 36, 48, 0.55);
}

.jf-formcard__thumb {
	flex: 0 0 84px;
	width: 84px;
	height: 109px;
	border: 1px solid #d6cfbe;
	background: #fff;
	box-shadow: 3px 3px 0 -1px #e7e1d3, 0 6px 14px -8px rgba(31, 36, 48, 0.45);
	transition: transform 0.25s ease;
}

.jf-formcard:hover .jf-formcard__thumb,
.jf-formcard:focus-visible .jf-formcard__thumb {
	transform: rotate(-2deg) scale(1.04);
}

.jf-formcard__text {
	min-width: 0;
}

.jf-formcard__see {
	display: inline-block;
	margin-top: 8px;
	color: var(--orange);
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jf-formcard__see::after {
	content: " →";
}

.jf-code {
	display: inline-block;
	margin-bottom: 6px;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--ink);
	color: #fff;
	font: 700 13px/1.3 "Barlow Condensed", sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jf-tray b {
	display: block;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.jf-tray small {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.4;
}

.jf-more {
	margin-top: 18px !important;
	color: var(--muted);
	font-size: 15px;
}

/* Sheets are dealt onto the trays one after another. */
.jf-js .jf-tray li,
.jf-js .jf-steps > li,
.jf-js .jf-plan {
	opacity: 0;
	transform: translateY(26px) rotate(-1.5deg);
	transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.1), box-shadow 0.2s ease;
	transition-delay: calc(var(--i, 0) * 110ms);
}

.jf-js [data-jf-reveal].is-in .jf-tray li,
.jf-js [data-jf-reveal].is-in.jf-steps > li,
.jf-js [data-jf-reveal].is-in .jf-plan {
	opacity: 1;
	transform: none;
}

.jf-paused .jf-tray li,
.jf-paused .jf-steps > li,
.jf-paused .jf-plan {
	transition: none !important;
}

.jf-js [data-jf-reveal].is-in .jf-tray li .jf-formcard:hover {
	transform: translateY(-3px) rotate(-0.4deg);
	transition-delay: 0s;
}

/* ---------- how it works ---------- */

.jf-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	counter-reset: step;
}

.jf-steps li {
	position: relative;
}

.jf-steps__n {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--hi);
	font: 700 32px/1 "Barlow Condensed", sans-serif;
}

/* A dashed run between the numbers, like a layout line on site. */
.jf-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 27px;
	left: 72px;
	right: -20px;
	border-top: 2px dashed #c9c2b2;
}

.jf .jf-steps h3 {
	margin-bottom: 8px;
	font-size: 26px;
	line-height: 1.1;
}

.jf-steps p {
	color: var(--muted);
}

/* ---------- AI assistant ---------- */

.jf-ai {
	color: #fff;
	background: var(--navy-2);
	background-image:
		linear-gradient(rgba(148, 196, 235, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 196, 235, 0.06) 1px, transparent 1px);
	background-size: 24px 24px;
}

.jf-ai__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.jf-ai .jf-kicker {
	color: var(--hi);
}

.jf .jf-ai h2 {
	margin-bottom: 26px;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.05;
	color: #fff;
}

.jf-ticks li {
	position: relative;
	margin-bottom: 16px;
	padding-left: 32px;
	color: rgba(255, 255, 255, 0.84);
}

.jf-ticks li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 2px;
	width: 14px;
	height: 8px;
	border-left: 3px solid var(--hi);
	border-bottom: 3px solid var(--hi);
	transform: rotate(-45deg);
}

.jf-ticks b {
	color: #fff;
}

.jf-panel {
	padding: 0 0 6px;
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-size: 14px;
	box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}

.jf-panel__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 10px 10px 0 0;
	background: #f3f6fd;
}

.jf-panel__bar > span:first-child {
	color: var(--muted);
	line-height: 1.3;
}

.jf-panel__bar b {
	display: block;
	color: var(--ink);
}

.jf-panel__btn {
	flex: 0 0 auto;
	cursor: default;
	padding: 7px 12px;
	border: 1px solid #2563eb;
	border-radius: 6px;
	color: #2563eb;
	font-weight: 600;
	transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.jf-panel__btn.is-pressed {
	background: #2563eb;
	color: #fff;
	transform: scale(0.96);
}

.jf-panel__status {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	color: var(--muted);
}

.jf-panel__status.is-on {
	display: flex;
}

.jf-panel__status i {
	width: 16px;
	height: 16px;
	border: 2px solid #d9dee5;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: jf-spin 0.8s linear infinite;
}

@keyframes jf-spin {
	to {
		transform: rotate(360deg);
	}
}

.jf-panel__list {
	min-height: 300px;
	padding: 12px 14px 4px;
}

.jf-find {
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px solid #d9dee5;
	border-left: 4px solid var(--check);
	border-radius: 6px;
	color: var(--ink);
	line-height: 1.45;
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.1);
}

.jf-find p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px !important;
}

.jf-find em {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--check);
	color: #fff;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

.jf-find u {
	color: #2563eb;
	font-weight: 600;
	text-decoration: underline;
}

.jf-find--fix {
	border-left-color: var(--fix);
}

.jf-find--fix em {
	background: var(--fix);
}

.jf-js .jf-find {
	opacity: 0;
	transform: translateX(28px);
}

.jf-js .jf-find.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- pricing ---------- */

.jf-price {
	background: var(--cream);
}

.jf-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
	align-items: stretch;
}

.jf-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 26px 26px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
}

.jf-plan--best {
	border: 2px solid var(--orange);
	box-shadow: 0 24px 48px -30px rgba(194, 65, 12, 0.6);
}

.jf-plan__flag {
	position: absolute;
	top: -14px;
	left: 24px;
	padding: 4px 12px;
	border-radius: 4px;
	background: var(--orange);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jf .jf-plan h3 {
	font-size: 26px;
}

.jf-plan__price {
	margin-top: 8px !important;
	font: 700 52px/1 "Barlow Condensed", sans-serif;
}

.jf-plan__per {
	margin-top: 6px !important;
	color: var(--muted);
	font-size: 16px;
}

.jf-plan ul {
	flex: 1 0 auto;
	margin: 20px 0 24px !important;
}

.jf-plan li {
	position: relative;
	padding: 4px 0 4px 26px;
}

.jf-plan li::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 3px;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--ok);
	border-bottom: 2px solid var(--ok);
	transform: rotate(-45deg);
}

.jf-plan .jf-btn {
	width: 100%;
}

/* ---------- FAQ ---------- */

.jf-faq__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 48px;
	align-items: start;
}

.jf-faq details {
	border-bottom: 1px solid var(--line);
}

.jf-faq details:first-child {
	border-top: 1px solid var(--line);
}

.jf-faq summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-size: 19px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.jf-faq summary::-webkit-details-marker {
	display: none;
}

.jf-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 12px;
	height: 12px;
	margin-top: -8px;
	border-right: 3px solid var(--orange);
	border-bottom: 3px solid var(--orange);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.jf-faq details[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.jf-faq details p {
	max-width: 44em;
	padding: 0 0 20px;
	color: var(--muted);
}

/* ---------- closing band ---------- */

.jf-close {
	color: #fff;
	background-color: var(--navy);
	background-image:
		linear-gradient(rgba(148, 196, 235, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 196, 235, 0.07) 1px, transparent 1px);
	background-size: 24px 24px;
}

.jf-close__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding-top: 64px;
	padding-bottom: 64px;
}

.jf .jf-close h2 {
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.05;
	color: #fff;
}

.jf-close p {
	margin-top: 10px !important;
	color: rgba(255, 255, 255, 0.84);
	font-size: 19px;
}

.jf-close__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.jf .jf-close__phone {
	color: #fff;
	font-weight: 600;
}

.jf .jf-close__phone:hover {
	color: var(--hi);
}

/* ---------- pause control ---------- */

/* Bottom right: at laptop heights a bottom-left pill sat on the Start free
   button. It steps left while the site's own scroll-to-top button shows. */
.jf-pause {
	position: fixed;
	z-index: 50;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 9px 12px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(31, 36, 48, 0.92);
	color: #fff;
	font: 600 14px/1 Barlow, sans-serif;
	cursor: pointer;
	box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
}

.jf-pause[hidden] {
	display: none;
}

.jf-pause {
	transition: opacity 0.25s ease, transform 0.25s ease, right 0.25s ease, visibility 0s;
}

.jf-pause.is-shifted {
	right: 76px;
}

.jf-pause.is-away {
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.jf-pause:hover {
	background: var(--ink);
}

.jf-pause svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--hi);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jf-pause__play {
	display: none;
	fill: var(--hi) !important;
	stroke-width: 0 !important;
}

.jf-pause[aria-pressed="true"] .jf-pause__pause {
	display: none;
}

.jf-pause[aria-pressed="true"] .jf-pause__play {
	display: block;
}

/* Paused means everything holds still, CSS animations included. */
.jf-paused .jf *,
.jf-paused .jf *::before,
.jf-paused .jf *::after {
	animation-play-state: paused !important;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
	.jf-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		padding-top: 52px;
		padding-bottom: 60px;
	}

	.jf-demo {
		max-width: 640px;
	}

	.jf-track__stops {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 36px;
	}

	.jf-track__rail {
		display: none;
	}

	.jf-ai__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.jf-panel {
		max-width: 560px;
	}
}

@media (max-width: 860px) {
	.jf-facts__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 24px;
	}

	.jf-trays,
	.jf-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.jf-steps li:not(:last-child)::after {
		display: none;
	}

	.jf-faq__wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.jf-section {
		padding: 64px 0;
	}
}

@media (max-width: 640px) {
	.jf {
		font-size: 16px;
	}

	.jf .jf-wrap {
		padding-right: 16px;
		padding-left: 16px;
	}

	.jf-hero__grid {
		padding-top: 40px;
		padding-bottom: 48px;
	}

	.jf-hero__lede {
		font-size: 17px;
	}

	.jf-hero__ctas .jf-btn {
		flex: 1 1 100%;
	}

	.jf-demo__stage {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"project"
			"sheet"
			"send"
			"legend";
		gap: 14px;
	}

	.jf-project {
		margin-top: 0;
	}

	.jf-project__rows {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 6px;
	}

	.jf-sheet {
		padding: 0 14px 14px;
		margin-right: 12px;
	}

	.jf-sheet__tab {
		margin: 0 -14px 10px;
		padding: 9px 14px;
	}

	.jf-f b {
		font-size: 12.5px;
	}

	/* The rail turns vertical: one stop per row. */
	.jf-track__stops {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.jf-track__stops li {
		padding: 0 0 26px 40px;
	}

	.jf-track__stops li::before {
		top: 2px;
	}

	.jf-track__stops li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 26px;
		bottom: 0;
		left: 9px;
		border-left: 2px solid #e6e1d5;
	}

	.jf-what {
		font-size: 22px;
	}

	.jf-panel__bar {
		flex-wrap: wrap;
	}

	.jf-panel__list {
		min-height: 360px;
	}

	.jf-close__ctas .jf-btn {
		flex: 1 1 100%;
	}

	.jf-eyebrow {
		font-size: 12px;
		letter-spacing: 0.06em;
	}

	.jf-pause {
		right: 12px;
		bottom: 12px;
		padding: 8px 14px 8px 10px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jf-js .jf-wipe::after {
		animation: none;
	}

	.jf-js .jf-tray li,
	.jf-js .jf-steps > li,
	.jf-js .jf-plan {
		transition: none;
	}
}

/* ---------- form sample viewer ---------- */

.jf-sample {
	width: min(920px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	font: 400 17px/1.5 Barlow, "Helvetica Neue", Arial, sans-serif;
	overflow: hidden;
}

.jf-sample[open] {
	display: flex;
	flex-direction: column;
}

.jf-sample::backdrop {
	background: rgba(20, 24, 33, 0.72);
}

.jf-sample__head {
	position: relative;
	padding: 16px 64px 14px 22px;
	border-bottom: 3px solid var(--ink);
}

.jf-sample__code {
	margin: 0 0 2px;
	color: var(--orange);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jf-sample h3 {
	margin: 0;
	font: 700 26px/1.1 "Barlow Condensed", sans-serif;
	color: var(--ink);
}

.jf-sample__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.jf-sample__close:hover {
	background: var(--cream);
}

.jf-sample__close svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.4;
	stroke-linecap: round;
}

.jf-sample__body {
	flex: 1 1 auto;
	overflow: auto;
	padding: 14px 22px 18px;
	background: var(--cream);
}

.jf-sample__note {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 15px;
}

.jf-sample__body img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #d6cfbe;
	background: #fff;
	box-shadow: 0 10px 30px -18px rgba(31, 36, 48, 0.5);
}

.jf-sample__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	padding: 14px 22px;
	border-top: 1px solid var(--line);
}

.jf-sample__nav,
.jf-sample__go {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.jf .jf-sample__step {
	min-height: 44px;
	padding: 0 16px;
	font-size: 16px;
	background: #fff;
	cursor: pointer;
}

.jf .jf-sample__pdf {
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 640px) {
	.jf-formcard__thumb {
		flex-basis: 64px;
		width: 64px;
		height: 83px;
	}

	.jf-sample {
		width: calc(100vw - 16px);
		max-height: calc(100vh - 16px);
	}

	.jf-sample__head {
		padding: 12px 56px 10px 16px;
	}

	.jf-sample h3 {
		font-size: 22px;
	}

	.jf-sample__body,
	.jf-sample__foot {
		padding-left: 16px;
		padding-right: 16px;
	}

	.jf-sample__foot,
	.jf-sample__go {
		width: 100%;
	}

	.jf-sample__go .jf-btn {
		flex: 1 1 100%;
	}
}
