/* Public showcase pages (/accuracy, /invest/*, /stats, /status, /market-report, /media-kit, /guides, /tools,
   /sell-your-house, /for-wholesalers, /contact, /wip/pricing, /privacy-policy, /terms-of-use, expired listings): one design system, scoped to .fom. Chart colours were validated with the
   dataviz palette checks on /accuracy (indigo and teal pass lightness, CVD and 3:1 contrast on white; status colours
   always carry a text label). */
.fom {
	--fom-ink: #1d1d2b;
	--fom-muted: #5f6170;
	--fom-line: #e7e8ef;
	--fom-soft: #f5f6fb;
	--fom-surface: #fff;
	--fom-navy: #1e1d85;
	--fom-indigo: #4a48c9;
	--fom-teal: #0b9aa6;
	--fom-teal-bright: #8ff0f7;
	--fom-good: #0ca30c;
	--fom-warn: #b7791f;
	--fom-bad: #d03b3b;
	--fom-blank: #c9cbd6;
	--fom-radius: 16px;
	--fom-shadow: 0 18px 40px -18px rgba(23, 22, 107, .35), 0 2px 6px rgba(23, 22, 107, .06);
	color: var(--fom-ink);
	background: var(--fom-surface);
	/* tooltips near the edge must never widen the page */
	overflow-x: clip;
}
.fom a:not(.btn) { color: var(--fom-indigo); }
.fom a:not(.btn):hover { color: var(--fom-navy); }

/* ---- hero ---- */
.fom-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 85% 15%, rgba(14, 198, 213, .35), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(98, 96, 230, .45), transparent 50%),
		linear-gradient(135deg, #17166b 0%, #1e1d85 45%, #2a2aa6 100%);
	padding: 24px 0 120px;
}
.fom-hero.no-tiles { padding-bottom: 64px; }
.fom-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}
.fom-hero .container { position: relative; z-index: 1; }
.fom-hero .breadcrumb { background: transparent; padding: 0; flex-wrap: wrap; }
.fom-hero .breadcrumb-item, .fom-hero .breadcrumb-item a, .fom-hero .breadcrumb-item::before { color: rgba(255, 255, 255, .75) !important; }
.fom-hero .breadcrumb-item a:hover { color: #fff !important; }
.fom-hero .breadcrumb-item a { display: inline-block; padding: 6px 0; }
.fom-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fom-teal-bright);
	margin: 48px 0 12px;
}
.fom-hero h1 {
	color: #fff;
	font-size: clamp(30px, 5vw, 52px);
	line-height: 1.12;
	font-weight: 600;
	max-width: 820px;
	margin-bottom: 16px;
}
.fom-lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; max-width: 720px; color: rgba(255, 255, 255, .86); margin-bottom: 24px; }
.fom-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fom-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	font-size: 14px;
	color: #fff;
	backdrop-filter: blur(4px);
}
.fom-badge i { color: var(--fom-teal-bright); }
.fom-badge strong { font-weight: 700; }

/* glass panel on the right of the hero: an example, or the page's main action */
.fom-glass {
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--fom-radius);
	padding: 22px;
	backdrop-filter: blur(6px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.fom-glass-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fom-teal-bright); margin-bottom: 8px; }
.fom-glass-title { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.fom-glass-text { font-size: 14px; color: rgba(255, 255, 255, .8); margin-bottom: 16px; line-height: 1.55; }
.fom-glass .btn { width: 100%; font-weight: 600; white-space: normal; }
.fom-glass .btn + .btn, .fom-glass .btn + div, .fom-glass div + .btn { margin-top: 10px; }
.fom-glass .btn-light { color: var(--fom-navy); }
.fom-glass-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.fom-glass-list li { padding: 4px 0 4px 24px; position: relative; }
.fom-glass-list li::before { content: "\2713"; position: absolute; left: 2px; color: var(--fom-teal-bright); font-weight: 700; }

/* ---- headline tiles that overlap the hero ---- */
.fom-tiles { margin-top: -88px; position: relative; z-index: 2; }
.fom-tile {
	height: 100%;
	background: var(--fom-surface);
	border-radius: var(--fom-radius);
	box-shadow: var(--fom-shadow);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.fom-tile:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -18px rgba(23, 22, 107, .45), 0 2px 6px rgba(23, 22, 107, .08); }
.fom-tile-head { display: flex; align-items: center; gap: 16px; }
.fom-tile-head h2, .fom-tile-head h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--fom-ink); margin: 0; }
.fom-tile-title { font-size: 15px; font-weight: 600; color: var(--fom-muted); margin: 0; }
.fom-tile-sub { font-size: 15px; line-height: 1.55; color: var(--fom-ink); margin: 0; }
.fom-tile-foot { font-size: 13px; color: var(--fom-muted); margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--fom-line); }
.fom-tile-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; background: #ececfb; color: var(--fom-indigo); }
.fom-tile-icon.teal { background: #e2f6f8; color: var(--fom-teal); }
.fom-tile-icon.good { background: #e6f6e6; color: var(--fom-good); }
.fom-tile-icon.warn { background: #fdf3e1; color: var(--fom-warn); }
.fom-tile-num { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--fom-navy); font-variant-numeric: tabular-nums; }
.fom-tile-num small { font-size: 55%; font-weight: 600; color: var(--fom-muted); letter-spacing: 0; }
/* the compact tile: icon, number, label */
.fom-stat { gap: 6px; }
.fom-stat .fom-tile-icon { margin-bottom: 8px; }
.fom-stat-label { font-size: 14px; color: var(--fom-muted); line-height: 1.4; }

/* ---- section scaffolding ---- */
.fom-section { padding: 64px 0 0; }
.fom > .fom-section:last-of-type { padding-bottom: 72px; }
.fom-section.tight { padding-top: 40px; }
.fom-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fom-teal); margin-bottom: 8px; }
.fom-h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; color: var(--fom-ink); line-height: 1.2; margin-bottom: 12px; }
.fom-intro { font-size: 17px; line-height: 1.65; color: var(--fom-muted); max-width: 760px; margin-bottom: 32px; }
.fom-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.fom-head-row .fom-intro { margin-bottom: 0; }
.fom-card {
	height: 100%;
	background: var(--fom-surface);
	border: 1px solid var(--fom-line);
	border-radius: var(--fom-radius);
	padding: 24px;
}
.fom-card-auto { height: auto; }
.fom-card.raised, .fom-guide-card.raised { border-color: transparent; box-shadow: var(--fom-shadow); }
.fom-section[id] { scroll-margin-top: 96px; }
.fom-card h3 { font-size: 20px; font-weight: 600; color: var(--fom-ink); margin-bottom: 6px; }
.fom-card-note { font-size: 14px; color: var(--fom-muted); margin-bottom: 20px; line-height: 1.55; }
.fom-note { font-size: 13px; color: var(--fom-muted); line-height: 1.55; margin: 12px 0 0; }

/* ---- live strip ---- */
.fom-live { background: var(--fom-soft); border-radius: var(--fom-radius); padding: 28px 24px; }
.fom-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px 20px; }
.fom-live-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--fom-indigo); font-size: 15px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(23, 22, 107, .08); }
.fom-live-num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--fom-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fom-live-label { font-size: 14px; color: var(--fom-muted); margin-top: 4px; }
.fom-live-text { font-size: 16px; line-height: 1.65; color: var(--fom-ink); max-width: 860px; margin: 0 0 24px; }
.fom-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fom-good); box-shadow: 0 0 0 0 rgba(12, 163, 12, .5); animation: fom-pulse 2s infinite; margin-right: 6px; vertical-align: middle; }
@keyframes fom-pulse { 70% { box-shadow: 0 0 0 8px rgba(12, 163, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 163, 12, 0); } }

/* ---- legends ---- */
.fom-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--fom-muted); margin-bottom: 16px; }
.fom-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fom-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.fom-legend .indigo { background: var(--fom-indigo); }
.fom-legend .teal { background: var(--fom-teal); }
.fom-legend .good { background: var(--fom-good); }
.fom-legend .blank { background: var(--fom-blank); }
.fom-legend .bad { background: var(--fom-bad); }

/* ---- bar rows: a label, then one or two horizontal bars ---- */
.fom-rows { display: flex; flex-direction: column; gap: 14px; }
.fom-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; align-items: center; }
.fom-row-label { font-size: 14px; font-weight: 500; color: var(--fom-ink); line-height: 1.3; }
.fom-row-label small { display: block; font-size: 12px; font-weight: 400; color: var(--fom-muted); }
a.fom-row-label { color: var(--fom-ink) !important; text-decoration: none; }
a.fom-row-label:hover { color: var(--fom-indigo) !important; text-decoration: underline; }
.fom-bars { display: flex; flex-direction: column; gap: 4px; }
.fom-bar { position: relative; display: flex; align-items: center; gap: 8px; outline: none; }
.fom-bar-track { flex: 1; height: 10px; background: var(--fom-soft); border-radius: 4px; overflow: hidden; }
.fom-bar-fill { display: block; height: 100%; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--fom-indigo); }
.fom-bar-fill.indigo { background: var(--fom-indigo); }
.fom-bar-fill.teal { background: var(--fom-teal); }
.fom-bar-value { flex: 0 0 40px; font-size: 13px; font-weight: 600; color: var(--fom-ink); text-align: right; font-variant-numeric: tabular-nums; }
.fom-bar-value.wide { flex-basis: 92px; }
.fom-bar-value small { font-weight: 400; color: var(--fom-muted); }
@media (min-width: 992px) {
	.fom-rows-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
}

.fom-callout { margin: 24px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--fom-soft); font-size: 14px; line-height: 1.55; color: var(--fom-muted); }
.fom-callout b { color: var(--fom-ink); }

/* hover / focus tooltip shared by bars, stacked segments and chart columns */
.fom-tip { position: relative; cursor: default; }
.fom-tip::after {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translate(-50%, 4px);
	width: max-content;
	padding: 8px 10px;
	border-radius: 8px;
	background: #1d1d2b;
	color: #fff;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 500;
	white-space: normal;
	text-align: left;
	max-width: min(240px, 80vw);
	display: none;
	pointer-events: none;
	z-index: 5;
}
/* display, not opacity: a hidden tooltip still counts toward the page's scroll width */
.fom-tip:hover::after, .fom-tip:focus-visible::after { display: block; transform: translate(-50%, 0); }
.fom-tip:focus-visible { outline: 2px solid var(--fom-indigo); outline-offset: 2px; border-radius: 4px; }
.fom-bar:hover .fom-bar-track, .fom-bar:focus-visible .fom-bar-track { box-shadow: 0 0 0 2px rgba(74, 72, 201, .18); }

/* ---- strategy chips ---- */
.fom-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fom-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--fom-line);
	background: var(--fom-surface);
	color: var(--fom-ink) !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.fom-chip:hover { border-color: var(--fom-indigo); box-shadow: 0 4px 12px -6px rgba(74, 72, 201, .5); }
.fom-chip-count { display: inline-block; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--fom-soft); color: var(--fom-muted); font-size: 12px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.fom-chip.active { background: var(--fom-navy); border-color: var(--fom-navy); color: #fff !important; }
.fom-chip.active .fom-chip-count { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---- tables ---- */
.fom-table-wrap { border: 1px solid var(--fom-line); border-radius: var(--fom-radius); overflow: hidden; background: var(--fom-surface); }
/* positioned, so absolutely placed children (.sr-only) scroll with the table instead of widening the page */
.fom-table-wrap .table-responsive { margin: 0; position: relative; }
.fom-table { width: 100%; margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; border-collapse: collapse; }
.fom-table th, .fom-table td { padding: 14px 20px; border-top: 1px solid var(--fom-line); vertical-align: middle; }
.fom-table thead th { border-top: 0; background: var(--fom-soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fom-muted); white-space: nowrap; }
.fom-table tbody tr { transition: background .12s ease; }
.fom-table tbody tr:hover { background: #fafaff; }
.fom-table td.num, .fom-table th.num { text-align: right; white-space: nowrap; }
.fom-table td a { font-weight: 500; }
/* a count with a small bar under it, for "share of the whole" columns */
.fom-cell-bar { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--fom-soft); overflow: hidden; min-width: 60px; }
.fom-cell-bar > span { display: block; height: 100%; border-radius: 2px; background: var(--fom-teal); }
.fom-cell-bar.indigo > span { background: var(--fom-indigo); }

/* ---- link cards (cities, regions, guides) ---- */
.fom-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.fom-link-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--fom-line);
	border-radius: 12px;
	background: var(--fom-surface);
	color: var(--fom-ink) !important;
	text-decoration: none !important;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fom-link-card:hover { border-color: var(--fom-indigo); box-shadow: 0 10px 24px -14px rgba(23, 22, 107, .45); transform: translateY(-1px); }
.fom-link-card .name { font-weight: 600; display: block; line-height: 1.3; }
.fom-link-card .meta { display: block; font-size: 13px; color: var(--fom-muted); }
.fom-link-card .arrow { margin-left: auto; color: var(--fom-blank); transition: color .15s ease, transform .15s ease; }
.fom-link-card:hover .arrow { color: var(--fom-indigo); transform: translateX(2px); }
.fom-link-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; border-radius: 10px; background: #e2f6f8; color: var(--fom-teal); font-size: 15px; }

/* ---- ranked list ---- */
.fom-rank { list-style: none; counter-reset: rank; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.fom-rank li { counter-increment: rank; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fom-line); font-size: 15px; }
.fom-rank li::before { content: counter(rank); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--fom-soft); color: var(--fom-indigo); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.fom-rank li:nth-child(-n+3)::before { background: var(--fom-navy); color: #fff; }
.fom-rank .count { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- status pills ---- */
.fom-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fom-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fom-status.good { background: #e6f6e6; color: #0a7a0a; }
.fom-status.warn { background: #fdf3e1; color: #8a5a12; }
.fom-status.bad { background: #fdecec; color: #b42f2f; }
.fom-status.idle { background: var(--fom-soft); color: var(--fom-muted); font-weight: 500; }
.fom-status.idle::before { display: none; }

/* ---- city filter on /invest ---- */
.fom-search { position: relative; max-width: 520px; }
.fom-search input { width: 100%; height: 52px; padding: 0 20px 0 48px; border-radius: 999px; border: 1px solid var(--fom-line); font-size: 16px; color: var(--fom-ink); background: var(--fom-surface); box-shadow: 0 8px 24px -16px rgba(23, 22, 107, .4); }
.fom-search input:focus { outline: none; border-color: var(--fom-indigo); box-shadow: 0 0 0 3px rgba(74, 72, 201, .15); }
.fom-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--fom-muted); }
.fom-regions { display: grid; gap: 12px; align-items: start; }
@media (min-width: 992px) { .fom-regions { grid-template-columns: 1fr 1fr; } }
.fom-region { border: 1px solid var(--fom-line); border-radius: 14px; background: var(--fom-surface); transition: box-shadow .15s ease; }
.fom-region[open] { box-shadow: 0 10px 24px -16px rgba(23, 22, 107, .35); }
.fom-region > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 17px; font-weight: 600; }
.fom-region > summary::-webkit-details-marker { display: none; }
.fom-region > summary::after { content: "+"; margin-left: 4px; font-size: 22px; font-weight: 300; color: var(--fom-indigo); transition: transform .2s ease; }
.fom-region[open] > summary::after { transform: rotate(45deg); }
.fom-region .fom-chip-count { margin-left: auto; }
.fom-region-body { padding: 0 20px 20px; }
.fom-region-body .city-links { margin-bottom: 0; }
.fom-region-body .city-links a { color: var(--fom-ink) !important; }
.fom-region-body .city-links a:hover { color: var(--fom-indigo) !important; }
.fom-country-flag { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #ececfb; color: var(--fom-indigo); font-size: 13px; font-weight: 700; }
.fom-empty { padding: 24px; border-radius: var(--fom-radius); background: var(--fom-soft); color: var(--fom-muted); text-align: center; }

/* ---- flags, steps, rules, FAQ ---- */
.fom-flag { display: flex; gap: 16px; align-items: flex-start; }
.fom-flag-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #fdecec; color: var(--fom-bad); }
.fom-flag-icon.info { background: #e9f8f9; color: var(--fom-teal); }
.fom-flag-icon.good { background: #e6f6e6; color: var(--fom-good); }
.fom-flag h3 { font-size: 17px; margin-bottom: 4px; }
.fom-flag p { font-size: 15px; color: var(--fom-muted); margin: 0; line-height: 1.6; }
.fom-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--fom-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px; }
.fom-rules { list-style: none; padding: 0; margin: 0; }
.fom-rules li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--fom-line); font-size: 15px; }
.fom-rules li:last-child { border-bottom: 0; }
.fom-rules li::before { content: "\2192"; position: absolute; left: 4px; color: var(--fom-teal); font-weight: 700; }
.fom-rules.no li::before { content: "\2715"; color: var(--fom-bad); }
.fom-rules.yes li::before { content: "\2713"; color: var(--fom-good); }
.fom-faq details { border-bottom: 1px solid var(--fom-line); }
.fom-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 17px; font-weight: 500; color: var(--fom-ink); }
.fom-faq summary h3 { display: inline; font: inherit; color: inherit; margin: 0; }
.fom-faq summary::-webkit-details-marker { display: none; }
.fom-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--fom-indigo); transition: transform .2s ease; }
.fom-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fom-faq details p { color: var(--fom-muted); font-size: 15px; line-height: 1.65; padding-bottom: 18px; margin: 0; max-width: 760px; }
.fom-table-toggle { margin-top: 20px; font-size: 14px; }
.fom-table-toggle summary { cursor: pointer; color: var(--fom-indigo); font-weight: 500; }
.fom-table-toggle table { margin-top: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.fom-cta {
	border-radius: var(--fom-radius);
	padding: 40px 32px;
	color: #fff;
	background: radial-gradient(circle at 90% 10%, rgba(14, 198, 213, .4), transparent 50%), linear-gradient(135deg, #17166b, #2a2aa6);
}
.fom-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin-bottom: 8px; }
.fom-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 20px; font-size: 16px; max-width: 680px; }
.fom-cta .btn-light { color: var(--fom-navy) !important; font-weight: 600; }
.fom-cta .btn-outline-light { font-weight: 600; }
.fom-cta .btn-outline-light:hover { color: var(--fom-navy) !important; }
.fom-cta .btn { white-space: normal; }
.fom-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fom-actions > div > .btn, .fom-actions .btn { font-weight: 600; }
.fom-more { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.fom-more a { font-weight: 500; }

/* ---- plan cards (/wip/pricing): paid tiers in columns, the free tier as one wide row under them ---- */
.fom-plan { gap: 16px; }
.fom-plan.featured { border: 2px solid var(--fom-indigo); }
.fom-plan-top { display: flex; flex-direction: column; gap: 16px; }
.fom-plan-flag { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--fom-navy); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fom-plan-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--fom-line); }
.fom-plan-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fom-line); font-size: 14px; }
.fom-plan-list span { color: var(--fom-muted); }
.fom-plan-list b { font-weight: 600; color: var(--fom-ink); text-align: right; }
.fom-plan .btn { margin-top: auto; font-weight: 600; white-space: normal; }
@media (min-width: 992px) {
	.fom-plan.wide { flex-direction: row; align-items: center; gap: 32px; }
	.fom-plan.wide .fom-plan-top { flex: 0 0 200px; }
	.fom-plan.wide .fom-plan-list { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 0; }
	.fom-plan.wide .fom-plan-list li { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 0 0 0 16px; border-bottom: 0; border-left: 1px solid var(--fom-line); }
	.fom-plan.wide .fom-plan-list b { text-align: left; }
	.fom-plan.wide .btn { flex: 0 0 200px; width: auto; margin-top: 0; }
}
.fom-yes { color: var(--fom-good); }

/* ---- copy box (media kit) ---- */
.fom-quote { position: relative; padding: 24px 24px 24px 28px; border-radius: var(--fom-radius); background: var(--fom-soft); border-left: 4px solid var(--fom-teal); font-size: 17px; line-height: 1.7; color: var(--fom-ink); margin: 0; }

/* ---- articles (guides) ---- */
.fom-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.fom-article-meta img { width: 32px; height: 32px; border-radius: 50%; }
.fom-prose { font-size: 17px; line-height: 1.8; color: #2b2c3a; max-width: 720px; }
.fom-prose h2, .fom-prose h3 { color: var(--fom-ink); font-weight: 600; line-height: 1.3; scroll-margin-top: 96px; }
.fom-prose h2 { font-size: 28px; margin: 48px 0 16px; }
.fom-prose h3 { font-size: 22px; margin: 40px 0 12px; }
.fom-prose h4 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; color: var(--fom-ink); }
.fom-prose > :first-child { margin-top: 0; }
.fom-prose p { margin-bottom: 20px; }
.fom-prose ul, .fom-prose ol { padding-left: 24px; margin-bottom: 20px; }
.fom-prose li { margin-bottom: 6px; }
.fom-prose li::marker { color: var(--fom-teal); }
.fom-prose blockquote, .fom-prose .fom-pull { margin: 32px 0; padding: 20px 24px; border-left: 4px solid var(--fom-teal); border-radius: 0 12px 12px 0; background: var(--fom-soft); font-size: 18px; font-weight: 500; color: var(--fom-ink); line-height: 1.6; }
.fom-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.fom-prose table { width: 100%; margin-bottom: 24px; font-size: 15px; }
.fom-toc, .fom-sticky { position: sticky; top: 96px; }
.fom-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.fom-toc li { counter-increment: toc; }
.fom-toc a { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; line-height: 1.4; color: var(--fom-muted) !important; border-bottom: 1px solid var(--fom-line); text-decoration: none !important; }
.fom-toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--fom-blank); font-variant-numeric: tabular-nums; }
.fom-toc a:hover { color: var(--fom-indigo) !important; }
.fom-toc a:hover::before { color: var(--fom-teal); }
.fom-side-cta { margin-top: 24px; border-radius: var(--fom-radius); padding: 24px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(14, 198, 213, .4), transparent 55%), linear-gradient(135deg, #17166b, #2a2aa6); }
.fom-side-cta h2, .fom-side-cta h3 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.fom-side-cta p { font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.fom-side-cta .btn { width: 100%; font-weight: 600; white-space: normal; color: var(--fom-navy) !important; }
.fom-side-cta .btn.btn-outline-light { color: #fff !important; }
.fom-side-cta .btn.btn-outline-light:hover { color: var(--fom-navy) !important; }
.fom-side-cta .btn.btn-primary { background: var(--fom-teal); border-color: var(--fom-teal); color: #fff !important; }
.fom-guide-card { display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid var(--fom-line); border-radius: var(--fom-radius); background: var(--fom-surface); transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
.fom-guide-card:hover { border-color: var(--fom-indigo); box-shadow: var(--fom-shadow); transform: translateY(-3px); }
.fom-guide-card h2, .fom-guide-card h3 { font-size: 20px; font-weight: 600; line-height: 1.35; margin: 16px 0 8px; }
.fom-guide-card h2 a, .fom-guide-card h3 a { color: var(--fom-ink) !important; text-decoration: none !important; }
/* the whole card is the link */
.fom-guide-card h2 a::after, .fom-guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.fom-guide-card { position: relative; }
.fom-guide-card p { font-size: 15px; color: var(--fom-muted); line-height: 1.6; margin-bottom: 16px; }
.fom-guide-card .fom-read { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--fom-indigo); }

/* ---- calculators (/tools/*): the components are shared with property pages, so the theme's !important utilities
   are overridden here only, through the calc-* hook classes ---- */
.fom-calc .calc-label { font-size: 14px; font-weight: 600 !important; color: var(--fom-ink) !important; }
.fom-calc .calc-help, .fom-calc .calc-note, .fom-calc .calc-empty { color: var(--fom-muted) !important; line-height: 1.5; }
.fom-calc .form-control { border-color: var(--fom-line); color: var(--fom-ink); font-variant-numeric: tabular-nums; }
.fom-calc .form-control:focus { border-color: var(--fom-indigo); box-shadow: 0 0 0 3px rgba(74, 72, 201, .15); }
.fom-calc .input-group-text { background: var(--fom-soft); border-color: var(--fom-line); color: var(--fom-muted); font-size: 14px; }
.fom-calc .calc-result { background: var(--fom-soft) !important; border: 1px solid var(--fom-line); border-radius: 14px !important; padding: 20px 24px !important; }
.fom-calc .calc-row { gap: 16px; padding: 10px 0 !important; border-bottom-color: var(--fom-line) !important; font-size: 15px; color: var(--fom-muted); font-variant-numeric: tabular-nums; }
.fom-calc .calc-row:last-of-type { border-bottom: 0 !important; }
.fom-calc .calc-row > span:last-child { font-weight: 600; color: var(--fom-ink); white-space: nowrap; text-align: right; }
.fom-calc .calc-row.is-key { font-size: 16px !important; color: var(--fom-ink) !important; }
.fom-calc .calc-row.is-key > span:last-child { font-size: 22px; font-weight: 700; color: var(--fom-navy); letter-spacing: -.01em; }

@media (max-width: 575.98px) {
	.fom-hero { padding-bottom: 100px; }
	.fom-hero.no-tiles { padding-bottom: 48px; }
	.fom-eyebrow { margin-top: 28px; }
	.fom-row { grid-template-columns: 1fr; gap: 6px; }
	.fom-card, .fom-tile { padding: 20px; }
	.fom-cta { padding: 32px 20px; }
	.fom-table th, .fom-table td { padding: 12px 14px; }
	.fom-section { padding-top: 48px; }
	.fom-prose { font-size: 16px; }
	.fom-prose h2 { font-size: 24px; }
	.fom-calc .calc-result { padding: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.fom-tile, .fom-link-card, .fom-guide-card, .fom-chip { transition: none; }
	.fom-tile:hover, .fom-link-card:hover, .fom-guide-card:hover { transform: none; }
	.fom-pulse { animation: none; }
}
