/* ==========================================================================
   TFE Facilitator Application — front end
   Tokens follow the live Elementor kit (see design handoff v2).
   ========================================================================== */

.tfa {
	--tfa-white: #FFFFFF;
	--tfa-beige: #FCFAEB;
	--tfa-peach: #FFBC7D;
	--tfa-black: #000000;
	--tfa-grey: #484848;
	--tfa-line: #D9D9D9;
	--tfa-red: #AB1A17;
	--tfa-red-dark: #8F1512;
	--tfa-orange: #FF7231;
	--tfa-placeholder: #999999;
	--tfa-err-bg: #F9E9E8;
	--tfa-err-line: #E0B3B1;
	--tfa-err-text: #8E1512;
	--tfa-display: "din-1451-lt-pro-engschrift", "Barlow Condensed", "Arial Narrow", sans-serif;
	--tfa-body: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;

	font-family: var(--tfa-body);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
	color: var(--tfa-black);
	-webkit-font-smoothing: antialiased;
}
.tfa *, .tfa *::before, .tfa *::after { box-sizing: border-box; }
.tfa [hidden] { display: none !important; }
.tfa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Hero ---------------------------------------------------------------- */
.tfa__hero { padding: 40px 0 44px; }
.tfa__title {
	font-family: var(--tfa-display); text-transform: uppercase; color: var(--tfa-orange);
	font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: .01em;
	margin: 0 0 18px; max-width: 1000px; font-weight: 500;
}
.tfa__subline {
	font-family: var(--tfa-display); text-transform: uppercase; color: var(--tfa-black);
	font-size: clamp(24px, 3vw, 34px); line-height: 1.1; margin: 0 0 22px; font-weight: 500;
}
.tfa__lead { font-size: 20px; line-height: 1.6; color: var(--tfa-grey); max-width: 760px; margin: 0; }

/* --- Intro strip --------------------------------------------------------- */
.tfa__intro { background: var(--tfa-beige); padding: 56px 40px; }
.tfa__intro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; max-width: 1280px; margin: 0 auto; }
.tfa__rule { display: block; width: 44px; height: 4px; background: var(--tfa-peach); margin-bottom: 18px; }
.tfa__intro-title { font-family: var(--tfa-display); text-transform: uppercase; font-size: 32px; line-height: 1; margin: 0 0 12px; color: var(--tfa-black); font-weight: 500; }
.tfa__intro p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--tfa-grey); }

/* --- Form column --------------------------------------------------------- */
.tfa__wrap { max-width: 720px; margin: 0 auto; padding: 64px 0 80px; position: relative; }

.tfa__bar { margin-bottom: 40px; }
.tfa__bar-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.tfa__step-label { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tfa-black); }
.tfa__progress { height: 4px; background: var(--tfa-line); border-radius: 2px; overflow: hidden; }
.tfa__progress-fill { display: block; height: 100%; background: var(--tfa-red); border-radius: 2px; transition: width .4s ease; }

.tfa__restore {
	display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
	background: var(--tfa-beige); border: 1px solid var(--tfa-line); border-radius: 8px;
	padding: 12px 18px; font-size: 15px; color: var(--tfa-grey); margin-bottom: 24px;
}

.tfa__banner {
	display: flex; gap: 14px; align-items: flex-start;
	background: var(--tfa-err-bg); border: 1px solid var(--tfa-err-line); border-radius: 8px;
	padding: 18px 20px; color: var(--tfa-err-text); margin-bottom: 28px;
}
.tfa__banner svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.tfa__banner-title { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; margin-bottom: 2px; }
.tfa__banner-text { display: block; font-size: 17px; line-height: 1.5; }

.tfa__h2 { font-family: var(--tfa-display); text-transform: uppercase; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: .01em; margin: 0 0 10px; color: var(--tfa-black); font-weight: 500; }
.tfa__h2:focus { outline: none; }
.tfa__help { font-size: 19px; line-height: 1.55; color: var(--tfa-grey); margin: 0 0 36px; }

/* --- Fields -------------------------------------------------------------- */
.tfa-field { margin: 0 0 28px; min-width: 0; position: relative; }
.tfa-field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tfa-label, .tfa-legend {
	display: block; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	margin: 0 0 10px; padding: 0; color: var(--tfa-black); line-height: 1.4;
}
.tfa-req { color: var(--tfa-red); margin-left: 2px; }
.tfa-help { font-size: 16px; line-height: 1.5; color: var(--tfa-grey); margin: 8px 0 0; }
.tfa-help--above { margin: -4px 0 12px; }
.tfa-eyebrow { display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tfa-black); }

.tfa input.tfa-input, .tfa textarea.tfa-textarea, .tfa .tfa-select select {
	display: block; width: 100%; margin: 0; min-height: 52px;
	font-family: inherit; font-weight: 300; font-size: 18px; line-height: 1.5; color: var(--tfa-black);
	background: var(--tfa-white); border: 1px solid var(--tfa-line); border-radius: 7px; padding: 13px 16px;
	box-shadow: none; transition: border-color .15s; appearance: none; -webkit-appearance: none;
}
.tfa input.tfa-input:focus, .tfa textarea.tfa-textarea:focus, .tfa .tfa-select select:focus { outline: none; border-color: var(--tfa-red); }
.tfa input.tfa-input::placeholder, .tfa textarea.tfa-textarea::placeholder { color: var(--tfa-placeholder); opacity: 1; }
.tfa input.tfa-input:disabled { background: #F5F5F5; color: var(--tfa-grey); cursor: not-allowed; }
.tfa input.tfa-input[type=number] { -moz-appearance: textfield; }
.tfa textarea.tfa-textarea { min-height: 140px; resize: vertical; }

.tfa-select { position: relative; }
.tfa-select::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 12px; height: 8px; margin-top: -4px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23484848' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tfa .tfa-select select { padding-right: 44px; cursor: pointer; }
.tfa .tfa-select select:has(option[value=""]:checked) { color: var(--tfa-placeholder); }

.tfa-counter { font-size: 14px; color: var(--tfa-grey); text-align: right; margin: 6px 0 0; }
.tfa-counter.is-over { color: var(--tfa-red); }

.tfa .tfa-field.is-invalid > input.tfa-input, .tfa .tfa-field.is-invalid > textarea.tfa-textarea, .tfa .tfa-field.is-invalid > .tfa-select select,
.tfa .tfa-field.is-invalid > .tfa-row > input.tfa-input { border-color: var(--tfa-red); }
.tfa-error { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--tfa-red); margin: 8px 0 0; }
.tfa-error::before {
	content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AB1A17' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.2h.01'/%3E%3C/svg%3E") no-repeat center / contain;
}

.tfa-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 28px; }
.tfa-row > .tfa-field { margin: 0; }
.tfa-row--narrow { grid-template-columns: 200px 200px; }
.tfa-row--participants { grid-template-columns: 160px auto; align-items: center; margin: 0; }

/* --- Option cards -------------------------------------------------------- */
.tfa-cards { display: grid; gap: 12px; }
.tfa-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tfa-card {
	position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 44px;
	padding: 18px 20px; border: 1px solid var(--tfa-line); border-radius: 8px; background: var(--tfa-white);
	cursor: pointer; margin: 0; transition: border-color .15s, background .15s;
}
.tfa-card:hover { border-color: var(--tfa-red); }
.tfa-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tfa-card.is-checked, .tfa-card:has(input:checked) { border-color: var(--tfa-red); background: var(--tfa-beige); }
.tfa-card:has(input:focus-visible) { outline: 2px solid var(--tfa-red); outline-offset: 2px; }
.tfa-card__mark { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tfa-line); background: var(--tfa-white); margin-top: 4px; }
.tfa-card.is-checked .tfa-card__mark, .tfa-card:has(input:checked) .tfa-card__mark { border-color: var(--tfa-red); background: var(--tfa-red); box-shadow: inset 0 0 0 3px var(--tfa-white); }
.tfa-card__body { min-width: 0; }
.tfa-card__title { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.tfa-card__desc { display: block; font-size: 16px; line-height: 1.45; color: var(--tfa-grey); margin-top: 2px; }
.tfa-card--stack .tfa-card__title { display: flex; align-items: center; gap: 10px; }
.tfa-chillies { display: inline-flex; gap: 3px; }
.tfa-chilli { width: 11px; height: 14px; fill: var(--tfa-line); }
.tfa-card.is-checked .tfa-chilli--on, .tfa-card:has(input:checked) .tfa-chilli--on { fill: var(--tfa-red); }

/* --- Chips --------------------------------------------------------------- */
.tfa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tfa-chip {
	position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0;
	padding: 6px 20px; border: 1px solid var(--tfa-line); border-radius: 8px; background: var(--tfa-white);
	cursor: pointer; font-size: 17px; font-weight: 400; line-height: 1.3; color: var(--tfa-black);
	transition: border-color .15s, background .15s;
}
.tfa-chip:hover { border-color: var(--tfa-red); }
.tfa-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tfa-chip.is-checked, .tfa-chip:has(input:checked) { border-color: var(--tfa-red); background: var(--tfa-beige); }
.tfa-chip.is-checked::before, .tfa-chip:has(input:checked)::before {
	content: ""; width: 14px; height: 14px; flex: 0 0 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AB1A17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tfa-chip:has(input:focus-visible) { outline: 2px solid var(--tfa-red); outline-offset: 2px; }

/* --- Toggle cards -------------------------------------------------------- */
.tfa-toggle {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0;
	padding: 18px 20px; border: 1px solid var(--tfa-line); border-radius: 8px; background: var(--tfa-white);
	cursor: pointer; transition: border-color .15s, background .15s;
}
.tfa-toggle:hover { border-color: var(--tfa-red); }
.tfa-toggle.is-checked, .tfa-toggle:has(input:checked) { border-color: var(--tfa-red); background: var(--tfa-beige); }
.tfa-toggle__text { min-width: 0; }
.tfa-toggle__title { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.tfa-toggle__desc { display: block; font-size: 16px; line-height: 1.45; color: var(--tfa-grey); margin-top: 2px; }
.tfa-toggle__control { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tfa-toggle__state { font-size: 15px; font-weight: 600; color: var(--tfa-grey); min-width: 30px; text-align: right; }
.tfa-switch { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tfa-switch__track { position: relative; display: block; width: 52px; height: 30px; border-radius: 15px; background: var(--tfa-line); transition: background .15s; }
.tfa-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--tfa-white); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.tfa-switch:checked + .tfa-switch__track { background: var(--tfa-red); }
.tfa-switch:checked + .tfa-switch__track::after { transform: translateX(22px); }
.tfa-switch:focus-visible + .tfa-switch__track { outline: 2px solid var(--tfa-red); outline-offset: 2px; }

.tfa-reveal { margin-top: 16px; padding-left: 20px; border-left: 2px solid var(--tfa-peach); }
.tfa-reveal > .tfa-row { margin-bottom: 0; }
.tfa-reveal > .tfa-field { margin-bottom: 0; }

/* --- Checkbox cards ------------------------------------------------------ */
.tfa-check {
	position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 0;
	padding: 18px 20px; border: 1px solid var(--tfa-line); border-radius: 8px; background: var(--tfa-white);
	cursor: pointer; font-size: 17px; line-height: 1.5; transition: border-color .15s, background .15s;
}
.tfa-check:hover { border-color: var(--tfa-red); }
.tfa-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tfa-check__box { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid var(--tfa-line); border-radius: 4px; background: var(--tfa-white); margin-top: 2px; }
.tfa-check.is-checked, .tfa-check:has(input:checked) { border-color: var(--tfa-red); background: var(--tfa-beige); }
.tfa-check.is-checked .tfa-check__box, .tfa-check:has(input:checked) .tfa-check__box { background: var(--tfa-red); border-color: var(--tfa-red); }
.tfa-check.is-checked .tfa-check__box::after, .tfa-check:has(input:checked) .tfa-check__box::after {
	content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
	border: solid var(--tfa-white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.tfa-check:has(input:focus-visible) { outline: 2px solid var(--tfa-red); outline-offset: 2px; }
.tfa-check a { color: var(--tfa-red); text-decoration: underline; text-underline-offset: 3px; }
.tfa-field.is-invalid > .tfa-check { border-color: var(--tfa-red); }

/* --- Repeaters ----------------------------------------------------------- */
.tfa-row-card { border: 1px solid var(--tfa-line); border-radius: 8px; padding: 18px 20px; margin: 0 0 12px; }
.tfa-row-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.tfa-grid--event { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: 16px; }
.tfa-grid--event .tfa-field { margin: 0; }

.tfa .tfa-add {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px;
	border: 1px dashed var(--tfa-red); border-radius: 8px; background: transparent; color: var(--tfa-red);
	font-family: inherit; font-weight: 600; font-size: 17px; letter-spacing: .02em; cursor: pointer; padding: 12px 20px;
	transition: background .15s;
}
.tfa .tfa-add:hover { background: var(--tfa-beige); }
.tfa .tfa-add:focus-visible { outline: 2px solid var(--tfa-red); outline-offset: 2px; }
.tfa .tfa-add--sm { min-height: 52px; font-size: 16px; }

/* --- Callouts ------------------------------------------------------------ */
.tfa-callout {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--tfa-beige); border: 1px solid var(--tfa-red); border-radius: 8px;
	padding: 22px 24px; margin: 0 0 32px;
}
.tfa-callout--soft { border: 1px solid var(--tfa-line); margin: 32px 0 0; }
/* A soft callout is usually the last thing in a step; when it introduces a field, it needs the normal field gap under it. */
.tfa-callout--soft + .tfa-field { margin-top: 28px; }
.tfa-callout > svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 4px; stroke: var(--tfa-red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfa-callout__title { font-family: var(--tfa-display); text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 8px; color: var(--tfa-black); font-weight: 500; }
.tfa-callout--soft .tfa-callout__title { font-size: 26px; }
.tfa-callout p:not(.tfa-callout__title) { margin: 0; font-size: 17px; line-height: 1.55; color: var(--tfa-grey); }

/* --- Session cards ------------------------------------------------------- */
.tfa__proposals-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.tfa__count { font-size: 14px; color: var(--tfa-grey); }
.tfa-sessions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.tfa-session { border: 1px solid var(--tfa-line); border-radius: 10px; background: var(--tfa-white); overflow: hidden; }
.tfa-session.is-open { border-color: var(--tfa-red); }
.tfa-session__head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; }
.tfa-session.is-open .tfa-session__head { background: var(--tfa-beige); border-bottom: 1px solid var(--tfa-red); }
.tfa-session__num {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--tfa-line);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--tfa-black);
}
.tfa-session.is-open .tfa-session__num { background: var(--tfa-red); border-color: var(--tfa-red); color: var(--tfa-white); }
.tfa-session__text { flex: 1; min-width: 0; }
.tfa-session__name { display: block; font-family: var(--tfa-display); text-transform: uppercase; font-size: 30px; line-height: 1; color: var(--tfa-black); font-weight: 500; overflow-wrap: anywhere; }
.tfa-session__meta { display: block; font-size: 16px; color: var(--tfa-grey); margin-top: 4px; }
.tfa-session__actions { display: flex; gap: 18px; align-items: center; flex: 0 0 auto; }
.tfa .tfa-session__toggle { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.tfa-session__body { padding: 28px 24px; }
.tfa-session__body > .tfa-field:last-child { margin-bottom: 0; }
.tfa-chevron { width: 16px; height: 16px; stroke: var(--tfa-grey); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.tfa-session.is-open .tfa-chevron { transform: rotate(180deg); }

.tfa .tfa-link {
	background: none; border: 0; padding: 0; margin: 0; font-family: inherit; font-size: 14px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--tfa-red); text-decoration: underline;
	text-underline-offset: 3px; cursor: pointer; line-height: 1.4; white-space: nowrap;
}
.tfa .tfa-link:hover { color: var(--tfa-orange); }
.tfa .tfa-link:focus-visible { outline: 2px solid var(--tfa-red); outline-offset: 2px; }

/* --- Summary ------------------------------------------------------------- */
.tfa-summary { border: 1px solid var(--tfa-line); border-radius: 10px; overflow: hidden; margin: 0 0 8px; }
.tfa-summary__top { display: flex; justify-content: space-between; gap: 16px; background: var(--tfa-beige); padding: 16px 24px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tfa-summary__top span:last-child { color: var(--tfa-grey); }
.tfa-summary__group { padding: 22px 24px; border-top: 1px solid var(--tfa-line); }
.tfa-summary__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.tfa-summary__title { font-family: var(--tfa-display); text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0; color: var(--tfa-black); font-weight: 500; }
.tfa-summary__rows { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 17px; }
.tfa-summary__rows dt { color: var(--tfa-grey); font-size: 15px; padding-top: 2px; }
.tfa-summary__rows dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.tfa-summary__sessions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tfa-summary__session { display: flex; gap: 14px; align-items: flex-start; background: var(--tfa-beige); border-radius: 8px; padding: 12px 16px; }
.tfa-summary__idx { color: var(--tfa-red); font-weight: 600; font-size: 14px; letter-spacing: .06em; padding-top: 3px; }
.tfa-summary__session strong { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.tfa-summary__meta { display: block; font-size: 15px; color: var(--tfa-grey); margin-top: 2px; }

/* --- Terms --------------------------------------------------------------- */
.tfa-terms { margin: 40px 0 28px; }
.tfa-terms__title { font-family: var(--tfa-display); text-transform: uppercase; font-size: 38px; line-height: 1; margin: 0 0 8px; color: var(--tfa-black); font-weight: 500; }
.tfa-terms__sub { font-size: 16px; color: var(--tfa-grey); margin: 0 0 16px; }
.tfa-terms__panel {
	height: 320px; overflow-y: auto; border: 1px solid var(--tfa-line); border-radius: 8px;
	padding: 24px 26px; font-size: 17px; line-height: 1.6; background: var(--tfa-white); color: var(--tfa-grey);
}
.tfa-terms__panel:focus-visible { outline: 2px solid var(--tfa-red); outline-offset: 2px; }
.tfa-terms__panel h1, .tfa-terms__panel h2, .tfa-terms__panel h3, .tfa-terms__panel h4, .tfa-terms__panel h5, .tfa-terms__panel h6 {
	font-family: var(--tfa-body); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--tfa-black); margin: 20px 0 6px; line-height: 1.4;
}
.tfa-terms__panel > :first-child { margin-top: 0; }
.tfa-terms__panel p { margin: 0 0 12px; }
.tfa-terms__panel ul, .tfa-terms__panel ol { margin: 0 0 12px; padding-left: 22px; }
.tfa-terms__caption { font-size: 14px; color: var(--tfa-grey); margin: 10px 0 0; }

/* --- Footer / buttons ---------------------------------------------------- */
.tfa__footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--tfa-line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.tfa__caption { font-size: 14px; color: var(--tfa-grey); margin: 0; }
.tfa__actions { display: flex; gap: 24px; align-items: center; margin-left: auto; }

.tfa .tfa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	font-family: inherit; font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
	border-radius: 8px; padding: 18px 30px; min-height: 44px; cursor: pointer; border: 1px solid transparent;
	text-decoration: none; transition: background .15s, opacity .15s, color .15s; text-align: center;
}
.tfa .tfa-btn--primary { background: var(--tfa-red); color: var(--tfa-white); border-color: var(--tfa-red); }
.tfa .tfa-btn--primary:hover { background: var(--tfa-red-dark); border-color: var(--tfa-red-dark); color: var(--tfa-white); }
.tfa .tfa-btn--primary:disabled { opacity: .45; cursor: not-allowed; }
.tfa .tfa-btn--primary.is-loading { opacity: .85; cursor: progress; }
.tfa .tfa-btn--secondary { background: transparent; color: var(--tfa-red); border-color: var(--tfa-red); }
.tfa .tfa-btn--secondary:hover { background: var(--tfa-beige); }
.tfa .tfa-btn--text { background: transparent; color: var(--tfa-red); padding-left: 0; padding-right: 0; }
.tfa .tfa-btn--text:hover { color: var(--tfa-orange); }
.tfa .tfa-btn:focus-visible { outline: 2px solid var(--tfa-red); outline-offset: 2px; }
.tfa .tfa-btn__spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--tfa-white); border-radius: 50%; animation: tfa-spin .8s linear infinite; }
@keyframes tfa-spin { to { transform: rotate(360deg); } }

/* --- Success ------------------------------------------------------------- */
.tfa__success { text-align: center; padding-top: 8px; }
.tfa__success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--tfa-beige); border: 1px solid var(--tfa-peach); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.tfa__success-icon svg { width: 32px; height: 32px; stroke: var(--tfa-red); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tfa__success-title { font-family: var(--tfa-display); text-transform: uppercase; color: var(--tfa-orange); font-size: clamp(44px, 6vw, 76px); line-height: .96; margin: 0 0 18px; font-weight: 500; }
.tfa__success-title:focus { outline: none; }
.tfa__success > p { font-size: 19px; line-height: 1.6; color: var(--tfa-grey); max-width: 600px; margin: 0 auto; }
.tfa__next { background: var(--tfa-beige); padding: 32px 28px; border-radius: 10px; margin: 40px 0 32px; text-align: left; }
.tfa__next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tfa__next-card { background: var(--tfa-white); border: 1px solid var(--tfa-line); border-radius: 10px; padding: 24px 22px; }
.tfa__next-idx { color: var(--tfa-red); font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.tfa__next-card h3 { font-family: var(--tfa-display); text-transform: uppercase; font-size: 28px; line-height: 1; margin: 8px 0; color: var(--tfa-black); font-weight: 500; }
.tfa__next-card p { font-size: 16px; line-height: 1.55; color: var(--tfa-grey); margin: 0; }

/* --- Honeypot ------------------------------------------------------------ */
.tfa-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
	.tfa__intro-grid { grid-template-columns: 1fr; gap: 32px; }
	.tfa__next-grid { grid-template-columns: 1fr; }
	.tfa-cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.tfa__hero { padding: 24px 0 32px; }
	.tfa__intro { padding: 40px 20px; }
	.tfa__wrap { padding: 24px 0 56px; }
	.tfa__bar { position: sticky; top: 0; z-index: 5; background: var(--tfa-white); margin: 0 0 28px; padding: 12px 0; border-top: 1px solid var(--tfa-line); border-bottom: 1px solid var(--tfa-line); }
	.tfa__help { font-size: 17px; margin-bottom: 28px; }
	.tfa-row, .tfa-row--narrow, .tfa-grid--event, .tfa-row--participants, .tfa-summary__rows { grid-template-columns: 1fr; }
	.tfa-row { gap: 24px; }
	.tfa__footer { flex-direction: column-reverse; align-items: stretch; }
	.tfa__actions { flex-direction: column; margin-left: 0; gap: 12px; }
	.tfa .tfa-btn--primary { width: 100%; min-height: 56px; font-size: 18px; padding: 16px 20px; }
	.tfa .tfa-btn--text { justify-content: center; }
	.tfa-session__head { flex-wrap: wrap; padding: 16px 18px; }
	.tfa-session__actions { width: 100%; justify-content: flex-end; }
	.tfa-session__body { padding: 20px 16px; }
	.tfa-session__name { font-size: 26px; }
	.tfa-toggle { flex-direction: column; align-items: flex-start; }
	.tfa-toggle__control { align-self: flex-end; }
	.tfa-callout { padding: 18px; }
	.tfa-summary__group { padding: 18px; }
	.tfa-terms__panel { padding: 18px; height: 280px; }
}
