/* Digital Compliance Compass. Brand: charcoal #222, off-white #f4f4ef, lime #dce85d, olive #3d4119.
   Outfit headings and Atkinson Hyperlegible text come from the theme. Every text pair meets WCAG 2.2 AA. */

.c11y-cc {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 16px 80px;
	color: #222222;
	font-size: 1rem;
	line-height: 1.6;
}
.c11y-cc p,
.c11y-cc li,
.c11y-cc label { font-size: inherit; }
/* Padding and borders stay inside each box's width, so fields never spill out of their column. */
.c11y-cc,
.c11y-cc *,
.c11y-cc *::before,
.c11y-cc *::after { box-sizing: border-box; }
.c11y-cc-card { background: #ffffff; border-radius: 22px; padding: clamp(20px, 4vw, 36px); }
.c11y-cc h2,
.c11y-cc h3,
.c11y-cc h4 { font-family: Outfit, "Segoe UI", system-ui, sans-serif; color: #222222; }
.c11y-cc h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.c11y-cc h2:focus { outline: none; }
.c11y-cc h3 { margin: 28px 0 10px; font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
.c11y-cc h4 { margin: 8px 0 4px; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.c11y-cc-progress { margin: 0 0 6px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3d4119; }
.c11y-cc-lead { margin: 0 0 18px; color: #555555; }
.c11y-cc-loading { color: #555555; }
.c11y-cc-error:not(:empty) {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fdecee;
	border: 1px solid #e7b3bb;
	color: #8a1c2b;
	font-weight: 700;
}

/* Questions */
.c11y-cc-q { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.c11y-cc-q legend,
.c11y-cc-label { display: block; margin: 0 0 6px; padding: 0; font-weight: 700; font-size: 1.05rem; }
.c11y-cc-q[aria-invalid="true"] { padding: 12px; border: 2px solid #a61b2b; border-radius: 14px; }
.c11y-cc-help-text { margin: 0 0 8px; font-size: .92rem; color: #555555; }
.c11y-cc-found { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: #eef3c4; color: #3d4119; font-size: .85rem; font-weight: 700; }
.c11y-cc-deep { margin: 0 0 16px; padding: 10px 14px; border-left: 4px solid #dce85d; border-radius: 8px; background: #f4f4ef; color: #222222; font-size: .95rem; }
.c11y-cc-deep--done { border-left-color: #3d4119; }
.c11y-cc-options { display: grid; gap: 8px; }
.c11y-cc-q--inline .c11y-cc-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), max-content)); }
.c11y-cc-options--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.c11y-cc-option { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.c11y-cc-option input { flex: none; width: 22px; height: 22px; margin: 13px 0 0 14px; accent-color: #222222; position: absolute; }
.c11y-cc-option label {
	flex: 1;
	min-height: 48px;
	padding: 12px 14px 12px 46px;
	border: 2px solid #9a9a8a;
	border-radius: 12px;
	cursor: pointer;
	line-height: 1.35;
}
.c11y-cc-option input:checked + label { border-color: #222222; background: #f4f4ef; box-shadow: inset 0 0 0 1px #222222; }
.c11y-cc-option input:focus-visible + label { outline: 3px solid #222222; outline-offset: 2px; box-shadow: 0 0 0 6px #dce85d; }
.c11y-cc-option-hint { display: block; margin-top: 2px; font-size: .86rem; color: #555555; }
.c11y-cc select,
.c11y-cc input[type="url"],
.c11y-cc input[type="email"],
.c11y-cc input[type="text"],
.c11y-cc input[type="search"] {
	width: 100%;
	max-width: 32rem;
	min-height: 48px;
	padding: .6rem .8rem;
	border: 2px solid #555555;
	border-radius: 10px;
	background: #ffffff;
	color: #222222;
	font: inherit;
}
.c11y-cc select:focus-visible,
.c11y-cc input:focus-visible,
.c11y-cc summary:focus-visible,
.c11y-cc a:focus-visible,
.c11y-cc button:focus-visible { outline: 3px solid #222222; outline-offset: 2px; box-shadow: 0 0 0 6px #dce85d; }
.c11y-cc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.c11y-cc-row input { flex: 1 1 16rem; }
.c11y-cc-more { margin: 12px 0; }
.c11y-cc-more summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.c11y-cc-countries { max-height: 22rem; overflow: auto; margin-top: 10px; padding: 4px; border: 1px solid #dcdcd2; border-radius: 12px; }
.c11y-cc-picked { margin: 10px 0 0; font-size: .92rem; color: #555555; }
.c11y-cc-status { margin: 10px 0 0; font-weight: 700; }
.c11y-cc-status:empty { display: none; }

/* Buttons and links */
.c11y-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid #222222;
	border-radius: 999px;
	background: #222222;
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.c11y-cc-btn:hover { background: #3d4119; border-color: #3d4119; color: #ffffff; }
.c11y-cc-btn[disabled] { opacity: .6; cursor: wait; }
.c11y-cc-btn--ghost { background: #ffffff; color: #222222; }
.c11y-cc-btn--ghost:hover { background: #f4f4ef; color: #222222; border-color: #222222; }
.c11y-cc-btn--lime { background: #dce85d; border-color: #dce85d; color: #222222; }
/* Like the theme's lime buttons: the button stays lime and lifts a little. */
.c11y-cc-btn--lime { transition: transform .15s ease, box-shadow .15s ease; }
.c11y-cc-btn--lime:hover { background: #dce85d; border-color: #dce85d; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(34, 34, 34, .45); }
.c11y-cc-cta .c11y-cc-btn--lime:hover { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); }
@media (prefers-reduced-motion: reduce) { .c11y-cc-btn--lime { transition: none; } .c11y-cc-btn--lime:hover { transform: none; } }
.c11y-cc-link { color: #3d4119; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 14px; }
.c11y-cc a { color: #3d4119; }
.c11y-cc .c11y-cc-btn { color: #ffffff; }
.c11y-cc .c11y-cc-btn--lime,
.c11y-cc .c11y-cc-btn--ghost { color: #222222; }
.c11y-cc-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #dcdcd2; }

/* Scan findings */
.c11y-cc-scanbox { margin: 22px 0 0; padding: 18px 20px; border-radius: 16px; background: #222222; color: #ffffff; }
.c11y-cc-scanbox h3 { margin: 0 0 8px; color: #dce85d; }
.c11y-cc-scanbox ul { margin: 0; padding-left: 1.2rem; line-height: 1.7; }
.c11y-cc-scanbox p { margin: 8px 0 0; color: #d6d6cc; }
.c11y-cc-evidence { padding-left: 1.2rem; line-height: 1.7; }

/* Results */
.c11y-cc-summary { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c11y-cc-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; border: 1.5px solid transparent; }
.c11y-cc-badge--applies { background: #222222; color: #ffffff; }
.c11y-cc-badge--likely { background: #dce85d; color: #222222; }
.c11y-cc-badge--check { background: #fff4dc; color: #5c3200; border-color: #8a4b00; }
.c11y-cc-badge--coming { background: #e7f1fb; color: #123a63; border-color: #2f6aa3; }
.c11y-cc-badge--exempt { background: #ffffff; color: #555555; border-color: #9a9a8a; }
.c11y-cc-section { margin-top: 36px; }
.c11y-cc-section > h3 { margin: 0 0 6px; font-size: 1.55rem; }
.c11y-cc-section--abroad { margin-top: 48px; padding: 24px; border-radius: 18px; background: #f4f4ef; }
.c11y-cc-section--abroad .c11y-cc-item { background: #ffffff; }
.c11y-cc-abroad-note { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: #f4f4ef; }
.c11y-cc-group { margin-top: 24px; }
.c11y-cc .c11y-cc-group__h { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid #222222; font-family: Outfit, "Segoe UI", system-ui, sans-serif; font-size: 1.25rem; font-weight: 700; }
.c11y-cc h5 { margin: 8px 0 4px; font-family: Outfit, "Segoe UI", system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: #222222; }
.c11y-cc-note { margin: 0 0 10px; font-size: .95rem; color: #555555; }
.c11y-cc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.c11y-cc-item { padding: 16px 18px; border-radius: 16px; background: #f4f4ef; border-left: 6px solid #9a9a8a; }
.c11y-cc-item--applies { border-left-color: #222222; }
.c11y-cc-item--likely { border-left-color: #3d4119; }
.c11y-cc-item--check { border-left-color: #8a4b00; }
.c11y-cc-item--coming { border-left-color: #2f6aa3; }
.c11y-cc-item__top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.c11y-cc-kind { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555555; }
.c11y-cc-reason { margin: 4px 0 6px; color: #3d4119; font-weight: 600; }
.c11y-cc-req { margin: 0 0 6px; line-height: 1.55; }
.c11y-cc-src { margin: 0; font-size: .88rem; color: #555555; }

/* Lead form and help */
.c11y-cc-leadform { margin: 20px 0 6px; padding: 20px; border-radius: 16px; border: 2px solid #222222; display: flex; flex-direction: column; gap: 10px; }
.c11y-cc-leadform h3 { margin: 0; }
.c11y-cc-leadform p { margin: 0; }
.c11y-cc-leadform .c11y-cc-btn { align-self: flex-start; }
.c11y-cc-fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.c11y-cc-fields label { display: block; font-weight: 700; margin-bottom: 4px; }
.c11y-cc-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* "Want these changes made on your site?" card: charcoal, with the lime accent. */
.c11y-cc-cta {
	position: relative;
	overflow: hidden;
	margin-top: 44px;
	padding: clamp(24px, 4vw, 40px);
	border-radius: 22px;
	background: #222222;
	color: #ffffff;
	display: grid;
	gap: 24px;
}
@media (min-width: 860px) { .c11y-cc-cta { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }
.c11y-cc-cta::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: #3d4119; pointer-events: none; }
.c11y-cc-cta > * { position: relative; z-index: 1; }
.c11y-cc .c11y-cc-cta h3 { margin: 4px 0 10px; color: #ffffff; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; }
.c11y-cc-cta p { margin: 0 0 12px; color: #f4f4ef; }
.c11y-cc-cta__eyebrow { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #dce85d !important; }
.c11y-cc-cta__points { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.c11y-cc-cta__points li { position: relative; padding-left: 26px; color: #ffffff; }
.c11y-cc-cta__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid #dce85d; border-bottom: 3px solid #dce85d; transform: rotate(-45deg); }
.c11y-cc-cta__form { padding: 22px; border-radius: 16px; background: #ffffff; color: #222222; }
.c11y-cc-cta__fields { display: grid; gap: 12px; }
.c11y-cc-cta__fields label { display: block; margin-bottom: 4px; font-weight: 700; color: #222222; }
.c11y-cc .c11y-cc-cta__fields input { max-width: none; }
.c11y-cc-cta__fields .c11y-cc-btn { width: 100%; margin-top: 4px; }
.c11y-cc-cta__form .c11y-cc-status { color: #222222; }
.c11y-cc-cta__form .c11y-cc-status:focus { outline: none; }
.c11y-cc input[aria-invalid="true"] { border-color: #a61b2b; }
.c11y-cc-disclaimer { margin: 18px 0 0; font-size: .86rem; color: #555555; }
.c11y-cc-meta { margin: 0; color: #555555; }
.c11y-cc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
	.c11y-cc-option label { transition: border-color .12s ease, background-color .12s ease; }
}
