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

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

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

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

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

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

	--num-r: 14px;
}

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

.num-app {
	max-width: 620px;
	margin: 32px auto;
	font-family: var(--num-font);
	color: var(--num-ink);
	background: var(--num-surface);
	border: 1px solid var(--num-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 */
.num-app button,
.num-app select { font-family: inherit; }

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

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

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

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

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

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

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



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






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

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

.num-go {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 16px;
	border: none;
	border-radius: 11px;
	background: var(--num-violet);
	color: #fff;
	font-family: var(--num-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);
}

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

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

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

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

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


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

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

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

.num-ring-fg {
	fill: none;
	stroke: var(--num-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);
}

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

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

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

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

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

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

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

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

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

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

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

/* quick facts strip */




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

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

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

/* works / snags */










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

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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

/* the two life path cards */
.num-paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.num-path-card {
	background: var(--num-violet-soft);
	border: 1px solid var(--num-violet-line);
	border-radius: var(--num-r);
	padding: 18px 16px;
	text-align: center;
}

.num-path-who {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--num-violet-d);
	margin-bottom: 6px;
	overflow-wrap: break-word;
}

.num-path-num {
	font-family: var(--num-display);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--num-ink);
}

.num-path-num.is-master {
	background: linear-gradient(135deg, var(--num-violet), var(--num-ink));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.num-path-name {
	font-family: var(--num-display);
	font-size: 15px;
	font-weight: 600;
	margin-top: 4px;
	color: var(--num-ink);
}

.num-path-short {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--num-muted);
	margin-top: 3px;
}

.num-master-tag {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 9px;
	border-radius: 50px;
	background: var(--num-ink);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .02em;
}

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

.num-expression[hidden] { display: none; }

.num-expression h4 {
	font-family: var(--num-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
}

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

.num-expr-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.num-expr {
	background: var(--num-surface-2);
	border: 1px solid var(--num-border);
	border-radius: 10px;
	padding: 12px;
	text-align: center;
}

.num-expr-k {
	font-size: 12px;
	color: var(--num-muted);
	margin-bottom: 2px;
	overflow-wrap: break-word;
}

.num-expr-v {
	font-family: var(--num-display);
	font-size: 26px;
	font-weight: 700;
	color: var(--num-ink);
	line-height: 1.1;
}

.num-expression p:last-child {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--num-muted);
}

@media (max-width: 560px) {
	.num-people { grid-template-columns: 1fr; gap: 16px; }
	.num-amp { width: 100%; height: auto; }
	.num-paths { grid-template-columns: 1fr; }
	.num-path-num { font-size: 40px; }
}
