/* ==========================================================================
   LLC Zodiac Compatibility
   Brand: #0F172A · #7C3AED on a light surface. Tokens scoped to .bdy-app.
   ========================================================================== */

.bdy-app {
	--bdy-font: inherit;
	--bdy-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;

	--bdy-ink: #0f172a;
	--bdy-ink-soft: #1e293b;

	--bdy-violet: #7c3aed;
	--bdy-violet-d: #6d28d9;
	--bdy-violet-l: #a78bfa;
	--bdy-violet-soft: #f5f3ff;
	--bdy-violet-line: #ddd6fe;

	--bdy-surface: #ffffff;
	--bdy-surface-2: #f8fafc;
	--bdy-border: #e2e8f0;
	--bdy-muted: #475569;
	--bdy-dim: #94a3b8;

	--bdy-good: #10b981;
	--bdy-good-soft: #ecfdf5;
	--bdy-good-line: #a7f3d0;
	--bdy-warn: #e11d48;
	--bdy-warn-soft: #fff1f2;
	--bdy-warn-line: #fecdd3;

	--bdy-r: 14px;
}

.bdy-app,
.bdy-app *,
.bdy-app *::before,
.bdy-app *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.bdy-app {
	max-width: 620px;
	margin: 32px auto;
	font-family: var(--bdy-font);
	color: var(--bdy-ink);
	background: var(--bdy-surface);
	border: 1px solid var(--bdy-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .07);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

/* colour deliberately not set here so button rules win on specificity */
.bdy-app button,
.bdy-app select { font-family: inherit; }

.bdy-app :focus-visible {
	outline: 2px solid var(--bdy-violet);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ============ HEADER ============ */

.bdy-header {
	padding: 32px 26px 24px;
	text-align: center;
	background: linear-gradient(180deg, var(--bdy-violet-soft) 0%, var(--bdy-surface) 100%);
	border-bottom: 1px solid var(--bdy-border);
}

.bdy-title {
	font-family: var(--bdy-display);
	font-size: 31px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.14;
	margin-bottom: 8px;
}

.bdy-sub {
	font-size: 15px;
	color: var(--bdy-muted);
	max-width: 42ch;
	margin: 0 auto;
}

/* ============ PICKERS ============ */

.bdy-body,
.bdy-results { padding: 24px 26px 28px; }



.bdy-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--bdy-ink);
	margin-bottom: 10px;
}






.bdy-error {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 10px;
	background: var(--bdy-warn-soft);
	border: 1px solid var(--bdy-warn-line);
	color: #9f1239;
	font-size: 13.5px;
	font-weight: 500;
}

.bdy-error[hidden] { display: none; }

.bdy-go {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 16px;
	border: none;
	border-radius: 11px;
	background: var(--bdy-violet);
	color: #fff;
	font-family: var(--bdy-display);
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: background .2s, transform .2s, box-shadow .2s;
	box-shadow: 0 4px 14px rgba(124, 58, 237, .25);
}

.bdy-go:hover {
	background: var(--bdy-violet-d);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(124, 58, 237, .32);
}

.bdy-note {
	margin-top: 14px;
	text-align: center;
	font-size: 12px;
	line-height: 1.55;
	color: var(--bdy-dim);
}

/* ============ RESULTS ============ */

.bdy-results[hidden] { display: none; }

.bdy-score-card {
	background: var(--bdy-surface-2);
	border: 1px solid var(--bdy-border);
	border-radius: 18px;
	padding: 26px 24px;
	text-align: center;
	margin-bottom: 12px;
}


/* score ring */
.bdy-ring {
	position: relative;
	width: 168px;
	height: 168px;
	margin: 0 auto 16px;
}

.bdy-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.bdy-ring-bg {
	fill: none;
	stroke: var(--bdy-border);
	stroke-width: 9;
}

.bdy-ring-fg {
	fill: none;
	stroke: var(--bdy-violet);
	stroke-width: 9;
	stroke-linecap: round;
	stroke-dasharray: 326.7;
	stroke-dashoffset: 326.7;
	transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1);
}

.bdy-ring-num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bdy-display);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--bdy-ink);
}

.bdy-ring-pct { font-size: 22px; margin-left: 1px; }

.bdy-tier {
	font-family: var(--bdy-display);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--bdy-violet-d);
	margin-bottom: 8px;
	line-height: 1.25;
}

.bdy-tier-text {
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--bdy-ink-soft);
	max-width: 46ch;
	margin: 0 auto;
}

/* bars */
.bdy-bars {
	background: var(--bdy-surface);
	border: 1px solid var(--bdy-border);
	border-radius: var(--bdy-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.bdy-bars h4,
.bdy-block h4 {
	font-family: var(--bdy-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.01em;
	margin-bottom: 14px;
}

.bdy-bar-row { margin-bottom: 13px; }
.bdy-bar-row:last-child { margin-bottom: 0; }

.bdy-bar-hd {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	margin-bottom: 5px;
}

.bdy-bar-hd span:first-child { color: var(--bdy-muted); font-weight: 500; }
.bdy-bar-hd span:last-child { color: var(--bdy-ink); font-weight: 700; }

.bdy-bar-track {
	height: 8px;
	background: var(--bdy-border);
	border-radius: 4px;
	overflow: hidden;
}

.bdy-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: var(--bdy-violet);
	transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

/* quick facts strip */




/* text blocks */
.bdy-block {
	background: var(--bdy-surface);
	border: 1px solid var(--bdy-border);
	border-radius: var(--bdy-r);
	padding: 18px 22px;
	margin-bottom: 12px;
}

.bdy-block h4 { margin-bottom: 7px; }

.bdy-block p {
	font-size: 14px;
	line-height: 1.62;
	color: var(--bdy-muted);
}

/* works / snags */










/* actions */
.bdy-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.bdy-btn {
	flex: 1 1 160px;
	padding: 14px;
	border-radius: 11px;
	font-family: var(--bdy-display);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s;
}

.bdy-btn-share {
	border: none;
	background: var(--bdy-ink);
	color: #fff;
}

.bdy-btn-share:hover { background: var(--bdy-ink-soft); transform: translateY(-1px); }

.bdy-btn-ghost {
	background: var(--bdy-surface);
	border: 1.5px solid var(--bdy-border);
	color: var(--bdy-muted);
}

.bdy-btn-ghost:hover { border-color: var(--bdy-violet); color: var(--bdy-violet-d); }

/* ============ RESPONSIVE ============ */

@media (max-width: 560px) {
	.bdy-app { margin: 20px auto; border-radius: 16px; }
	.bdy-header { padding: 26px 18px 20px; }
	.bdy-title { font-size: 25px; }
	.bdy-body, .bdy-results { padding: 20px 16px 24px; }


	.bdy-ring { width: 148px; height: 148px; }
	.bdy-ring-num { font-size: 40px; }
	.bdy-tier { font-size: 20px; }
}

/* ============ MOTION PREFERENCES ============ */

@media (prefers-reduced-motion: reduce) {
	.bdy-app *,
	.bdy-app *::before,
	.bdy-app *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}


/* ============ NUMEROLOGY-SPECIFIC ============ */

.bdy-people {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 12px;
}

.bdy-person { display: grid; gap: 9px; min-width: 0; }

.bdy-input {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--bdy-ink);
	background: var(--bdy-surface-2);
	border: 1.5px solid var(--bdy-border);
	border-radius: 10px;
	transition: border-color .18s, background .18s;
}

.bdy-input::placeholder { color: var(--bdy-dim); }

.bdy-input:focus {
	border-color: var(--bdy-violet);
	background: var(--bdy-surface);
	outline: none;
}

.bdy-input.is-bad { border-color: var(--bdy-warn); background: var(--bdy-warn-soft); }
.bdy-date { font-family: var(--bdy-display); font-weight: 500; }

.bdy-amp {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 44px;
	font-family: var(--bdy-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--bdy-dim);
}

.bdy-hint {
	margin-top: 12px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--bdy-muted);
}

/* the two life path cards */








/* expression numbers */



.bdy-block-intro {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--bdy-muted);
	margin-bottom: 14px;
}






@media (max-width: 560px) {
	.bdy-people { grid-template-columns: 1fr; gap: 16px; }
	.bdy-amp { width: 100%; height: auto; }
}


/* ============ BIRTHDAY-SPECIFIC ============ */

/* one card per system, side by side */
.bdy-systems {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.bdy-sys {
	background: var(--bdy-surface);
	border: 1px solid var(--bdy-border);
	border-radius: var(--bdy-r);
	padding: 16px 14px;
	text-align: center;
}

.bdy-sys-k {
	font-size: 12px;
	font-weight: 600;
	color: var(--bdy-violet-d);
	margin-bottom: 8px;
}

.bdy-sys-v {
	font-family: var(--bdy-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
	color: var(--bdy-ink);
}

.bdy-sys-d {
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--bdy-muted);
	margin-top: 6px;
}

.bdy-sys-bar {
	height: 5px;
	background: var(--bdy-border);
	border-radius: 3px;
	overflow: hidden;
	margin-top: 10px;
}

.bdy-sys-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--bdy-violet);
	border-radius: 3px;
	transition: width 1s cubic-bezier(.4,0,.2,1);
}

/* agreement callout */
.bdy-agree {
	border-radius: var(--bdy-r);
	padding: 18px 20px;
	margin-bottom: 12px;
	border: 1px solid var(--bdy-violet-line);
	background: var(--bdy-violet-soft);
}

.bdy-agree[hidden] { display: none; }

.bdy-agree.is-split {
	border-color: #fed7aa;
	background: #fff7ed;
}

.bdy-agree h4 {
	font-family: var(--bdy-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--bdy-violet-d);
}

.bdy-agree.is-split h4 { color: #9a3412; }

.bdy-agree p {
	font-size: 13.5px;
	line-height: 1.62;
	color: var(--bdy-ink-soft);
}

/* the two people, side by side */
.bdy-profile {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.bdy-card {
	background: var(--bdy-surface-2);
	border: 1px solid var(--bdy-border);
	border-radius: var(--bdy-r);
	padding: 16px 16px 14px;
}

.bdy-card-name {
	font-family: var(--bdy-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--bdy-ink);
	margin-bottom: 10px;
	overflow-wrap: break-word;
}

.bdy-row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 13px;
	padding: 5px 0;
	border-top: 1px solid var(--bdy-border);
}

.bdy-row:first-of-type { border-top: none; }
.bdy-row span:first-child { color: var(--bdy-muted); }
.bdy-row span:last-child { font-weight: 600; color: var(--bdy-ink); text-align: right; }

@media (max-width: 560px) {
	.bdy-people { grid-template-columns: 1fr; gap: 16px; }
	.bdy-amp { width: 100%; height: auto; }
	.bdy-profile { grid-template-columns: 1fr; }
}

.bdy-facts-list { list-style: none; margin-top: 10px; }

.bdy-facts-list li {
	position: relative;
	padding: 9px 0 9px 24px;
	border-top: 1px solid var(--bdy-border);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--bdy-ink-soft);
}

.bdy-facts-list li:first-child { border-top: none; }

.bdy-facts-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 17px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bdy-violet);
}

.bdy-facts-list strong { font-weight: 700; color: var(--bdy-ink); }
