:root {
	--cb-yellow: #F7C600;
	--cb-yellow-soft: #FFF4B8;
	--cb-ink: #151515;
	--cb-charcoal: #252525;
	--cb-paper: #F7F5EE;
	--cb-white: #FFFFFF;
	--cb-teal: #155E68;
	--cb-teal-soft: #E5F1F2;
	--cb-muted: #686868;
	--cb-border: #D9D5C8;
	--cb-warning: #8A4B08;
	--cb-danger: #8C2525;
	--cb-shadow: 0 18px 40px rgba(21, 21, 21, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cb-paper);
	color: var(--cb-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.66;
	overflow-x: hidden;
}

a {
	color: var(--cb-teal);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--cb-ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
	outline: 3px solid var(--cb-yellow);
	outline-offset: 3px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 1rem;
	line-height: 1.12;
	letter-spacing: 0;
	color: var(--cb-ink);
}

h1 {
	font-size: clamp(2rem, 4.2vw, 4.15rem);
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
	font-size: clamp(1.18rem, 2vw, 1.45rem);
}

ul,
ol {
	margin-top: 0;
	padding-left: 1.25rem;
}

li + li {
	margin-top: 0.45rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.9rem;
	border-bottom: 1px solid var(--cb-border);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--cb-teal-soft);
	font-size: 0.9rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cb-topline {
	background: var(--cb-ink);
	color: var(--cb-yellow-soft);
	padding: 0.55rem 1rem;
	font-size: 0.88rem;
	text-align: center;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 245, 238, 0.96);
	border-bottom: 1px solid var(--cb-border);
	backdrop-filter: blur(10px);
}

.cb-container {
	width: min(100% - 2rem, 1180px);
	margin-inline: auto;
}

.narrow {
	max-width: 780px;
}

.header-inner {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--cb-ink);
	text-decoration: none;
	min-width: 0;
}

.brand-text {
	display: inline-flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.brand-main {
	font-weight: 900;
	font-size: 1.55rem;
	line-height: 1;
	letter-spacing: 0;
}

.brand-logo-img {
	width: auto;
	max-width: 52px;
	max-height: 42px;
	object-fit: contain;
}

.brand-sub {
	font-size: 0.82rem;
	color: var(--cb-teal);
	font-weight: 700;
}

.primary-nav,
.nav-list,
.nav-list ul {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.nav-list,
.nav-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a,
.nav-list ul a {
	display: inline-flex;
	padding: 0.55rem 0.72rem;
	border-radius: 10px;
	color: var(--cb-charcoal);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.94rem;
	white-space: nowrap;
}

.nav-list a:hover,
.nav-list ul a:hover {
	background: var(--cb-yellow-soft);
	color: var(--cb-ink);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--cb-border);
	border-radius: 10px;
	background: var(--cb-white);
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--cb-ink);
	content: "";
}

.menu-toggle-bars::before {
	transform: translateY(-7px);
}

.menu-toggle-bars::after {
	transform: translateY(5px);
}

.cb-section {
	padding: clamp(3.2rem, 7vw, 5.8rem) 0;
}

.cb-section.tight {
	padding: clamp(2rem, 5vw, 3.6rem) 0;
}

.cb-band {
	background: var(--cb-white);
}

.cb-soft {
	background: var(--cb-teal-soft);
}

.cb-hero {
	padding: clamp(3rem, 7vw, 6rem) 0 2rem;
	background:
		linear-gradient(120deg, rgba(255, 244, 184, 0.78), rgba(229, 241, 242, 0.86)),
		var(--cb-paper);
}

.cb-hero-inner,
.cb-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(1.6rem, 4vw, 3.5rem);
	align-items: center;
}

.cb-hero-inner > *,
.cb-split > *,
.platform-map > *,
.category-grid > *,
.card-grid > *,
.link-grid > *,
.quick-reference > *,
.compare-columns > *,
.faq-layout > * {
	min-width: 0;
}

.cb-hero-copy {
	max-width: 720px;
}

.eyebrow {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 1rem;
	padding: 0.34rem 0.65rem;
	background: var(--cb-ink);
	color: var(--cb-yellow-soft);
	border-radius: 10px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.lede {
	font-size: clamp(1.04rem, 1.7vw, 1.22rem);
	color: var(--cb-charcoal);
	max-width: 740px;
}

.cb-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.cb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.72rem 1rem;
	border-radius: 10px;
	border: 2px solid var(--cb-ink);
	background: var(--cb-ink);
	color: var(--cb-white);
	text-decoration: none;
	font-weight: 800;
}

.cb-button.secondary {
	background: var(--cb-white);
	color: var(--cb-ink);
}

.cb-button.teal {
	border-color: var(--cb-teal);
	background: var(--cb-teal);
	color: var(--cb-white);
}

.cb-button:hover {
	background: var(--cb-yellow);
	color: var(--cb-ink);
}

.info-tags {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.info-tags span {
	display: block;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--cb-border);
	border-radius: 10px;
	background: var(--cb-white);
	font-weight: 800;
	font-size: 0.9rem;
}

.cb-media {
	margin: 0;
}

.cb-media img {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--cb-border);
	box-shadow: var(--cb-shadow);
	background: var(--cb-white);
}

.cb-media.mobile-shot {
	max-width: 420px;
	margin-inline: auto;
}

.cb-media.mobile-shot img {
	max-width: 420px;
	margin-inline: auto;
}

.cb-media.compact-shot {
	max-width: 680px;
}

.cb-media.small-shot {
	max-width: 520px;
}

figcaption {
	margin-top: 0.6rem;
	color: var(--cb-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.notice-box {
	padding: clamp(1.2rem, 3vw, 1.75rem);
	border: 2px solid var(--cb-warning);
	border-left-width: 8px;
	border-radius: 14px;
	background: var(--cb-yellow-soft);
}

.danger-box {
	border-color: var(--cb-danger);
	background: #F9E8E6;
}

.section-heading {
	max-width: 820px;
	margin-bottom: 1.8rem;
}

.section-heading p {
	color: var(--cb-muted);
}

.quick-reference {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.reference-item,
.cb-card,
.guide-card,
.step-card,
.check-card {
	padding: 1.2rem;
	border: 1px solid var(--cb-border);
	border-radius: 14px;
	background: var(--cb-white);
	box-shadow: 0 10px 24px rgba(21, 21, 21, 0.04);
}

.reference-item strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--cb-teal);
	font-size: 0.9rem;
}

.platform-map,
.category-grid,
.card-grid,
.link-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.card-grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.guide-card {
	min-height: 100%;
}

.guide-card .icon,
.step-number {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 0.85rem;
	border-radius: 10px;
	background: var(--cb-teal);
	color: var(--cb-white);
	font-weight: 900;
}

.guide-card a {
	font-weight: 800;
}

.read-tag {
	display: block;
	margin-top: 0.7rem;
	color: var(--cb-muted);
	font-size: 0.86rem;
}

.timeline {
	display: grid;
	gap: 1rem;
	counter-reset: timeline;
}

.timeline .step-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.timeline .step-card::before {
	counter-increment: timeline;
	content: counter(timeline);
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--cb-yellow);
	color: var(--cb-ink);
	font-weight: 900;
}

.checklist {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding-left: 1.55rem;
}

.checklist li::before {
	position: absolute;
	left: 0;
	top: 0.18rem;
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--cb-teal);
}

.compare-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.table-wrap {
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	border: 1px solid var(--cb-border);
	border-radius: 14px;
	background: var(--cb-white);
}

.table-wrap table {
	min-width: 760px;
}

.mobile-table-note {
	display: none;
	color: var(--cb-muted);
	font-size: 0.9rem;
}

.login-matrix td:last-child,
.login-matrix th:last-child {
	color: var(--cb-danger);
	font-weight: 700;
}

.faq-preview {
	display: grid;
	gap: 0.75rem;
}

.faq-preview details,
.accordion-item {
	border: 1px solid var(--cb-border);
	border-radius: 14px;
	background: var(--cb-white);
	overflow: hidden;
}

.faq-preview summary,
.accordion-trigger {
	width: 100%;
	padding: 1rem 1.1rem;
	border: 0;
	background: var(--cb-white);
	color: var(--cb-ink);
	font: inherit;
	font-weight: 850;
	text-align: left;
	cursor: pointer;
}

.accordion-panel {
	padding: 0 1.1rem 1.1rem;
}

.faq-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.faq-category-nav {
	position: sticky;
	top: 112px;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1rem;
	border: 1px solid var(--cb-border);
	border-radius: 14px;
	background: var(--cb-white);
}

.faq-category-nav a {
	display: block;
	padding: 0.45rem 0;
	font-weight: 750;
	text-decoration: none;
}

.identity-note {
	max-width: 620px;
	margin: 1rem 0 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--cb-teal) 35%, var(--cb-border));
	border-radius: 14px;
	background: var(--cb-teal-soft);
	color: var(--cb-teal);
	font-weight: 850;
}

.cb-sources {
	border-top: 1px solid var(--cb-border);
	background: var(--cb-white);
}

.cb-sources p,
.source-note {
	color: var(--cb-charcoal);
	font-size: 0.95rem;
}

.disclosure-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.disclosure-list li {
	padding: 0.9rem;
	border: 1px solid var(--cb-border);
	border-radius: 14px;
	background: var(--cb-white);
	font-weight: 760;
}

.cb-breadcrumb {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding-top: 1.1rem;
	color: var(--cb-muted);
	font-size: 0.92rem;
}

.cb-breadcrumb a {
	font-weight: 800;
}

.site-footer {
	background: var(--cb-ink);
	color: var(--cb-white);
	padding: 3.8rem 0 5.5rem;
}

.site-footer a {
	color: var(--cb-yellow-soft);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}

.footer-logo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.4rem;
	font-weight: 900;
}

.footer-logo-img {
	width: auto;
	max-width: 170px;
	max-height: 38px;
	object-fit: contain;
}

.footer-small {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
}

.footer-links,
.footer-links ul {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-contact h2 {
	color: var(--cb-white);
	font-size: 1.1rem;
}

.mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: none;
	grid-template-columns: repeat(4, 1fr);
	background: var(--cb-white);
	border-top: 1px solid var(--cb-border);
	box-shadow: 0 -10px 30px rgba(21, 21, 21, 0.08);
}

.mobile-bottom-nav a {
	padding: 0.7rem 0.35rem calc(0.7rem + env(safe-area-inset-bottom));
	color: var(--cb-ink);
	text-align: center;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 850;
}

.floating-brand-link {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	z-index: 91;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.78rem 1.35rem;
	border: 1px solid rgba(21, 21, 21, 0.16);
	border-radius: 10px;
	background: var(--cb-yellow);
	color: var(--cb-ink);
	box-shadow: 0 12px 28px rgba(21, 21, 21, 0.16);
	font-weight: 900;
	text-decoration: none;
	transform: translateX(-50%);
}

.floating-brand-link:hover,
.floating-brand-link:focus {
	background: var(--cb-ink);
	color: var(--cb-white);
	text-decoration: none;
}

.back-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--cb-teal);
	color: var(--cb-white);
	font-size: 1.2rem;
	font-weight: 900;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.field-list {
	display: grid;
	gap: 0.9rem;
}

.field-list dt {
	font-weight: 900;
	color: var(--cb-teal);
}

.field-list dd {
	margin: 0 0 0.75rem;
}

@media (max-width: 1020px) {
	.platform-map,
	.category-grid,
	.card-grid,
	.card-grid.three,
	.card-grid.two,
	.link-grid,
	.disclosure-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cb-hero-inner,
	.cb-split,
	.footer-grid,
	.faq-layout {
		grid-template-columns: 1fr;
	}

	.faq-category-nav {
		position: static;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
		padding-bottom: 52px;
	}

	.header-inner {
		min-height: 66px;
	}

	.brand-logo-img {
		max-width: 136px;
		max-height: 34px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.primary-nav {
		position: absolute;
		left: 1rem;
		right: 1rem;
		top: calc(100% + 0.5rem);
		display: none;
		padding: 0.75rem;
		border: 1px solid var(--cb-border);
		border-radius: 14px;
		background: var(--cb-white);
		box-shadow: var(--cb-shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.nav-list,
	.nav-list ul {
		display: grid;
		gap: 0.2rem;
	}

	.nav-list a,
	.nav-list ul a {
		display: flex;
		width: 100%;
		padding: 0.7rem 0.85rem;
	}

	.info-tags,
	.quick-reference,
	.platform-map,
	.category-grid,
	.card-grid,
	.card-grid.three,
	.card-grid.two,
	.link-grid,
	.compare-columns,
	.disclosure-list {
		grid-template-columns: 1fr;
	}

	.timeline .step-card {
		grid-template-columns: 1fr;
	}

	.cb-media.mobile-shot,
	.cb-media.mobile-shot img {
		max-width: min(100%, 420px);
	}

	.mobile-table-note {
		display: block;
	}

	.faq-category-nav {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.55rem;
		margin-bottom: 1rem;
		padding: 0.75rem;
	}

	.faq-category-nav a {
		flex: 0 0 auto;
		padding: 0.45rem 0.7rem;
		border: 1px solid var(--cb-border);
		border-radius: 10px;
		background: var(--cb-white);
		font-size: 0.9rem;
		font-weight: 800;
	}

	.mobile-bottom-nav {
		display: grid;
	}

	.floating-brand-link {
		bottom: calc(4.15rem + env(safe-area-inset-bottom));
		max-width: calc(100vw - 2rem);
	}

	.back-to-top {
		bottom: calc(4.6rem + env(safe-area-inset-bottom));
	}
}

@media (max-width: 430px) {
	.cb-container {
		width: min(100% - 1.25rem, 1180px);
	}

	.cb-button-row {
		flex-direction: column;
	}

	.cb-button {
		width: 100%;
	}

	th,
	td {
		padding: 0.78rem;
	}
}
