/* Shared CrazyNBN styles: tokens, buttons, sections, tables, FAQ, CTA and plan cards.
   Used by /crazynbn/ and the per-technology plan pages. */

:root {
	--cnbn-primary: #e21232;
	--cnbn-primary-hover: #b50304;
	--cnbn-primary-light: rgba(226, 18, 50, 0.08);
	--cnbn-dark: #0f1115;
	--cnbn-dark-alt: #1c1f26;
	--cnbn-light: #f8fafc;
	--cnbn-white: #ffffff;
	--cnbn-text: #29353e;
	--cnbn-muted: #5b6878;
	--cnbn-border: #e2e8f0;
	--cnbn-radius: 12px;
	--cnbn-radius-sm: 8px;
	--cnbn-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Buttons */
.cnbn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--cnbn-ease);
}
.cnbn-btn:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 3px; }
.cnbn-btn-primary { background: var(--cnbn-primary); color: var(--cnbn-white) !important; }
.cnbn-btn-primary:hover { background: var(--cnbn-primary-hover); color: var(--cnbn-white) !important; transform: translateY(-1px); }
.cnbn-btn-outline { background: var(--cnbn-white); color: var(--cnbn-primary) !important; border-color: var(--cnbn-primary); }
.cnbn-btn-outline:hover { background: var(--cnbn-primary); color: var(--cnbn-white) !important; }
.cnbn-btn-ghost { background: transparent; color: var(--cnbn-white) !important; border-color: rgba(255, 255, 255, 0.45); }
.cnbn-btn-ghost:hover { border-color: var(--cnbn-white); color: var(--cnbn-white) !important; }
.cnbn-btn-block { width: 100%; }

/* Sections */
.cnbn-section { padding: 80px 0; }
.cnbn-section-white { background: var(--cnbn-white); }
.cnbn-section-light { background: var(--cnbn-light); }
.cnbn-section-dark { background: var(--cnbn-dark); color: var(--cnbn-white); }
.cnbn-section-dark-alt { background: var(--cnbn-dark-alt); color: var(--cnbn-white); }
.cnbn-heading {
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-size: clamp(1.6rem, 2.8vw, 2.15rem);
	font-weight: normal;
	letter-spacing: -0.02em;
	color: var(--cnbn-text);
	margin: 0 0 12px;
	text-wrap: balance;
}
.cnbn-section-dark .cnbn-heading,
.cnbn-section-dark-alt .cnbn-heading { color: var(--cnbn-white); }
.cnbn-sub {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--cnbn-muted);
	max-width: 62ch;
	margin: 0 0 40px;
	text-wrap: pretty;
}
.cnbn-section-dark .cnbn-sub,
.cnbn-section-dark-alt .cnbn-sub { color: rgba(255, 255, 255, 0.74); }

/* Compare table */
.cnbn-table-wrap { overflow-x: auto; border: 1px solid var(--cnbn-border); border-radius: var(--cnbn-radius); background: var(--cnbn-white); }
.cnbn-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.95rem; }
.cnbn-table th,
.cnbn-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--cnbn-border); color: var(--cnbn-text); }
.cnbn-table thead th {
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-weight: normal;
	font-size: 1.02rem;
	background: var(--cnbn-light);
	white-space: nowrap;
}
.cnbn-table tbody th { font-weight: 600; color: var(--cnbn-muted); white-space: nowrap; }
.cnbn-table tbody tr:last-child th,
.cnbn-table tbody tr:last-child td { border-bottom: 0; }
.cnbn-table .cnbn-col-hot { background: var(--cnbn-primary-light); }
.cnbn-table thead .cnbn-col-hot { background: rgba(226, 18, 50, 0.12); color: var(--cnbn-primary); }
.cnbn-table-price td { font-weight: 700; }
.cnbn-yes { color: var(--cnbn-primary); }

/* FAQ */
.cnbn-faq-list { max-width: 820px; }
.cnbn-faq-item { border-bottom: 1px solid var(--cnbn-border); }
.cnbn-faq-question {
	width: 100%;
	background: none;
	border: 0;
	text-align: left;
	padding: 18px 36px 18px 0;
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-size: 1.05rem;
	color: var(--cnbn-text);
	cursor: pointer;
	position: relative;
}
.cnbn-faq-question:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 2px; }
.cnbn-faq-question::after {
	content: '\f107';
	font-family: FontAwesome;
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--cnbn-primary);
	transition: transform 0.2s ease;
}
.cnbn-faq-item.active .cnbn-faq-question::after { transform: translateY(-50%) rotate(180deg); }
.cnbn-faq-answer { display: none; padding: 0 0 18px; margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--cnbn-muted); max-width: 70ch; }

/* CTA */
.cnbn-cta { text-align: center; padding: 72px 0; }
.cnbn-cta .cnbn-sub { margin: 0 auto 28px; }
.cnbn-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cnbn-disclaimer {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	max-width: 80ch;
	margin: 32px auto 0;
	line-height: 1.55;
}

/* Plan card: split panel (dark speed header, white body) */
.cnbn-pc {
	position: relative;
	flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--cnbn-border);
	border-radius: 18px;
	background: var(--cnbn-white);
	box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
	transition: transform 0.25s var(--cnbn-ease), box-shadow 0.25s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.cnbn-pc:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 17, 21, 0.12); }
.cnbn-pc-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--cnbn-primary);
	color: var(--cnbn-white);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}
.cnbn-pc-head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 22px 22px 24px;
	background: var(--cnbn-dark-alt);
	color: var(--cnbn-white);
}
.cnbn-pc-head::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.5;
	background: repeating-linear-gradient(115deg, transparent 0 var(--stripe, 14px), rgba(255, 255, 255, 0.06) var(--stripe, 14px) calc(var(--stripe, 14px) + 2px));
}
.cnbn-pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.cnbn-pc-name {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}
.cnbn-pc-name span { color: var(--cnbn-white); }
.cnbn-pc-head .cnbn-pc-badge { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); }
.cnbn-pc-head .cnbn-pc-badge-pop i { color: #ff8a9a; }
.cnbn-pc-speeds { display: flex; align-items: flex-end; gap: 18px; min-height: 64px; margin-top: 30px; }
.cnbn-pc-speeds > div { display: grid; gap: 6px; }
.cnbn-pc-speeds small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.cnbn-pc-speeds b {
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-weight: normal;
	font-size: 3.4rem;
	line-height: 0.85;
	letter-spacing: -0.045em;
	color: var(--cnbn-white);
	white-space: nowrap;
}
.cnbn-pc-speeds .cnbn-pc-up b { font-size: 1.75rem; color: rgba(255, 255, 255, 0.82); letter-spacing: -0.03em; }
.cnbn-pc-speeds.is-long b { font-size: 2.5rem; }
.cnbn-pc-speeds.is-long .cnbn-pc-up b { font-size: 1.4rem; }
.cnbn-pc-unit { margin-left: auto; padding-bottom: 2px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.cnbn-pc-tag {
	position: absolute;
	left: 22px;
	top: 52px;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}
.cnbn-pc-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 22px; }
.cnbn-pc-tes {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--cnbn-light);
	border: 1px solid var(--cnbn-border);
}
.cnbn-pc-tes span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cnbn-muted); }
.cnbn-pc-tes b { font-size: 0.98rem; color: var(--cnbn-text); white-space: nowrap; }
.cnbn-pc-price { display: flex; align-items: flex-end; gap: 10px; }
.cnbn-pc-amount {
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-size: 2.7rem;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--cnbn-text);
}
.cnbn-pc-cur { font-size: 1.4rem; vertical-align: top; position: relative; top: 4px; margin-right: 1px; }
.cnbn-pc-cents { font-size: 1.3rem; vertical-align: top; position: relative; top: 4px; }
.cnbn-pc-per { font-size: 0.76rem; line-height: 1.3; color: var(--cnbn-muted); padding-bottom: 3px; }
.cnbn-pc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; flex: 1; align-content: start; }
.cnbn-pc-list li { position: relative; padding-left: 26px; font-size: 0.9rem; line-height: 1.45; color: var(--cnbn-text); }
.cnbn-pc-list li::before {
	content: '\f00c';
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 2px;
	display: grid;
	place-items: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--cnbn-primary-light);
	color: var(--cnbn-primary);
	font-size: 0.6rem;
}
.cnbn-pc-list li.is-opt { color: var(--cnbn-muted); }
.cnbn-pc-list li.is-opt::before { content: '\f067'; background: #eef1f5; color: var(--cnbn-muted); }
.cnbn-pc-here { margin: 0; padding: 9px 12px; border-radius: var(--cnbn-radius-sm); font-size: 0.82rem; line-height: 1.4; font-weight: 600; }
.cnbn-pc-cta {
	display: block;
	text-align: center;
	padding: 14px 18px;
	border-radius: 999px;
	border: 2px solid var(--cnbn-text);
	color: var(--cnbn-text) !important;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cnbn-pc-cta:hover { background: var(--cnbn-text); color: var(--cnbn-white) !important; }
.cnbn-pc-cta:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 3px; }
.cnbn-pc-docs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin: -4px 0 0; font-size: 0.78rem; }
.cnbn-pc-docs a { color: var(--cnbn-muted); text-decoration: underline; text-underline-offset: 2px; }
.cnbn-pc-docs a:hover { color: var(--cnbn-primary); }

/* Best Value: red header */
.cnbn-pc.is-best { border-color: var(--cnbn-primary); box-shadow: 0 0 0 1px var(--cnbn-primary), 0 22px 48px rgba(226, 18, 50, 0.18); }
.cnbn-pc.is-best:hover { box-shadow: 0 0 0 1px var(--cnbn-primary), 0 28px 60px rgba(226, 18, 50, 0.26); }
.cnbn-pc.is-best .cnbn-pc-head { background: linear-gradient(150deg, #f0263f 0%, var(--cnbn-primary) 45%, #a0021b 100%); }
.cnbn-pc.is-best .cnbn-pc-head::after { background: repeating-linear-gradient(115deg, transparent 0 var(--stripe, 14px), rgba(255, 255, 255, 0.12) var(--stripe, 14px) calc(var(--stripe, 14px) + 2px)); }
.cnbn-pc.is-best .cnbn-pc-head .cnbn-pc-badge { background: var(--cnbn-white); border-color: var(--cnbn-white); color: var(--cnbn-primary); }
.cnbn-pc.is-best .cnbn-pc-cta { background: var(--cnbn-primary); border-color: var(--cnbn-primary); color: var(--cnbn-white) !important; }
.cnbn-pc.is-best .cnbn-pc-cta:hover { background: var(--cnbn-primary-hover); border-color: var(--cnbn-primary-hover); }

/* Most popular: deep navy header */
.cnbn-pc.is-popular { border-color: rgba(29, 78, 137, 0.35); box-shadow: 0 14px 34px rgba(29, 78, 137, 0.12); }
.cnbn-pc.is-popular .cnbn-pc-head { background: radial-gradient(120% 90% at 100% 0%, rgba(56, 189, 248, 0.3) 0%, rgba(56, 189, 248, 0) 60%), linear-gradient(150deg, #0c1f3a 0%, #133a6b 55%, #1d4e89 100%); }
.cnbn-pc.is-popular .cnbn-pc-head::after { background: repeating-linear-gradient(115deg, transparent 0 var(--stripe, 14px), rgba(255, 255, 255, 0.08) var(--stripe, 14px) calc(var(--stripe, 14px) + 2px)); }
.cnbn-pc.is-popular .cnbn-pc-head .cnbn-pc-badge { background: rgba(125, 211, 252, 0.16); border-color: rgba(125, 211, 252, 0.5); color: #dbf1ff; }
.cnbn-pc.is-popular .cnbn-pc-head .cnbn-pc-badge-pop i { color: #7dd3fc; }
/* Most popular: dark CTA */
.cnbn-pc.is-popular .cnbn-pc-cta { background: #133a6b; border-color: #133a6b; color: var(--cnbn-white) !important; }
.cnbn-pc.is-popular .cnbn-pc-cta:hover { background: var(--cnbn-primary); border-color: var(--cnbn-primary); }

/* Address check states on cards */
.cnbn-pc.is-here:not(.is-best) { border-color: #15803d; box-shadow: 0 0 0 1px #15803d, 0 14px 34px rgba(21, 128, 61, 0.14); }
.cnbn-pc.is-here .cnbn-pc-here { background: #e8f6ee; color: #136c35; }
.cnbn-pc.is-upgrade .cnbn-pc-here { background: #fff4e5; color: #8a4b08; }
.cnbn-pc.is-not-here { order: 2; box-shadow: none; }
.cnbn-pc.is-not-here:hover { transform: none; box-shadow: none; }
.cnbn-pc.is-best.is-not-here { box-shadow: 0 0 0 1px rgba(226, 18, 50, 0.45); }
.cnbn-pc.is-not-here .cnbn-pc-head { filter: saturate(0.25); opacity: 0.55; }
.cnbn-pc.is-not-here .cnbn-pc-body > :not(.cnbn-pc-here) { opacity: 0.4; }
.cnbn-pc.is-not-here .cnbn-pc-cta { pointer-events: none; }
.cnbn-pc.is-not-here .cnbn-pc-here { background: #eef1f5; color: var(--cnbn-muted); }

@media (max-width: 640px) {
	.cnbn-pc-speeds b { font-size: 3.1rem; }
	.cnbn-pc-speeds.is-long b { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
	.cnbn-btn, .cnbn-pc { transition: none; }
	.cnbn-pc:hover, .cnbn-btn-primary:hover { transform: none; }
}

/* Plans toolbar */
.cnbn-plans-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
}
.cnbn-plans-head .cnbn-sub { margin-bottom: 0; }
.cnbn-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cnbn-tabs {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: var(--cnbn-light);
	border: 1px solid var(--cnbn-border);
}
.cnbn-tabs button {
	border: 0;
	background: transparent;
	color: var(--cnbn-muted);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 9px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.cnbn-tabs button[aria-selected="true"] { background: var(--cnbn-dark); color: var(--cnbn-white); }
.cnbn-tabs button:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 2px; }
.cnbn-tech-select { position: relative; }
.cnbn-tech-select select {
	height: 42px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--cnbn-border);
	border-radius: 999px;
	background: var(--cnbn-white);
	color: var(--cnbn-text);
	font-size: 0.9rem;
	font-weight: 600;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}
.cnbn-tech-select::after {
	content: '\f107';
	font-family: FontAwesome;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--cnbn-muted);
	pointer-events: none;
}
.cnbn-family-sub { margin: 18px 0 0; color: var(--cnbn-muted); font-size: 0.95rem; }

/* Carousel */
.cnbn-carousel { position: relative; }
.cnbn-car-track {
	--per: 3;
	--gap: 22px;
	position: relative;
	display: flex;
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 30px 2px 34px;
	margin: 0 -2px;
}
.cnbn-car-track::-webkit-scrollbar { display: none; }
.cnbn-car-track:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 4px; border-radius: 18px; }
.cnbn-car-btn {
	position: absolute;
	top: calc(50% - 20px);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid var(--cnbn-border);
	background: var(--cnbn-white);
	color: var(--cnbn-text);
	font-size: 1.4rem;
	box-shadow: 0 8px 24px rgba(15, 17, 21, 0.14);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.cnbn-car-btn:hover { background: var(--cnbn-primary); border-color: var(--cnbn-primary); color: var(--cnbn-white); }
.cnbn-car-btn:focus-visible { outline: 2px solid var(--cnbn-primary); outline-offset: 3px; }
.cnbn-car-btn[disabled] { opacity: 0; pointer-events: none; }
.cnbn-car-prev { left: -26px; }
.cnbn-car-next { right: -26px; }
.cnbn-car-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -8px; }
.cnbn-car-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cfd6df;
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}
.cnbn-car-dot.is-on { width: 26px; background: var(--cnbn-primary); }
.cnbn-car-dot.is-best:not(.is-on) { background: rgba(226, 18, 50, 0.45); }

@media (max-width: 1240px) {
	.cnbn-car-prev { left: -10px; }
	.cnbn-car-next { right: -10px; }
}
@media (max-width: 991px) {
	.cnbn-car-track { --per: 2; }
	.cnbn-plans-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
	.cnbn-car-track { --per: 1; --gap: 14px; padding-right: 15%; scroll-padding-left: 2px; }
	.cnbn-car-btn { display: none; }
	.cnbn-toolbar { width: 100%; }
	.cnbn-tabs { width: 100%; }
	.cnbn-tabs button { flex: 1; padding: 9px 10px; }
	.cnbn-tech-select, .cnbn-tech-select select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.cnbn-car-track { scroll-behavior: auto; }
}

/* Address check card (hero) */
.cnbn-sq {
	max-width: 560px;
	margin: 0 0 14px;
	padding: 22px 22px 18px;
	border-radius: 16px;
	background: var(--cnbn-white);
	color: var(--cnbn-text);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cnbn-sq-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-size: 1.1rem;
	color: var(--cnbn-text);
}
.cnbn-sq-title i {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cnbn-primary-light);
	color: var(--cnbn-primary);
	font-size: 0.95rem;
}
.cnbn-sq-auto[hidden], .cnbn-sq-grid[hidden], .cnbn-sq-auto-hint[hidden] { display: none; }
.cnbn-sq-auto-label {
	display: block;
	margin: 0 0 4px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cnbn-muted);
}
.cnbn-sq-auto-box { position: relative; }
.cnbn-sq-auto-box > i { position: absolute; left: 14px; top: 15px; color: var(--cnbn-muted); pointer-events: none; }
.cnbn-sq-auto-box input {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 14px 0 40px;
	border: 1px solid var(--cnbn-border);
	border-radius: var(--cnbn-radius-sm);
	background: var(--cnbn-light);
	color: var(--cnbn-text);
	font-size: 16px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cnbn-sq-auto-box input::placeholder { color: #94a0b0; }
.cnbn-sq-auto-box input:focus { outline: none; border-color: var(--cnbn-primary); background: var(--cnbn-white); box-shadow: 0 0 0 3px var(--cnbn-primary-light); }
.cnbn-sq-sugg {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 300px;
	overflow-y: auto;
	background: var(--cnbn-white);
	border: 1px solid var(--cnbn-border);
	border-radius: var(--cnbn-radius-sm);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}
.cnbn-sq-sugg[hidden] { display: none; }
.cnbn-sq-sugg li { padding: 10px 14px; font-size: 0.92rem; color: var(--cnbn-text); cursor: pointer; }
.cnbn-sq-sugg li[aria-selected="true"], .cnbn-sq-sugg li:hover { background: var(--cnbn-primary-light); }
.cnbn-sq-sugg li.is-empty { cursor: default; color: var(--cnbn-muted); background: none; }
.cnbn-sq-auto-hint { margin: 10px 0 0; font-size: 0.85rem; color: var(--cnbn-muted); }
#cnbn-sq-back { margin: 0 0 12px; }
.cnbn-sq-link { border: 0; padding: 0; background: none; color: var(--cnbn-primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cnbn-sq-link:hover, .cnbn-sq-link:focus-visible { color: var(--cnbn-primary-hover); }
.cnbn-sq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cnbn-sq-grid .span-2 { grid-column: span 2; }
.cnbn-sq-grid .span-3 { grid-column: span 3; }
.cnbn-sq-field label {
	display: block;
	margin: 0 0 4px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cnbn-muted);
}
.cnbn-sq-field input,
.cnbn-sq-field select {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--cnbn-border);
	border-radius: var(--cnbn-radius-sm);
	background: var(--cnbn-light);
	color: var(--cnbn-text);
	font-size: 15px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cnbn-sq-field input::placeholder { color: #94a0b0; }
.cnbn-sq-field input:focus,
.cnbn-sq-field select:focus { outline: none; border-color: var(--cnbn-primary); background: var(--cnbn-white); box-shadow: 0 0 0 3px var(--cnbn-primary-light); }
.cnbn-sq-submit { display: flex; align-items: flex-end; }
.cnbn-sq-submit .cnbn-btn { width: 100%; height: 44px; padding: 0 20px; border-radius: var(--cnbn-radius-sm); }
.cnbn-sq-submit .cnbn-btn[disabled] { opacity: 0.7; cursor: progress; }
.cnbn-sq-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--cnbn-muted); }
.cnbn-sq-status:empty { display: none; }
.cnbn-sq-status.is-error { color: var(--cnbn-primary-hover); }
.cnbn-sq-pick { margin: 10px 0 0; }
.cnbn-sq-pick ul {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 232px;
	overflow-y: auto;
	border: 1px solid var(--cnbn-border);
	border-radius: var(--cnbn-radius-sm);
}
.cnbn-sq-pick button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--cnbn-border);
	background: var(--cnbn-white);
	color: var(--cnbn-text);
	padding: 11px 14px;
	font-size: 0.9rem;
	cursor: pointer;
}
.cnbn-sq-pick button::after { content: '\f105'; font-family: FontAwesome; color: var(--cnbn-primary); }
.cnbn-sq-pick li:last-child button { border-bottom: 0; }
.cnbn-sq-pick button:hover,
.cnbn-sq-pick button:focus-visible { background: var(--cnbn-primary-light); outline: none; }

.cnbn-sq-notice {
	margin: 6px 0;
	padding: 10px 14px;
	border-left: 3px solid #e0a100;
	border-radius: var(--cnbn-radius-sm);
	background: #fff7e0;
	color: var(--cnbn-text);
}
/* Address check result */
.cnbn-sq-result {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 4px 18px;
	margin: 28px 0 0;
	padding: 22px 24px;
	border-radius: 16px;
	background: var(--cnbn-light);
	border: 1px solid var(--cnbn-border);
}
.cnbn-sq-result[hidden] { display: none; }
.cnbn-sq-result:focus { outline: none; }
.cnbn-sq-icon {
	grid-row: span 10;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e8f6ee;
	color: #15803d;
	font-size: 1.2rem;
}
.cnbn-sq-result.is-unavailable .cnbn-sq-icon { background: var(--cnbn-primary-light); color: var(--cnbn-primary); }
.cnbn-sq-result h3 { margin: 0; font-family: 'google_sansmedium', 'Open Sans', sans-serif; font-size: 1.2rem; font-weight: normal; color: var(--cnbn-text); }
.cnbn-sq-result p { margin: 2px 0 0; font-size: 0.93rem; line-height: 1.55; color: var(--cnbn-muted); }
.cnbn-sq-addr { font-weight: 600; color: var(--cnbn-text) !important; }
.cnbn-sq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.cnbn-sq-chips span { padding: 6px 12px; border-radius: 999px; background: var(--cnbn-white); border: 1px solid var(--cnbn-border); font-size: 0.82rem; font-weight: 600; color: var(--cnbn-text); }
.cnbn-sq-clear { justify-self: start; margin-top: 8px; background: none; border: 0; padding: 0; color: var(--cnbn-primary); font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.cnbn-sq-clear:hover { text-decoration: underline; }
.cnbn-plans-empty { color: var(--cnbn-muted); }
@media (max-width: 640px) {
	.cnbn-sq { padding: 18px 16px 16px; }
	.cnbn-sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cnbn-sq-grid .span-2,
	.cnbn-sq-grid .span-3,
	.cnbn-sq-grid .cnbn-sq-type-f { grid-column: span 2; }
	.cnbn-sq-result { grid-template-columns: 1fr; padding: 18px; }
	.cnbn-sq-icon { grid-row: auto; }
}

/* Address check: address is on a different technology from the page */
.cnbn-sq-wrong {
	margin: 10px 0 4px;
	padding: 14px 16px;
	border-left: 3px solid #e0a100;
	border-radius: var(--cnbn-radius-sm);
	background: #fff7e0;
}
.cnbn-sq-wrong p { margin: 0 0 12px !important; color: var(--cnbn-text) !important; font-weight: 600; }
.cnbn-sq-more { justify-self: start; margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--cnbn-primary); }

/* "Are you a nerd?" banner */
.cnbn-nerd {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 36px;
	align-items: center;
	margin: 48px 0 0;
	padding: 40px 44px;
	border-radius: 22px;
	background: radial-gradient(90% 120% at 0% 100%, rgba(226, 18, 50, 0.22) 0%, rgba(226, 18, 50, 0) 55%), #0d0f13;
	color: var(--cnbn-white);
	text-decoration: none !important;
	box-shadow: 0 24px 60px rgba(15, 17, 21, 0.22);
	transition: transform 0.25s var(--cnbn-ease), box-shadow 0.25s ease;
}
.cnbn-nerd::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.35;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
	mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.cnbn-nerd:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(15, 17, 21, 0.3); }
.cnbn-nerd:focus-visible { outline: 3px solid var(--cnbn-primary); outline-offset: 4px; }
.cnbn-nerd-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.8rem;
	color: #ff6b7f;
	letter-spacing: 0.02em;
}
.cnbn-nerd h2 {
	margin: 0 0 12px;
	font-family: 'google_sansmedium', 'Open Sans', sans-serif;
	font-weight: normal;
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--cnbn-white);
}
.cnbn-nerd h2 em { font-style: normal; color: var(--cnbn-primary); }
.cnbn-nerd p { margin: 0 0 22px; max-width: 46ch; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.cnbn-nerd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.cnbn-nerd-chips li {
	padding: 6px 11px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.85);
}
.cnbn-nerd-go {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--cnbn-primary);
	color: var(--cnbn-white);
	font-weight: 700;
	font-size: 0.95rem;
	transition: background-color 0.15s ease, gap 0.2s ease;
}
.cnbn-nerd:hover .cnbn-nerd-go { background: var(--cnbn-primary-hover); gap: 14px; }
.cnbn-term {
	border-radius: 14px;
	background: #07080b;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}
.cnbn-term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #14171d; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cnbn-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f4a; }
.cnbn-term-bar i:first-child { background: var(--cnbn-primary); }
.cnbn-term-bar span { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); }
.cnbn-term pre {
	margin: 0;
	padding: 18px 18px 20px;
	background: transparent;
	border: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.84rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	white-space: pre;
	overflow-x: auto;
}
.cnbn-term .p { color: #ff6b7f; }
.cnbn-term .ok { color: #4ade80; }
.cnbn-term .dim { color: rgba(255, 255, 255, 0.45); }
.cnbn-term .cur { display: inline-block; width: 8px; height: 1.05em; vertical-align: text-bottom; background: rgba(255, 255, 255, 0.85); animation: cnbn-blink 1.1s steps(1) infinite; }
@keyframes cnbn-blink { 50% { opacity: 0; } }
@media (max-width: 991px) {
	.cnbn-nerd { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
}
@media (max-width: 640px) {
	.cnbn-nerd { padding: 26px 18px; border-radius: 18px; }
	.cnbn-term pre { font-size: 0.74rem; padding: 14px; }
	.cnbn-nerd-go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.cnbn-nerd { transition: none; }
	.cnbn-nerd:hover { transform: none; }
	.cnbn-term .cur { animation: none; }
}
