/*
Theme Name: Start My Company Support
Theme URI: https://startmycompany.co.za/
Description: Standalone broadcast support theme for Start My Company, SupportCandy and BetterDocs.
Version: 2.0.2
Author: Start My Company
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: start-my-company-support
Requires at least: 6.6
Requires PHP: 7.4
Update URI: https://startmycompany.co.za/themes/start-my-company-support/
*/
:root {
	--color-primary: #1E5BFF;
	--color-primary-50: #EEF3FF;
	--color-primary-100: #DCE6FF;
	--color-primary-500: #1E5BFF;
	--color-primary-600: #124CE5;
	--color-primary-700: #0C3DBB;
	--color-primary-900: #08246D;
	--color-secondary: #1F2328;
	--color-secondary-50: #FBF8F1;
	--color-secondary-100: #F5F1E8;
	--color-secondary-200: #E4DED2;
	--color-secondary-300: #CFC7B9;
	--color-secondary-500: #7F858D;
	--color-secondary-600: #5E646C;
	--color-secondary-700: #343A42;
	--color-secondary-900: #0C0F13;
	--color-neutral: #1F2328;
	--color-background: #060709;
	--color-cream: #F5F1E8;
	--color-yellow: #FFD530;
	--color-green: #1EBE59;
	--color-red: #F2544B;
	--color-cyan: #20C9D3;
	--color-magenta: #E940A3;
	--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "Courier New", ui-monospace, monospace;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;
	--radius-control: 12px;
	--radius-card: 22px;
	--radius-pill: 999px;
}

:root {
		--smc-blue: #1E5BFF;
		--smc-cream: #F5F1E8;
		--smc-ink: #1F2328;
		--smc-yellow: #FFD530;
		--smc-green: #1EBE59;
		--smc-red: #F2544B;
		--smc-cyan: #20C9D3;
		--smc-magenta: #E940A3;
		--smc-black: #060709;
		--smc-panel: #0C0F13;
		--smc-line: rgba(245, 241, 232, .28);
	}

html {
		background: var(--smc-black);
		scroll-behavior: smooth;
	}

body {
		margin: 0;
		min-width: 320px;
		min-height: 100svh;
		overflow-x: hidden;
		color: var(--smc-cream);
		background:
			radial-gradient(circle at 12% 0%, rgba(30, 91, 255, .16), transparent 34rem),
			radial-gradient(circle at 88% 9%, rgba(242, 84, 75, .1), transparent 30rem),
			var(--smc-black);
		font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		line-height: 1.65;
	}

body::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: -1;
		pointer-events: none;
		opacity: .07;
		background: repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0, rgba(255,255,255,.18) 1px, transparent 1px, transparent 4px);
	}

::selection {
		background: var(--smc-yellow);
		color: var(--smc-ink);
	}

a {
		color: var(--smc-blue);
		text-underline-offset: .18em;
	}

a:hover {
		color: #0C3DBB;
	}

img,
	svg {
		max-width: 100%;
		height: auto;
	}

button,
	input,
	select,
	textarea {
		font: inherit;
	}

:focus-visible {
		outline: 3px solid var(--smc-yellow);
		outline-offset: 3px;
	}

.smc-shell {
		width: min(100% - 28px, 1480px);
		margin-inline: auto;
	}

.smc-site-header {
		position: relative;
		z-index: 20;
		border-bottom: 1px solid rgba(245, 241, 232, .12);
		background: rgba(6, 7, 9, .84);
		backdrop-filter: blur(16px);
	}

.smc-header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		padding-block: 14px;
	}

.smc-brand-chip {
		display: block;
		width: min(52vw, 270px);
		padding: 8px 12px;
		border-radius: 17px;
		background: var(--smc-cream);
		box-shadow: 0 12px 30px rgba(0,0,0,.3);
		transition: transform .18s ease, box-shadow .18s ease;
	}

.smc-brand-chip:hover {
		transform: translateY(-2px);
		box-shadow: 0 16px 34px rgba(0,0,0,.38);
	}

.smc-nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		gap: 8px;
	}

.smc-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 42px;
		padding: 9px 14px;
		border: 1px solid rgba(245, 241, 232, .22);
		border-radius: 999px;
		color: var(--smc-cream);
		font-size: .76rem;
		font-weight: 850;
		letter-spacing: .055em;
		line-height: 1;
		text-decoration: none;
		text-transform: uppercase;
		background: rgba(255,255,255,.025);
		transition: border-color .18s ease, color .18s ease, transform .18s ease, background .18s ease;
	}

.smc-nav a:hover,
	.smc-nav a[aria-current="page"] {
		border-color: var(--smc-yellow);
		color: var(--smc-yellow);
		background: rgba(255, 213, 48, .06);
		transform: translateY(-1px);
	}

.smc-nav .smc-nav-main {
		border-color: var(--smc-blue);
		background: var(--smc-blue);
		color: #fff;
	}

.smc-nav .smc-nav-main:hover {
		border-color: #3473FF;
		background: #3473FF;
		color: #fff;
	}

.smc-signal-line {
		height: 3px;
		background: linear-gradient(90deg, var(--smc-yellow), var(--smc-cyan), var(--smc-green), var(--smc-magenta), var(--smc-red), var(--smc-blue));
		box-shadow: 0 0 18px rgba(255,213,48,.15);
	}

.smc-main {
		flex: 1;
		padding-block: clamp(18px, 3vw, 44px) 64px;
	}

.smc-support-hero {
		display: grid;
		grid-template-columns: minmax(0, 1.55fr) minmax(285px, .72fr);
		gap: 16px;
		margin-bottom: 18px;
	}

.smc-broadcast-panel {
		position: relative;
		overflow: hidden;
		border: 1px solid var(--smc-line);
		border-radius: 22px;
		background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.008));
		box-shadow: 0 0 28px rgba(245,241,232,.08), 0 18px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.02);
	}

.smc-hero-copy {
		min-height: 350px;
		display: grid;
		align-content: center;
		padding: clamp(30px, 6vw, 76px);
		isolation: isolate;
	}

.smc-hero-copy::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -2;
		background:
			linear-gradient(105deg, rgba(6,7,9,.94) 0%, rgba(6,7,9,.76) 62%, rgba(6,7,9,.4) 100%),
			linear-gradient(125deg, rgba(30,91,255,.28), transparent 44%, rgba(242,84,75,.12));
	}

.smc-hero-copy::after {
		content: "";
		position: absolute;
		width: 430px;
		height: 430px;
		right: -180px;
		bottom: -250px;
		border: 42px solid rgba(245,241,232,.06);
		border-radius: 50%;
		box-shadow: 0 0 0 34px rgba(30,91,255,.055), 0 0 0 72px rgba(255,213,48,.035);
		z-index: -1;
	}

.smc-eyebrow {
		display: flex;
		align-items: center;
		gap: 9px;
		margin: 0 0 15px;
		color: #d9dde4;
		font-size: .72rem;
		font-weight: 900;
		letter-spacing: .12em;
		text-transform: uppercase;
	}

.smc-status-dot {
		width: 10px;
		height: 10px;
		flex: 0 0 auto;
		border-radius: 50%;
		background: var(--smc-red);
		box-shadow: 0 0 14px rgba(242,84,75,.95);
		animation: smcBlink 1.8s steps(1) infinite;
	}

.smc-hero-title {
		max-width: 820px;
		margin: 0;
		color: var(--smc-cream);
		font-size: clamp(3rem, 7vw, 6.4rem);
		font-weight: 950;
		letter-spacing: -.06em;
		line-height: .9;
		text-wrap: balance;
		text-shadow: 0 0 20px rgba(245,241,232,.12);
	}

.smc-hero-title span {
		color: var(--smc-yellow);
		text-shadow: 0 0 20px rgba(255,213,48,.18);
	}

.smc-hero-description {
		max-width: 680px;
		margin: 22px 0 0;
		color: #d8dbe1;
		font-size: clamp(1rem, 1.6vw, 1.18rem);
	}

.smc-hero-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 28px;
	}

.smc-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 12px 19px;
		border: 2px solid transparent;
		border-radius: 999px;
		font-size: .82rem;
		font-weight: 900;
		letter-spacing: .055em;
		line-height: 1;
		text-decoration: none;
		text-transform: uppercase;
		transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	}

.smc-button:hover {
		transform: translateY(-2px);
	}

.smc-button-primary {
		background: var(--smc-yellow);
		color: var(--smc-ink);
		box-shadow: 0 10px 24px rgba(255,213,48,.16);
	}

.smc-button-primary:hover {
		background: #ffe264;
		color: var(--smc-ink);
	}

.smc-button-secondary {
		border-color: rgba(245,241,232,.42);
		background: rgba(255,255,255,.035);
		color: var(--smc-cream);
	}

.smc-button-secondary:hover {
		border-color: var(--smc-cyan);
		color: var(--smc-cyan);
	}

.smc-status-panel {
		padding: 22px;
	}

.smc-status-panel::before {
		content: "";
		position: absolute;
		left: 12%;
		right: 12%;
		top: 18px;
		height: 3px;
		background: linear-gradient(90deg, var(--smc-yellow), var(--smc-cyan), var(--smc-green), var(--smc-magenta), var(--smc-red), var(--smc-blue));
	}

.smc-status-title {
		margin: 20px 0 14px;
		color: #d9dde4;
		font-size: .72rem;
		font-weight: 900;
		letter-spacing: .11em;
		text-transform: uppercase;
	}

.smc-status-grid {
		display: grid;
		gap: 10px;
	}

.smc-status-item {
		display: grid;
		grid-template-columns: 14px 1fr auto;
		align-items: center;
		gap: 10px;
		padding: 14px;
		border: 1px solid rgba(245,241,232,.15);
		border-radius: 13px;
		background: #050607;
	}

.smc-status-item i {
		display: block;
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background: currentColor;
		box-shadow: 0 0 12px currentColor;
		animation: smcStatusPulse 2.2s ease-in-out infinite;
	}

.smc-status-item:nth-child(2) i { animation-delay: .28s; }

.smc-status-item:nth-child(3) i { animation-delay: .56s; }

.smc-status-item:nth-child(4) i { animation-delay: .84s; }

.smc-status-item b {
		font-size: .69rem;
		letter-spacing: .075em;
		text-transform: uppercase;
	}

.smc-status-item span {
		color: #8f969f;
		font-family: "Courier New", ui-monospace, monospace;
		font-size: .72rem;
		font-weight: 800;
		text-align: right;
	}

.smc-status-item:nth-child(1) { color: #2383ff; }

.smc-status-item:nth-child(2) { color: #1fe052; }

.smc-status-item:nth-child(3) { color: #ffd530; }

.smc-status-item:nth-child(4) { color: #ff5f57; }

.smc-content-panel,
	.smc-page-panel {
		position: relative;
		border: 1px solid var(--smc-line);
		border-radius: 24px;
		background: var(--smc-cream);
		color: var(--smc-ink);
		box-shadow: 0 18px 50px rgba(0,0,0,.34);
	}

.smc-content-panel {
		padding: clamp(24px, 4.6vw, 62px);
	}

.smc-page-panel {
		width: min(100% - 28px, 1180px);
		margin: clamp(18px, 4vw, 48px) auto 64px;
		padding: clamp(24px, 5vw, 68px);
	}

.smc-page-heading {
		max-width: 900px;
		margin: 0 0 28px;
		color: var(--smc-ink);
		font-size: clamp(2.4rem, 6vw, 5rem);
		font-weight: 950;
		letter-spacing: -.055em;
		line-height: .95;
		text-wrap: balance;
	}

.smc-page-panel h2,
	.smc-content-panel h2 {
		color: var(--smc-ink);
		font-weight: 900;
		letter-spacing: -.035em;
	}

.smc-page-panel p,
	.smc-content-panel p {
		color: #343A42;
	}

.smc-page-panel a,
	.smc-content-panel a {
		color: var(--smc-blue);
		font-weight: 700;
	}

.smc-page-panel a:hover,
	.smc-content-panel a:hover {
		color: #0C3DBB;
	}

.smc-footer {
		margin-top: auto;
		border-top: 1px solid rgba(245,241,232,.13);
		background: rgba(5,6,7,.92);
	}

.smc-footer-inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 12px 24px;
		padding-block: 22px 28px;
		color: #8f969f;
		font-size: .76rem;
	}

.smc-footer strong {
		color: var(--smc-cream);
		letter-spacing: .04em;
	}

.smc-footer a {
		color: var(--smc-yellow);
	}

.smc-footer a:hover {
		color: #ffe264;
	}

/* SupportCandy */

#supportcandy,
	#wpsc-container,
	#wpsc-container .wpsc-shortcode-container,
	#wpsc-container .wpsc-body {
		color: var(--smc-ink);
		font-family: inherit;
	}

#wpsc-container {
		margin-top: 28px;
	}

#wpsc-container input[type="text"],
	#wpsc-container input[type="email"],
	#wpsc-container input[type="number"],
	#wpsc-container input[type="password"],
	#wpsc-container input[type="file"],
	#wpsc-container select,
	#wpsc-container textarea,
	#wpsc-container .select2-selection,
	#wpsc-container .select2-container--default .select2-selection--single {
		min-height: 46px;
		border: 2px solid #D6D0C5 !important;
		border-radius: 12px !important;
		background: #fff !important;
		color: var(--smc-ink) !important;
		box-shadow: none !important;
	}

#wpsc-container input:focus,
	#wpsc-container select:focus,
	#wpsc-container textarea:focus,
	#wpsc-container .select2-container--focus .select2-selection {
		border-color: var(--smc-blue) !important;
		box-shadow: 0 0 0 4px rgba(30,91,255,.12) !important;
	}

#wpsc-container label,
	#wpsc-container .wpsc-tff-label {
		color: var(--smc-ink) !important;
		font-weight: 800 !important;
	}

#wpsc-container button,
	#wpsc-container .wpsc-button,
	#wpsc-container input[type="submit"] {
		min-height: 44px;
		padding: 10px 18px !important;
		border: 2px solid var(--smc-blue) !important;
		border-radius: 999px !important;
		background: var(--smc-blue) !important;
		color: #fff !important;
		font-weight: 900 !important;
		letter-spacing: .025em;
		box-shadow: 0 9px 20px rgba(30,91,255,.18) !important;
	}

#wpsc-container button:hover,
	#wpsc-container .wpsc-button:hover,
	#wpsc-container input[type="submit"]:hover {
		background: #124CE5 !important;
		border-color: #124CE5 !important;
	}

#wpsc-container .wpsc-editor,
	#wpsc-container .mce-panel,
	#wpsc-container .tox-tinymce {
		border-radius: 12px !important;
		overflow: hidden;
	}

/* BetterDocs */

body .betterdocs-wrapper {
		width: min(100% - 28px, 1480px);
		margin: clamp(18px, 4vw, 48px) auto 64px;
		padding: clamp(16px, 3vw, 34px);
		border: 1px solid var(--smc-line);
		border-radius: 24px;
		background: var(--smc-cream);
		color: var(--smc-ink);
		box-shadow: 0 18px 50px rgba(0,0,0,.34);
	}

body .betterdocs-search-form-wrapper {
		margin-bottom: 22px;
		border-radius: 18px;
		background: var(--smc-blue);
	}

body .betterdocs-searchform {
		border-radius: 999px !important;
		box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;
	}

body .betterdocs-search-field {
		color: var(--smc-ink) !important;
	}

body .betterdocs-content-wrapper {
		gap: 20px;
	}

body .betterdocs-sidebar {
		border: 1px solid #DED7CA;
		border-radius: 18px;
		background: #FBF8F1;
		overflow: hidden;
	}

body .betterdocs-category-header {
		background: #fff;
	}

body .betterdocs-category-title,
	body .betterdocs-articles-list a,
	body .betterdocs-content,
	body .betterdocs-content p,
	body .betterdocs-content li,
	body .betterdocs-content-area {
		color: var(--smc-ink);
	}

body .betterdocs-articles-list a:hover,
	body .betterdocs-breadcrumb a {
		color: var(--smc-blue) !important;
	}

body.single-docs .betterdocs-entry-title {
		display: none !important;
	}

body .betterdocs-content {
		font-family: inherit;
		font-size: 1.02rem;
		line-height: 1.75;
	}

body .betterdocs-content h1,
	body .betterdocs-content h2,
	body .betterdocs-content h3,
	body .betterdocs-content h4 {
		color: var(--smc-ink);
		font-family: inherit;
		font-weight: 900;
		letter-spacing: -.035em;
		line-height: 1.12;
	}

body .betterdocs-content h1 {
		font-size: clamp(2.2rem, 5vw, 4.25rem);
	}

body .betterdocs-content h2 {
		margin-top: 2.1em;
		padding-top: .65em;
		border-top: 1px solid #DED7CA;
		font-size: clamp(1.55rem, 3vw, 2.25rem);
	}

body .betterdocs-content a {
		color: var(--smc-blue);
		font-weight: 700;
	}

body .betterdocs-content blockquote {
		margin-inline: 0;
		padding: 18px 22px;
		border-left: 6px solid var(--smc-yellow);
		border-radius: 0 14px 14px 0;
		background: #fff;
	}

body .betterdocs-tags a,
	body .betterdocs-navigation a {
		border-radius: 999px !important;
	}

/* Readable editor controls */

#wpsc-container .mce-toolbar .mce-btn button {
		width: 42px !important;
		height: 42px !important;
		min-height: 42px !important;
		padding: 0 !important;
	}

#wpsc-container .mce-toolbar .mce-ico,
	#wpsc-container .mce-toolbar .mce-ico::before,
	#wpsc-container .mce-toolbar .mce-btn button i {
		color: #fff !important;
		text-shadow: none !important;
	}

#wpsc-container .mce-toolbar .mce-btn.mce-active button,
	#wpsc-container .mce-toolbar .mce-btn:hover button {
		border-color: var(--smc-yellow) !important;
		background: #124CE5 !important;
	}

/* Ticket privacy notice */

.smc-privacy-note {
		position: relative;
		margin: 24px 0 8px;
		padding: 20px 22px 20px 86px;
		border: 2px solid var(--smc-blue);
		border-radius: 18px;
		background: linear-gradient(135deg, rgba(255,213,48,.3), rgba(255,255,255,.94) 46%);
		color: var(--smc-ink);
		box-shadow: 0 12px 26px rgba(31,35,40,.08);
	}

.smc-privacy-note::before {
		content: "";
		position: absolute;
		left: 18px;
		top: 18px;
		width: 52px;
		height: 52px;
		background: url("assets/illustration-1.svg") center / contain no-repeat;
	}

.smc-privacy-note strong {
		display: block;
		color: var(--smc-ink);
		font-size: 1.05rem;
		font-weight: 950;
	}

.smc-privacy-note p {
		margin: 4px 0 0 !important;
		color: #343A42 !important;
	}

/* BetterDocs archive: branded knowledge base signal */

body.tax-doc_category .betterdocs-wrapper {
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

body.tax-doc_category .betterdocs-search-form-wrapper {
		position: relative;
		min-height: 400px;
		margin-bottom: 20px;
		padding: 275px clamp(24px, 5vw, 64px) 42px !important;
		overflow: hidden;
		border: 1px solid rgba(245,241,232,.28);
		border-radius: 24px;
		background:
			linear-gradient(90deg, rgba(6,7,9,.98) 0%, rgba(6,7,9,.9) 45%, rgba(6,7,9,.25) 76%, rgba(6,7,9,.08) 100%),
			url("assets/illustration-2.svg") right center / auto 100% no-repeat !important;
		box-shadow: 0 18px 50px rgba(0,0,0,.34);
	}

body.tax-doc_category .betterdocs-search-form-wrapper::before {
		content: "KNOWLEDGE BASE // ANSWERS ON AIR";
		position: absolute;
		left: clamp(24px, 5vw, 64px);
		top: 42px;
		max-width: 720px;
		color: var(--smc-cream);
		font-size: clamp(2rem, 4vw, 3.7rem);
		font-weight: 950;
		letter-spacing: -.055em;
		line-height: .94;
		text-wrap: balance;
	}

body.tax-doc_category .betterdocs-search-form-wrapper::after {
		content: "Search the Start My Company guides, then raise a ticket if you still need a real person.";
		position: absolute;
		left: clamp(24px, 5vw, 64px);
		top: 218px;
		max-width: 650px;
		color: #D8DBE1;
		font-size: .92rem;
	}

body.tax-doc_category .betterdocs-searchform {
		max-width: 720px;
		margin: 0 !important;
		border: 3px solid transparent !important;
		background: #fff !important;
	}

body.tax-doc_category .betterdocs-searchform:focus-within {
		border-color: var(--smc-yellow) !important;
	}

body.tax-doc_category .betterdocs-content-wrapper {
		display: grid !important;
		grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
		align-items: start;
		gap: 20px;
	}

body.tax-doc_category .betterdocs-sidebar {
		padding: 14px;
		border-color: rgba(245,241,232,.2);
		background: var(--smc-panel);
		box-shadow: 0 16px 36px rgba(0,0,0,.28);
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-single-category-wrapper {
		margin: 0 0 10px !important;
		border: 1px solid rgba(245,241,232,.15) !important;
		border-radius: 14px !important;
		background: #060709 !important;
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-category-header {
		padding: 14px !important;
		background: transparent !important;
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-category-title,
	body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list a {
		color: var(--smc-cream) !important;
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-category-items-counts {
		background: var(--smc-yellow) !important;
		color: var(--smc-ink) !important;
		font-weight: 950 !important;
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-category-icon-img {
		width: 42px !important;
		height: 42px !important;
		padding: 5px;
		border-radius: 12px;
		background: var(--smc-cream);
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-single-category-wrapper:first-child .betterdocs-category-icon-img {
		content: url("assets/illustration-3.svg");
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-single-category-wrapper:nth-child(2) .betterdocs-category-icon-img {
		content: url("assets/illustration-4.svg");
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-single-category-wrapper:first-child .betterdocs-category-icon-img {
		content: url("assets/illustration-3.svg");
	}

body.tax-doc_category .betterdocs-sidebar .betterdocs-single-category-wrapper:nth-child(2) .betterdocs-category-icon-img {
		content: url("assets/illustration-4.svg");
	}

body.tax-doc_category .betterdocs-content-area {
		padding: clamp(24px, 4vw, 48px) !important;
		border: 1px solid #DED7CA;
		border-radius: 20px;
		background: var(--smc-cream);
		box-shadow: 0 16px 36px rgba(0,0,0,.18);
	}

body.tax-doc_category .betterdocs-entry-title {
		position: relative;
		display: block !important;
		margin: 18px 0 26px;
		padding: 22px 112px 22px 24px;
		border-left: 8px solid var(--smc-blue);
		border-radius: 0 16px 16px 0;
		background: #fff;
	}

body.tax-doc_category .betterdocs-entry-title::after {
		content: "";
		position: absolute;
		right: 18px;
		top: 50%;
		width: 72px;
		height: 72px;
		transform: translateY(-50%);
		background: url("assets/illustration-5.svg") center / contain no-repeat;
	}

body.tax-doc_category .betterdocs-entry-heading {
		margin: 0 !important;
		color: var(--smc-ink) !important;
		font-size: clamp(2rem, 4vw, 3.8rem) !important;
		font-weight: 950 !important;
		letter-spacing: -.05em;
		line-height: .95;
	}

body.tax-doc_category .betterdocs-entry-title p {
		margin: 8px 0 0;
		color: #5E646C;
	}

body.tax-doc_category .betterdocs-entry-body {
		margin: 0 !important;
		padding: 0 !important;
	}

body.tax-doc_category .betterdocs-nested-category-wrapper {
		margin: 0 0 14px !important;
		padding: 20px 22px !important;
		border: 1px solid #DED7CA;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 9px 22px rgba(31,35,40,.06);
	}

body.tax-doc_category .betterdocs-nested-category-title {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 10px;
		color: var(--smc-ink) !important;
		font-size: 1.22rem;
		font-weight: 950;
	}

body.tax-doc_category .betterdocs-nested-category-title::before {
		content: "";
		width: 10px;
		height: 10px;
		flex: 0 0 auto;
		border-radius: 50%;
		background: var(--smc-green);
		box-shadow: 0 0 0 6px rgba(30,190,89,.12);
	}

body.tax-doc_category .betterdocs-nested-category-wrapper:nth-child(even) .betterdocs-nested-category-title::before {
		background: var(--smc-yellow);
		box-shadow: 0 0 0 6px rgba(255,213,48,.17);
	}

body.tax-doc_category .betterdocs-nested-category-list a {
		color: var(--smc-blue) !important;
		font-weight: 750;
		text-decoration: none;
	}

body.tax-doc_category .betterdocs-nested-category-list a:hover {
		text-decoration: underline;
	}

@media (max-width: 760px) {
		.smc-privacy-note {
			padding: 76px 18px 18px;
		}

		body.tax-doc_category .betterdocs-search-form-wrapper {
			min-height: 360px;
			padding: 230px 18px 28px !important;
			background:
				linear-gradient(180deg, rgba(6,7,9,.82), rgba(6,7,9,.96)),
				url("assets/illustration-2.svg") center / cover no-repeat !important;
		}

		body.tax-doc_category .betterdocs-search-form-wrapper::before,
		body.tax-doc_category .betterdocs-search-form-wrapper::after {
			left: 20px;
			right: 20px;
		}

		body.tax-doc_category .betterdocs-search-form-wrapper::before {
			top: 30px;
		}

		body.tax-doc_category .betterdocs-search-form-wrapper::after {
			top: 154px;
		}

		body.tax-doc_category .betterdocs-entry-title {
			padding-right: 24px;
		}

		body.tax-doc_category .betterdocs-entry-title::after {
			display: none;
		}

		body.tax-doc_category .betterdocs-content-wrapper {
			display: block !important;
		}
	}

/* Keep long knowledgebase headings and descriptions in normal document flow */

body.tax-doc_category .betterdocs-entry-title {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		align-items: start !important;
		row-gap: 12px;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

body.tax-doc_category .betterdocs-entry-heading,
	body.tax-doc_category .betterdocs-entry-title p {
		position: static !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

body.tax-doc_category .betterdocs-entry-title p {
		margin: 0 !important;
		line-height: 1.55 !important;
	}

@keyframes smcStatusPulse {
		0%, 100% {
			transform: scale(.76);
			opacity: .58;
			box-shadow: 0 0 7px currentColor;
		}
		50% {
			transform: scale(1.22);
			opacity: 1;
			box-shadow: 0 0 20px currentColor, 0 0 0 6px color-mix(in srgb, currentColor 14%, transparent);
		}
	}

@keyframes smcBlink {
		50% { opacity: .25; }
	}

@media (max-width: 980px) {
		.smc-header-row {
			align-items: flex-start;
		}

		.smc-support-hero {
			grid-template-columns: 1fr;
		}

		.smc-status-panel {
			display: grid;
			grid-template-columns: minmax(170px, .5fr) 1fr;
			align-items: center;
			gap: 18px;
		}

		.smc-status-panel::before {
			right: auto;
			width: 32%;
		}

		.smc-status-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

@media (max-width: 760px) {
		.smc-header-row {
			display: grid;
		}

		.smc-brand-chip {
			width: min(74vw, 250px);
		}

		.smc-nav {
			justify-content: flex-start;
		}

		.smc-nav a {
			font-size: .68rem;
			padding-inline: 11px;
		}

		.smc-hero-copy {
			min-height: 330px;
			padding: 32px 24px;
		}

		.smc-hero-title {
			font-size: clamp(3rem, 14vw, 4.8rem);
		}

		.smc-status-panel {
			display: block;
		}

		.smc-status-grid {
			grid-template-columns: 1fr;
		}

		body .betterdocs-wrapper {
			width: min(100% - 18px, 1480px);
			padding: 10px;
			border-radius: 17px;
		}

		body .betterdocs-content-wrapper {
			display: block !important;
		}

		body .betterdocs-sidebar {
			margin-bottom: 16px;
		}
	}

@media (prefers-reduced-motion: reduce) {
		*,
		*::before,
		*::after {
			animation: none !important;
			scroll-behavior: auto !important;
		}
	}

.smc-kb-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.smc-kb-lane {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 18px;
  border: 1px solid #343A42;
  border-radius: 22px;
  color: #F5F1E8;
  text-decoration: none;
  background: rgba(12, 15, 19, .92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.smc-kb-lane:hover,
.smc-kb-lane:focus-visible {
  color: #F5F1E8;
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .32);
}
.smc-kb-lane-cla:hover,
.smc-kb-lane-cla:focus-visible {
  border-color: #20C9D3;
}
.smc-kb-lane-smc:hover,
.smc-kb-lane-smc:focus-visible {
  border-color: #1E5BFF;
}
.smc-kb-lane img,
.smc-kb-lane-logo {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}
.smc-kb-lane img {
  display: block;
  object-fit: cover;
  background: #fff;
}
.smc-kb-lane-logo {
  display: grid;
  place-items: center;
  padding: 10px;
  color: #1E5BFF;
  background: #F5F1E8;
  font-size: .76rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-2deg);
}
.smc-kb-lane-copy {
  display: grid;
  gap: 6px;
}
.smc-kb-lane-copy strong {
  color: #F5F1E8;
  font-size: 1.08rem;
  line-height: 1.2;
}
.smc-kb-lane-copy small {
  color: #CFC7B9;
  font-size: .84rem;
  line-height: 1.4;
}
.smc-kb-lane-status {
  justify-self: end;
  padding: 8px 10px;
  border-radius: 999px;
  color: #1F2328;
  background: #FFD530;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.post-type-archive-docs article[data-id="3"],
body.post-type-archive-docs article[data-id="4"] {
  border-color: rgba(32, 201, 211, .45) !important;
}
body.post-type-archive-docs article[data-id="70"] {
  border-color: rgba(30, 91, 255, .7) !important;
  box-shadow: inset 0 3px 0 #1E5BFF !important;
}
@media (max-width: 900px) {
  .smc-kb-lanes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .smc-kb-audience {
    padding-top: 26px;
  }
  .smc-kb-lane {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .smc-kb-lane img,
  .smc-kb-lane-logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }
  .smc-kb-lane-status {
    grid-column: 2;
    justify-self: start;
  }
}


/* Keep the CLA and general Start My Company knowledge bases separate */
body.tax-doc_category.term-2 .betterdocs-sidebar article[data-id="70"] {
  display: none !important;
}
body.tax-doc_category.term-70 .betterdocs-sidebar article[data-id="3"],
body.tax-doc_category.term-70 .betterdocs-sidebar article[data-id="4"] {
  display: none !important;
}


/* BetterDocs sidebar subcategory contrast */
body.tax-doc_category .betterdocs-sidebar .betterdocs-nested-category-title>a{
color:#1F2328!important;
opacity:1!important;
}
body.tax-doc_category .betterdocs-sidebar .betterdocs-nested-category-title>a:hover,
body.tax-doc_category .betterdocs-sidebar .betterdocs-nested-category-title>a:focus-visible{
color:#1E5BFF!important;
}





/* Mobile-first fixes for BetterDocs archive and SupportCandy form */
@media (max-width: 600px) {
  body.post-type-archive-docs {
    overflow-x: hidden;
  }

  body.post-type-archive-docs .betterdocs-wrapper,
  body.post-type-archive-docs .betterdocs-search-modal-layout-1,
  body.post-type-archive-docs .betterdocs-search-layout-1,
  body.post-type-archive-docs .betterdocs-search-heading,
  body.post-type-archive-docs .search-bar,
  body.post-type-archive-docs .betterdocs-content-wrapper,
  body.post-type-archive-docs .betterdocs-category-box-wrapper,
  body.post-type-archive-docs .betterdocs-category-box-inner-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-docs .betterdocs-search-layout-1 {
    display: block !important;
    padding: 32px 0 !important;
  }

  body.post-type-archive-docs .betterdocs-search-heading h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 11vw, 2.75rem) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
  }

  body.post-type-archive-docs .search-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  body.post-type-archive-docs .search-input-wrapper,
  body.post-type-archive-docs .search-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-docs .search-button {
    display: block !important;
    text-align: center !important;
  }

  body.post-type-archive-docs .betterdocs-category-box-inner-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.post-type-archive-docs .category-box,
  body.post-type-archive-docs .betterdocs-single-category-inner,
  body.post-type-archive-docs .betterdocs-category-header,
  body.post-type-archive-docs .betterdocs-category-header-inner,
  body.post-type-archive-docs .betterdocs-dynamic-wrapper,
  body.post-type-archive-docs .betterdocs-category-title {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-docs .category-box {
    border-right: 0 !important;
  }

  body.home #wpsc-container,
  body.home #wpsc-container .wpsc-shortcode-container,
  body.home #wpsc-container .wpsc-body,
  body.home #wpsc-container .wpsc-create-ticket,
  body.home #wpsc-container .wpsc-tff {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.home #wpsc-container input:not([type="checkbox"]):not([type="radio"]),
  body.home #wpsc-container select,
  body.home #wpsc-container textarea,
  body.home #wpsc-container .select2-container,
  body.home #wpsc-container .tox-tinymce {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.home #wpsc-container input[type="file"] {
    font-size: 1rem !important;
  }

  body.home #wpsc-container .checkbox-container {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
  }

  body.home #wpsc-container .checkbox-container label,
  body.home #wpsc-container .checkbox-container p {
    min-width: 0 !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
  }

  body.home #wpsc-container .wpsc-ct-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    margin: 18px 0 76px !important;
  }

  body.home #wpsc-container .wpsc-ct-actions .wpsc-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 390px) {
  body.home #wpsc-container .cf-turnstile {
    width: 122% !important;
    max-width: none !important;
    transform: scale(.82);
    transform-origin: left top;
    margin-bottom: -12px;
  }
}



/* Final BetterDocs category-page contrast and mobile containment */
body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title > a {
  color: #1F2328 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title > a:hover,
body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-title > a:focus-visible {
  color: #1E5BFF !important;
}

@media (max-width: 600px) {
  body.tax-doc_category {
    overflow-x: hidden;
  }

  body.tax-doc_category .betterdocs-wrapper,
  body.tax-doc_category .betterdocs-content-wrapper,
  body.tax-doc_category .betterdocs-content-area,
  body.tax-doc_category .betterdocs-category-box-wrapper,
  body.tax-doc_category .betterdocs-category-box-inner-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.tax-doc_category .betterdocs-content-wrapper {
    padding: 20px 12px !important;
  }

  body.tax-doc_category .betterdocs-content-area {
    padding: 16px !important;
  }
}



/* Keep BetterDocs sidebar category cards high-contrast */
body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list li.betterdocs-nested-category-wrapper {
  background: #0C0F13 !important;
  border-color: #343A46 !important;
}

body.tax-doc_category .betterdocs-sidebar .betterdocs-articles-list li.betterdocs-nested-category-wrapper .betterdocs-nested-category-title a {
  color: #F5F1E8 !important;
  opacity: 1 !important;
}



/* Use the real Start My Company mark without overlapping the lane copy */
.smc-kb-lane .smc-kb-lane-mark {
  display: block;
  width: 88px;
  height: 88px;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 18px;
  object-fit: contain;
  background: #F5F1E8;
  transform: none;
}

.smc-kb-lane-copy {
  min-width: 0;
}

.smc-kb-lane-copy strong,
.smc-kb-lane-copy small {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .smc-kb-lane .smc-kb-lane-mark {
    width: 68px;
    height: 68px;
    padding: 6px;
    border-radius: 14px;
  }
}



/* Keep the knowledge-base landing page focused on lane choice and search */
body.post-type-archive-docs .betterdocs-content-wrapper {
  display: none !important;
}



/* CLA knowledge-base journey order: visual only, scoped to the CLA parent archive. */
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-start-here { order: 1; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-understanding-a-non-profit-company { order: 2; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-important-notices-and-service-limits { order: 3; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-documents-you-will-need { order: 4; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-directors-and-company-names { order: 5; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-your-registration-application { order: 6; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-payment-submission-and-what-happens-next { order: 7; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-after-your-non-profit-company-is-registered { order: 8; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-tax-public-benefit-organisation-and-nonprofit-organisation-status { order: 9; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-privacy-security-and-your-information { order: 10; }
body.tax-doc_category.term-non-profit-company-registration
.betterdocs-category-box-inner-wrapper > .category-help-problems-and-troubleshooting { order: 11; }

/* Stable layout, keyboard access, and plugin containment. */
*, *::before, *::after { box-sizing: border-box; }
body { display:flex; flex-direction:column; }
main { flex:1; }
.smc-brand-chip .smc-header-logo {display:block;width:100%;height:auto;max-height:84px;object-fit:contain;}
.smc-skip-link {position:absolute;left:12px;top:-100px;z-index:99999;background:#FFD530;color:#1F2328;padding:12px 18px;}
.smc-skip-link:focus {top:40px;}
.smc-kb-audience {padding:42px 0 24px;}
.smc-kb-audience h1 {font-size:clamp(1.8rem,4vw,3rem);line-height:1.15;margin:8px 0 16px;color:#F5F1E8;}
.smc-kb-audience-kicker {color:#FFD530;text-transform:uppercase;letter-spacing:.14em;font:700 .8rem "Courier New",monospace;}
.smc-kb-audience-intro {max-width:900px;color:#CFC7B9;margin-bottom:24px;}
.smc-content-panel, .smc-page-panel {min-width:0;}
.smc-content-panel .wpsc-shortcode-container, .smc-page-panel .wpsc-shortcode-container {max-width:100%;min-width:0;}
.smc-content-panel .wpsc-shortcode-container input:not([type=checkbox]):not([type=radio]),
.smc-content-panel .wpsc-shortcode-container textarea,
.smc-page-panel .wpsc-shortcode-container input:not([type=checkbox]):not([type=radio]),
.smc-page-panel .wpsc-shortcode-container textarea {max-width:100%;}
.smc-content-panel .wpsc-button, .smc-page-panel .wpsc-button {color:#fff !important;background:#1E5BFF !important;}
.smc-content-panel .mce-btn button, .smc-page-panel .mce-btn button {color:#1F2328 !important;background:#F5F1E8 !important;}
.smc-content-panel .mce-ico, .smc-page-panel .mce-ico {color:#1F2328 !important;}
.smc-content-panel .wpsc-shortcode-container .checkbox-container input,
.smc-page-panel .wpsc-shortcode-container .checkbox-container input {width:auto !important;}
.smc-page-panel table,.smc-content-panel table {max-width:100%;}
.smc-entry {margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #CFC7B9;}
.smc-entry h2 {font-size:1.6rem;line-height:1.25;}
.smc-entry a {color:#1E5BFF;}
.smc-page-panel h1, .smc-page-panel h2 {overflow-wrap:anywhere;}
.smc-page-panel .search-form {display:flex;gap:12px;flex-wrap:wrap;}
.smc-page-panel .search-field {max-width:100%;padding:12px;border:1px solid #7F858D;border-radius:8px;}
.smc-page-panel .search-submit {padding:12px 18px;border:0;border-radius:8px;background:#1E5BFF;color:#fff;}
body.single-docs .betterdocs-content-wrapper, body.single-docs .betterdocs-content-area,
body.single-docs .betterdocs-entry-content {min-width:0;max-width:100%;box-sizing:border-box;}
body.single-docs .betterdocs-content a {overflow-wrap:anywhere;}
body.single-docs .betterdocs-content table {display:block;max-width:100%;overflow-x:auto;}
body.tax-doc_category .betterdocs-sidebar .betterdocs-nested-category-title>a {color:#1F2328 !important;opacity:1 !important;}
@media(max-width:600px){
 .smc-content-panel,.smc-page-panel {width:calc(100% - 24px);padding:20px 14px;margin-left:auto;margin-right:auto;}
 .smc-content-panel {width:100%;}
 .smc-nav {width:100%;gap:8px;flex-wrap:wrap;}
 .smc-nav a {font-size:.8rem;padding:8px 10px;}
 .smc-content-panel .wpsc-shortcode-container,.smc-page-panel .wpsc-shortcode-container {padding:0 !important;}
 .smc-content-panel .wpsc-shortcode-container .wpsc-body,.smc-page-panel .wpsc-shortcode-container .wpsc-body {padding:12px !important;}
 .smc-content-panel .wpsc-tff,.smc-page-panel .wpsc-tff {width:100% !important;min-width:0 !important;}
 .smc-content-panel .select2-container,.smc-page-panel .select2-container {max-width:100% !important;}
 .smc-content-panel .wpsc-ct-actions,.smc-page-panel .wpsc-ct-actions {display:flex;flex-wrap:wrap;gap:10px;}
 .smc-content-panel .wpsc-ct-actions button,.smc-page-panel .wpsc-ct-actions button {max-width:100%;margin:0 !important;}
 body.single-docs .betterdocs-content-wrapper {padding:20px 12px !important;}
 body.single-docs .betterdocs-content-area {padding:16px !important;}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important;transition:none !important;scroll-behavior:auto !important;}}


/* SupportCandy draws its checkbox inside the label; keep that label full width. */
body.home #wpsc-container .checkbox-container,
.smc-content-panel .checkbox-container,
.smc-page-panel .checkbox-container { display: block !important; }
.smc-content-panel .checkbox-container label,
.smc-page-panel .checkbox-container label { width: 100%; min-width: 0; }
.smc-status-item:first-child { color: #80A6FF; }

body.single-docs #comment { width: 100%; max-width: 100%; }
