:root {
	--bg: #0d100e;
	--bg-soft: #141915;
	--surface: #171d18;
	--surface-2: #1e251f;
	--surface-3: #252e27;
	--text: #f5f2e8;
	--text-soft: #b9c0b7;
	--text-muted: #879087;
	--gold: #d6a62d;
	--gold-bright: #f4d675;
	--gold-soft: #3a2f16;
	--gold-ink: #2d2105;
	--line: rgba(255, 255, 255, 0.09);
	--success: #7fd59a;
	--danger: #ff8c8c;
	--shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 30px;
	--container: 1200px;
	--header-height: 78px;
	--transition: 180ms ease;
	color-scheme: dark;
}

:root[data-theme="light"] {
	--bg: #f5f2e8;
	--bg-soft: #ece7d8;
	--surface: #ffffff;
	--surface-2: #f4f0e4;
	--surface-3: #e9e1ce;
	--text: #1b201c;
	--text-soft: #505b52;
	--text-muted: #788079;
	--gold: #a8790c;
	--gold-bright: #cb9c2d;
	--gold-soft: #f4e7bc;
	--gold-ink: #3d2c05;
	--line: rgba(28, 34, 29, 0.12);
	--shadow: 0 24px 60px rgba(58, 47, 18, 0.12);
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 15% 8%, rgba(214, 166, 45, 0.11), transparent 28rem),
		var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.no-scroll {
	overflow: hidden;
}

button,
input,
select {
	font: inherit;
}

button,
a,
input,
select {
	outline-offset: 4px;
}

button {
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	display: block;
	max-width: 100%;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	line-height: 1.1;
	letter-spacing: -0.035em;
}

h1 {
	font-size: clamp(3rem, 6vw, 6.2rem);
	margin-bottom: 1.5rem;
}

h2 {
	font-size: clamp(2.1rem, 4.2vw, 4.3rem);
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.35rem;
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.section {
	padding: 110px 0;
}

.section-heading {
	margin-bottom: 48px;
}

.section-heading p {
	color: var(--text-soft);
	max-width: 760px;
	font-size: 1.05rem;
}

.section-heading.centered {
	text-align: center;
}

.section-heading.centered p {
	margin-inline: auto;
}

.section-heading.narrow {
	max-width: 850px;
	margin-inline: auto;
}

.split-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.heading-aside {
	max-width: 430px;
	color: var(--text-soft);
}

.eyebrow {
	margin-bottom: 12px;
	color: var(--gold-bright) !important;
	font-size: 0.78rem !important;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

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

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 9999;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	clip: auto;
	background: var(--gold);
	color: var(--gold-ink);
	border-radius: 8px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: var(--header-height);
	background: color-mix(in srgb, var(--bg) 84%, transparent);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(20px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: var(--header-height);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	border: 1px solid rgba(244, 214, 117, 0.45);
	border-radius: 50%;
	background: linear-gradient(145deg, #f8df8c, #b87908 70%, #704404);
	box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.13), 0 8px 20px rgba(214, 166, 45, 0.2);
	color: #261a02;
	font-family: Georgia, serif;
	font-size: 1rem;
	font-weight: 800;
}

.brand strong,
.brand small {
	display: block;
}

.brand strong {
	font-size: 1rem;
	letter-spacing: -0.015em;
}

.brand small {
	color: var(--text-muted);
	font-size: 0.68rem;
	letter-spacing: 0.03em;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: auto;
}

.main-nav a {
	color: var(--text-soft);
	font-size: 0.9rem;
	font-weight: 650;
	transition: color var(--transition);
}

.main-nav a:hover {
	color: var(--gold-bright);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.icon-button,
.basket-button,
.button,
.text-button {
	border: 0;
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
}

.icon-button:hover,
.basket-button:hover,
.button:hover {
	transform: translateY(-2px);
}

.icon-button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	font-size: 1.25rem;
}

.basket-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 11px 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.84rem;
	font-weight: 750;
}

.basket-count {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--gold-ink);
	font-size: 0.72rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1;
}

.button-primary {
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	box-shadow: 0 12px 30px rgba(214, 166, 45, 0.22);
	color: var(--gold-ink);
}

.button-secondary {
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text);
}

.text-button {
	padding: 0;
	background: transparent;
	color: var(--gold-bright);
	font-weight: 750;
}

.text-button:hover {
	text-decoration: underline;
}

.text-button.danger {
	color: var(--danger);
}

.hero {
	position: relative;
	padding: 95px 0 80px;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	right: -160px;
	top: 50px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(214, 166, 45, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 80px rgba(214, 166, 45, 0.025), 0 0 0 160px rgba(214, 166, 45, 0.018);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
	align-items: center;
	gap: 70px;
}

.hero h1 span {
	display: block;
	background: linear-gradient(100deg, var(--gold-bright), var(--gold), #9b6a0b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-lead {
	max-width: 760px;
	margin-bottom: 28px;
	color: var(--text-soft);
	font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	padding: 0;
	margin: 0;
	list-style: none;
	color: var(--text-muted);
	font-size: 0.82rem;
}

.hero-points li::before {
	content: "•";
	margin-right: 8px;
	color: var(--gold);
}

.hero-visual {
	position: relative;
	min-height: 530px;
}

.coin-scene {
	position: absolute;
	top: 0;
	right: 20px;
	width: 350px;
	height: 350px;
}

.coin {
	position: absolute;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 28%, #fff2bd 0%, #e8bd4e 24%, #b47a0e 64%, #704404 100%);
	box-shadow: inset -16px -18px 30px rgba(64, 36, 0, 0.35), inset 10px 10px 18px rgba(255, 255, 255, 0.3), 0 36px 55px rgba(0, 0, 0, 0.28);
}

.coin::before,
.coin::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.coin::before {
	inset: 15px;
	border: 2px solid rgba(80, 46, 0, 0.28);
}

.coin::after {
	inset: 29px;
	border: 1px dashed rgba(80, 46, 0, 0.3);
}

.coin-back {
	left: 10px;
	top: 55px;
	width: 230px;
	height: 230px;
	filter: saturate(0.85) brightness(0.7);
	transform: rotate(-18deg);
}

.coin-front {
	right: 0;
	top: 0;
	width: 270px;
	height: 270px;
	transform: rotate(9deg);
}

.coin-front span,
.coin-front small {
	position: relative;
	z-index: 1;
	display: block;
	color: #402800;
	font-family: Georgia, serif;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.coin-front span {
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
}

.coin-front small {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.live-card {
	position: absolute;
	right: 5px;
	bottom: 0;
	left: 35px;
	padding: 26px;
	border: 1px solid rgba(244, 214, 117, 0.16);
	border-radius: var(--radius-lg);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	box-shadow: var(--shadow);
	backdrop-filter: blur(18px);
}

.live-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	color: var(--text-muted);
	font-size: 0.78rem;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 5px rgba(214, 166, 45, 0.1);
}

.status-dot.online {
	background: var(--success);
	box-shadow: 0 0 0 5px rgba(127, 213, 154, 0.1);
}

.status-dot.offline {
	background: var(--danger);
	box-shadow: 0 0 0 5px rgba(255, 140, 140, 0.1);
}

.live-label,
.live-date {
	margin-bottom: 4px;
	color: var(--text-muted);
	font-size: 0.8rem;
}

.live-value {
	margin-bottom: 2px;
	line-height: 1;
}

.live-value strong {
	font-size: clamp(2.5rem, 4.5vw, 4.6rem);
	letter-spacing: -0.06em;
}

.live-value span {
	color: var(--gold-bright);
	font-weight: 800;
}

.live-equivalents {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 22px;
}

.live-equivalents div {
	padding: 13px;
	border-radius: var(--radius-sm);
	background: var(--surface-2);
}

.live-equivalents span,
.live-equivalents strong {
	display: block;
}

.live-equivalents span {
	color: var(--text-muted);
	font-size: 0.7rem;
}

.live-equivalents strong {
	font-size: 0.93rem;
}

.ticker-section {
	overflow: hidden;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.ticker-track {
	display: flex;
	width: max-content;
	animation: ticker 34s linear infinite;
}

.ticker-section:hover .ticker-track {
	animation-play-state: paused;
}

.ticker-item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 260px;
	padding: 16px 26px;
	border-right: 1px solid var(--line);
}

.ticker-item > span:first-child {
	font-size: 1.25rem;
}

.ticker-item strong,
.ticker-item small {
	display: block;
}

.ticker-item small {
	color: var(--text-muted);
	font-size: 0.7rem;
}

@keyframes ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.section-intro {
	background: linear-gradient(180deg, transparent, rgba(214, 166, 45, 0.025), transparent);
}

.principle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.principle-card {
	position: relative;
	min-height: 260px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.principle-card.featured {
	border-color: rgba(214, 166, 45, 0.35);
	background: linear-gradient(145deg, var(--surface), var(--gold-soft));
	transform: translateY(-14px);
}

.principle-number {
	display: inline-block;
	margin-bottom: 52px;
	color: var(--gold-bright);
	font-family: Georgia, serif;
	font-size: 0.85rem;
}

.principle-card p {
	margin-bottom: 0;
	color: var(--text-soft);
}

.catalog-section {
	background: var(--bg-soft);
}

.catalog-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	margin-bottom: 20px;
}

.search-box,
.select-box {
	display: flex;
	align-items: center;
	min-height: 54px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
}

.search-box {
	gap: 12px;
	padding: 0 18px;
}

.search-box > span {
	color: var(--gold-bright);
	font-size: 1.4rem;
}

.search-box input,
.select-box select {
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--text);
	outline: none;
}

.search-box input::placeholder {
	color: var(--text-muted);
}

.select-box {
	padding: 0 15px 0 18px;
	gap: 8px;
}

.select-box span {
	color: var(--text-muted);
	font-size: 0.78rem;
}

.select-box select {
	min-width: 190px;
	cursor: pointer;
}

.category-tabs {
	display: flex;
	gap: 8px;
	padding-bottom: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.category-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: max-content;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--text-soft);
	cursor: pointer;
}

.category-tab.active {
	border-color: var(--gold);
	background: var(--gold-soft);
	color: var(--gold-bright);
}

.catalog-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 22px 0 16px;
	color: var(--text-muted);
	font-size: 0.78rem;
}

.catalog-meta p {
	margin: 0;
}

.demo-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 4px;
	border-radius: 50%;
	background: var(--gold);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 330px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
	transform: translateY(-5px);
	border-color: rgba(214, 166, 45, 0.35);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.15);
}

.product-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 22px;
}

.product-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: var(--surface-2);
	font-size: 1.6rem;
}

.card-edit {
	width: 34px;
	height: 34px;
	font-size: 0.9rem;
	opacity: 0.75;
}

.product-category {
	margin-bottom: 5px;
	color: var(--gold-bright);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-card h3 {
	margin-bottom: 4px;
	font-size: 1.25rem;
}

.product-unit {
	margin-bottom: 20px;
	color: var(--text-muted);
	font-size: 0.76rem;
}

.product-price {
	margin-top: auto;
	margin-bottom: 4px;
	font-size: 1.7rem;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.product-gold {
	margin-bottom: 18px;
	color: var(--gold-bright);
	font-size: 1.05rem;
	font-weight: 800;
}

.product-equivalent {
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--text-muted);
	font-size: 0.72rem;
}

.product-card-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	margin-top: 16px;
}

.add-basket,
.show-history {
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 0.75rem;
	font-weight: 750;
	cursor: pointer;
}

.show-history {
	padding-inline: 11px;
	color: var(--gold-bright);
}

.data-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(214, 166, 45, 0.1);
}

.empty-state {
	padding: 70px 20px;
	text-align: center;
	color: var(--text-soft);
}

.empty-state strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.3rem;
}

.comparison-section {
	background:
		radial-gradient(circle at 80% 20%, rgba(214, 166, 45, 0.08), transparent 30rem),
		var(--bg);
}

.comparison-panel {
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.comparison-controls {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 25px;
	margin-bottom: 28px;
}

.comparison-controls label > span,
.two-fields label > span,
.form-grid label > span,
.basket-income label,
.field-label {
	display: block;
	margin-bottom: 7px;
	color: var(--text-muted);
	font-size: 0.76rem;
	font-weight: 700;
}

.comparison-controls select,
.two-fields select,
.form-grid input,
.form-grid select {
	min-height: 48px;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface-2);
	color: var(--text);
}

.comparison-controls select {
	min-width: 280px;
}

.comparison-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 20px;
	color: var(--text-muted);
	font-size: 0.72rem;
}

.comparison-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.comparison-legend i {
	width: 10px;
	height: 10px;
	border-radius: 3px;
}

.legend-pln {
	background: var(--text-muted);
}

.legend-gold {
	background: var(--gold);
}

.comparison-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 30px;
}

.summary-tile {
	padding: 18px;
	border-radius: 16px;
	background: var(--surface-2);
}

.summary-tile span,
.summary-tile strong,
.summary-tile small {
	display: block;
}

.summary-tile span {
	color: var(--text-muted);
	font-size: 0.7rem;
}

.summary-tile strong {
	margin: 3px 0;
	font-size: 1.45rem;
	letter-spacing: -0.035em;
}

.summary-tile small {
	color: var(--text-soft);
	font-size: 0.72rem;
}

.chart-wrap {
	position: relative;
	padding: 24px 8px 10px 42px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.chart-y-label {
	position: absolute;
	left: -36px;
	top: 50%;
	color: var(--text-muted);
	font-size: 0.64rem;
	transform: rotate(-90deg) translateY(-50%);
	transform-origin: center;
}

.bar-chart {
	display: grid;
	grid-template-columns: repeat(6, minmax(70px, 1fr));
	align-items: end;
	gap: 18px;
	min-height: 330px;
	overflow-x: auto;
}

.chart-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: end;
	gap: 6px;
	min-width: 72px;
	height: 300px;
	padding-top: 25px;
	border-bottom: 1px solid var(--line);
}

.chart-bar {
	position: relative;
	min-height: 2px;
	border-radius: 8px 8px 0 0;
	background: var(--text-muted);
	transition: height 320ms ease;
}

.chart-bar.gold {
	background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.chart-bar span {
	position: absolute;
	top: -24px;
	left: 50%;
	color: var(--text-soft);
	font-size: 0.62rem;
	font-weight: 700;
	transform: translateX(-50%);
}

.chart-year {
	grid-column: 1 / -1;
	padding-top: 8px;
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	text-align: center;
}

.history-table-wrap {
	margin-top: 26px;
	overflow-x: auto;
}

.history-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8rem;
}

.history-table th,
.history-table td {
	padding: 13px 12px;
	border-bottom: 1px solid var(--line);
	text-align: right;
	white-space: nowrap;
}

.history-table th:first-child,
.history-table td:first-child {
	text-align: left;
}

.history-table th {
	color: var(--text-muted);
	font-size: 0.68rem;
	text-transform: uppercase;
}

.panel-footnote {
	margin: 18px 0 0;
	color: var(--text-muted);
	font-size: 0.7rem;
}

.calculator-section {
	background: var(--bg-soft);
}

.calculator-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.calculator-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.calculator-card.emphasized {
	border-color: rgba(214, 166, 45, 0.38);
	background: linear-gradient(150deg, var(--surface), var(--gold-soft));
}

.calculator-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 30px;
	border-radius: 16px;
	background: var(--surface-2);
	color: var(--gold-bright);
	font-size: 1.4rem;
}

.calculator-card > p {
	min-height: 52px;
	color: var(--text-soft);
	font-size: 0.86rem;
}

.input-with-unit {
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface-2);
}

.input-with-unit input {
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 1.05rem;
	font-weight: 750;
	outline: none;
}

.input-with-unit span {
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.input-with-unit.compact {
	min-height: 48px;
}

.calculator-result {
	margin-top: 20px;
	padding: 18px;
	border-radius: 16px;
	background: var(--bg-soft);
}

.calculator-result span,
.calculator-result strong,
.calculator-result small {
	display: block;
}

.calculator-result span,
.calculator-result small {
	color: var(--text-muted);
	font-size: 0.72rem;
}

.calculator-result strong {
	margin: 4px 0;
	color: var(--gold-bright);
	font-size: 1.55rem;
}

.two-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.two-fields select {
	width: 100%;
}

.erosion-result {
	margin-top: 18px;
	padding: 16px;
	border-radius: 16px;
	background: var(--bg-soft);
}

.erosion-result p {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.8rem;
}

.erosion-result strong {
	color: var(--gold-bright);
}

.erosion-meter {
	height: 8px;
	margin: 12px 0;
	border-radius: 999px;
	background: var(--surface-3);
	overflow: hidden;
}

.erosion-meter span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--gold-bright), var(--gold));
}

.story-section {
	overflow: hidden;
}

.story-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: 80px;
}

.story-visual {
	position: relative;
	min-height: 470px;
}

.melting-vault {
	position: absolute;
	inset: 20px;
	border: 1px solid var(--line);
	border-radius: 42px;
	background: linear-gradient(150deg, var(--surface-3), var(--surface));
	box-shadow: var(--shadow);
}

.vault-door {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 220px;
	height: 220px;
	border: 12px solid var(--surface-2);
	border-radius: 50%;
	background: radial-gradient(circle, var(--surface-3), var(--bg));
	box-shadow: inset 0 0 0 3px var(--line), 0 20px 40px rgba(0, 0, 0, 0.25);
	color: var(--gold-bright);
	font-family: Georgia, serif;
	font-size: 4rem;
	font-weight: 800;
	transform: translate(-50%, -50%);
}

.vault-door::before,
.vault-door::after {
	content: "";
	position: absolute;
	width: 130px;
	height: 8px;
	border-radius: 999px;
	background: var(--surface-2);
}

.vault-door::after {
	transform: rotate(90deg);
}

.ice-cube {
	position: absolute;
	width: 66px;
	height: 66px;
	border: 1px solid rgba(194, 234, 255, 0.4);
	border-radius: 14px 14px 22px 14px;
	background: linear-gradient(145deg, rgba(223, 247, 255, 0.88), rgba(107, 174, 198, 0.25));
	box-shadow: inset 9px 10px 18px rgba(255, 255, 255, 0.34), 0 14px 24px rgba(0, 0, 0, 0.2);
	transform: rotate(var(--rotate));
}

.cube-one { --rotate: -13deg; left: 32px; top: 38px; }
.cube-two { --rotate: 11deg; right: 38px; top: 70px; width: 48px; height: 48px; }
.cube-three { --rotate: -4deg; left: 80px; bottom: 40px; width: 42px; height: 42px; }

.water-drop {
	position: absolute;
	width: 16px;
	height: 22px;
	border-radius: 60% 40% 65% 35% / 70% 35% 65% 30%;
	background: rgba(135, 207, 230, 0.55);
	transform: rotate(35deg);
}

.drop-one { left: 98px; top: 108px; }
.drop-two { right: 67px; top: 128px; width: 11px; height: 16px; }

.story-copy > p:not(.eyebrow) {
	color: var(--text-soft);
}

.story-callout {
	padding: 20px 22px;
	border-left: 3px solid var(--gold);
	border-radius: 0 15px 15px 0;
	background: var(--surface);
}

.story-callout strong,
.story-callout span {
	display: block;
}

.story-callout span {
	margin-top: 3px;
	color: var(--gold-bright);
	font-size: 1.08rem;
	font-weight: 750;
}

.methodology-section {
	background: var(--bg-soft);
}

.method-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.method-grid article {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.method-grid article p {
	margin-bottom: 0;
	color: var(--text-soft);
	font-size: 0.86rem;
}

.data-tools-section {
	padding-top: 70px;
}

.data-tools-panel {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 35px;
	padding: 38px;
	border: 1px solid rgba(214, 166, 45, 0.25);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--surface), var(--gold-soft));
}

.data-tools-panel p:last-child {
	max-width: 730px;
	margin-bottom: 0;
	color: var(--text-soft);
}

.data-tools-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	max-width: 420px;
}

.file-button input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.site-footer {
	padding: 70px 0 25px;
	border-top: 1px solid var(--line);
	background: #090b09;
}

:root[data-theme="light"] .site-footer {
	background: #e6dfcf;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr 1fr;
	gap: 60px;
}

.footer-brand {
	margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
	color: var(--text-muted);
	font-size: 0.8rem;
}

.footer-grid a {
	display: block;
	margin-bottom: 8px;
}

.footer-grid a:hover {
	color: var(--gold-bright);
}

.footer-grid h3 {
	font-size: 0.9rem;
	letter-spacing: 0;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	margin-top: 38px;
	border-top: 1px solid var(--line);
	color: var(--text-muted);
	font-size: 0.7rem;
}

.basket-drawer,
.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	opacity: 0;
	transition: opacity var(--transition), visibility var(--transition);
}

.basket-drawer.open,
.modal.open {
	visibility: visible;
	opacity: 1;
}

.drawer-backdrop,
.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.66);
	backdrop-filter: blur(8px);
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(100%, 470px);
	height: 100%;
	padding: 28px;
	background: var(--surface);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
	transform: translateX(100%);
	transition: transform 240ms ease;
}

.basket-drawer.open .drawer-panel {
	transform: translateX(0);
}

.drawer-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
	margin: 0;
	font-size: 2rem;
}

.basket-income {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.basket-items {
	flex: 1;
	padding: 12px 2px;
	overflow-y: auto;
}

.basket-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.basket-item-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--surface-2);
}

.basket-item h3 {
	margin-bottom: 2px;
	font-size: 0.9rem;
	letter-spacing: 0;
}

.basket-item p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.68rem;
}

.basket-item-controls {
	display: flex;
	align-items: center;
	gap: 4px;
}

.basket-item-controls button {
	width: 28px;
	height: 28px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-2);
	color: var(--text);
	cursor: pointer;
}

.basket-item-controls span {
	min-width: 28px;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 800;
}

.basket-empty {
	margin: auto;
	padding: 40px 10px;
	color: var(--text-soft);
	text-align: center;
}

.basket-empty p {
	font-size: 0.8rem;
}

.basket-summary {
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.basket-summary > div {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 5px 0;
}

.basket-summary span {
	color: var(--text-muted);
	font-size: 0.78rem;
}

.basket-summary strong {
	font-size: 0.9rem;
}

.basket-summary > div:nth-child(2) strong {
	color: var(--gold-bright);
}

.basket-clear {
	align-self: flex-start;
	margin-top: 12px;
	font-size: 0.78rem;
}

.modal {
	display: grid;
	place-items: center;
	padding: 20px;
}

.modal-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 680px);
	max-height: calc(100vh - 40px);
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	overflow-y: auto;
	transform: translateY(12px) scale(0.98);
	transition: transform 220ms ease;
}

.modal.open .modal-panel {
	transform: translateY(0) scale(1);
}

.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
}

.modal-panel h2 {
	font-size: 2.2rem;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.form-grid label {
	display: block;
}

.form-grid input,
.form-grid select {
	width: 100%;
}

.form-grid .input-with-unit input {
	min-height: auto;
	padding: 0;
	border: 0;
	background: transparent;
}

.full-width {
	grid-column: 1 / -1;
}

.modal-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
}

.modal-actions .spacer {
	flex: 1;
}

.toast-region {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1200;
	display: grid;
	gap: 10px;
	width: min(calc(100% - 40px), 360px);
}

.toast {
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow);
	color: var(--text-soft);
	font-size: 0.82rem;
	animation: toast-in 220ms ease both;
}

.toast.error {
	border-left-color: var(--danger);
}

@keyframes toast-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
	.main-nav {
		display: none;
	}

	.hero-grid {
		grid-template-columns: 1fr 0.8fr;
		gap: 25px;
	}

	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.calculator-grid {
		grid-template-columns: 1fr 1fr;
	}

	.calculator-card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	:root {
		--header-height: 68px;
	}

	.section {
		padding: 78px 0;
	}

	.hero {
		padding-top: 65px;
	}

	.hero-grid,
	.story-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		min-height: 500px;
		max-width: 560px;
		width: 100%;
		margin-inline: auto;
	}

	.principle-grid,
	.comparison-summary,
	.method-grid {
		grid-template-columns: 1fr 1fr;
	}

	.principle-card.featured {
		transform: none;
	}

	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split-heading,
	.comparison-controls,
	.data-tools-panel {
		align-items: flex-start;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.comparison-legend {
		justify-content: flex-start;
	}

	.data-tools-actions {
		justify-content: flex-start;
		max-width: none;
	}

	.story-grid {
		gap: 35px;
	}

	.story-visual {
		min-height: 420px;
		order: 2;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-grid > div:first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.container {
		width: min(calc(100% - 24px), var(--container));
	}

	.site-header .brand small,
	.basket-button {
		font-size: 0;
	}

	.basket-button > span:first-child {
		font-size: 1rem;
	}

	.basket-button {
		width: 42px;
		padding: 0;
		justify-content: center;
	}

	.basket-button .basket-count {
		position: absolute;
		margin: -32px 0 0 31px;
		font-size: 0.65rem;
	}

	h1 {
		font-size: clamp(2.7rem, 13vw, 4.5rem);
	}

	h2 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.hero-points {
		display: grid;
	}

	.hero-visual {
		min-height: 450px;
	}

	.coin-scene {
		right: -10px;
		width: 300px;
		height: 300px;
	}

	.coin-front {
		width: 220px;
		height: 220px;
	}

	.coin-back {
		width: 190px;
		height: 190px;
	}

	.live-card {
		left: 0;
		right: 0;
		padding: 20px;
	}

	.live-value strong {
		font-size: 3rem;
	}

	.principle-grid,
	.product-grid,
	.calculator-grid,
	.comparison-summary,
	.method-grid,
	.form-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.calculator-card:last-child,
	.footer-grid > div:first-child,
	.full-width {
		grid-column: auto;
	}

	.catalog-toolbar {
		grid-template-columns: 1fr;
	}

	.select-box select {
		min-width: 0;
	}

	.catalog-meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.product-card {
		min-height: 300px;
	}

	.comparison-controls select {
		min-width: 0;
		width: 100%;
	}

	.bar-chart {
		grid-template-columns: repeat(6, 82px);
	}

	.two-fields {
		grid-template-columns: 1fr;
	}

	.story-visual {
		min-height: 350px;
	}

	.melting-vault {
		inset: 0;
	}

	.vault-door {
		width: 180px;
		height: 180px;
		font-size: 3rem;
	}

	.data-tools-panel,
	.modal-panel,
	.drawer-panel {
		padding: 24px 18px;
	}

	.data-tools-actions {
		flex-direction: column;
	}

	.data-tools-actions .button {
		width: 100%;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Revision: stronger PLN vs gold comparison and historical basket */

h1 {
	font-size: clamp(2.45rem, 4.6vw, 4.65rem);
	line-height: 1.04;
	margin-bottom: 1.25rem;
}

h2 {
	font-size: clamp(1.85rem, 3.15vw, 3.15rem);
	line-height: 1.08;
}

.hero {
	padding-top: 78px;
}

.hero-lead {
	font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.perspective-section {
	position: relative;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--surface) 76%, transparent), transparent),
		var(--bg);
}

.perspective-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
	align-items: end;
	gap: 48px;
	margin-bottom: 34px;
}

.perspective-lead h2 {
	max-width: 760px;
	margin-bottom: 0;
}

.perspective-lead > p {
	margin: 0;
	color: var(--text-soft);
	font-size: 1rem;
}

.perspective-examples {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.perspective-card {
	position: relative;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.perspective-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--text-muted);
}

.perspective-card.contrast::before {
	background: linear-gradient(180deg, var(--danger), var(--gold));
}

.perspective-card-head {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 20px;
}

.perspective-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--surface-2);
	font-size: 1.35rem;
}

.perspective-card h3 {
	margin-bottom: 3px;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.perspective-card-head p,
.perspective-card-verdict {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.78rem;
}

.perspective-measures {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.perspective-measures > div {
	padding: 16px;
	border-radius: 14px;
	background: var(--surface-2);
}

.perspective-measures span,
.perspective-measures strong,
.perspective-measures small {
	display: block;
}

.perspective-measures span {
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.perspective-measures strong {
	margin: 5px 0 3px;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	letter-spacing: -0.04em;
}

.measure-fiat strong {
	color: var(--danger);
}

.measure-gold strong {
	color: var(--gold-bright);
}

.perspective-measures small {
	color: var(--text-soft);
	font-size: 0.72rem;
}

.perspective-card-verdict {
	min-height: 2.4em;
	margin-bottom: 13px;
	color: var(--text-soft);
	font-weight: 700;
}

.perspective-card button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gold-bright);
	font-weight: 750;
	cursor: pointer;
}

.perspective-callout {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	padding: 18px 22px;
	border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
	border-radius: 16px;
	background: color-mix(in srgb, var(--gold) 7%, var(--surface));
}

.perspective-callout strong {
	color: var(--gold-bright);
	white-space: nowrap;
}

.perspective-callout span {
	color: var(--text-soft);
}

.history-table th,
.history-table td {
	white-space: nowrap;
}

.basket-history-section {
	background:
		radial-gradient(circle at 16% 15%, rgba(214, 166, 45, 0.1), transparent 28rem),
		var(--surface-2);
}

.basket-history-heading {
	margin-bottom: 28px;
}

.basket-history-empty {
	padding: 54px 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	text-align: center;
}

.basket-history-empty-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 16px;
	border-radius: 20px;
	background: var(--surface-2);
	color: var(--gold-bright);
	font-size: 1.8rem;
}

.basket-history-empty h3 {
	margin-bottom: 8px;
	font-size: 1.35rem;
}

.basket-history-empty p {
	max-width: 570px;
	margin: 0 auto 20px;
	color: var(--text-soft);
}

.basket-history-panel {
	padding: clamp(20px, 4vw, 38px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.basket-history-products {
	display: grid;
	gap: 12px;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.basket-history-product-label {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	font-size: 0.86rem;
}

.basket-history-product-label span {
	color: var(--text-muted);
}

.basket-history-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.basket-history-tags span {
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text-soft);
	font-size: 0.72rem;
}

.basket-history-summary {
	display: grid;
	grid-template-columns: 0.8fr 0.8fr 1.4fr;
	gap: 12px;
	margin-bottom: 24px;
}

.basket-summary-tile {
	padding: 18px;
	border-radius: 16px;
	background: var(--surface-2);
}

.basket-summary-tile span,
.basket-summary-tile strong,
.basket-summary-tile small {
	display: block;
}

.basket-summary-tile span {
	color: var(--text-muted);
	font-size: 0.72rem;
}

.basket-summary-tile strong {
	margin: 5px 0 4px;
	font-size: 1.75rem;
	letter-spacing: -0.04em;
}

.basket-summary-tile.fiat strong {
	color: var(--danger);
}

.basket-summary-tile.gold strong {
	color: var(--gold-bright);
}

.basket-summary-tile small {
	color: var(--text-soft);
	font-size: 0.74rem;
	line-height: 1.45;
}

.basket-chart-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 22px;
}

.basket-chart-card {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface-2);
}

.basket-chart-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.basket-chart-head span {
	color: var(--text-muted);
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.basket-chart-head h3 {
	margin: 3px 0 0;
	font-size: 1rem;
	letter-spacing: -0.015em;
}

.basket-chart-head > strong {
	font-size: 1.35rem;
	white-space: nowrap;
}

.basket-chart-card.fiat .basket-chart-head > strong {
	color: var(--danger);
}

.basket-chart-card.gold .basket-chart-head > strong {
	color: var(--gold-bright);
}

.line-chart {
	width: 100%;
	overflow-x: auto;
}

.basket-line-svg {
	display: block;
	min-width: 620px;
	width: 100%;
	height: auto;
}

.chart-grid-line {
	stroke: var(--line);
	stroke-width: 1;
}

.line-chart-path {
	fill: none;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.line-chart-area {
	opacity: 0.12;
}

.basket-line-svg.fiat .line-chart-path,
.basket-line-svg.fiat .line-chart-point circle {
	stroke: var(--danger);
}

.basket-line-svg.fiat .line-chart-area,
.basket-line-svg.fiat .line-chart-point circle {
	fill: var(--danger);
}

.basket-line-svg.gold .line-chart-path,
.basket-line-svg.gold .line-chart-point circle {
	stroke: var(--gold);
}

.basket-line-svg.gold .line-chart-area,
.basket-line-svg.gold .line-chart-point circle {
	fill: var(--gold);
}

.line-chart-point circle {
	stroke-width: 2;
}

.line-chart-point text {
	fill: var(--text-soft);
	font-size: 11px;
	font-weight: 700;
}

.line-chart-point .line-chart-year {
	fill: var(--text-muted);
	font-size: 12px;
}

.basket-history-verdict {
	margin-bottom: 22px;
	padding: 22px;
	border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
	border-radius: 17px;
	background: color-mix(in srgb, var(--gold) 7%, var(--surface));
}

.verdict-kicker {
	display: block;
	margin-bottom: 6px;
	color: var(--gold-bright);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.basket-history-verdict strong {
	display: block;
	margin-bottom: 7px;
	font-size: clamp(1.25rem, 2.1vw, 1.75rem);
	letter-spacing: -0.03em;
}

.basket-history-verdict p {
	max-width: 900px;
	margin: 0;
	color: var(--text-soft);
}

.estimate-mark {
	margin-left: 2px;
	color: var(--gold-bright);
	font-weight: 900;
}

.basket-history-cta {
	width: 100%;
	margin-top: 16px;
}

.basket-clear {
	margin-top: 13px;
	align-self: center;
}

@media (max-width: 1080px) {
	.perspective-lead {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.basket-history-summary {
		grid-template-columns: 1fr 1fr;
	}

	.basket-summary-tile.conclusion {
		grid-column: 1 / -1;
	}

	.basket-chart-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.perspective-examples {
		grid-template-columns: 1fr;
	}

	.perspective-callout {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.perspective-callout strong {
		white-space: normal;
	}
}

@media (max-width: 620px) {
	h1 {
		font-size: clamp(2.2rem, 10.5vw, 3rem);
	}

	h2 {
		font-size: clamp(1.65rem, 8vw, 2.25rem);
	}

	.hero {
		padding-top: 48px;
	}

	.perspective-measures,
	.basket-history-summary {
		grid-template-columns: 1fr;
	}

	.basket-summary-tile.conclusion {
		grid-column: auto;
	}

	.basket-history-product-label,
	.basket-chart-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.basket-line-svg {
		min-width: 560px;
	}
}

/* Final sizing and chart fit adjustments */
h1 {
	font-size: clamp(2.35rem, 4.15vw, 4.1rem);
}

h2 {
	font-size: clamp(1.8rem, 2.85vw, 2.85rem);
}

.basket-line-svg {
	min-width: 0;
}

@media (max-width: 620px) {
	h1 {
		font-size: clamp(2.05rem, 9.8vw, 2.8rem);
	}

	h2 {
		font-size: clamp(1.6rem, 7.5vw, 2.15rem);
	}

	.basket-line-svg {
		min-width: 560px;
	}
}


/* Revision v3: one gram of gold as the primary purchasing-power measure */
.live-equivalents {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ticker-track {
	animation: ticker 30s linear infinite;
	will-change: transform;
}

.ticker-section:hover .ticker-track,
.ticker-section:focus-within .ticker-track {
	animation-play-state: running;
}

.perspective-measures {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.measure-power strong,
.summary-tile.power strong,
.basket-summary-tile.power strong,
.basket-chart-card.power .basket-chart-head > strong {
	color: var(--success);
}

.comparison-summary {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-tile.conclusion {
	background: color-mix(in srgb, var(--gold) 8%, var(--surface-2));
}

.basket-history-summary {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.basket-summary-tile.conclusion {
	grid-column: 1 / -1;
}

.basket-chart-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.basket-chart-card.power {
	border-color: color-mix(in srgb, var(--success) 35%, var(--line));
}

.basket-line-svg.power .line-chart-path,
.basket-line-svg.power .line-chart-point circle {
	stroke: var(--success);
}

.basket-line-svg.power .line-chart-area {
	fill: var(--success);
}

.basket-line-svg.power .line-chart-point circle {
	fill: var(--surface-2);
}

@media (max-width: 1180px) {
	.comparison-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.basket-chart-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.live-equivalents,
	.perspective-measures,
	.basket-history-summary {
		grid-template-columns: 1fr;
	}

	.comparison-summary {
		grid-template-columns: 1fr;
	}
}

/* Revision v4: multiple metals and assets as basket benchmarks */
.benchmark-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
	align-items: end;
	gap: 24px;
	padding: 22px;
	margin-bottom: 12px;
	border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--line));
	border-radius: 18px;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--gold) 9%, transparent), transparent 55%),
		var(--surface-2);
}

.benchmark-toolbar-copy {
	display: grid;
	gap: 5px;
}

.benchmark-kicker {
	color: var(--gold-bright);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.benchmark-toolbar-copy > strong {
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	letter-spacing: -0.02em;
}

.benchmark-toolbar-copy p {
	max-width: 760px;
	margin: 0;
	color: var(--text-soft);
	font-size: 0.82rem;
	line-height: 1.6;
}

.benchmark-select-box {
	display: grid;
	gap: 7px;
}

.benchmark-select-box > span {
	color: var(--text-muted);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.benchmark-select-box select {
	width: 100%;
	min-height: 48px;
	padding: 0 42px 0 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-weight: 750;
}

.benchmark-meta {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 12px 14px;
	margin-bottom: 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}

.benchmark-badge {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
	border-radius: 50%;
	background: color-mix(in srgb, var(--gold) 12%, var(--surface));
	color: var(--gold-bright);
	font-size: 0.82rem;
	font-weight: 900;
}

.benchmark-meta > div:last-child {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.benchmark-meta strong,
.benchmark-meta span,
.benchmark-meta small {
	display: block;
}

.benchmark-meta strong {
	font-size: 0.88rem;
}

.benchmark-meta span {
	color: var(--text-soft);
	font-size: 0.76rem;
}

.benchmark-meta small {
	color: var(--text-muted);
	font-size: 0.67rem;
}

.benchmark-data-note {
	margin-top: 8px;
	padding: 12px 14px;
	border-left: 3px solid var(--gold);
	background: color-mix(in srgb, var(--gold) 5%, var(--surface-2));
}

@media (max-width: 820px) {
	.benchmark-toolbar {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}

@media (max-width: 520px) {
	.benchmark-toolbar {
		padding: 16px;
	}

	.benchmark-meta {
		align-items: flex-start;
	}
}

/* Revision v5: fixed fiat purchasing power and multiple currencies */
:root {
	--fiat-accent: #75a9ff;
}

:root[data-theme="light"] {
	--fiat-accent: #356fb8;
}

.comparison-controls {
	align-items: flex-start;
}

.comparison-selector-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 1fr) minmax(130px, 0.65fr);
	gap: 12px;
	flex: 1 1 680px;
}

.comparison-selector-grid label {
	min-width: 0;
}

.comparison-controls select,
.comparison-controls input {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface-2);
	color: var(--text);
}

.legend-fiat-power {
	background: var(--fiat-accent);
}

.summary-tile.fiat-power strong {
	color: var(--fiat-accent);
}

.chart-group {
	grid-template-columns: repeat(3, 1fr);
	min-width: 92px;
}

.chart-bar.fiat-power {
	background: linear-gradient(180deg, color-mix(in srgb, var(--fiat-accent) 72%, white), var(--fiat-accent));
}

.benchmark-mode-toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin-bottom: 12px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--surface-2);
}

.benchmark-mode-toggle button {
	padding: 9px 15px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--text-muted);
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
}

.benchmark-mode-toggle button.active {
	background: var(--surface);
	color: var(--text);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.basket-fiat-controls {
	display: grid;
	grid-template-columns: minmax(170px, 1fr) minmax(120px, 0.65fr);
	gap: 10px;
}

.basket-fiat-controls[hidden],
#basket-asset-controls[hidden] {
	display: none;
}

.benchmark-select-box input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-weight: 750;
}

.fiat-badge {
	border-color: color-mix(in srgb, var(--fiat-accent) 45%, var(--line));
	background: color-mix(in srgb, var(--fiat-accent) 12%, var(--surface));
	color: var(--fiat-accent);
}

.basket-line-svg.fiat-reference .line-chart-path,
.basket-line-svg.fiat-reference .line-chart-point circle {
	stroke: var(--fiat-accent);
}

.basket-line-svg.fiat-reference .line-chart-area {
	fill: var(--fiat-accent);
}

.basket-line-svg.fiat-reference .line-chart-point circle {
	fill: var(--surface-2);
}

@media (max-width: 980px) {
	.comparison-controls {
		flex-direction: column;
	}

	.comparison-selector-grid {
		width: 100%;
		flex-basis: auto;
	}

	.comparison-legend {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.comparison-selector-grid,
	.basket-fiat-controls {
		grid-template-columns: 1fr;
	}

	.benchmark-mode-toggle {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}
}

.comparison-summary .summary-tile.conclusion {
	grid-column: 1 / -1;
}


/* Revision v6: prominent fiat comparison, reliable continuous ticker and WordPress-ready layout */
.ticker-track {
	display: flex;
	width: max-content;
	min-width: max-content;
	animation: pm-ticker-continuous 38s linear infinite !important;
	animation-iteration-count: infinite !important;
	transform: translate3d(0, 0, 0);
}
.ticker-group { display: flex; flex: 0 0 auto; min-width: max-content; }
.ticker-item { flex: 0 0 auto; }
@keyframes pm-ticker-continuous { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation-duration: 38s !important; animation-iteration-count: infinite !important; }
}
.quick-contrast-section {
	padding: clamp(44px, 6vw, 84px) 0;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 34%), var(--background);
}
.quick-contrast-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(28px,5vw,72px); align-items: center; }
.quick-contrast-copy h2 { font-size: clamp(1.9rem,3.2vw,3.15rem); max-width: 800px; }
.quick-contrast-copy > p:not(.eyebrow) { color: var(--text-muted); max-width: 720px; }
.quick-contrast-controls { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 12px; margin-top: 24px; }
.quick-contrast-controls label { display: grid; gap: 7px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.quick-contrast-controls select,.quick-contrast-controls input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; }
.quick-contrast-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.quick-result-card { min-height: 142px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.quick-result-card span,.quick-result-card small { display: block; color: var(--text-muted); }
.quick-result-card > span { font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.quick-result-card strong { display: block; margin: 10px 0 5px; font-size: clamp(1.8rem,3vw,2.75rem); line-height: 1; }
.quick-result-card.fiat-result strong { color: var(--fiat-accent); }
.quick-result-card.gold-result strong { color: var(--gold); }
.quick-result-card.current { border-width: 2px; }
.quick-result-verdict { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb,var(--gold) 9%,var(--surface)); border: 1px solid color-mix(in srgb,var(--gold) 30%,var(--line)); }
.quick-result-verdict span { color: var(--text-muted); text-align: right; }
@media (max-width:920px) { .quick-contrast-grid { grid-template-columns: 1fr; } }
@media (max-width:640px) {
	.quick-contrast-controls,.quick-contrast-results { grid-template-columns: 1fr; }
	.quick-result-verdict { grid-column: auto; flex-direction: column; align-items: flex-start; }
	.quick-result-verdict span { text-align: left; }
}

/* WordPress blog and theme integration */
.main-nav > ul,
.main-nav .pm-default-menu {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.8vw, 28px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-nav li { margin: 0; }
.main-nav li a { color: inherit; text-decoration: none; }

.home-blog-section {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 4%, transparent), transparent);
}

.blog-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.blog-card,
.blog-empty-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.blog-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--gold) 18%, var(--surface)), var(--surface-strong));
}

.blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.blog-card:hover .blog-card-media img { transform: scale(1.035); }

.blog-card-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-family: Georgia, serif;
	font-size: clamp(3rem, 7vw, 5rem);
	font-weight: 800;
	color: var(--gold);
}

.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; color: var(--text-muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.blog-card h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.18; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card p { color: var(--text-muted); }
.blog-card-link { display: inline-flex; gap: 8px; margin-top: 8px; color: var(--gold); font-weight: 800; text-decoration: none; }
.blog-empty-card { grid-column: 1 / -1; padding: clamp(28px, 5vw, 54px); }
.blog-card-kicker { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.blog-archive-hero,
.standard-page-header,
.article-header {
	padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 7vw, 92px);
	border-bottom: 1px solid var(--line);
	background: radial-gradient(circle at 76% 20%, color-mix(in srgb, var(--gold) 11%, transparent), transparent 32%), var(--background);
}

.blog-archive-hero h1,
.standard-page-header h1,
.article-header h1 {
	max-width: 980px;
	font-size: clamp(2.35rem, 5.5vw, 5.25rem);
	line-height: 1.02;
}

.blog-archive-hero p,
.blog-archive-hero > .container > div { max-width: 760px; color: var(--text-muted); }
.blog-archive-section { min-height: 55vh; }
.pagination-wrap, .navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; }
.page-numbers.current { border-color: var(--gold); color: var(--gold); }

.article-header-inner { max-width: 1060px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--text-muted); font-size: .82rem; font-weight: 700; }
.article-featured { margin-top: clamp(28px, 5vw, 64px); }
.article-featured img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 320px); justify-content: center; gap: clamp(36px, 6vw, 90px); padding-top: clamp(46px, 7vw, 92px); padding-bottom: clamp(56px, 8vw, 110px); }
.article-content { min-width: 0; font-size: 1.08rem; line-height: 1.8; }
.article-content > * { max-width: 100%; }
.article-content h2 { margin-top: 2.2em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-content h3 { margin-top: 1.8em; font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.article-content a { color: var(--gold); }
.article-content img { height: auto; border-radius: 16px; }
.article-content blockquote { margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--surface); color: var(--text); }
.article-side-note { position: sticky; top: 110px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.article-side-note strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.article-side-note p { color: var(--text-muted); }
.article-side-note .button { margin-top: 10px; width: 100%; }
.article-navigation { padding-bottom: 80px; }
.article-navigation .nav-links { justify-content: space-between; }
.article-navigation a { color: var(--text); text-decoration: none; font-weight: 750; }
.standard-page .article-content { max-width: 860px; padding-top: 56px; padding-bottom: 90px; }
.not-found-section { display: grid; place-items: center; min-height: 65vh; padding: 80px 0; text-align: center; }
.not-found-code { display: block; font-size: clamp(5rem, 16vw, 12rem); font-weight: 900; line-height: .8; color: color-mix(in srgb, var(--gold) 65%, transparent); }
.not-found-section h1 { font-size: clamp(2rem, 5vw, 4rem); }
.not-found-section p { color: var(--text-muted); }
.search-form { display: flex; max-width: 620px; margin-top: 24px; }
.search-form label { flex: 1; }
.search-form input[type="search"] { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px 0 0 12px; background: var(--surface); color: var(--text); }
.search-form .search-submit { min-height: 50px; padding: 0 20px; border: 0; border-radius: 0 12px 12px 0; background: var(--gold); color: #17130a; font-weight: 800; }

@media (max-width: 1100px) {
	.main-nav { display: none; }
	.blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout { grid-template-columns: minmax(0, 760px); }
	.article-side-note { position: static; }
}

@media (max-width: 680px) {
	.blog-card-grid { grid-template-columns: 1fr; }
	.blog-archive-hero h1, .standard-page-header h1, .article-header h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
	.article-layout { padding-top: 38px; }
}

body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* Affiliate placements */
.pm-affiliate-slot {
	padding: 18px 0;
	background: var(--background);
}

.pm-affiliate-slot-inner {
	display: grid;
	gap: 12px;
}

.pm-affiliate-card,
.runtime-affiliate-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 18px;
	border: 1px solid color-mix(in srgb, var(--gold) 36%, var(--line));
	border-radius: 18px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 8%, var(--surface)), var(--surface));
	box-shadow: var(--shadow-sm);
}

.pm-affiliate-card img {
	width: 74px;
	height: 74px;
	object-fit: cover;
	border-radius: 14px;
}

.pm-affiliate-copy h3,
.runtime-affiliate-card strong {
	display: block;
	margin: 4px 0 6px;
	font-size: 1.08rem;
	line-height: 1.25;
}

.pm-affiliate-copy p,
.runtime-affiliate-card p {
	margin: 0;
	color: var(--text-muted);
	font-size: .92rem;
}

.pm-affiliate-copy small {
	display: block;
	margin-top: 7px;
	color: var(--text-muted);
}

.pm-affiliate-badge {
	display: inline-flex;
	width: fit-content;
	padding: 4px 8px;
	border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
	border-radius: 999px;
	color: var(--gold);
	font-size: .68rem;
	font-weight: 850;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
}

.pm-affiliate-button {
	white-space: nowrap;
}

.pm-affiliate-disclosure {
	margin: 0;
	color: var(--text-muted);
	font-size: .74rem;
	line-height: 1.5;
}

.pm-affiliate-slot-compact {
	margin: 28px 0 0;
}

.pm-affiliate-slot-compact .pm-affiliate-card {
	grid-template-columns: 1fr;
	padding: 16px;
}

.pm-affiliate-slot-compact .pm-affiliate-card img {
	width: 100%;
	height: auto;
	max-height: 180px;
}

.pm-affiliate-slot-compact .pm-affiliate-button {
	width: 100%;
}

.article-side-note .pm-affiliate-slot {
	padding: 0;
	background: transparent;
}

.article-side-note .pm-affiliate-slot-compact {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.affiliate-runtime-slot {
	margin-top: 22px;
}

.affiliate-runtime-slot[hidden] {
	display: none !important;
}

.runtime-affiliate-grid {
	display: grid;
	gap: 12px;
}

.quick-contrast-section .affiliate-runtime-slot {
	grid-column: 1 / -1;
	margin-top: 0;
}

.product-affiliate-link {
	display: grid;
	gap: 4px;
	margin-top: 14px;
	padding: 12px 13px;
	border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--line));
	border-radius: 12px;
	background: color-mix(in srgb, var(--gold) 7%, var(--surface));
	color: var(--text);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.product-affiliate-link:hover {
	transform: translateY(-1px);
	border-color: var(--gold);
	background: color-mix(in srgb, var(--gold) 12%, var(--surface));
}

.product-affiliate-link > span {
	color: var(--gold);
	font-size: .64rem;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.product-affiliate-link > strong {
	font-size: .88rem;
}

.product-affiliate-link > small {
	color: var(--text-muted);
	font-size: .68rem;
}

@media (max-width: 760px) {
	.pm-affiliate-card,
	.runtime-affiliate-card {
		grid-template-columns: 1fr;
	}

	.pm-affiliate-card img {
		width: 100%;
		height: auto;
		max-height: 220px;
	}

	.pm-affiliate-button,
	.runtime-affiliate-card .button {
		width: 100%;
	}
}

.pm-standalone-toolbar {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(16px);
}

/* v2.3: czytelniejsze nagłówki blogowe */
.blog-archive-hero h1, .article-header h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.11; }

/* Delikatna ścieżka nawigacji — dostępność i linkowanie wewnętrzne */
.ik-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 20px; font-size: .78rem; line-height: 1.5; color: var(--text-muted); }
.ik-breadcrumb a { color: var(--text-soft); text-decoration: none; }
.ik-breadcrumb a:hover, .ik-breadcrumb a:focus-visible { color: var(--gold-bright); text-decoration: underline; }
.ik-breadcrumb [aria-current="page"] { max-width: 45ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
