/*
  BladeCP cPanel Migrator demo layer, in the A2 look of the plugin.

  - .bcpd-bar     demo bar: the dark frame of the BladeCP apps (gray 950)
                  with the brand aurora and a horizon line, the switch
                  between the two views, the language pill and "Start over".
  - .bcpd-whm,    WHM and cPanel (default theme) frames around the plugin iframe,
    .bcpd-cp      drawn for the demo (no cPanel stylesheet, image, icon or
                  logo; "WHM" and "cPanel" are plain text).
  - .bcpd-landing landing page with the two views.
  - .bcpd-preview preview of a migrated sample site.
  - .bcpd-message short pages (full, not found, error).

  The plugin screens keep their own stylesheet inside the iframe.
*/

@font-face { font-family: "BCPD Inter"; src: url("/_demo/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BCPD Inter"; src: url("/_demo/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BCPD Inter"; src: url("/_demo/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BCPD Inter"; src: url("/_demo/fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--bcpd-font: "BCPD Inter", Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--bcpd-ink: #141b2d;
	--bcpd-ink-2: #344054;
	--bcpd-muted: #5d6879;
	--bcpd-faint: #8790a2;
	--bcpd-line: #e3e6ee;
	--bcpd-line-2: #eef0f5;
	--bcpd-page: #eef1f6;
	--bcpd-card: #fff;
	--bcpd-gray-950: #030712;
	--bcpd-indigo-500: #6366f1;
	--bcpd-indigo-600: #4f46e5;
	--bcpd-indigo-700: #4338ca;
	--bcpd-indigo-soft: #eef0ff;
	--bcpd-indigo-line: #d6d9fe;
	--bcpd-violet: #8b5cf6;
	--bcpd-aurora: rgba(99, 102, 241, 0.34);
	--bcpd-aurora-soft: rgba(99, 102, 241, 0.16);
	color-scheme: light;
}

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

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

body.bcpd {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bcpd-page);
	color: var(--bcpd-ink);
	font-family: var(--bcpd-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
}

.bcpd a { color: inherit; }
.bcpd :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.bcpd :where(ul) { list-style: none; }
.bcpd :where(button) { font: inherit; }
.bcpd :where(a, button, summary):focus-visible { outline: 3px solid rgb(99 102 241 / .5); outline-offset: 2px; border-radius: 10px; }

.bcpd-icon { display: block; flex: none; width: 16px; height: 16px; }

.bcpd-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100001;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--bcpd-ink);
	font-weight: 600;
	text-decoration: none;
}
.bcpd-skip:focus { top: 12px; }

/* ---------- demo bar ---------- */

.bcpd-bar {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background:
		radial-gradient(46rem 12rem at 14% -5rem, var(--bcpd-aurora), transparent 70%),
		radial-gradient(30rem 9rem at 92% -4rem, var(--bcpd-aurora-soft), transparent 70%),
		var(--bcpd-gray-950);
	color: #f3f4f6;
	color-scheme: dark;
}

/* Horizon: a thread of brand light along the lower edge. */
.bcpd-bar::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.9) 24%, rgba(99, 102, 241, 0.35) 64%, transparent 100%);
	pointer-events: none;
}

.bcpd-bar__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand copy lang";
	align-items: center;
	gap: 10px 18px;
	max-width: 1480px;
	min-height: 64px;
	margin: 0 auto;
	padding: 12px 24px;
}

/* With a visit: the switch between the views and "Start over" too. */
.bcpd-bar--views .bcpd-bar__inner {
	grid-template-columns: auto minmax(0, 1fr) auto auto auto;
	grid-template-areas: "brand copy views lang reset";
}

.bcpd-bar__brand { grid-area: brand; display: flex; align-items: center; gap: 12px; min-width: 0; }
.bcpd-bar__home { display: block; color: #fff; text-decoration: none; }
.bcpd-logo { display: block; width: 112px; height: 20px; }

.bcpd-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 24px;
	padding: 0 10px 0 9px;
	border: 1px solid rgba(99, 102, 241, 0.5);
	border-radius: 999px;
	background: rgba(99, 102, 241, 0.15);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.bcpd-badge::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bcpd-indigo-500);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22), 0 0 10px rgba(99, 102, 241, 0.9);
}

.bcpd-bar__copy {
	grid-area: copy;
	display: grid;
	gap: 2px;
	min-width: 0;
	padding-inline-start: 18px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}
.bcpd-bar__lead { color: #f3f4f6; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.bcpd-bar__safety { display: flex; align-items: flex-start; gap: 6px; color: #9ca3af; font-size: 12.5px; line-height: 1.4; }
.bcpd-bar__safety .bcpd-icon { width: 14px; height: 14px; margin-top: 2px; color: var(--bcpd-indigo-500); }

/* View switch: a segmented control. */
.bcpd-views {
	grid-area: views;
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}
.bcpd-views a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	color: #c7cbd4;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 150ms, color 150ms;
}
.bcpd-views a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.bcpd-views a[aria-current="page"] {
	background: var(--bcpd-indigo-600);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -8px rgba(79, 70, 229, 0.9);
	color: #fff;
}
.bcpd-views .bcpd-icon { width: 15px; height: 15px; }

.bcpd-bar .bcpd-lang { grid-area: lang; justify-self: end; }
.bcpd-reset { grid-area: reset; margin: 0; }

.bcpd-ghost {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: transparent;
	color: #e5e7eb;
	font-size: 13.5px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 150ms, border-color 150ms;
}
.bcpd-ghost:hover { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.08); color: #fff; }
.bcpd-ghost .bcpd-icon { width: 15px; height: 15px; }

/* ---------- language pill (BladeCP Developers) ---------- */

.bcpd-lang {
	--bcpd-lang-ink: #f3f4f6;
	--bcpd-lang-muted: #9ca3af;
	--bcpd-lang-line: rgba(255, 255, 255, 0.1);
	--bcpd-lang-bg: rgba(255, 255, 255, 0.03);
	--bcpd-lang-hover: rgba(255, 255, 255, 0.08);
	--bcpd-lang-hover-line: rgba(255, 255, 255, 0.16);
	--bcpd-lang-menu-bg: #000;
	--bcpd-lang-current: rgba(99, 102, 241, 0.16);
	position: relative;
	display: inline-block;
	color: var(--bcpd-lang-ink);
}
.bcpd-lang__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 10px 0 8px;
	border: 1px solid var(--bcpd-lang-line);
	border-radius: 999px;
	background: var(--bcpd-lang-bg);
	color: var(--bcpd-lang-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background-color 150ms, border-color 150ms;
}
.bcpd-lang__pill:hover, .bcpd-lang__pill[aria-expanded="true"] { border-color: var(--bcpd-lang-hover-line); background: var(--bcpd-lang-hover); }
.bcpd-flag { display: block; flex: none; width: 20px; height: 20px; border-radius: 50%; }
.bcpd-lang__chevron { width: 14px; height: 14px; color: var(--bcpd-lang-muted); }
.bcpd-lang__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 1000;
	min-width: 200px;
	padding: 6px;
	border: 1px solid var(--bcpd-lang-line);
	border-radius: 18px;
	background: var(--bcpd-lang-menu-bg);
	box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.65);
}
.bcpd-lang__menu[hidden] { display: none; }
.bcpd-lang__title { padding: 6px 10px; color: var(--bcpd-lang-muted); font-size: 12px; font-weight: 500; }
.bcpd-lang__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 999px;
	color: var(--bcpd-lang-ink);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 150ms;
}
.bcpd-lang__option:hover, .bcpd-lang__option:focus { background: var(--bcpd-lang-hover); outline: none; }
.bcpd-lang__option:focus-visible { outline: 2px solid var(--bcpd-indigo-500); outline-offset: -2px; }
.bcpd-lang__option[aria-checked="true"] { background: var(--bcpd-lang-current); font-weight: 600; }
.bcpd-lang__option-name { flex: 1; }
.bcpd-lang__check { width: 16px; height: 16px; color: var(--bcpd-indigo-500); }

/* ---------- panel frames ----------
   A WHM and a cPanel (default theme) drawn for the demo, with the proportions,
   colors and type of the real panels: no cPanel stylesheet, image, icon or
   logo. "WHM" and "cPanel" are plain text. The plugin keeps its own A2
   stylesheet inside the iframe. */

body.bcpd--panel {
	--bcpd-panel-font: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--bcpd-navy: #202654;
	--bcpd-navy-ink: #e5e7e9;
	--bcpd-panel-ink: #333;
	--bcpd-panel-line: #e5e7e9;
	--bcpd-panel-link: #428bca;
	--bcpd-stat-ink: #243746;
	background: #fafafa;
}

.bcpd-wordmark {
	display: inline-block;
	font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.035em;
	white-space: nowrap;
}
.bcpd-wordmark--light { color: #fff; font-size: 29px; }
.bcpd-wordmark--ink { color: var(--bcpd-navy); font-size: 25px; }

.bcpd-search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 388px;
	min-width: 0;
	height: 32px;
	padding: 0 8px 0 10px;
	border: 1px solid var(--bcpd-navy);
	border-radius: 4px;
	background: #fff;
	color: #6b7280;
	font-size: 15px;
}
.bcpd-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcpd-search .bcpd-icon { color: var(--bcpd-navy); }

.bcpd-round {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border: 1px solid var(--bcpd-navy);
	border-radius: 50%;
	background: #fff;
	color: var(--bcpd-navy);
}
.bcpd-round .bcpd-icon { width: 15px; height: 15px; }
.bcpd-round--alert { border-color: #dc3545; color: #dc3545; }
.bcpd-round__dot { position: absolute; top: 0; right: 0; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 50%; }
.bcpd-round__dot--red { background: #dc3545; }
.bcpd-round__dot--amber { background: #ffc107; }

.bcpd-apptitle { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bcpd-apptitle__icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bcpd-panel-line);
}
.bcpd-apptitle__mark { display: block; width: 32px; height: 24px; }
.bcpd-apptitle h1 { color: var(--bcpd-panel-ink); font-size: 21px; font-weight: 500; line-height: 1.15; }

.bcpd-whm__content > iframe,
.bcpd-cp__content > iframe { display: block; width: 100%; border: 0; }

/* WHM */

.bcpd-whm {
	flex: 1;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	color: var(--bcpd-panel-ink);
	font-family: var(--bcpd-panel-font);
	font-size: 14px;
	line-height: 20px;
}

.bcpd-whm__side { padding: 16px 12px 28px; background: var(--bcpd-navy); color: var(--bcpd-navy-ink); font-size: 15px; }
.bcpd-whm__brand { height: 26px; margin: 0 0 18px; }
.bcpd-whm__toggles { display: flex; gap: 12px; }
.bcpd-whm__toggles span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 1;
	height: 35px;
	border: 1px solid var(--bcpd-navy-ink);
	border-radius: 4px;
}
.bcpd-whm__toggles .bcpd-icon { width: 15px; height: 15px; }
.bcpd-whm__filter {
	height: 32px;
	margin-top: 12px;
	padding: 0 8px;
	overflow: hidden;
	border: 1px solid var(--bcpd-navy-ink);
	border-radius: 4px;
	background: var(--bcpd-navy-ink);
	color: #4b5563;
	line-height: 30px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bcpd-whm__menu { margin: 12px -12px 0; padding: 6px 12px 0 4px; border-top: 1px solid rgba(229, 231, 233, 0.22); }
.bcpd-whm__cat { display: flex; align-items: flex-start; gap: 4px; padding: 5px 0; line-height: 23px; opacity: 0.92; }
.bcpd-whm__cat .bcpd-icon { width: 20px; height: 20px; margin-top: 2px; }
.bcpd-whm__cat.is-open { opacity: 1; }
.bcpd-whm__items { padding: 0 0 6px 30px; }
.bcpd-whm__item { position: relative; padding: 4px 4px 4px 0; line-height: 22px; opacity: 0.92; }
.bcpd-whm__item.is-current { color: #fff; opacity: 1; }
.bcpd-whm__item.is-current::before {
	content: "";
	position: absolute;
	top: 12px;
	left: -16px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.bcpd-whm__main { display: flex; flex-direction: column; min-width: 0; }
.bcpd-whm__head { background: #fff; box-shadow: 0 1px 0 var(--bcpd-panel-line); }
.bcpd-whm__stats {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 40px;
	padding: 0 24px;
	border-bottom: 1px solid var(--bcpd-panel-line);
	color: var(--bcpd-stat-ink);
}
.bcpd-whm__stat { display: flex; flex-direction: column; min-width: 0; }
.bcpd-whm__stat span { font-size: 11.2px; font-weight: 300; line-height: 17px; white-space: nowrap; }
.bcpd-whm__stat strong { overflow: hidden; font-size: 12.8px; font-weight: 400; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }
.bcpd-whm__load { margin-inline-start: auto; }
.bcpd-whm__load strong { display: inline-flex; align-items: center; gap: 8px; }
.bcpd-whm__load strong b { font-weight: 400; }
.bcpd-whm__load .bcpd-icon { width: 14px; height: 14px; color: #dc3545; }
.bcpd-whm__bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px 0 24px; }
.bcpd-whm__bar .bcpd-search { margin-inline-start: auto; }
.bcpd-whm__burger, .bcpd-whm__bar .bcpd-wordmark { display: none; }
.bcpd-whm__burger .bcpd-icon { width: 24px; height: 24px; color: var(--bcpd-navy); }
.bcpd-whm__controls { display: flex; gap: 12px; }

.bcpd-whm__content { flex: 1; padding: 20px 20px 24px; }
.bcpd-whm__content .bcpd-apptitle { margin: 0 0 12px; }
.bcpd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 20px; font-size: 14px; line-height: 18px; }
.bcpd-breadcrumb span { color: var(--bcpd-panel-link); }
.bcpd-breadcrumb i { color: var(--bcpd-panel-ink); font-style: normal; }
.bcpd-breadcrumb strong { font-weight: 400; }
.bcpd-breadcrumb__help { width: 17px; height: 17px; margin-inline-start: 4px; color: #1f2937; }

.bcpd-pfoot { padding: 40px 24px 28px; color: var(--bcpd-panel-ink); font-family: var(--bcpd-panel-font); }
.bcpd-pfoot__brand { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.bcpd-pfoot__brand .bcpd-wordmark { font-size: 27px; }
.bcpd-pfoot__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.bcpd-pfoot__links a { color: var(--bcpd-panel-link); font-size: 16px; text-decoration: none; }
.bcpd-pfoot__links a:hover { text-decoration: underline; }
.bcpd-pfoot__note { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; color: #5f6b7a; font-size: 13px; line-height: 1.45; }
.bcpd-pfoot__note .bcpd-icon { width: 15px; height: 15px; margin-top: 2px; }

/* cPanel, default theme */

body.bcpd--cpanel { background: #f6f7f8; }
.bcpd-cp { flex: 1; display: flex; flex-direction: column; color: var(--bcpd-panel-ink); font-family: var(--bcpd-panel-font); font-size: 14px; line-height: 20px; }
.bcpd-cp__head { display: flex; align-items: center; gap: 16px; height: 60px; padding-inline-end: 20px; border-bottom: 1px solid var(--bcpd-panel-line); background: #fff; }
.bcpd-cp__brand { display: flex; align-items: center; gap: 12px; flex: none; width: 220px; height: 100%; padding: 0 20px; }
.bcpd-cp__burger { display: none; }
.bcpd-cp__burger .bcpd-icon { width: 24px; height: 24px; color: var(--bcpd-navy); }
.bcpd-cp__search { width: 420px; }
.bcpd-cp__user { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--bcpd-navy); font-size: 14px; white-space: nowrap; }
.bcpd-cp__user .bcpd-icon { width: 16px; height: 16px; }
.bcpd-cp__controls { display: flex; align-items: center; gap: 12px; }
.bcpd-cp__logout {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--bcpd-navy);
	border-radius: 4px;
	color: var(--bcpd-navy);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}
.bcpd-cp__logout .bcpd-icon { width: 15px; height: 15px; }

.bcpd-cp__body { flex: 1; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.bcpd-cp__side { padding: 12px 0 24px; background: var(--bcpd-navy); color: #c3c7cc; }
.bcpd-cp__item, .bcpd-cp__link { display: flex; align-items: center; gap: 12px; }
.bcpd-cp__item { padding: 10px 20px; font-size: 14px; line-height: 20px; }
.bcpd-cp__item .bcpd-icon { width: 22px; height: 22px; }
.bcpd-cp__item.is-current { position: relative; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; }
.bcpd-cp__item.is-current::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #c3c7cc; }
.bcpd-cp__mark { display: block; flex: none; width: 22px; height: 16px; }

.bcpd-cp__main { display: flex; flex-direction: column; min-width: 0; }
.bcpd-cp__content { flex: 1; padding: 20px 24px 24px; }
.bcpd-cp__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; }
.bcpd-cp__title .bcpd-apptitle h1 { font-size: 24px; font-weight: 400; }

/* Sample accounts of the cPanel view: part of the demo, so in the demo look. */
.bcpd-accounts {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	padding: 3px;
	border: 1px dashed rgba(79, 70, 229, 0.45);
	border-radius: 999px;
	background: var(--bcpd-indigo-soft);
	font-family: var(--bcpd-font);
}
.bcpd-accounts__label { padding: 0 6px 0 9px; color: var(--bcpd-indigo-700); font-size: 12px; font-weight: 600; }
.bcpd-accounts a {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	color: var(--bcpd-ink-2);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
.bcpd-accounts a:hover { background: #fff; }
.bcpd-accounts a[aria-current="true"] { background: #fff; box-shadow: 0 1px 2px rgba(20, 27, 45, 0.08), 0 0 0 1px var(--bcpd-indigo-line); color: var(--bcpd-indigo-700); }

/* ---------- landing ---------- */

.bcpd-landing, .bcpd-preview, .bcpd-message { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 48px 24px 56px; }

.bcpd-hero { max-width: 760px; }
.bcpd-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--bcpd-indigo-700); font-size: 13px; font-weight: 600; }
.bcpd-mark { display: block; flex: none; width: 24px; height: 18px; }
.bcpd-hero h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.bcpd-hero__text { margin-top: 14px; color: var(--bcpd-muted); font-size: 16px; line-height: 1.6; }

.bcpd-flash, .bcpd-resume {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 20px;
	padding: 12px 16px;
	border: 1px solid var(--bcpd-indigo-line);
	border-radius: 12px;
	background: var(--bcpd-indigo-soft);
	color: var(--bcpd-ink-2);
	font-size: 13.5px;
}
.bcpd-flash .bcpd-icon, .bcpd-resume .bcpd-icon { color: var(--bcpd-indigo-600); }
.bcpd-resume a { color: var(--bcpd-indigo-700); font-weight: 600; text-underline-offset: 3px; }

.bcpd-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.bcpd-choice {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border: 1px solid var(--bcpd-line);
	border-radius: 18px;
	background: var(--bcpd-card);
	box-shadow: 0 1px 2px rgba(20, 27, 45, 0.04), 0 12px 32px -18px rgba(20, 27, 45, 0.18);
}
.bcpd-tile {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--bcpd-indigo-line);
	border-radius: 12px;
	background: var(--bcpd-indigo-soft);
	color: var(--bcpd-indigo-600);
}
.bcpd-tile .bcpd-icon { width: 22px; height: 22px; }
.bcpd-choice__eyebrow { margin-top: 6px; color: var(--bcpd-indigo-700); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bcpd-choice h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.bcpd-choice > p { color: var(--bcpd-muted); }
.bcpd-choice ul { display: grid; gap: 7px; margin: 6px 0 12px; }
.bcpd-choice li { display: flex; align-items: flex-start; gap: 9px; color: var(--bcpd-ink-2); }
.bcpd-choice li .bcpd-icon { width: 15px; height: 15px; margin-top: 3px; color: #16a34a; }
.bcpd-choice form { margin: auto 0 0; }

.bcpd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--bcpd-indigo-600);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -10px rgba(79, 70, 229, 0.9);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms, box-shadow 150ms;
}
.bcpd-btn:hover { background: var(--bcpd-indigo-500); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -10px rgba(99, 102, 241, 0.95); }
.bcpd-btn .bcpd-icon { transition: transform 150ms; }
.bcpd-btn:hover .bcpd-icon { transform: translateX(2px); }

.bcpd-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.bcpd-facts li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--bcpd-line-2); border-radius: 14px; background: rgba(255, 255, 255, 0.6); }
.bcpd-fact__icon { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--bcpd-indigo-600); box-shadow: 0 0 0 1px var(--bcpd-line); }
.bcpd-facts strong { display: block; font-size: 14px; font-weight: 600; }
/* The text only: the icon tile is a span too and must keep its centred grid. */
.bcpd-facts span:not(.bcpd-fact__icon) { display: block; margin-top: 2px; color: var(--bcpd-muted); font-size: 13px; }

.bcpd-frame-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; color: var(--bcpd-faint); font-size: 12.5px; }
.bcpd-frame-note .bcpd-icon { width: 14px; height: 14px; margin-top: 2px; }

/* ---------- preview ---------- */

.bcpd-browser { overflow: hidden; border: 1px solid var(--bcpd-line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -30px rgba(20, 27, 45, 0.35); }
.bcpd-browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--bcpd-line-2); background: #f6f7fa; }
.bcpd-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe4; }
.bcpd-browser__url { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--bcpd-muted); font-size: 12.5px; box-shadow: 0 0 0 1px var(--bcpd-line); }
.bcpd-browser__url .bcpd-icon { width: 13px; height: 13px; color: #16a34a; }
.bcpd-site {
	padding: 56px 48px 48px;
	background:
		radial-gradient(40rem 16rem at 10% -4rem, rgba(139, 92, 246, 0.16), transparent 70%),
		radial-gradient(30rem 14rem at 95% 0, rgba(99, 102, 241, 0.14), transparent 70%),
		#fff;
}
.bcpd-site__brand { color: var(--bcpd-indigo-700); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.bcpd-site h1 { margin-top: 10px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.bcpd-site > p { max-width: 620px; margin-top: 12px; color: var(--bcpd-muted); font-size: 16px; }
.bcpd-site__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.bcpd-site__grid span { height: 120px; border-radius: 14px; background: linear-gradient(180deg, #f3f4fb, #eceffa); box-shadow: inset 0 0 0 1px var(--bcpd-line-2); }

/* ---------- message ---------- */

.bcpd-message { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; max-width: 560px; text-align: center; }
.bcpd-message h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.bcpd-message p { color: var(--bcpd-muted); font-size: 15px; }

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

.bcpd-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 18px;
	padding: 18px 24px 22px;
	border-top: 1px solid var(--bcpd-line);
	background: #fff;
	color: var(--bcpd-faint);
	font-size: 12.5px;
}
.bcpd-foot__mark .bcpd-mark { width: 18px; height: 14px; }
.bcpd-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--bcpd-muted); font-weight: 500; text-decoration: none; }
.bcpd-foot a:hover { color: var(--bcpd-indigo-700); }
.bcpd-foot a .bcpd-icon { width: 14px; height: 14px; }
.bcpd-foot__note { flex-basis: 100%; color: var(--bcpd-faint); font-size: 12px; text-align: center; }

/* ---------- narrow screens ---------- */

@media (max-width: 1480px) {
	.bcpd-bar--views .bcpd-bar__inner {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		grid-template-areas:
			"brand views lang reset"
			"copy copy copy copy";
	}
	.bcpd-bar--views .bcpd-bar__copy { padding-top: 10px; padding-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-inline-start: 0; }
	.bcpd-bar--views .bcpd-bar__copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
	.bcpd-views { justify-self: end; }
}

@media (max-width: 1024px) {
	.bcpd-whm { grid-template-columns: minmax(0, 1fr); }
	.bcpd-whm__side { display: none; }
	.bcpd-whm__burger, .bcpd-whm__bar .bcpd-wordmark { display: inline-flex; }
	.bcpd-whm__bar .bcpd-search { flex: 1; width: auto; max-width: 388px; }
}

@media (max-width: 960px) {
	.bcpd-cp__body { grid-template-columns: minmax(0, 1fr); }
	.bcpd-cp__side { display: none; }
	.bcpd-cp__brand { width: auto; padding: 0 4px 0 16px; }
	.bcpd-cp__burger { display: inline-flex; }
	.bcpd-cp__search { flex: 1; width: auto; max-width: 420px; }
	.bcpd-choices, .bcpd-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
	.bcpd-bar__inner, .bcpd-bar--views .bcpd-bar__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand lang"
			"copy copy";
		gap: 10px 12px;
		padding: 12px 16px 14px;
	}
	.bcpd-bar--views .bcpd-bar__inner {
		grid-template-areas:
			"brand lang"
			"views views"
			"copy copy"
			"reset reset";
	}
	.bcpd-bar__copy { padding-top: 10px; padding-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-inline-start: 0; }
	.bcpd-views { justify-self: stretch; display: flex; }
	.bcpd-views a { flex: 1; justify-content: center; min-width: 0; padding: 0 8px; }
	.bcpd-views a span { overflow: hidden; text-overflow: ellipsis; }
	.bcpd-reset .bcpd-ghost { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
	.bcpd-lang__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bcpd-whm__stat--2, .bcpd-whm__stat--3 { display: none; }
	.bcpd-whm__stats { padding: 0 16px; }
	.bcpd-whm__bar { gap: 10px; padding: 0 16px; }
	.bcpd-whm__content, .bcpd-cp__content { padding: 16px 16px 20px; }
	.bcpd-apptitle__icon { width: 40px; height: 40px; }
	.bcpd-apptitle__mark { width: 26px; height: 20px; }
	.bcpd-apptitle h1, .bcpd-cp__title .bcpd-apptitle h1 { font-size: 19px; }
	.bcpd-cp__search, .bcpd-cp__user span, .bcpd-cp__logout span { display: none; }
	.bcpd-cp__head { gap: 10px; padding-inline-end: 16px; }
	.bcpd-pfoot { padding: 28px 16px 24px; }
	.bcpd-accounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 14px; }
	.bcpd-accounts__label { display: none; }
	.bcpd-accounts a { display: block; min-width: 0; padding: 0 6px; overflow: hidden; font-size: 12px; line-height: 26px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
	.bcpd-landing, .bcpd-preview, .bcpd-message { padding: 32px 16px 40px; }
	.bcpd-choice { padding: 20px; }
	.bcpd-site { padding: 36px 22px 28px; }
	.bcpd-site__grid span { height: 72px; }
}

@media (max-width: 480px) {
	.bcpd-whm__controls .bcpd-round:not(:last-child) { display: none; }
	.bcpd-whm__load { display: none; }
}

@media (max-width: 420px) {
	.bcpd-badge { padding: 0 8px; letter-spacing: 0.04em; }
	.bcpd-logo { width: 96px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.bcpd *, .bcpd *::before, .bcpd *::after { transition: none !important; }
}
