/* Brief form v2 (owner 2026-10-24, inc/sh-brief.php): the form in four numbered cards + the purple box on the right, in
   checkout v2's look (css/sh-checkout.css): 8px beige cards, white 46px fields with 6px corners, black button, purple
   gradient box. The theme styles every input, label and <span> in the form (style.css .submission__form ...), some with
   !important, so these rules carry the card classes and use !important where the theme does. */

/* the page: white, wide, heading like the checkout */
.submission.sh-bf-page { background: #fff; }
.submission.sh-bf-page .wrapper--submission { max-width: 1040px; padding: 0 16px 5em; box-sizing: border-box;
	overflow: visible; } /* the theme's overflow:hidden stops the purple box from staying in view (sticky) */
.submission.sh-bf-page .section-heading { padding: 2.5em 0 2em; text-align: center; }
.submission.sh-bf-page .section-heading__title { font-family: "Inter", Helvetica, Arial, sans-serif; letter-spacing: -.02em; }
.submission.sh-bf-page .section-heading__subtitle { max-width: 560px; margin: 0 auto; color: #4b5563; }
.sh-bf-page .sh-steps { padding: 0; margin-bottom: 24px; max-width: none; }
.sh-bf-page .submission__form { padding: 0; background: none; border-radius: 0; box-shadow: none; }
.sh-bf-page .submission__form [class*=uacf7-form-] { margin: 0; }

/* phones: form, then the purple box */
.sh-bf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; font-family: "Inter", Helvetica, Arial, sans-serif; }
.sh-bf-grid > * { min-width: 0; }

/* the cards */
.submission__form .sh-bf { flex: 0 0 100%; width: 100%; max-width: 100%; display: grid; gap: 16px; font-family: "Inter", Helvetica, Arial, sans-serif; }
.submission__form .sh-bf__card { background: #f4f3f0; border-radius: 8px; padding: 22px 18px 20px; box-sizing: border-box; scroll-margin-top: 16px; }
.submission__form .sh-bf__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.submission__form .sh-bf__head > div { min-width: 0; }
.submission__form [class*=uacf7-form-] span.sh-bf__num { display: inline-flex !important; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px;
	border-radius: 50%; background: #3318d8; color: #fff; font: 700 11px/1 "Inter", Helvetica, Arial, sans-serif; letter-spacing: .02em; }
.submission__form .sh-bf__title { margin: 2px 0 0; padding: 0; border: 0; font: 700 19px/1.3 "Inter", Helvetica, Arial, sans-serif; color: #111827; }
.submission__form .sh-bf__sub { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: #6b7280; }
.submission__form .sh-bf__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* one question: name, help line, field */
.submission__form [class*=uacf7-form-] .sh-bf label.sh-bf__q { display: block; flex: none !important; max-width: none !important; width: auto;
	margin: 0 !important; font-size: 13px !important; }
.submission__form [class*=uacf7-form-] .sh-bf span.sh-bf__label { display: flex !important; align-items: center; flex-wrap: wrap; gap: 4px 8px;
	font-size: 13px; font-weight: 600; line-height: 1.35; color: #111827; }
.submission__form [class*=uacf7-form-] .sh-bf span.sh-bf__opt { display: inline-block !important; padding: 2px 7px; border-radius: 999px; background: #e7e3fb;
	color: #3318d8; font-size: 10.5px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; }
.submission__form [class*=uacf7-form-] .sh-bf span.sh-bf__hint { margin-top: 3px; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: #6b7280; }
.submission__form [class*=uacf7-form-] .sh-bf span.wpcf7-form-control-wrap { margin-top: 8px; }
.submission__form .sh-bf input.wpcf7-form-control, .submission__form .sh-bf textarea.wpcf7-form-control { box-sizing: border-box; height: 46px; margin: 0;
	padding: 0 14px; border: 1px solid #e2e2e6; border-radius: 6px; background: #fff; color: #111827; font-size: 14px !important; line-height: 1.5;
	transition: border-color .15s, box-shadow .15s; }
.submission__form .sh-bf textarea.wpcf7-form-control { height: 150px; min-height: 96px; padding: 12px 14px; resize: vertical; }
.submission__form .sh-bf .wpcf7-form-control::placeholder { color: #9ca3af; opacity: 1; }
.submission__form .sh-bf .wpcf7-form-control:focus { outline: none; border-color: #3318d8; box-shadow: 0 0 0 3px rgba(51, 24, 216, .12); }
.submission__form .sh-bf .wpcf7-form-control.wpcf7-not-valid { border-color: #dc2626; }
.submission__form [class*=uacf7-form-] .sh-bf .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #dc2626; }
.submission__form .sh-bf input[readonly] { border-color: #ececef; }
/* renew: "Same as my last brief" at the top of card 2, no divider (it sits in its own card now) */
.submission__form [class*=uacf7-form-] .sh-bf .sh-same-as-last { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #e2e2e6; border-radius: 6px; background: #fff; }

/* the button + the line under it */
.sh-bf-page .submission__form [class*=uacf7-form-] .wpcf7-submit { height: auto; margin-top: 22px; padding: 18px 20px; border: 0; border-radius: 6px;
	background: #111014 !important; box-shadow: 0 10px 24px rgba(17, 16, 20, .22); font: 600 15.5px/1.2 "Inter", Helvetica, Arial, sans-serif !important;
	color: #fff; letter-spacing: 0; cursor: pointer; }
.sh-bf-page .submission__form [class*=uacf7-form-] .wpcf7-submit:hover { background: #2a2930 !important; }
.sh-bf-page .submission__form [class*=uacf7-form-] .wpcf7-submit:focus-visible { outline: 3px solid rgba(51, 24, 216, .3); outline-offset: 2px; }
.sh-bf-page .submission__form [class*=uacf7-form-] .wpcf7-submit:disabled { opacity: .6; cursor: default; }
.sh-bf-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; font-size: 12.5px; color: #6b7280; }
.sh-bf-secure::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7a4 4 0 018 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7a4 4 0 018 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* the purple box (same gradient, corners and shadow as the checkout's package box) */
.sh-bf-aside { color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 48px -16px rgba(51, 24, 216, .45);
	background: radial-gradient(120% 60% at 100% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%),
		linear-gradient(170deg, #4a30ee 0%, #3318d8 55%, #2610b4 100%); }
.sh-bf-aside > * { margin: 0; padding: 22px 18px; }
.sh-bf-aside > * + * { border-top: 1px solid rgba(255, 255, 255, .14); }
.sh-bf-aside__kicker { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.sh-bf-aside ol, .sh-bf-aside ul { margin: 0; padding: 0; list-style: none; }
.sh-bf-aside__nav a { display: flex; align-items: center; gap: 10px; margin: 0 -10px; padding: 7px 10px; border-radius: 6px; color: rgba(255, 255, 255, .88);
	font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color .15s, color .15s; }
.sh-bf-aside__nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sh-bf-aside__nav a:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
.sh-bf-aside__nav a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.sh-bf-aside__num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
	background: rgba(255, 255, 255, .2); font-size: 11px; font-weight: 700; transition: background-color .15s, color .15s; }
.sh-bf-aside__nav a.is-active .sh-bf-aside__num { background: #fff; color: #3318d8; }
.sh-bf-aside__opt { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.sh-bf-aside > .sh-bf-aside__next { background: rgba(0, 0, 0, .14); }
.sh-bf-aside strong { color: #fff; } /* the theme colours <strong> dark */
/* "After you submit" as a timeline: a dot per step on a thin line; the first step lit (owner 2026-10-24: premium) */
.sh-bf-aside__next .sh-bf-aside__kicker { margin-bottom: 16px; }
/* "After you submit" (owner 2026-10-24: premium, less text): a dot per step on a thin line, the step and when it starts on
   the left, the time big on the right; the first step lit */
.sh-bf-aside__line li { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
	padding: 0 0 20px 26px; }
.sh-bf-aside__line li:last-child { padding-bottom: 0; }
.sh-bf-aside__line li::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box;
	border: 1.5px solid rgba(255, 255, 255, .5); }
.sh-bf-aside__line li:first-child::before { border-color: #fff; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 0 12px rgba(255, 255, 255, .4); }
.sh-bf-aside__line li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 21px; bottom: 3px; width: 1px;
	background: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1)); }
.sh-bf-aside__step { display: flex; flex-direction: column; min-width: 0; }
.sh-bf-aside__line strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.sh-bf-aside__what { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .66); }
.sh-bf-aside__time { display: flex; flex-direction: column; align-items: flex-end; flex: none; text-align: right;
	font: 700 22px/1 "Inter", Helvetica, Arial, sans-serif; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.sh-bf-aside__time > span:first-child { font-weight: 700; } /* the theme sets <span> weights */
.sh-bf-aside__unit { margin-top: 4px; font: 700 9px/1.2 "Inter", Helvetica, Arial, sans-serif; letter-spacing: .12em;
	text-transform: uppercase; color: #c9c2ff; white-space: nowrap; }
.sh-bf-aside__promise { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.sh-bf-aside__promise::before { content: ""; width: 14px; height: 14px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (min-width: 640px) {
	.submission__form .sh-bf__card { padding: 26px 28px 28px; }
	.submission__form .sh-bf__fields--cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
	.sh-bf-aside > * { padding: 24px 28px; }
}

/* wide screens: form on the left, the purple box on the right, staying in view while scrolling */
@media (min-width: 960px) {
	.submission.sh-bf-page .section-heading { text-align: left; padding: 3em 0 2.25em; }
	.submission.sh-bf-page .section-heading__subtitle { margin: 0; }
	.sh-bf-grid { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 36px; align-items: start; }
	.sh-bf-aside { position: sticky; top: 24px; }
	.sh-bf-aside > * { padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.sh-bf-aside__nav a, .sh-bf-aside__num { transition: none; }
}
