/* ==========================================================================
   TheBarokah theme — layout, components and page styles.
   Design tokens mirror the Financial AI Suite membership pages so the public
   site and the plugin surfaces read as one product (near-black + gold, Inter).
   ========================================================================== */

:root {
	--tbc-black: #0b0b0c;
	--tbc-nav: #101114;
	--tbc-ink: #191a1d;
	--tbc-body: #40434b;
	--tbc-muted: #656871;
	--tbc-line: #dedfe3;
	--tbc-soft: #f5f6f7;
	--tbc-gold: #e3ad20;
	--tbc-gold-dark: #9b6d00;
	--tbc-gold-soft: #fdf4dd;
	--tbc-green: #178343;
	--tbc-green-soft: #e7f6ee;
	--tbc-radius: 8px;
	--tbc-shadow: 0 12px 34px rgba(17, 18, 20, .07);
	--tbc-shadow-lg: 0 24px 60px rgba(11, 11, 12, .18);
	--tbc-wrap: 1180px;
}

/* --------------------------------------------------------------- base ---- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.tbc-site {
	margin: 0;
	background: #fff;
	color: var(--tbc-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.62;
	letter-spacing: 0;
	overflow-x: hidden;
}

.tbc-site img { max-width: 100%; height: auto; display: block; }
.tbc-site a { color: inherit; text-decoration: none; }
.tbc-site p { margin: 0 0 1em; }
.tbc-site h1, .tbc-site h2, .tbc-site h3, .tbc-site h4 { margin: 0 0 .5em; line-height: 1.18; font-weight: 850; color: var(--tbc-ink); }
.tbc-site ul { margin: 0 0 1em; padding-left: 1.15em; }
.tbc-site button { font: inherit; }
.tbc-site strong { font-weight: 800; }

.tbc-wrap { width: min(var(--tbc-wrap), calc(100% - 44px)); margin: 0 auto; }

.tbc-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--tbc-gold);
	color: #111;
	padding: 10px 16px;
	border-radius: 0 0 6px 0;
	font-weight: 800;
}
.tbc-skip:focus { left: 0; }

:focus-visible { outline: 3px solid rgba(227, 173, 32, .5); outline-offset: 3px; }

/* -------------------------------------------------------------- blocks ---- */

.tbc-section { padding: 82px 0; }
.tbc-section--soft { background: var(--tbc-soft); border-top: 1px solid var(--tbc-line); border-bottom: 1px solid var(--tbc-line); }
.tbc-section--dark { background: var(--tbc-black); color: #fff; }
.tbc-section--dark h2, .tbc-section--dark h3 { color: #fff; }

.tbc-kicker {
	display: inline-block;
	margin: 0 0 12px;
	color: var(--tbc-gold-dark);
	font-size: 12.5px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1.1px;
}
.tbc-section--dark .tbc-kicker { color: var(--tbc-gold); }

.tbc-head { max-width: 760px; margin: 0 0 34px; }
.tbc-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tbc-head h2 { font-size: clamp(27px, 3.4vw, 38px); }
.tbc-head p { color: var(--tbc-muted); font-size: 16.5px; margin-bottom: 0; }
.tbc-section--dark .tbc-head p { color: #c9c9cc; }

.tbc-eyebrow { color: var(--tbc-muted); font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 10px; }

.tbc-crumb { margin: 0 0 22px; }
.tbc-crumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tbc-crumb li { color: var(--tbc-muted); font-size: 12.5px; font-weight: 600; }
.tbc-crumb li + li::before { content: "›"; margin-right: 8px; color: var(--tbc-line); }
.tbc-crumb a { color: var(--tbc-muted); }
.tbc-crumb a:hover { color: var(--tbc-gold-dark); }

/* ------------------------------------------------------------- buttons ---- */

.tbc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid var(--tbc-black);
	border-radius: 6px;
	background: var(--tbc-black);
	color: #fff;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.25;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
	text-align: center;
}
.tbc-btn:hover { background: #2c2d31; border-color: #2c2d31; color: #fff; transform: translateY(-1px); }
.tbc-btn-gold { background: var(--tbc-gold); border-color: var(--tbc-gold); color: #111; }
.tbc-btn-gold:hover { background: #f0bf3d; border-color: #f0bf3d; color: #111; }
.tbc-btn-ghost { background: transparent; border-color: var(--tbc-line); color: var(--tbc-ink); }
.tbc-btn-ghost:hover { background: var(--tbc-soft); border-color: #c9cbd1; color: var(--tbc-ink); }
.tbc-btn-outline-light { background: transparent; border-color: #6f6f74; color: #fff; }
.tbc-btn-outline-light:hover { background: #fff; border-color: #fff; color: #111; }
.tbc-btn-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--tbc-gold-dark); }
.tbc-btn-link:hover { color: var(--tbc-ink); }
.tbc-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------- announce bar ---- */

.tbc-announce { background: var(--tbc-black); color: #d9d9dc; border-bottom: 1px solid #242426; }
.tbc-announce-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.tbc-announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tbc-gold); flex: 0 0 auto; box-shadow: 0 0 0 4px rgba(227, 173, 32, .16); }
.tbc-announce-text { margin: 0; font-size: 13px; font-weight: 600; }
.tbc-announce-link { margin-left: auto; color: var(--tbc-gold); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.tbc-announce-link:hover { color: #fff; }

/* -------------------------------------------------------------- header ---- */

.tbc-header { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 12, .96); backdrop-filter: blur(10px); border-bottom: 1px solid #242426; }
.tbc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 76px; }
.tbc-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }

.tbc-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; }
.tbc-brand-logo { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #d7a617; background: #000; object-fit: cover; flex: 0 0 auto; }
.tbc-brand-text { display: block; min-width: 0; }
.tbc-brand-text strong { display: block; font-size: 16px; font-weight: 850; color: #fff; line-height: 1.15; }
.tbc-brand-tag { display: block; color: #9a9ba1; font-size: 11.5px; margin-top: 3px; }

.tbc-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tbc-nav a { display: block; padding: 10px 11px; border-radius: 6px; color: #d3d3d7; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tbc-nav a:hover { color: #fff; background: #1b1c20; }
.tbc-nav a[aria-current="page"] { color: var(--tbc-gold); }

.tbc-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tbc-header-actions .tbc-btn { min-height: 42px; padding: 10px 16px; font-size: 13.5px; }
/* On the dark header bar the ghost variant has to read light-on-dark. */
.tbc-header .tbc-btn-ghost, .tbc-drawer .tbc-btn-ghost { border-color: #3a3b40; color: #e6e6e9; background: transparent; }
.tbc-header .tbc-btn-ghost:hover, .tbc-drawer .tbc-btn-ghost:hover { background: #fff; border-color: #fff; color: #111; }
.tbc-footer .tbc-btn-ghost { border-color: #3a3b40; color: #e6e6e9; }

.tbc-burger { display: none; width: 42px; height: 42px; border: 1px solid #3a3b40; border-radius: 6px; background: transparent; cursor: pointer; padding: 0; }
.tbc-burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.tbc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tbc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tbc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.tbc-drawer { display: none; border-top: 1px solid #242426; background: var(--tbc-black); padding: 10px 0 26px; }
.tbc-drawer.is-open { display: block; }
.tbc-drawer ul { display: grid; gap: 2px; margin: 0 0 16px; padding: 0; list-style: none; }
.tbc-drawer a { display: block; padding: 13px 0; color: #e3e3e6; font-weight: 700; border-bottom: 1px solid #1e1f23; }
.tbc-drawer-cta { width: 100%; }
.tbc-drawer-mail { display: block; margin-top: 16px; color: #9a9ba1; font-size: 13px; }

/* ---------------------------------------------------------------- hero ---- */

.tbc-hero { position: relative; overflow: hidden; background: var(--tbc-black); color: #fff; }
.tbc-hero-art {
	position: absolute;
	top: 0;
	right: max(0px, calc((100vw - var(--tbc-wrap)) / 2));
	width: min(52vw, 660px);
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: .26;
	mask-image: linear-gradient(to right, transparent, #000 42%);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 42%);
	pointer-events: none;
	z-index: 0;
}
.tbc-hero-inner { position: relative; z-index: 1; padding: 74px 0 78px; }
.tbc-hero-eyebrow { color: var(--tbc-gold); font-size: 12.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 16px; }

.tbc-slides { position: relative; min-height: 300px; }
.tbc-slide { display: none; }
.tbc-slide.is-active { display: block; animation: tbcFadeUp .45s ease both; }
.tbc-slide h1 { color: #fff; font-size: clamp(31px, 5vw, 58px); line-height: 1.06; max-width: 17ch; margin: 0 0 18px; }
.tbc-slide p { color: #d7d7da; font-size: 17.5px; max-width: 56ch; margin: 0 0 26px; }

@keyframes tbcFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tbc-hero-foot { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.tbc-dots { display: flex; gap: 8px; }
.tbc-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #45464b; cursor: pointer; transition: width .2s ease, background .2s ease; }
.tbc-dots button[aria-current="true"] { width: 26px; border-radius: 6px; background: var(--tbc-gold); }
.tbc-hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.tbc-hero-arrows button { width: 42px; height: 42px; border: 1px solid #45464b; border-radius: 50%; background: transparent; color: #fff; font-size: 16px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.tbc-hero-arrows button:hover { background: var(--tbc-gold); border-color: var(--tbc-gold); color: #111; }
.tbc-hero-static { margin: 20px 0 0; color: #b6b7bc; font-size: 14px; font-weight: 600; }
.tbc-hero-scroll { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: 26px; border: 1px solid #45464b; border-radius: 50%; color: #fff; animation: tbcBob 2.4s ease-in-out infinite; }
.tbc-hero-scroll:hover { background: var(--tbc-gold); border-color: var(--tbc-gold); color: #111; }
@keyframes tbcBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* --------------------------------------------------------- page header ---- */

.tbc-page-hero { background: var(--tbc-black); color: #fff; padding: 54px 0 62px; }
.tbc-page-hero .tbc-crumb li { color: #8d8e94; }
.tbc-page-hero .tbc-crumb a { color: #c9c9cc; }
.tbc-page-hero .tbc-crumb li + li::before { color: #4a4b50; }
.tbc-page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); max-width: 22ch; margin: 0 0 14px; }
.tbc-page-hero p { color: #cfcfd3; font-size: 17px; max-width: 68ch; margin: 0; }
.tbc-page-hero .tbc-kicker { color: var(--tbc-gold); }

/* ------------------------------------------------------------- grids ----- */

.tbc-grid { display: grid; gap: 18px; }
.tbc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tbc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------- calculator category --- */

.tbc-cat { display: flex; flex-direction: column; border: 1px solid var(--tbc-line); border-top: 3px solid var(--tbc-gold); border-radius: var(--tbc-radius); background: #fff; padding: 22px 22px 18px; box-shadow: var(--tbc-shadow); scroll-margin-top: 110px; }
.tbc-cat-icon { font-size: 24px; line-height: 1; }
.tbc-cat h3 { margin: 12px 0 6px; font-size: 18px; }
.tbc-cat > p { color: var(--tbc-muted); font-size: 13.5px; margin: 0 0 16px; }
.tbc-cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tbc-cat-list li { border-top: 1px solid var(--tbc-line); padding-top: 9px; }
.tbc-cat-list a, .tbc-cat-list span.tbc-cat-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tbc-cat-label { display: block; font-size: 14px; font-weight: 800; }
.tbc-cat-detail { display: block; color: var(--tbc-muted); font-size: 11.5px; margin-top: 2px; }
.tbc-cat-list a:hover .tbc-cat-label { color: var(--tbc-gold-dark); }
.tbc-cat-arrow { color: var(--tbc-gold-dark); font-weight: 900; flex: 0 0 auto; }
.tbc-chip { display: inline-block; border-radius: 11px; padding: 2px 9px; background: var(--tbc-soft); border: 1px solid var(--tbc-line); color: var(--tbc-muted); font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.tbc-chip--gold { background: var(--tbc-gold-soft); border-color: #efdca6; color: var(--tbc-gold-dark); }
.tbc-chip--green { background: var(--tbc-green-soft); border-color: #bfe3cd; color: var(--tbc-green); }
.tbc-cat-item { opacity: .78; }

/* ------------------------------------------------------------ split ------ */

.tbc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.tbc-split--reverse .tbc-split-media { order: 2; }
.tbc-media { border-radius: 10px; overflow: hidden; box-shadow: var(--tbc-shadow-lg); }
.tbc-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.tbc-media--tall img { aspect-ratio: 3 / 4; }
.tbc-punch { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--tbc-line); font-size: 17px; font-weight: 800; }
.tbc-section--dark .tbc-punch { border-top-color: #2c2d31; }

.tbc-bullets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.tbc-bullets li { position: relative; padding-left: 26px; font-size: 15px; color: var(--tbc-body); }
.tbc-bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--tbc-gold); }
.tbc-section--dark .tbc-bullets li { color: #c9c9cc; }
.tbc-check { color: var(--tbc-green); font-weight: 900; margin-right: 8px; }

/* ------------------------------------------------------------- steps ----- */

.tbc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tbc-line); border-bottom: 1px solid var(--tbc-line); }
.tbc-step { padding: 28px 32px; border-right: 1px solid var(--tbc-line); }
.tbc-step:last-child { border-right: 0; }
.tbc-step b { display: block; color: var(--tbc-gold-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.tbc-step h3 { font-size: 18px; margin: 0 0 8px; }
.tbc-step p { color: var(--tbc-muted); font-size: 14px; margin: 0; }

/* ------------------------------------------------------------- cards ----- */

.tbc-card { border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius); background: #fff; padding: 24px; box-shadow: var(--tbc-shadow); }
.tbc-card h3 { font-size: 17px; margin: 0 0 8px; }
.tbc-card p { color: var(--tbc-muted); font-size: 14px; margin: 0; }
.tbc-card-icon { font-size: 22px; }
.tbc-card-num { display: block; color: var(--tbc-gold-dark); font-size: 12px; font-weight: 900; letter-spacing: 1.2px; margin-bottom: 10px; }

.tbc-insight { display: flex; flex-direction: column; border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius); background: #fff; padding: 22px; transition: transform .15s ease, box-shadow .15s ease; }
.tbc-insight:hover { transform: translateY(-3px); box-shadow: var(--tbc-shadow-lg); }
.tbc-insight h3 { font-size: 16.5px; margin: 0 0 9px; line-height: 1.35; }
.tbc-insight p { color: var(--tbc-muted); font-size: 13.5px; margin: 0 0 16px; }
.tbc-insight-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tbc-insight-star { color: var(--tbc-gold); font-size: 14px; }

/* ----------------------------------------------------------- membership -- */

.tbc-band { position: relative; overflow: hidden; }
.tbc-band-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tbc-band-art { border-radius: 10px; overflow: hidden; }
.tbc-band-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ------------------------------------------------------------- faq ------- */

.tbc-faq { border-top: 1px solid var(--tbc-line); }
.tbc-faq details { border-bottom: 1px solid var(--tbc-line); padding: 0; }
.tbc-faq summary { position: relative; padding: 18px 44px 18px 0; font-size: 15.5px; font-weight: 800; cursor: pointer; list-style: none; }
.tbc-faq summary::-webkit-details-marker { display: none; }
.tbc-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; color: var(--tbc-gold-dark); font-size: 24px; line-height: 1; }
.tbc-faq details[open] summary::after { content: "−"; }
.tbc-faq details p { margin: 0 44px 18px 0; color: var(--tbc-muted); font-size: 14.5px; }
.tbc-faq-more { margin: 26px 0 0; }

/* -------------------------------------------------------- cta band ------- */

.tbc-cta { background: var(--tbc-black); color: #fff; padding: 62px 0; }
.tbc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tbc-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; }
.tbc-cta p { color: #c9c9cc; margin: 0; max-width: 62ch; }
.tbc-cta-actions { flex: 0 0 auto; }

/* ---------------------------------------------------------- footer ------- */

.tbc-footer { background: var(--tbc-black); color: #a9aaaf; padding: 62px 0 0; }
.tbc-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 42px; }
.tbc-footer .tbc-brand-text strong { color: #fff; }
.tbc-footer-note { margin: 18px 0 20px; font-size: 13.5px; line-height: 1.7; }
.tbc-footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 16px; }
.tbc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tbc-footer a { font-size: 13.5px; color: #c4c5c9; }
.tbc-footer a:hover { color: var(--tbc-gold); }
.tbc-footer-address { display: grid; gap: 2px; font-size: 13.5px; color: #a9aaaf; }
.tbc-footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.tbc-footer-socials a { border: 1px solid #2c2d31; border-radius: 6px; padding: 7px 12px; font-size: 12px; font-weight: 700; }
.tbc-footer-socials a:hover { border-color: var(--tbc-gold); color: var(--tbc-gold); }
.tbc-footer-cta { display: inline-block; margin-top: 18px; color: var(--tbc-gold); font-weight: 800; font-size: 13.5px; }
.tbc-footer-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding: 24px 0 30px; border-top: 1px solid #242426; }
.tbc-footer-closing { margin: 0; font-size: 13px; color: #c4c5c9; }
.tbc-footer-closing strong { display: block; color: #fff; font-size: 14px; }
.tbc-footer-copy { margin: 0; font-size: 12px; }

/* ------------------------------------------------------- whatsapp --------- */

.tbc-wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 30px; background: #25d366; color: #0b2b17; font-weight: 800; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.tbc-wa:hover { background: #1fbe5b; color: #0b2b17; }

/* ------------------------------------------------------------ popup ------ */

.tbc-popup { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(11, 11, 12, .68); }
.tbc-popup[hidden] { display: none; }
.tbc-popup-card { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 10px; padding: 30px; box-shadow: var(--tbc-shadow-lg); animation: tbcFadeUp .3s ease both; }
.tbc-popup-kicker { margin: 0 0 8px; color: var(--tbc-gold-dark); font-size: 11.5px; font-weight: 900; letter-spacing: 1.4px; }
.tbc-popup-card h2 { font-size: 25px; margin: 0 0 12px; }
.tbc-popup-card p { color: var(--tbc-muted); font-size: 14.5px; }
.tbc-popup-card .tbc-btn { width: 100%; }
.tbc-popup-closing { margin: 14px 0 0; text-align: center; font-size: 12px; font-weight: 800; color: var(--tbc-gold-dark); }
.tbc-popup-close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: var(--tbc-soft); color: var(--tbc-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.tbc-popup-close:hover { background: var(--tbc-line); }

/* ------------------------------------------------------------ forms ------ */

.tbc-form { display: grid; gap: 16px; }
.tbc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tbc-field label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: #475467; margin-bottom: 6px; }
.tbc-field input, .tbc-field select, .tbc-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	color: var(--tbc-ink);
	font: inherit;
	font-size: 15px;
}
.tbc-field textarea { min-height: 140px; resize: vertical; }
.tbc-field input:focus, .tbc-field select:focus, .tbc-field textarea:focus { border-color: var(--tbc-gold); box-shadow: 0 0 0 3px rgba(227, 173, 32, .18); outline: none; }
.tbc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tbc-form-status { margin: 0; padding: 13px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.tbc-form-status.is-ok { background: var(--tbc-green-soft); color: #0f5c30; border: 1px solid #bfe3cd; }
.tbc-form-status.is-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.tbc-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tbc-form-note { margin: 0; color: var(--tbc-muted); font-size: 12.5px; }

.tbc-contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.tbc-contact-aside { display: grid; gap: 16px; }
.tbc-aside-card { border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius); background: var(--tbc-soft); padding: 22px; }
.tbc-aside-card h3 { font-size: 17px; margin: 0 0 8px; }
.tbc-aside-card p { color: var(--tbc-muted); font-size: 14px; }
.tbc-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tbc-info-list li { font-size: 14px; color: var(--tbc-body); }
.tbc-info-list b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--tbc-muted); margin-bottom: 3px; }

/* -------------------------------------------------- generic content ------ */

.tbc-entry { max-width: 820px; margin: 0 auto; }
.tbc-entry h2 { font-size: 26px; margin-top: 1.6em; }
.tbc-entry h3 { font-size: 20px; margin-top: 1.5em; }
.tbc-entry p, .tbc-entry li { font-size: 16px; color: var(--tbc-body); }
.tbc-entry img { border-radius: 8px; }
.tbc-entry blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--tbc-gold); background: var(--tbc-soft); border-radius: 0 6px 6px 0; }
.tbc-entry a { color: var(--tbc-gold-dark); font-weight: 700; text-decoration: underline; }
/* Only plain editor tables get theme styling — plugin report tables keep their own. */
.tbc-entry table:not([class]):not([style]) { width: 100%; border-collapse: collapse; }
.tbc-entry table:not([class]):not([style]) th,
.tbc-entry table:not([class]):not([style]) td { border: 1px solid var(--tbc-line); padding: 10px 12px; text-align: left; }

.tbc-post-list { display: grid; gap: 14px; }
.tbc-post-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius); padding: 16px; background: #fff; }
.tbc-post-row img { border-radius: 6px; aspect-ratio: 1 / 1; object-fit: cover; }
.tbc-post-row h3 { font-size: 17px; margin: 0 0 6px; }
.tbc-post-row p { color: var(--tbc-muted); font-size: 13.5px; margin: 0; }
.tbc-post-meta { color: var(--tbc-muted); font-size: 12px; font-weight: 700; }

.tbc-empty { border: 1px dashed var(--tbc-line); border-radius: var(--tbc-radius); padding: 42px 22px; text-align: center; color: var(--tbc-muted); }
.tbc-404 { text-align: center; padding: 90px 0 110px; }
.tbc-404 h1 { font-size: clamp(38px, 8vw, 72px); margin: 0 0 14px; }
.tbc-404 p { color: var(--tbc-muted); max-width: 52ch; margin: 0 auto 26px; }

.tbc-tagline-big { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--tbc-line); text-align: center; font-size: clamp(17px, 2.2vw, 22px); font-weight: 850; line-height: 1.45; }

/* -------------------------------------------------------- responsive ---- */

@media (max-width: 1080px) {
	.tbc-split { grid-template-columns: 1fr; gap: 32px; }
	.tbc-split--reverse .tbc-split-media { order: 0; }
	.tbc-band-inner { grid-template-columns: 1fr; gap: 28px; }
	.tbc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbc-contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.tbc-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
	.tbc-hero-art { width: 60vw; opacity: .2; }
}

@media (max-width: 1240px) {
	.tbc-hide-sm { display: none; }
}

@media (max-width: 1180px) {
	.tbc-brand-tag { display: none; }
}

@media (max-width: 1100px) {
	.tbc-nav { display: none; }
	.tbc-burger { display: block; }
}

@media (max-width: 980px) {
	.tbc-section { padding: 62px 0; }
	.tbc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbc-steps { grid-template-columns: 1fr; }
	.tbc-step { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--tbc-line); }
	.tbc-step:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
	.tbc-wrap { width: calc(100% - 30px); }
	.tbc-header-inner { min-height: 68px; gap: 12px; }
	.tbc-brand-logo { width: 44px; height: 44px; }
	.tbc-brand-text strong { font-size: 15px; }
	.tbc-brand-tag { font-size: 10.5px; }
	.tbc-hide-sm { display: none; }
	.tbc-announce-text { font-size: 12px; }
	.tbc-announce-link { display: none; }
	.tbc-hero-inner { padding: 52px 0 58px; }
	.tbc-hero-art { position: relative; width: 100%; height: 230px; opacity: 1; right: 0; mask-image: none; -webkit-mask-image: none; }
	.tbc-slides { min-height: 0; }
	.tbc-slide h1 { font-size: 32px; max-width: none; }
	.tbc-slide p { font-size: 16px; }
	.tbc-hero-foot { margin-top: 26px; }
	.tbc-hero-arrows { margin-left: 0; width: 100%; }
	.tbc-grid--2, .tbc-grid--3, .tbc-grid--4 { grid-template-columns: 1fr; }
	.tbc-form-row { grid-template-columns: 1fr; }
	.tbc-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.tbc-footer-base { flex-direction: column; align-items: flex-start; }
	.tbc-cta-inner { flex-direction: column; align-items: flex-start; }
	.tbc-cta-actions { width: 100%; }
	.tbc-cta-actions .tbc-btn { width: 100%; }
	.tbc-post-row { grid-template-columns: 1fr; }
	.tbc-page-hero { padding: 40px 0 48px; }
	.tbc-wa { right: 14px; bottom: 14px; padding: 11px 14px; font-size: 12.5px; }
	.tbc-wa span { display: none; }
	.tbc-tagline-big { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	.tbc-site * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
