/* 1099 Occupation Lander styles. Scoped under .trh-lander so nothing leaks
   into Bricks-built pages (this template renders without Bricks anyway). */

.trh-lander {
	--tl-green: #8cc63f;
	--tl-green-dark: #2e8540;
	--tl-navy: #2d3b5e;
	--tl-ink: #22293b;
	--tl-muted: #5b616b;
	--tl-line: #e4e7ec;
	--tl-bg-alt: #f4f7fa;
	--tl-bg-blue: #eff9fb;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--tl-ink);
	line-height: 1.6;
	font-size: 17px;
}
.trh-lander-body { margin: 0; background: #fff; }
.trh-lander *, .trh-lander *::before, .trh-lander *::after { box-sizing: border-box; }
.tl-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.trh-lander h1, .trh-lander h2, .trh-lander h3 { color: var(--tl-navy); line-height: 1.2; margin: 0 0 0.5em; }
.trh-lander h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
.trh-lander h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.trh-lander h3 { font-size: 1.08rem; font-weight: 700; }
.trh-lander a:not(.tl-btn):not(.tl-bubble) { color: var(--tl-green-dark); }

/* Header */
.tl-header { border-bottom: 1px solid var(--tl-line); background: #fff; }
.tl-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.tl-logo { text-decoration: none; }
.tl-logo img, .tl-logo__img { max-height: 64px; width: auto; display: block; }
.tl-logo__text { font-size: 1.3rem; font-weight: 500; color: var(--tl-navy); }
.tl-logo__text b { font-weight: 800; }
.tl-header__actions { display: flex; gap: 10px; }
.tl-bubble {
	display: inline-flex; flex-direction: column; align-items: flex-start;
	background: var(--tl-bg-blue); color: var(--tl-navy); text-decoration: none;
	padding: 8px 16px; border-radius: 8px; line-height: 1.15;
	font-weight: 700; font-size: 1rem; text-transform: uppercase;
}
.tl-bubble--call { background: var(--tl-green); color: #fff; }
.tl-bubble__label { font-size: 0.72rem; letter-spacing: 0.05em; opacity: 0.85; }
.tl-bubble__num { white-space: nowrap; }

/* Hero */
.tl-hero { background: linear-gradient(180deg, var(--tl-bg-blue) 0%, #ffffff 100%); }
.tl-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
.tl-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: 0.8rem; color: var(--tl-green-dark); margin: 0 0 10px; }
.tl-sub { font-size: 1.15rem; color: var(--tl-muted); margin: 0 0 18px; }
.tl-checks { list-style: none; margin: 0 0 24px; padding: 0; }
.tl-checks li { padding-left: 30px; position: relative; margin: 9px 0; font-weight: 600; }
.tl-checks li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--tl-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.tl-hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tl-cta-note { color: var(--tl-muted); font-size: 0.92rem; font-weight: 600; }

/* Buttons */
.tl-btn {
	display: inline-block; padding: 14px 26px; border-radius: 8px; border: 0; cursor: pointer;
	font-family: inherit; font-size: 1.02rem; font-weight: 800; text-decoration: none; text-align: center;
	transition: filter 0.15s ease;
}
.tl-btn:hover { filter: brightness(0.95); }
.tl-btn--green { background: var(--tl-green); color: #fff; }
.tl-btn--navy { background: var(--tl-navy); color: #fff; }
.tl-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.7); }
.tl-btn--full { width: 100%; }

/* Form card */
.tl-form-card {
	background: #fff; border: 1px solid var(--tl-line); border-radius: 14px;
	padding: 26px 24px; box-shadow: 0 12px 40px rgba(45, 59, 94, 0.12);
}
.tl-form-card__title { margin: 0 0 4px; font-size: 1.25rem; }
.tl-form-card__sub { margin: 0 0 16px; color: var(--tl-muted); font-size: 0.95rem; }
.tl-form-card label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--tl-navy); margin: 0 0 12px; }
.tl-form-card input, .tl-form-card select {
	display: block; width: 100%; margin-top: 4px; padding: 11px 12px;
	border: 1px solid #c9cfd9; border-radius: 8px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--tl-ink);
}
.tl-form-card input:focus, .tl-form-card select:focus { outline: 2px solid var(--tl-green); outline-offset: 0; border-color: var(--tl-green); }
.tl-form-card input.tl-invalid { border-color: #bb0000; }
.tl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Bottom-align the two inputs in a row so a wrapping label ("Roughly how much
   do you owe?") does not push its select lower than its neighbour. */
.tl-field-row label { display: flex; flex-direction: column; justify-content: flex-end; }
.tl-form-error { color: #bb0000; font-weight: 600; font-size: 0.92rem; }
/* Selector doubled up on purpose: ".tl-form-card label" (0,1,1) used to beat a
   bare ".tl-consent" (0,1,0), so display:block won and the checkbox sat on its
   own line above the text on every surface. text-align:left because Bricks
   columns (affiliate page) centre everything they contain. */
.tl-consent, .tl-form-card .tl-consent { display: flex; gap: 8px; align-items: flex-start; text-align: left; font-size: 0.78rem; line-height: 1.45; color: var(--tl-muted); margin: 10px 0 12px; cursor: pointer; border-radius: 6px; }
.tl-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #6aa84f; }
.tl-consent a { color: inherit; text-decoration: underline; }
.tl-consent.tl-invalid { outline: 2px solid #bb0000; outline-offset: 4px; }
.tl-fineprint { font-size: 0.75rem; color: var(--tl-muted); line-height: 1.45; margin: 10px 0 0; }
.tl-form-success { text-align: center; padding: 18px 6px; }
.tl-form-success h3 { font-size: 1.3rem; }
.tl-btn[disabled] { opacity: 0.6; cursor: wait; }

/* Trust bar */
.tl-trustbar { background: var(--tl-navy); color: #fff; }
.tl-trustbar__row { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; padding-top: 14px; padding-bottom: 14px; font-size: 0.98rem; }
.tl-trustbar b { color: var(--tl-green); }

/* Sections */
.tl-section { padding: 52px 0; }
.tl-section--alt { background: var(--tl-bg-alt); }
.tl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.tl-card { background: #fff; border: 1px solid var(--tl-line); border-radius: 12px; padding: 20px; }
.tl-card p { margin: 0; color: var(--tl-muted); font-size: 0.97rem; }
.tl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 22px; }
.tl-step__n {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; background: var(--tl-green); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px;
}
.tl-step p { margin: 0; color: var(--tl-muted); font-size: 0.97rem; }

/* Prose */
.tl-prose p, .tl-prose li { color: var(--tl-ink); max-width: 74ch; }
.tl-prose ul { padding-left: 24px; }
.tl-prose li { margin: 6px 0; }

/* FAQ */
.tl-faq { margin-top: 20px; }
.tl-faq__item { background: #fff; border: 1px solid var(--tl-line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.tl-faq__item summary { cursor: pointer; font-weight: 700; color: var(--tl-navy); padding: 15px 0; list-style: none; position: relative; padding-right: 28px; }
.tl-faq__item summary::-webkit-details-marker { display: none; }
.tl-faq__item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--tl-green-dark); font-weight: 400; }
.tl-faq__item[open] summary::after { content: "\2212"; }
.tl-faq__a { padding: 0 0 16px; color: var(--tl-muted); }
.tl-faq__a p { margin-top: 0; }

/* Final CTA */
.tl-final { background: var(--tl-navy); color: #fff; padding: 60px 0; }
.tl-final__inner { text-align: center; }
.tl-final h2 { color: #fff; }
.tl-final p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin: 0 auto 24px; }
.tl-final__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.tl-footer { padding: 26px 0 90px; text-align: center; font-size: 0.85rem; color: var(--tl-muted); }
.tl-footer p { margin: 4px 0; }
.tl-footer__disclaimer { max-width: 70ch; margin-left: auto; margin-right: auto; }

/* Mobile sticky call bar */
.tl-sticky-call {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	background: var(--tl-green); color: #fff; font-weight: 800; text-align: center;
	padding: 15px 10px; text-decoration: none; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 860px) {
	.tl-hero__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; padding-bottom: 40px; }
	.tl-sticky-call { display: block; }
	.tl-bubble__num { display: none; }
	.tl-bubble { flex-direction: row; padding: 10px 14px; }
	.tl-bubble__label { font-size: 0.95rem; opacity: 1; }
	.tl-section { padding: 38px 0; }
	.tl-field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Shortcode embeds ([trh_lead_form], September 1, 2026): the form card inside
   a Bricks page rather than the lander hero. */
.trh-lander--embed { display: block; }
.trh-lander--embed .tl-form-card { max-width: 560px; margin: 0 auto; }
