/*
 * Layouts: page recipes for new sites. Loaded after style.css and the skin, only when the site has
 * business.json → brand.layout. The theme prints that recipe's body classes (sft_layout_classes) and
 * adds the hero photo as a real image. A site with no layout never loads this file.
 *
 * Axes (one class each):  hero: split | light            facts: line | band | photo   headings: side | center
 *                         text: cols                     features: rule | ledger      steps: row | grid | rail
 *                         cards: tiles | list            call strip: band | line      faq: rule      cta: band | deep
 */

/* ---------- Base: applies to every recipe ---------- */
.sf-v2 { --sf-text: 700px; --sf-pad: clamp(52px, 6.4vw, 88px); }
.sf-v2 ::selection { background: var(--sf-accent); color: var(--sf-accent-ink); }
.sf-v2 h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.022em; margin-bottom: 18px; }
.sf-v2 h2 { font-size: clamp(27px, 3.1vw, 40px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.sf-v2 .sf-hero .sf-eyebrow { display: none; }
.sf-v2 .sf-lead { font-size: clamp(17.5px, 1.5vw, 19.5px); line-height: 1.55; max-width: 34em; }

/* Sections share one left edge: headings, text and cards all start on the same line. */
.sf-v2 .sf-section { display: grid; grid-template-columns: minmax(0, var(--sf-maxw)); justify-content: center; padding-block: var(--sf-pad); }
.sf-v2 .sf-section > * { margin-inline: 0; max-width: none; min-width: 0; }
.sf-v2 .sf-section > :is(p, ul, ol, h2, h3, .wp-block-details, .sf-lead) { max-width: var(--sf-text); }
.sf-v2 .sf-section h2 + p { color: inherit; }

.sf-v2 .sf-split .sf-features > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.sf-v2 .sf-section .sf-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.sf-v2 .sf-content > .sf-jump { padding-inline: 0 !important; width: calc(100% - 40px); }

/* Photos beside text keep one shape, so a tall phone photo no longer runs down the page. */
.sf-v2 .wp-block-columns.sf-split { gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.sf-v2 .sf-split .sf-photo { margin: 0; }
.sf-v2 .sf-split .sf-photo img { aspect-ratio: 5 / 4; object-fit: cover; }
.sf-v2.sf-split-flip .wp-block-columns.sf-split { flex-direction: row-reverse; }

.sf-v2 .sf-section .sf-map { margin-top: 26px; }
.sf-v2 .sf-posts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* The open/close mark on questions is drawn, not typed. */
.sf-v2 .sf-faq summary::after { content: ""; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--sf-accent); background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.sf-v2 .sf-faq[open] summary::after { content: ""; transform: rotate(45deg); }

/* Card text stays even: two lines of description at most. */
.sf-v2 .sf-card__body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Headings beside the text (desktop) ---------- */
@media (min-width: 981px) {
	.sf-head-side .sf-section:not(:has(> .sf-split)) { grid-template-columns: minmax(0, 372px) minmax(0, 752px); column-gap: 56px; align-items: start; }
	.sf-head-side .sf-section:not(:has(> .sf-split)) > * { grid-column: 1 / -1; }
	.sf-head-side .sf-section:not(:has(> .sf-split)) > h2 { grid-column: 1; margin-bottom: 0; }
	.sf-head-side .sf-section:not(:has(> .sf-split)) > :is(p, ul, ol, h3, .wp-block-details, .wp-block-table, .sf-lead) { grid-column: 2; max-width: none; }
	.sf-head-side .sf-section > h2 + :is(.sf-cards, .sf-pills, .sf-posts, .sf-reviews, .sf-map, figure) { margin-top: 28px; }
	/* A list of questions keeps its heading in view while the answers scroll. */
	.sf-head-side .sf-section:has(> .sf-faq) > h2 { grid-row: 1 / span 40; position: sticky; top: 112px; }
	.sf-head-side .sf-section > .sf-faq:first-of-type { margin-top: 0; }
}

/* ---------- Headings centered ---------- */
.sf-head-center .sf-section:not(:has(> .sf-split)) > :is(h2, p, ul, ol, h3, .wp-block-details, .sf-lead) { justify-self: center; width: 100%; }
.sf-head-center .sf-section:not(:has(> .sf-split)) > h2 { text-align: center; margin-bottom: 26px; }

/* ---------- Text in two columns under a full-width heading (desktop) ---------- */
@media (min-width: 981px) {
	.sf-text-cols .sf-section:not(:has(> .sf-split)) { grid-template-columns: repeat(2, minmax(0, 562px)); column-gap: 56px; }
	.sf-text-cols .sf-section:not(:has(> .sf-split)) > * { grid-column: 1 / -1; }
	.sf-text-cols .sf-section:not(:has(> .sf-split)) > h2 { max-width: 19em; }
	.sf-text-cols .sf-section:not(:has(> .sf-split)) > p:not(.sf-more) { grid-column: auto; max-width: none; }
	.sf-text-cols .sf-section > details.sf-faq { max-width: none; }
	.sf-text-cols .sf-section > details.sf-faq > p { max-width: var(--sf-text); }
}

/* ---------- Hero photo (added by the theme when the page has one) ---------- */
.sf-hero__photo { position: relative; margin: 0; overflow: hidden; background: var(--sf-deep); }
.sf-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
	.sf-hero__photo { order: 2; height: clamp(180px, 46vw, 300px); border-radius: var(--sf-radius); }
	.sf-hero__text { order: 1; }
	.sf-hero__side { order: 3; }
}

/* ---------- Hero: split. Text on color, photo to the edge, quote bar across the bottom ---------- */
.sf-hero-split .sf-hero { position: relative; isolation: isolate; }
@media (min-width: 981px) {
	.sf-hero-split .sf-hero { padding-block: 0; }
	.sf-hero-split .sf-hero__photo { position: absolute; z-index: -1; inset: 0 0 0 calc(50% + 36px); }
	.sf-hero-split .sf-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: start; }
	.sf-hero-split .sf-hero__grid:not(:has(.sf-hero__photo)) { grid-template-columns: minmax(0, 1fr); }
	.sf-hero-split .sf-hero__text { padding: 68px 60px 64px 0; }
	.sf-hero-split .sf-hero__grid:not(:has(.sf-hero__photo)) .sf-hero__text { max-width: 760px; }
	.sf-hero-split .sf-hero:has(.sf-hero__side) { margin-bottom: 56px; }
	.sf-hero-split .sf-hero__side { grid-column: 1 / -1; margin-bottom: -56px; }
	.sf-hero-split .sf-hero__side .sf-form { display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 30px; align-items: center; padding: 20px 26px 18px; border-top: 0; box-shadow: 0 2px 4px rgba(10, 16, 28, .06), 0 26px 44px -22px rgba(10, 16, 28, .5); }
	.sf-hero-split .sf-hero__side .sf-form__title { margin: 0; font-size: 23px; line-height: 1.1; }
	.sf-hero-split .sf-hero__side form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: end; }
	.sf-hero-split .sf-hero__side .sf-form__grid { grid-template-columns: 1fr 1fr 1.3fr; }
	.sf-hero-split .sf-hero__side .sf-form__grid .sf-form__wide { grid-column: auto; }
	/* The optional message field waits on the contact page: a bar has room for the three that matter. */
	.sf-hero-split .sf-hero__side .sf-form__grid label:has(textarea) { display: none; }
	.sf-hero-split .sf-hero__side .sf-form__submit { width: auto; margin: 0; padding: 13px 28px; white-space: nowrap; }
	.sf-hero-split .sf-hero__side .sf-form__call { display: none; }
	.sf-hero-split .sf-hero__side .sf-form__note,
	.sf-hero-split .sf-hero__side .sf-form__err,
	.sf-hero-split .sf-hero__side .sf-form__ok { grid-column: 1 / -1; }
	.sf-hero-split .sf-hero__side .sf-form__note { margin-top: 8px; font-size: 12.5px; }
	/* Pages with no form keep the photo. */
	.sf-hero-split .sf-hero__grid.sf-hero__grid--single { max-width: var(--sf-maxw); text-align: left; }
	.sf-hero-split .sf-hero__grid--single .sf-lead { margin-inline: 0; }
	.sf-hero-split .sf-hero__grid--single .sf-actions { justify-content: flex-start; }
}

/* ---------- Hero: light. Dark text on paper, a slice of photo, the form as a block of brand color ---------- */
.sf-hero-light .sf-hero { background: var(--sf-paper); color: var(--sf-ink); padding-block: 52px 60px; }
.sf-hero-light .sf-hero h1 { color: var(--sf-ink); }
.sf-hero-light .sf-hero .sf-lead { color: color-mix(in srgb, var(--sf-ink) 78%, var(--sf-paper)); opacity: 1; }
.sf-hero-light .sf-hero .sf-checks li { color: var(--sf-ink); }
.sf-hero-light .sf-hero .sf-btn--ghost { color: var(--sf-ink); border-color: color-mix(in srgb, var(--sf-ink) 32%, transparent); }
.sf-hero-light .sf-hero .sf-btn--ghost:hover { background: color-mix(in srgb, var(--sf-ink) 6%, transparent); }
.sf-hero-light .sf-hero .sf-form { background: var(--sf-primary); color: var(--sf-primary-ink); border-top: 0; box-shadow: 0 2px 4px rgba(10, 16, 28, .08), 0 30px 46px -26px color-mix(in srgb, var(--sf-primary) 80%, #000); }
.sf-hero-light .sf-hero .sf-form__title { color: inherit; }
.sf-hero-light .sf-hero .sf-form label span,
.sf-hero-light .sf-hero .sf-form__note { color: color-mix(in srgb, var(--sf-primary-ink) 78%, var(--sf-primary)); }
.sf-hero-light .sf-hero .sf-form__note a,
.sf-hero-light .sf-hero .sf-form__call a { color: inherit; }
.sf-hero-light .sf-hero .sf-form input,
.sf-hero-light .sf-hero .sf-form select,
.sf-hero-light .sf-hero .sf-form textarea { border-color: transparent; }
.sf-hero-light .sf-hero .sf-form input:focus,
.sf-hero-light .sf-hero .sf-form select:focus,
.sf-hero-light .sf-hero .sf-form textarea:focus { border-color: var(--sf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 45%, transparent); }
.sf-hero-light .sf-hero__photo { border-radius: var(--sf-radius); background: var(--sf-soft); }
@media (min-width: 981px) {
	.sf-hero-light .sf-hero h1 { font-size: clamp(34px, 4vw, 50px); }
	.sf-hero-light .sf-hero__grid:has(.sf-hero__photo):not(.sf-hero__grid--single) { grid-template-columns: minmax(0, 1.22fr) minmax(0, .6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
	.sf-hero-light .sf-hero__photo { grid-column: 2; grid-row: 1; min-height: 420px; }
	.sf-hero-light .sf-hero__text { grid-column: 1; grid-row: 1; align-self: center; }
	.sf-hero-light .sf-hero__grid:has(.sf-hero__photo) .sf-hero__side { grid-column: 3; grid-row: 1; align-self: center; }
	/* A page with no form: text beside a wider photo. */
	.sf-hero-light .sf-hero__grid--single:has(.sf-hero__photo) { max-width: var(--sf-maxw); text-align: left; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
	.sf-hero-light .sf-hero__grid--single:has(.sf-hero__photo) .sf-hero__photo { min-height: 300px; }
	.sf-hero-light .sf-hero__grid--single:has(.sf-hero__photo) .sf-lead { margin-inline: 0; }
	.sf-hero-light .sf-hero__grid--single:has(.sf-hero__photo) .sf-actions { justify-content: flex-start; }
}

/* ---------- Facts strip ---------- */
.sf-facts-line .sf-trust { background: none; border: 0; border-bottom: 1px solid var(--sf-line); border-radius: 0; box-shadow: none; justify-content: space-between; margin-top: 0; padding: 22px 0; }
.sf-facts-line .sf-trust__item .sf-i { color: var(--sf-accent); }
.sf-facts-band .sf-trust { max-width: none; width: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--sf-deep); padding: 0 20px; gap: 0; }
.sf-facts-band .sf-trust__item { color: #fff; padding: 18px 30px; }
.sf-facts-band .sf-trust__item + .sf-trust__item { border-left: 1px solid rgba(255, 255, 255, .16); }
.sf-facts-band .sf-trust__item .sf-i { color: color-mix(in srgb, var(--sf-accent) 70%, #fff); }
/* Photo: the facts sit on a wide photo that overlaps the hero. Without a photo the strip stays as it was. */
.sf-facts-photo .sf-trust--photo { isolation: isolate; min-height: clamp(220px, 30vw, 380px); margin-top: -34px; padding: 0 12px 6px; border: 0; align-items: flex-end; align-content: flex-end; justify-content: flex-start; gap: 0; overflow: hidden; background: var(--sf-deep); box-shadow: 0 2px 4px rgba(10, 16, 28, .08), 0 30px 50px -28px rgba(10, 16, 28, .55); }
.sf-facts-photo .sf-trust__img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.sf-facts-photo .sf-trust--photo::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(8, 10, 14, .82)); }
.sf-facts-photo .sf-trust--photo .sf-trust__item { color: #fff; padding: 16px 20px; font-size: 16px; }
.sf-facts-photo .sf-trust--photo .sf-trust__item + .sf-trust__item { border-left: 1px solid rgba(255, 255, 255, .22); }
.sf-facts-photo .sf-trust--photo .sf-trust__item .sf-i { color: color-mix(in srgb, var(--sf-accent) 62%, #fff); }
.sf-facts-photo .sf-hero:has(+ .sf-trust--photo) { padding-bottom: 76px; }
@media (max-width: 640px) {
	/* On a phone the facts sit under the photo, not on it: four lines of text would cover the picture. */
	.sf-facts-photo .sf-trust--photo { display: grid; grid-template-columns: 1fr 1fr; align-items: start; align-content: start; min-height: 0; padding: 0 12px 12px; }
	.sf-facts-photo .sf-trust--photo::before { display: none; }
	.sf-facts-photo .sf-trust__img { position: static; z-index: auto; grid-column: 1 / -1; width: calc(100% + 24px); max-width: none; height: 190px; margin: 0 -12px 10px; }
	.sf-facts-photo .sf-trust--photo .sf-trust__item { padding: 6px 4px; font-size: 14.5px; align-items: flex-start; }
	.sf-facts-photo .sf-trust--photo .sf-trust__item + .sf-trust__item { border-left: 0; }
	.sf-facts-band .sf-trust { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 18px; }
	.sf-facts-band .sf-trust__item { padding: 10px 0; align-items: flex-start; }
	.sf-facts-band .sf-trust__item + .sf-trust__item { border-left: 0; }
}

/* ---------- Feature points ---------- */
.sf-feat-rule .sf-features { gap: 30px 36px; }
.sf-feat-rule .sf-features > .wp-block-group,
.sf-feat-rule .sf-feature { background: none; border: 0; border-top: 2px solid var(--sf-ink); border-radius: 0; padding: 16px 0 0; box-shadow: none; }
.sf-feat-rule .sf-features h3 { font-size: 19px; margin-bottom: 6px; }
.sf-feat-ledger .sf-features { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--sf-line); }
.sf-feat-ledger .sf-features > .wp-block-group,
.sf-feat-ledger .sf-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 6px 24px; align-items: baseline; background: none; border: 0; border-top: 1px solid var(--sf-line); border-radius: 0; padding: 18px 0; box-shadow: none; }
.sf-feat-ledger .sf-features h3 { margin: 0; font-size: 18.5px; }
@media (max-width: 640px) {
	.sf-feat-ledger .sf-features > .wp-block-group, .sf-feat-ledger .sf-feature { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Steps ---------- */
/* Row: the steps run left to right on a dark band, joined by one line. */
.sf-steps-row .sf-section:has(> ol.sf-steps) { background: var(--sf-deep); color: rgba(255, 255, 255, .86); border: 0; }
.sf-steps-row .sf-section:has(> ol.sf-steps) > h2 { color: #fff; }
.sf-steps-row .sf-section:has(> ol.sf-steps) > h2 + p { color: inherit; }
.sf-steps-row .sf-section:not(:has(> .sf-split)) > ol.sf-steps.sf-steps { grid-column: 1 / -1; max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 32px; margin: 26px 0 0; }
.sf-steps-row ol.sf-steps li { background: none; border: 0; border-radius: 0; padding: 60px 0 0; box-shadow: none; }
.sf-steps-row ol.sf-steps li::before { left: 0; top: 0; width: 40px; height: 40px; font-size: 17px; font-family: var(--sf-font-h); }
.sf-steps-row .sf-section:has(> ol.sf-steps) ol.sf-steps li strong { color: #fff; }
@media (min-width: 981px) {
	.sf-steps-row ol.sf-steps li::after { content: ""; position: absolute; top: 19px; left: 52px; right: -20px; height: 2px; background: currentColor; opacity: .28; }
	.sf-steps-row ol.sf-steps li:last-child::after { display: none; }
}
@media (max-width: 640px) {
	.sf-steps-row ol.sf-steps li { padding: 4px 0 0 56px; }
}
/* Grid: ruled steps side by side, each with a large numeral. */
.sf-steps-grid .sf-section > ol.sf-steps.sf-steps { grid-column: 1 / -1; max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 56px; border-bottom: 1px solid var(--sf-line); }
.sf-steps-grid ol.sf-steps:has(> :nth-child(3):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sf-steps-grid ol.sf-steps li { background: none; border: 0; border-top: 1px solid var(--sf-line); border-radius: 0; padding: 24px 0 24px 62px; box-shadow: none; }
.sf-steps-grid ol.sf-steps li::before { left: 0; top: 22px; width: 44px; height: 44px; background: none; box-shadow: none; border: 0; color: var(--sf-ink); font: 800 38px/1 var(--sf-font-h); place-items: start; }
/* Rail: the steps run down one line. */
.sf-steps-rail ol.sf-steps { gap: 0; }
.sf-steps-rail ol.sf-steps li { background: none; border: 0; border-radius: 0; padding: 4px 0 26px 58px; box-shadow: none; }
.sf-steps-rail ol.sf-steps li::before { left: 0; top: 0; width: 36px; height: 36px; background: var(--sf-paper); color: var(--sf-ink); box-shadow: inset 0 0 0 2px var(--sf-ink); font-family: var(--sf-font-h); }
.sf-steps-rail .sf-section--white ol.sf-steps li::before { background: #fff; }
.sf-steps-rail ol.sf-steps li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--sf-line); }
.sf-steps-rail ol.sf-steps li:last-child { padding-bottom: 0; }
.sf-steps-rail ol.sf-steps li:last-child::after { display: none; }

/* ---------- Link cards ---------- */
/* Tiles: the first six are large, the rest become a compact directory. */
@media (min-width: 981px) {
	.sf-cards-tiles .sf-section .sf-cards { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
	.sf-cards-tiles .sf-section .sf-card { grid-column: span 4; position: relative; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 24px 22px; }
	.sf-cards-tiles .sf-section .sf-card__body { gap: 6px; }
	.sf-cards-tiles .sf-section .sf-card__body strong { font-size: 20px; }
	.sf-cards-tiles .sf-section .sf-card__body span { font-size: 15.5px; }
	.sf-cards-tiles .sf-section .sf-card__go { position: absolute; top: 34px; right: 22px; margin: 0; }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7) { grid-column: span 3; flex-direction: row; align-items: center; gap: 10px; padding: 14px 2px; background: none; border: 0; border-bottom: 1px solid var(--sf-line); border-radius: 0; box-shadow: none; transform: none; }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7) .sf-card__icon,
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7) .sf-card__body span { display: none; }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7) .sf-card__body strong { font-size: 16px; font-weight: 600; }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7) .sf-card__go { position: static; margin-left: auto; width: 18px; height: 18px; }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7):hover { color: var(--sf-primary); border-bottom-color: var(--sf-accent); }
	.sf-cards-tiles .sf-section .sf-card:nth-child(n+7):nth-child(-n+10) { margin-top: 14px; }
}
/* List: no boxes, three columns of ruled links. */
.sf-cards-list .sf-section .sf-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 40px; border-top: 2px solid var(--sf-ink); }
.sf-cards-list .sf-section .sf-card { background: none; border: 0; border-bottom: 1px solid var(--sf-line); border-radius: 0; padding: 15px 2px; gap: 12px; box-shadow: none; transform: none; }
.sf-cards-list .sf-section .sf-card__icon { width: auto; height: auto; background: none; border-radius: 0; color: var(--sf-accent); }
.sf-cards-list .sf-section .sf-card__icon .sf-i { width: 22px; height: 22px; }
.sf-cards-list .sf-section .sf-card__body strong { font-size: 17px; font-weight: 600; }
.sf-cards-list .sf-section .sf-card__go { width: 18px; height: 18px; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.sf-cards-list .sf-section .sf-card:hover { color: var(--sf-primary); }
.sf-cards-list .sf-section .sf-card:hover .sf-card__go { transform: translateX(4px); }
/* A long list drops the descriptions: the names are what people scan. */
.sf-cards-list .sf-section .sf-cards:has(> :nth-child(9)) .sf-card__body span { display: none; }

/* ---------- Call strip ---------- */
.sf-v2 .sf-content > .sf-callstrip { font-family: var(--sf-font-h); font-size: 20px; }
.sf-call-band .sf-content > .sf-callstrip { max-width: none !important; background: var(--sf-primary); color: var(--sf-primary-ink); padding: 22px 20px; gap: 12px 22px; }
.sf-call-line .sf-content > .sf-callstrip { max-width: var(--sf-maxw) !important; width: calc(100% - 40px); padding: 20px 0 !important; background: none; border-block: 1px solid var(--sf-line); justify-content: space-between; }

/* ---------- Questions ---------- */
.sf-faq-rule .sf-section details.sf-faq { background: none; border: 0; border-bottom: 1px solid var(--sf-line); border-radius: 0; margin: 0; }
.sf-faq-rule .sf-section details.sf-faq:first-of-type { border-top: 2px solid var(--sf-ink); }
.sf-faq-rule .sf-faq summary { padding: 20px 44px 20px 0; font-size: 18.5px; }
.sf-faq-rule .sf-faq summary::after { right: 6px; }
.sf-faq-rule .sf-faq > :not(summary) { padding-inline: 0 40px; }

/* ---------- Closing call to action ---------- */
.sf-cta-band .sf-content > .sf-cta { max-width: none; width: auto; margin: 0; border-radius: 0; padding: clamp(40px, 5vw, 64px) max(20px, calc((100% - var(--sf-maxw)) / 2)); }
.sf-cta-band .sf-content > .sf-cta h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 8px; }
.sf-cta-band .sf-content > .sf-cta p { font-size: 18px; opacity: .9; }
.sf-cta-band main:has(> .sf-content > .sf-cta:last-child) + .sf-footer { margin-top: 0; }
.sf-cta-band .sf-content:has(> .sf-cta:last-child) { padding-bottom: 0; }
.sf-cta-deep .sf-cta { background: var(--sf-deep); color: #fff; padding: clamp(30px, 4vw, 48px); }
.sf-cta-deep .sf-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.sf-cta-deep .sf-cta .sf-btn--light { background: var(--sf-accent); color: var(--sf-accent-ink); }
.sf-cta-deep .sf-cta .sf-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }

@media (max-width: 640px) {
	.sf-v2 .sf-split .sf-photo img { aspect-ratio: 3 / 2; }
	.sf-facts-line .sf-trust { justify-content: flex-start; }
	.sf-call-line .sf-content > .sf-callstrip { justify-content: center; width: calc(100% - 36px); }
}
