/* AVELOR — Політика конфіденційності
 * Extension styles. Loaded AFTER avelor-shipping.css + avelor-faq.css +
 * avelor-contact.css (which contributes .ct-topics + .faq-closer).
 *
 * Adds:
 *   .pv-hero-meta       — Hero meta strip (last-updated · domain · version)
 *   .pv-article         — Narrower article column (66ch) — legal copy reads better narrow
 *   .pv-link            — Inline link inside body prose
 *   .pv-controller*     — Section 01 controller card (name/email/phone)
 *   .pv-data-list       — Section 02 data list tweaks (reuses .sh-pay-list)
 *   .pv-topics          — Section 03/09 checklist tweaks (reuses .ct-topics)
 *   .pv-sharing         — Section 04 sharing list (reuses .sh-options)
 *   .pv-callout-strong  — Stronger callout for «we don't sell data»
 *   .pv-help            — Section 11 embedded help block (no big margin-top)
 */

/* =========================================================
   Hero — H1 sized down for the long «Політика конфіденційності.» word
   ========================================================= */
.pv-page .sh-hero h1 {
	font-size: clamp(32px, 4.2vw, 56px);
	max-width: 24ch;
}

/* =========================================================
   Hero — meta strip with last-updated / domain
   ========================================================= */
.pv-hero-meta {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--avelor-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.pv-hero-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 36px 0 0;
	margin-right: 36px;
	border-right: 1px solid var(--avelor-line);
}

.pv-hero-meta-item:last-child {
	border-right: 0;
	padding-right: 0;
	margin-right: 0;
}

.pv-hero-meta-item .k {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--fg-muted);
}

.pv-hero-meta-item .v {
	font-size: 14px;
	font-weight: 500;
	color: var(--avelor-graphite);
	letter-spacing: -0.005em;
	font-variant-numeric: tabular-nums;
}

/* =========================================================
   Article — tighter measure (legal copy reads better narrow)
   ========================================================= */
.pv-article { max-width: 66ch; }

/* Inline link inside privacy prose */
.pv-link {
	color: var(--avelor-graphite);
	text-decoration: none;
	border-bottom: 1px solid var(--avelor-line);
	transition: border-color var(--dur-fast) var(--ease-out),
	            color var(--dur-fast) var(--ease-out);
}

.pv-link:hover {
	color: var(--avelor-deep-green);
	border-bottom-color: var(--avelor-deep-green);
}

.pv-topics { margin-top: 4px; }

/* =========================================================
   01 · Controller card
   ========================================================= */
.pv-controller {
	background: var(--avelor-white);
	border: 1px solid var(--avelor-line);
	border-radius: var(--radius-lg);
	padding: 24px 28px 22px;
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pv-controller-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--avelor-line);
}

.pv-controller-eyebrow {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--avelor-deep-green);
}

.pv-controller-zone {
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--fg-muted);
	font-style: italic;
}

.pv-controller-rows {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pv-controller-row {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--avelor-line);
}

.pv-controller-row:last-child { border-bottom: 0; }

.pv-controller-row dt {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--fg-muted);
	margin: 0;
}

.pv-controller-row dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--avelor-graphite);
	letter-spacing: -0.005em;
	font-variant-numeric: tabular-nums;
}

.pv-controller-foot {
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: var(--fg-muted) !important;
	margin: 0 !important;
	padding-top: 4px;
	text-wrap: pretty;
}

/* =========================================================
   02 · Data list (reuses .sh-pay-list, mild tweak)
   ========================================================= */
.pv-data-list .sh-pay-t { letter-spacing: -0.005em; }

/* =========================================================
   04 · Sharing list (reuses .sh-options)
   ========================================================= */
.pv-sharing { margin-top: 4px; }

/* Stronger callout for «we don't sell data» */
.pv-callout-strong {
	background: rgba(31, 61, 53, 0.04);
	border-color: rgba(31, 61, 53, 0.18);
}

.pv-callout-strong .sh-callout-k {
	color: var(--avelor-deep-green);
}

/* =========================================================
   11 · Contacts — embedded help block, no big margin-top
   ========================================================= */
.pv-help {
	margin-top: 4px !important;
	padding-top: 0 !important;
	gap: 0 !important;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 1024px) {
	.pv-hero-meta {
		gap: 12px;
		flex-direction: column;
		margin-top: 20px;
		padding-top: 16px;
	}

	.pv-hero-meta-item {
		flex-direction: row;
		align-items: baseline;
		gap: 12px;
		padding: 0;
		margin: 0;
		border-right: 0;
	}

	.pv-controller { padding: 20px; }

	.pv-controller-row {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 12px 0;
	}
}

@media (max-width: 640px) {
	.pv-article { max-width: none; }

	.pv-controller-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}
