/*
 * TaxSite component classes. All colors come from :root custom properties
 * (--tf-primary etc.) printed by functions.php from tsl_profile.palette —
 * one option rebrands the whole site. Fallbacks keep the design if the
 * option is empty. The factory no longer inlines any palette into content.
 */
.tf{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--tf-ink,#4A5568);line-height:1.65}
.tf *{box-sizing:border-box;margin:0}
.tf-wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.tf-hero{background:linear-gradient(135deg,var(--tf-primary,#0F2B4C) 0%,var(--tf-dark,#0A1E36) 100%);padding:110px 0;text-align:center}
.tf-eyebrow{color:var(--tf-accent,#C9982E);font-size:13px;font-weight:700;letter-spacing:.18em;margin-bottom:18px}
.tf-hero h1{color:#fff;font-size:clamp(34px,5vw,58px);line-height:1.12;font-weight:800;margin-bottom:22px}
.tf-hero p{color:var(--tf-herosub,#C7D5E5);font-size:clamp(16px,2vw,20px);max-width:640px;margin:0 auto 38px}
.tf-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.tf-hero .tf-hero-aside{margin-top:56px;padding-top:18px;border-top:1px solid rgba(255,255,255,.22);display:flex;justify-content:center;flex-wrap:wrap;gap:8px 28px}
.tf-hero .tf-hero-aside span{color:#fff;font-size:15px}
.tf-hero .tf-hero-aside span b{color:var(--tf-accent,#C9982E);margin-right:6px}
.tf-btn{display:inline-block;padding:15px 34px;border-radius:8px;font-weight:700;font-size:16px;text-decoration:none;transition:transform .15s,box-shadow .15s}
.tf-btn:hover{transform:translateY(-2px)}
.tf-btn-gold{background:var(--tf-accent,#C9982E);color:var(--tf-dark,#0A1E36);box-shadow:0 6px 20px rgba(0,0,0,.25)}
.tf-btn-ghost{border:2px solid rgba(255,255,255,.5);color:#fff}
.tf-btn-navy{background:var(--tf-dark,#0A1E36);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.tf-trust{background:#fff;border-bottom:1px solid #EDF2F7;padding:20px 0;text-align:center;font-weight:600;color:var(--tf-primary,#0F2B4C);font-size:14.5px}
.tf-trust span{white-space:nowrap;margin:0 10px}
.tf-trust b{color:var(--tf-accent,#C9982E);margin-right:6px}
.tf-sec{padding:88px 0}
.tf-sec h2{text-align:center;color:var(--tf-primary,#0F2B4C);font-size:clamp(26px,3.4vw,38px);font-weight:800;margin-bottom:12px}
.tf-sec .tf-sub{text-align:center;max-width:560px;margin:0 auto 52px;font-size:17px}
.tf-light{background:var(--tf-light,#F4F7FB)}
.tf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px}
.tf-card{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:34px 30px;box-shadow:0 2px 10px rgba(15,43,76,.05);transition:transform .15s,box-shadow .15s}
.tf-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(15,43,76,.12)}
.tf-card h3{color:var(--tf-primary,#0F2B4C);font-size:20px;font-weight:800;margin-bottom:12px}
.tf-card ul{list-style:none;padding:0}
.tf-card li{padding:7px 0 7px 26px;position:relative;font-size:15.5px}
.tf-card li::before{content:"\2713";position:absolute;left:0;color:var(--tf-accent,#C9982E);font-weight:800}
.tf-more{display:inline-block;margin-top:16px;color:var(--tf-accent,#C9982E);font-weight:700;text-decoration:none;font-size:15px}
.tf-dark{background:var(--tf-dark,#0A1E36);padding:88px 0}
.tf-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.tf-dark h2{color:#fff;font-size:clamp(26px,3.4vw,36px);font-weight:800;margin-bottom:18px;text-align:left}
.tf-dark .tf-lead{color:var(--tf-herosub,#C7D5E5);font-size:17.5px;margin-bottom:24px}
.tf-checks{list-style:none;padding:0}
.tf-checks li{color:inherit;padding:11px 0 11px 34px;position:relative;font-size:16.5px}
.tf-panel .tf-checks li,.tf-dark .tf-checks li{color:#fff}
.tf-checks li::before{content:"\2713";position:absolute;left:0;width:22px;height:22px;border-radius:50%;background:var(--tf-accent,#C9982E);color:var(--tf-dark,#0A1E36);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;top:10px}
.tf-panel{background:var(--tf-primary,#0F2B4C);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:40px}
.tf-panel .tf-k{color:var(--tf-accent,#C9982E);font-size:12.5px;font-weight:700;letter-spacing:.16em;margin-bottom:8px}
.tf-panel h3{color:#fff;font-size:24px;font-weight:800;margin-bottom:12px}
.tf-panel p{color:var(--tf-herosub,#C7D5E5);font-size:15.5px}
.tf-price.feat{background:var(--tf-primary,#0F2B4C);border-color:var(--tf-accent,#C9982E);transform:scale(1.04);position:relative}
.tf-price .tf-tier{font-size:12.5px;font-weight:700;letter-spacing:.16em;color:var(--tf-accent,#C9982E)}
.tf-price .tf-amt{color:var(--tf-primary,#0F2B4C);font-size:40px;font-weight:800;margin:10px 0 4px}
.tf-price .tf-desc{font-size:15px;margin-bottom:16px}
.tf-price.feat .tf-amt{color:#fff}
.tf-price.feat .tf-desc,.tf-price.feat li{color:var(--tf-herosub,#C7D5E5)}
.tf-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--tf-accent,#C9982E);color:var(--tf-dark,#0A1E36);font-size:11.5px;font-weight:800;letter-spacing:.08em;padding:5px 14px;border-radius:999px}
.tf-price .tf-btn{margin-top:20px;width:100%;text-align:center}
.tf-cta{background:var(--tf-accent,#C9982E);padding:64px 0;text-align:center}
.tf-cta h2{color:var(--tf-dark,#0A1E36);font-size:clamp(24px,3.2vw,34px);font-weight:800;margin-bottom:10px}
.tf-cta p{color:rgba(0,0,0,.55);font-size:16.5px;margin-bottom:30px}
.tf-tbl{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(15,43,76,.06)}
.tf-tbl th{background:var(--tf-primary,#0F2B4C);color:#fff;text-align:left;padding:15px 22px;font-size:14.5px}
.tf-tbl td{padding:14px 22px;border-bottom:1px solid #EDF2F7;font-size:15.5px}
.tf-tbl tr:last-child td{border-bottom:none}
.tf-fees td:last-child{text-align:right;font-weight:800;color:var(--tf-primary,#0F2B4C)}
.tf-legal{padding:70px 0}
.tf-legal h2{color:var(--tf-primary,#0F2B4C);font-size:23px;font-weight:800;margin:34px 0 10px}
.tf-legal p{margin-bottom:14px;font-size:16px}
.tf-legal a{color:var(--tf-primary,#0F2B4C)}
.tf-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.tf-stat{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:26px 34px;text-align:center;box-shadow:0 2px 10px rgba(15,43,76,.05)}
.tf-stat b{display:block;font-size:34px;color:var(--tf-primary,#0F2B4C);line-height:1.1}
.tf-stat span{color:var(--tf-ink,#4A5568);font-size:14px}
.tf-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:900px;margin:0 auto}
.tf-chip{background:#fff;border:1px solid #E2E8F0;border-radius:999px;padding:9px 20px;font-size:14.5px;font-weight:600;color:var(--tf-primary,#0F2B4C)}
.tf-faq{max-width:860px;margin:0 auto;text-align:left}
.tf-faq h3{color:var(--tf-primary,#0F2B4C);font-size:13.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:34px 0 14px;padding-left:26px;position:relative}
.tf-faq h3::before{content:"";position:absolute;left:0;top:4px;width:14px;height:14px;border-radius:4px;background:var(--tf-accent,#C9982E)}
.tf-faq details{background:#fff;border:1px solid #E2E8F0;border-radius:12px;margin-bottom:12px;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.tf-faq details:hover{border-color:var(--tf-accent,#C9982E)}
.tf-faq details[open]{border-color:var(--tf-accent,#C9982E);box-shadow:0 6px 22px rgba(15,43,76,.10)}
.tf-faq details[open] summary{border-bottom:1px solid #EEF2F7;color:var(--tf-accent,#C9982E)}
.tf-faq summary{cursor:pointer;padding:20px 58px 20px 22px;font-weight:700;color:var(--tf-primary,#0F2B4C);font-size:17px;list-style:none;position:relative;display:flex;align-items:center;min-height:24px}
.tf-faq summary::-webkit-details-marker{display:none}
.tf-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:var(--tf-light,#F4F7FB);color:var(--tf-accent,#C9982E);font-size:19px;font-weight:800;display:flex;align-items:center;justify-content:center;transition:transform .2s,background .15s}
.tf-faq details[open] summary::after{content:"\2013";background:var(--tf-accent,#C9982E);color:#fff}
.tf-faq details p{padding:16px 22px 20px 22px;font-size:15.5px;line-height:1.7}
.tf-faq details p a{color:var(--tf-primary,#0F2B4C);font-weight:600}
.tf-steps{max-width:760px;margin:0 auto}
.tf-steps .tf-step{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid #E2E8F0}
.tf-steps .tf-step:last-child{border-bottom:none}
.tf-step .n{flex:0 0 46px;height:46px;border-radius:50%;background:var(--tf-primary,#0F2B4C);color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center}
.tf-step h3{color:var(--tf-primary,#0F2B4C);font-size:18px;margin-bottom:6px}
.tf-step p{font-size:15px}
.tf-check{columns:2;column-gap:40px;max-width:920px;margin:0 auto;text-align:left}
.tf-check h3{color:var(--tf-primary,#0F2B4C);font-size:17px;margin:22px 0 8px;break-after:avoid}
.tf-check ul{list-style:none;padding:0;margin:0}
.tf-check li{position:relative;padding:6px 0 6px 30px;font-size:15px}
.tf-check li::before{content:"";position:absolute;left:0;top:9px;width:15px;height:15px;border:2px solid var(--tf-accent,#C9982E);border-radius:3px}
.tf-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.tf-link{display:block;background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:20px 22px;text-decoration:none;transition:transform .15s,border-color .15s}
.tf-link:hover{border-color:var(--tf-accent,#C9982E);transform:translateY(-2px)}
.tf-link b{color:var(--tf-primary,#0F2B4C);font-size:15.5px}
.tf-link span{display:block;font-size:14px;color:var(--tf-ink,#4A5568);margin-top:4px}
@media(max-width:700px){.tf-check{columns:1}}
.tf-quote{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:32px 30px;position:relative;box-shadow:0 2px 10px rgba(15,43,76,.05)}
.tf-quote::before{content:"\201C";position:absolute;top:6px;left:18px;font-size:64px;color:var(--tf-accent,#C9982E);font-family:Georgia,serif;line-height:1}
.tf-quote p{font-size:16px;font-style:italic;margin-bottom:16px}
.tf-quote b{color:var(--tf-primary,#0F2B4C);font-size:14px}
.tf-cal{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:10px;box-shadow:0 2px 10px rgba(15,43,76,.05)}
@media(max-width:860px){.tf-split{grid-template-columns:1fr}.tf-price.feat{transform:none}.tf-sec,.tf-dark{padding:64px 0}.tf-hero{padding:72px 0}}
