/* AdRevv Readiness Score — front end
   Tokens follow the AllFundIt modern direction so these pages sit beside
   the home page rather than next to it. */

.arrs-fe {
	--porcelain: #f6f7f9;
	--porcelain-2: #eceef2;
	--graphite: #0e1116;
	--graphite-2: #1a1f27;
	--rule: #d9dde3;
	--muted: #5b636e;
	--amber: #dd9300;
	--amber-text: #8a5c00;
	--amber-wash: #fdf4e2;
	--band: var(--amber);

	--display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--gap: clamp(20px, 3vw, 34px);
	--radius: 3px;

	color: var(--graphite);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

body.arrs-standalone {
	margin: 0;
	padding: 0;
	background: var(--porcelain, #f6f7f9);
}
body.arrs-standalone .arrs-fe {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 40px) 80px;
}

/* ---------- Type ---------- */

.arrs-fe .arrs-h2 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	color: var(--graphite);
}
.arrs-fe .arrs-h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.01em;
	margin: 26px 0 12px;
}
.arrs-fe .arrs-h3:first-child { margin-top: 0; }

.arrs-fe .arrs-eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amber-text);
	margin: 0 0 10px;
}
.arrs-fe .arrs-lede { color: var(--muted); margin: 0 0 14px; }
.arrs-fe .arrs-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.arrs-fe .arrs-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.arrs-fe .arrs-fine { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 14px 0 0; }
.arrs-fe .arrs-code {
	color: var(--amber-text);
	font-weight: 600;
	background: var(--amber-wash);
	padding: 1px 5px;
	border-radius: 2px;
}

/* ---------- Surfaces ---------- */

.arrs-fe .arrs-panel {
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: clamp(20px, 3vw, 32px);
	margin-bottom: var(--gap);
}
.arrs-fe .arrs-panel-narrow { max-width: 540px; }

.arrs-fe .arrs-notice {
	border-left: 3px solid var(--amber);
	background: var(--amber-wash);
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.arrs-fe .arrs-notice-ok { border-left-color: #2e9e57; background: #eaf7ef; }

/* ---------- Forms ---------- */

.arrs-fe .arrs-field { margin-bottom: 18px; }
.arrs-fe .arrs-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	letter-spacing: -0.005em;
}
.arrs-fe input[type="text"],
.arrs-fe input[type="email"],
.arrs-fe input[type="password"],
.arrs-fe select,
.arrs-fe textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: #fff;
	font-family: var(--body);
	font-size: 15px;
	color: var(--graphite);
}
.arrs-fe textarea { resize: vertical; }
.arrs-fe input:focus-visible,
.arrs-fe select:focus-visible,
.arrs-fe textarea:focus-visible,
.arrs-fe .arrs-btn:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 2px;
}
.arrs-fe .arrs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.arrs-fe .arrs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.arrs-fe .arrs-form-tight .arrs-field { margin-bottom: 12px; }

.arrs-fe .arrs-btn {
	display: inline-block;
	padding: 11px 20px;
	border: 1px solid var(--graphite);
	border-radius: var(--radius);
	background: var(--graphite);
	color: var(--porcelain);
	font-family: var(--body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.arrs-fe .arrs-btn:hover { background: var(--graphite-2); border-color: var(--graphite-2); color: #fff; }
.arrs-fe .arrs-btn-primary { background: var(--amber); border-color: var(--amber); color: var(--graphite); }
.arrs-fe .arrs-btn-primary:hover { background: #c78400; border-color: #c78400; color: var(--graphite); }
.arrs-fe .arrs-btn-quiet { background: transparent; color: var(--graphite); border-color: var(--rule); }
.arrs-fe .arrs-btn-quiet:hover { background: var(--porcelain-2); color: var(--graphite); border-color: var(--muted); }
.arrs-fe .arrs-btn-lg { padding: 15px 30px; font-size: 16px; }
.arrs-fe .arrs-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Workspace ---------- */

.arrs-ws-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: var(--gap);
	flex-wrap: wrap;
}
.arrs-ws-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: var(--gap); align-items: start; }

.arrs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.arrs-card {
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.arrs-card h3 { font-family: var(--display); font-size: 17px; margin: 0 0 4px; letter-spacing: -0.01em; }
.arrs-card header p { margin: 0; color: var(--muted); }
.arrs-card-score { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.arrs-card-num { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--band); line-height: 1; }
.arrs-card-band { font-size: 13px; font-weight: 600; color: var(--muted); }
.arrs-card-none, .arrs-card-running { font-size: 13px; color: var(--muted); font-style: italic; }
.arrs-card footer { margin-top: auto; display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.arrs-card footer a { color: var(--amber-text); }

.arrs-side { padding: 20px; }
.arrs-side-score { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.arrs-side-score span { font-family: var(--display); font-size: 38px; font-weight: 700; color: var(--band); line-height: 1; }
.arrs-side .arrs-btn { width: 100%; text-align: center; margin-bottom: 8px; }

.arrs-timeline { list-style: none; margin: 18px 0 0; padding: 0; border-left: 1px solid var(--rule); }
.arrs-timeline li { position: relative; padding: 0 0 18px 16px; }
.arrs-timeline li::before {
	content: ""; position: absolute; left: -4px; top: 6px;
	width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
}
.arrs-timeline time { display: block; color: var(--muted); }
.arrs-timeline strong { display: block; font-size: 14px; margin: 2px 0; }
.arrs-timeline p { margin: 0; font-size: 13px; color: var(--muted); }

.arrs-empty-state { text-align: center; padding: 44px 24px; }
.arrs-empty-state .arrs-btn { margin-top: 12px; }

/* ---------- Progress ---------- */

.arrs-progress { margin: 14px 0; }
.arrs-bar { height: 5px; border-radius: 3px; background: var(--porcelain-2); overflow: hidden; }
.arrs-bar span { display: block; height: 100%; width: 3%; background: var(--amber); transition: width .5s ease; }
.arrs-progress-label { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Report ---------- */

.arrs-rep-head { border-bottom: 1px solid var(--rule); padding-bottom: 22px; margin-bottom: 28px; }
.arrs-rep-title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(30px, 5vw, 48px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 10px;
}
.arrs-rep-meta { color: var(--muted); margin: 0; }

.arrs-rep-score { display: flex; align-items: center; gap: clamp(18px, 4vw, 36px); margin-bottom: 26px; flex-wrap: wrap; }
.arrs-dial {
	display: flex; align-items: baseline; gap: 2px;
	padding: 14px 24px;
	border: 2px solid var(--band);
	border-radius: var(--radius);
	background: #fff;
}
.arrs-dial-num { font-family: var(--display); font-size: clamp(44px, 7vw, 66px); font-weight: 700; line-height: 1; color: var(--band); }
.arrs-dial-of { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.arrs-dial-band { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--band); margin: 0 0 4px; }

.arrs-rep-actions { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.arrs-rep-section { margin-bottom: 44px; }

.arrs-blockers { list-style: none; counter-reset: b; margin: 20px 0 0; padding: 0; }
.arrs-blockers li {
	counter-increment: b;
	border-left: 3px solid var(--amber);
	background: #fff;
	border-top: 1px solid var(--rule);
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	padding: 16px 18px;
	margin-bottom: 12px;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.arrs-blocker-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.arrs-blocker-head h3 { font-family: var(--display); font-size: 18px; margin: 0; flex: 1 1 auto; letter-spacing: -0.01em; }
.arrs-cost { color: #b3261e; font-weight: 600; }
.arrs-blockers p { margin: 0 0 6px; font-size: 15px; }
.arrs-fix { color: var(--graphite); font-size: 14px; }
.arrs-fix .arrs-mono { color: var(--amber-text); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; margin-right: 6px; }
.arrs-locked-note { font-size: 13px; color: var(--muted); font-style: italic; }

.arrs-scorecard { margin-top: 20px; }
.arrs-sc-row { display: flex; align-items: center; gap: 10px; padding-top: 14px; flex-wrap: wrap; }
.arrs-sc-label { flex: 1 1 150px; font-size: 14px; font-weight: 600; }
.arrs-sc-track {
	width: var(--w, 40px);
	max-width: 45%;
	height: 9px;
	background: var(--porcelain-2);
	border-radius: 2px;
	overflow: hidden;
	flex: 0 0 auto;
}
.arrs-sc-fill { display: block; height: 100%; width: var(--pct, 0%); background: var(--amber); }
.arrs-sc-num { color: var(--graphite); font-weight: 600; }
.arrs-sc-num i { color: var(--muted); font-style: normal; }
.arrs-sc-rationale { font-size: 14px; color: var(--muted); margin: 6px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.arrs-slides { color: var(--amber-text); margin-left: 6px; }

.arrs-ledger { list-style: none; margin: 18px 0 0; padding: 0; }
.arrs-ledger li {
	display: flex; align-items: baseline; gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--rule);
	font-size: 15px;
}
.arrs-ledger .arrs-mono {
	flex: 0 0 74px;
	color: #b3261e;
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: .1em;
	font-weight: 600;
}
.arrs-ledger .arrs-found { color: #2e9e57; }
.arrs-ledger-locked { color: var(--muted); font-style: italic; }

.arrs-claim { background: var(--graphite); color: var(--porcelain); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.arrs-claim .arrs-h2, .arrs-claim label { color: var(--porcelain); }
.arrs-claim .arrs-lede, .arrs-claim .arrs-hint { color: #a8b0bb; }
.arrs-form-inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 18px; }
.arrs-form-inline .arrs-field { margin-bottom: 0; }

.arrs-rep-foot { border-top: 1px solid var(--rule); padding-top: 18px; }

/* ---------- Marketing ---------- */

.arrs-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
	padding: clamp(30px, 6vw, 70px) 0;
}
.arrs-hero-title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(34px, 5.2vw, 58px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 18px;
	text-wrap: balance;
}
.arrs-hero-lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); margin: 0 0 26px; max-width: 46ch; }
.arrs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Signature: the scorecard assembling itself */
.arrs-signature {
	margin: 0;
	background: var(--graphite);
	border-radius: var(--radius);
	padding: clamp(20px, 2.6vw, 30px);
	color: var(--porcelain);
}
.arrs-sig-head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 14px; padding-bottom: 16px; margin-bottom: 6px;
	border-bottom: 1px solid #2b323c;
}
.arrs-sig-head .arrs-mono { color: #8d97a4; }
.arrs-sig-total { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); font-weight: 700; color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }
.arrs-sig-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; opacity: 0; transform: translateY(5px); }
.arrs-sig-row .arrs-code { background: #232a33; color: var(--amber); }
.arrs-sig-label { flex: 1 1 auto; font-size: 12.5px; color: #c3cad3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrs-sig-track { width: var(--w, 40px); height: 7px; background: #262d37; border-radius: 2px; overflow: hidden; flex: 0 0 auto; }
.arrs-sig-fill { display: block; height: 100%; width: 0; background: var(--amber); }
.arrs-sig-num { color: #8d97a4; flex: 0 0 12px; text-align: right; }
.arrs-sig-foot { color: #6d7683; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #2b323c; }

.arrs-signature.is-live .arrs-sig-row {
	animation: arrs-in .45s ease forwards;
	animation-delay: var(--delay, 0ms);
}
.arrs-signature.is-live .arrs-sig-fill {
	animation: arrs-fill .6s cubic-bezier(.2,.7,.3,1) forwards;
	animation-delay: calc(var(--delay, 0ms) + 120ms);
}
@keyframes arrs-in { to { opacity: 1; transform: none; } }
@keyframes arrs-fill { to { width: var(--pct, 0%); } }

.arrs-mk-section { padding: clamp(34px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.arrs-mk-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin-top: 26px; }
.arrs-mk-three h3 { font-family: var(--display); font-size: 19px; margin: 10px 0 8px; letter-spacing: -0.01em; }
.arrs-mk-three p:last-child { color: var(--muted); font-size: 15px; margin: 0; }
.arrs-mk-three .arrs-code { display: inline-block; }

.arrs-mk-dark { background: var(--graphite); color: var(--porcelain); border-top: none; padding: clamp(34px, 5vw, 64px) clamp(22px, 4vw, 48px); border-radius: var(--radius); }
.arrs-mk-dark .arrs-h2 { color: var(--porcelain); }
.arrs-mk-dark .arrs-lede { color: #a8b0bb; }
.arrs-mk-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.arrs-ledger-demo li { border-bottom-color: #2b323c; }

.arrs-preset-list { list-style: none; margin: 24px 0 0; padding: 0; columns: 2; column-gap: 34px; }
.arrs-preset-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.arrs-preset-list .arrs-mono { color: var(--amber-text); margin-right: 10px; }

.arrs-mk-cta { text-align: center; }
.arrs-mk-cta .arrs-lede { max-width: 44ch; margin-left: auto; margin-right: auto; }
.arrs-mk-cta .arrs-btn { margin-top: 12px; }
.arrs-mk-cta .arrs-fine { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
	.arrs-hero,
	.arrs-mk-split,
	.arrs-ws-grid { grid-template-columns: 1fr; }
	.arrs-preset-list { columns: 1; }
	.arrs-form-inline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.arrs-fe .arrs-row { grid-template-columns: 1fr; }
	.arrs-sc-track, .arrs-sig-track { max-width: 100%; width: 100%; }
	.arrs-sc-row { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.arrs-fe * { animation: none !important; transition: none !important; }
	.arrs-signature .arrs-sig-row { opacity: 1; transform: none; }
	.arrs-signature .arrs-sig-fill { width: var(--pct, 0%); }
}

/* ---------- Layout containers ---------- */
/* Grid children need an explicit min-width:0 or long words force overflow. */
.arrs-hero-copy { min-width: 0; }
.arrs-sig-rows { display: block; }

/* Scope modifiers — present so page-level overrides have something to target. */
.arrs-free,
.arrs-workspace,
.arrs-report,
.arrs-marketing { display: block; }

/* ---------- Synopsis ---------- */

.arrs-synopsis {
	border-left: 3px solid var(--band);
	background: #fff;
	border-top: 1px solid var(--rule);
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: clamp(18px, 2.6vw, 26px);
	margin-bottom: 26px;
}
.arrs-syn-head {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(19px, 2.4vw, 24px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	text-wrap: balance;
}
.arrs-syn-body { font-size: clamp(15px, 1.4vw, 17px); margin: 0; color: var(--graphite); }
.arrs-syn-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
}
.arrs-syn-focus { margin: 0; font-size: 15px; font-weight: 600; }
.arrs-syn-focus .arrs-mono {
	display: inline-block;
	color: var(--amber-text);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 10px;
	font-weight: 600;
	margin-right: 8px;
}

/* ---------- Advisor ---------- */

.arrs-advisor-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(18px, 3vw, 36px);
	flex-wrap: wrap;
	background: var(--graphite);
	color: var(--porcelain);
	border-radius: var(--radius);
	padding: clamp(24px, 3.5vw, 38px);
	border-top: none;
}
.arrs-advisor-cta .arrs-h2 { color: var(--porcelain); margin-bottom: 6px; }
.arrs-advisor-cta .arrs-lede { color: #a8b0bb; margin: 0; }
.arrs-advisor-cta .arrs-btn { flex: 0 0 auto; }

.arrs-advisor-form { display: block; }
.arrs-ref-note {
	display: flex;
	align-items: baseline;
	gap: 10px;
	background: var(--amber-wash);
	border-radius: var(--radius);
	padding: 10px 14px;
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 600;
}
.arrs-ref-note .arrs-mono {
	color: var(--amber-text);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 10px;
	flex: 0 0 auto;
}
.arrs-optional { font-weight: 400; color: var(--muted); font-size: 12px; }

/* ---------- Portal ---------- */

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

.arrs-tabs {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid var(--rule);
	margin-bottom: var(--gap);
}
.arrs-tabs a {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.arrs-tabs a:hover { color: var(--graphite); }
.arrs-tabs a.is-current { color: var(--graphite); border-bottom-color: var(--amber); }

.arrs-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	margin-bottom: var(--gap);
	overflow: hidden;
}
.arrs-stat { background: #fff; padding: 16px 18px; }
.arrs-stat-num {
	display: block;
	font-family: var(--display);
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
.arrs-stat-label {
	display: block;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 5px;
}

.arrs-table-panel { padding: 0; overflow-x: auto; }
.arrs-portfolio { width: 100%; border-collapse: collapse; font-size: 14px; }
.arrs-portfolio th {
	text-align: left;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 12px 14px;
	border-bottom: 1px solid var(--rule);
	white-space: nowrap;
}
.arrs-portfolio td { padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.arrs-portfolio tr:last-child td { border-bottom: none; }
.arrs-col-name a { color: var(--graphite); text-decoration: none; }
.arrs-col-name a:hover { color: var(--amber-text); }
.arrs-col-logline { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.arrs-col-muted { color: var(--muted); font-size: 12.5px; }
.arrs-col-money, .arrs-col-updated { white-space: nowrap; }
.arrs-col-actions { white-space: nowrap; text-align: right; }
.arrs-col-actions a, .arrs-col-actions .arrs-linkbtn { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--amber-text); }

.arrs-pf-score {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	color: var(--band);
	margin-right: 5px;
}
.arrs-chip {
	display: inline-block;
	padding: 2px 9px;
	border: 1px solid var(--rule);
	border-radius: 11px;
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
}

.arrs-spark { color: var(--muted); vertical-align: middle; display: inline-block; }
.arrs-spark-empty { color: var(--rule); }
.arrs-delta { font-family: var(--mono); font-size: 12px; font-weight: 600; margin-left: 7px; }
.arrs-up { color: #2e9e57; }
.arrs-down { color: #b3261e; }

.arrs-inline-form { display: inline; }
.arrs-linkbtn {
	background: none;
	border: none;
	padding: 0;
	font-family: var(--body);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.arrs-recurring-list { list-style: none; margin: 16px 0 0; padding: 0; }
.arrs-recurring-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--rule);
}
.arrs-recurring-list li:last-child { border-bottom: none; }
.arrs-recurring-label { flex: 1 1 auto; font-weight: 600; }
.arrs-recurring-count { color: var(--muted); white-space: nowrap; }

.arrs-history { list-style: none; margin: 10px 0 0; padding: 0; }
.arrs-history li {
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 7px 0;
	border-bottom: 1px solid var(--rule);
}
.arrs-history li:last-child { border-bottom: none; }
.arrs-history-score { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--band); flex: 0 0 30px; }
.arrs-history-band { flex: 1 1 auto; font-size: 13px; color: var(--muted); }
.arrs-history-trend { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 0 0 4px; line-height: 1; }
.arrs-history-trend span { display: block; font-family: var(--body); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }

.arrs-danger .arrs-danger-row { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.arrs-danger .arrs-danger-row:last-child { border-bottom: none; padding-bottom: 0; }
.arrs-danger .arrs-linkbtn { font-size: 14px; font-weight: 600; color: var(--graphite); }
.arrs-danger .arrs-danger-row:last-child .arrs-linkbtn { color: #b3261e; }
.arrs-danger .arrs-hint { margin-top: 3px; }

@media (max-width: 720px) {
	.arrs-portfolio .arrs-col-trend,
	.arrs-portfolio .arrs-col-money,
	.arrs-portfolio .arrs-col-updated { display: none; }
	.arrs-col-actions { text-align: left; }
	.arrs-col-actions a:first-child, .arrs-col-actions .arrs-linkbtn:first-child { margin-left: 0; }
}

/* ---------- Funder page ---------- */

.arrs-funders { display: block; }
.arrs-hero-funders .arrs-hero-lede { max-width: 50ch; }

/* Hero figure: the sorting funnel */
.arrs-sig-funnel .arrs-funnel-rows { padding: 6px 0; }
.arrs-funnel-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42% 34px;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	opacity: 0;
	transform: translateY(5px);
	animation: arrs-in .45s ease forwards;
	animation-delay: var(--delay, 0ms);
}
.arrs-funnel-label { font-size: 12.5px; color: #c3cad3; }
.arrs-funnel-track { height: 9px; background: #262d37; border-radius: 2px; overflow: hidden; }
.arrs-funnel-fill {
	display: block;
	height: 100%;
	width: 0;
	background: #5a6472;
	animation: arrs-fill .7s cubic-bezier(.2,.7,.3,1) forwards;
	animation-delay: calc(var(--delay, 0ms) + 140ms);
}
.arrs-funnel-fill.is-ok { background: var(--amber); }
.arrs-funnel-num { color: #8d97a4; text-align: right; }

.arrs-outcomes { list-style: none; margin: 0; padding: 0; }
.arrs-outcomes li {
	position: relative;
	padding: 11px 0 11px 26px;
	border-bottom: 1px solid #2b323c;
	font-size: 15px;
	color: #c3cad3;
}
.arrs-outcomes li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 18px;
	width: 9px;
	height: 2px;
	background: var(--amber);
}

/* Testimonials */
.arrs-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 26px;
}
.arrs-quote {
	margin: 0;
	background: #fff;
	border: 1px solid var(--rule);
	border-top: 3px solid var(--amber);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.arrs-quote blockquote { margin: 0; font-size: 15px; line-height: 1.6; }
.arrs-quote blockquote::before { content: "\201C"; }
.arrs-quote blockquote::after { content: "\201D"; }
.arrs-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.arrs-quote-name { font-weight: 600; font-size: 14px; }
.arrs-quote figcaption .arrs-mono { color: var(--muted); }

/* Unapproved quotes are visibly provisional to logged-in users only; the
   marker is removed for everyone else so the page can be reviewed as it will
   actually look once the quotes are signed off. */
body.logged-in .arrs-quote.is-placeholder { border-top-style: dashed; }
body.logged-in .arrs-quote.is-placeholder::before {
	content: "Awaiting approval";
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--amber-text);
}
.arrs-admin-warning {
	margin-top: 22px;
	padding: 12px 16px;
	border-left: 3px solid #b3261e;
	background: #fdeceb;
	font-size: 14px;
	border-radius: 0 var(--radius) var(--radius) 0;
}

/* FAQ */
.arrs-faq { margin: 26px 0 0; }
.arrs-faq > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.arrs-faq dt {
	font-family: var(--display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.01em;
	margin: 0 0 7px;
}
.arrs-faq dd { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 560px) {
	.arrs-funnel-row { grid-template-columns: minmax(0, 1fr) 34% 28px; gap: 8px; }
}
