/* Legal / policy pages — card stack aligned with in-app PrivacyPolicy / Terms modals */

/* Keep footer at viewport bottom on short policy/help pages */
#wrap {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main#lqd-site-content {
	flex: 1 0 auto;
}

.hora-policy-page-title {
	margin: 0 0 20px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--hora-text);
	text-align: center;
	text-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

body[data-theme="dark"] .hora-policy-page-title {
	text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Centralized glow: reuse site-wide card shadow tokens */
body[data-theme="light"],
body[data-theme="dark"] {
	--hora-policy-card-shadow: var(--hora-card-elevation);
	--hora-policy-card-shadow-hover: var(--hora-card-elevation-hover);
}

.hora-policy-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0;
}

.hora-simple-page .hora-policy-stack {
	overflow-x: visible;
	overflow-y: visible;
}

.hora-simple-page .hora-policy__card,
.hora-simple-page .hora-policy__card-inner {
	border-radius: 18px;
}

.hora-policy__card {
	border-radius: 16px;
	box-shadow: var(--hora-policy-card-shadow);
}

.hora-policy__card-inner {
	border: 1px solid var(--hora-border);
	border-radius: 16px;
	padding: 12px 14px;
	background: var(--hora-navtray-bg);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

/* Light theme: match subscription/pricing card look */
body[data-theme="light"] .hora-policy__card-inner {
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.hora-policy__hero {
	border: 1px solid rgba(52, 199, 89, 0.35);
	border-radius: 16px;
	padding: 14px;
	background: rgba(52, 199, 89, 0.12);
}

.hora-policy__hero-brand {
	margin: 0;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--hora-text);
}

.hora-policy__hero-date {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--hora-text);
}

.hora-policy__hero-tagline {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--hora-text);
}

.hora-policy__section-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--hora-text);
}

.hora-policy__subsection-title {
	margin: 14px 0 8px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.3;
	color: var(--hora-text);
}

.hora-policy__card-inner > .hora-policy__subsection-title:first-of-type {
	margin-top: 4px;
}

.hora-policy__p {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.43;
	font-weight: 600;
	color: var(--hora-text);
}

.hora-policy__p a,
.hora-policy__bullet a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hora-policy__p:last-child {
	margin-bottom: 0;
}

.hora-policy__bullet {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.43;
	font-weight: 600;
	padding-left: 0.15em;
	color: var(--hora-text);
}

.hora-policy__bullet-list {
	margin: 4px 0 0;
	padding-left: 0;
	list-style: none;
}

.hora-policy__footer-note {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.43;
	font-weight: 600;
	color: var(--hora-text);
}

/* Yellow emphasis (matches app #FFECC4 callout) */
/* color !important: beats body[data-theme] p { … !important } in hora-typography.css */
.hora-policy__callout {
	margin-top: 10px;
	border-radius: 16px;
	padding: 12px 14px;
	background: #ffecc4;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
	color: #000 !important;
}

.hora-policy__callout--tight {
	margin-top: 0;
	margin-bottom: 10px;
}

.hora-policy__callout p,
.hora-policy__callout a {
	margin: 0;
	font-size: 14px;
	line-height: 1.43;
	font-weight: 700;
	color: #000 !important;
}

.hora-policy__callout p + p {
	margin-top: 6px;
}

body[data-theme="dark"] .hora-policy__callout {
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
	border-color: rgba(255, 255, 255, 0.12);
	color: #000 !important;
}

body[data-theme="dark"] .hora-policy__callout p,
body[data-theme="dark"] .hora-policy__callout a {
	color: #000 !important;
}

.hora-policy__effective-foot {
	margin: 12px 0 0;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--hora-subtle);
}

/* Help: FAQ — native disclosure, same 18px + halo as home feature cards */
.hora-help-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.hora-help-faq-block {
	margin: 8px 0 14px;
}

.hora-help-faq-title {
	margin: 0 0 12px;
	text-align: center;
	font-size: clamp(28px, 4vw, 40px);
	text-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
}

body[data-theme="dark"] .hora-help-faq-title {
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.08);
}

.hora-help-faq-row {
	margin: 0;
	border-radius: 18px;
	border: 1px solid var(--hora-card-outline);
	box-shadow: var(--hora-policy-card-shadow);
	background: rgba(255, 255, 255, 0.88);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body[data-theme="dark"] .hora-help-faq-row {
	background: var(--hora-panel);
}

.hora-help-faq-row:hover {
	transform: translateY(-2px);
	box-shadow: var(--hora-policy-card-shadow-hover);
}

.hora-help-faq-q {
	list-style: none;
	cursor: pointer;
	padding: 14px 40px 14px 16px;
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: var(--hora-text);
	position: relative;
	-webkit-user-select: none;
	user-select: none;
}

.hora-help-faq-q::-webkit-details-marker {
	display: none;
}

.hora-help-faq-q:focus {
	outline: none;
}

.hora-help-faq-q:focus-visible {
	outline: 2px solid var(--hora-card-outline);
	outline-offset: 2px;
	border-radius: 4px;
}

.hora-help-faq-q::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -5px;
	border-right: 2px solid var(--hora-subtle);
	border-bottom: 2px solid var(--hora-subtle);
	transform: rotate(45deg);
	transition: transform 0.22s ease, border-color 0.2s ease;
	opacity: 0.9;
}

.hora-help-faq-row[open] .hora-help-faq-q::after {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.hora-help-faq-a {
	padding: 0 16px 16px;
}

.hora-help-faq-a .hora-policy__p {
	font-weight: 600;
}

/* Help: contact — template buttons + nested “feature” well */
.hora-contact-form-actions {
	margin-top: 16px;
}

.hora-contact-form-panel {
	margin-top: 16px;
}

.hora-help-form-well {
	padding: 16px;
	border-radius: 18px;
	border: 1px solid var(--hora-card-outline);
	box-shadow: var(--hora-policy-card-shadow);
	background: rgba(255, 255, 255, 0.88);
}

body[data-theme="dark"] .hora-help-form-well {
	background: var(--hora-panel);
}

.hora-contact-form-hint {
	margin-top: 0 !important;
	margin-bottom: 12px !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.45 !important;
	color: var(--hora-subtle) !important;
}

.hora-simple-page .hora-help-contact-toggle.btn-border-lg {
	overflow: visible !important;
	border: 1px solid var(--hora-card-outline) !important;
	box-shadow: var(--hora-policy-card-shadow) !important;
	background: rgba(255, 255, 255, 0.88) !important;
	color: var(--hora-text) !important;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

body[data-theme="dark"] .hora-simple-page .hora-help-contact-toggle.btn-border-lg {
	background: var(--hora-panel) !important;
}

.hora-simple-page .hora-help-contact-toggle.btn-border-lg:hover {
	transform: translateY(-2px);
	box-shadow: var(--hora-policy-card-shadow-hover) !important;
	border-color: var(--hora-card-outline) !important;
}

body[data-theme="light"] .hora-simple-page .hora-help-contact-toggle.btn-border-lg:hover {
	background: #f1f5f9 !important;
}

body[data-theme="dark"] .hora-simple-page .hora-help-contact-toggle.btn-border-lg:hover {
	background: #141414 !important;
	color: var(--hora-text) !important;
}

.hora-simple-page .hora-help-submit.btn-solid {
	overflow: visible !important;
	margin-top: 16px;
	margin-bottom: 0;
	width: 100%;
	border: 1px solid var(--hora-card-outline) !important;
	box-shadow: var(--hora-policy-card-shadow) !important;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease,
		color 0.25s ease;
}

@media (min-width: 480px) {
	.hora-simple-page .hora-help-submit.btn-solid {
		width: auto;
		min-width: 220px;
	}
}

body[data-theme="light"] .hora-simple-page .hora-help-submit.btn-solid {
	background-color: #0f172a !important;
	border-color: rgba(15, 23, 42, 0.35) !important;
	color: #fff !important;
}

body[data-theme="light"] .hora-simple-page .hora-help-submit.btn-solid:hover {
	background-color: #1e293b !important;
	box-shadow: var(--hora-policy-card-shadow-hover) !important;
	transform: translateY(-2px);
}

body[data-theme="dark"] .hora-simple-page .hora-help-submit.btn-solid {
	background-color: #fff !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: #000 !important;
}

body[data-theme="dark"] .hora-simple-page .hora-help-submit.btn-solid:hover {
	background-color: #f1f5f9 !important;
	box-shadow: var(--hora-policy-card-shadow-hover) !important;
	transform: translateY(-2px);
}

.hora-contact-form {
	margin-top: 0;
}

.hora-contact-form__label {
	display: block;
	margin: 10px 0 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--hora-text);
}

.hora-contact-form__optional {
	font-weight: 600;
	color: var(--hora-subtle);
}

.hora-contact-form__input,
.hora-contact-form__textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--hora-border);
	background: var(--hora-panel);
	color: var(--hora-text);
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.4;
}

.hora-contact-form__textarea {
	min-height: 120px;
	resize: vertical;
}

.hora-contact-form__field-hint {
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--hora-subtle);
}

.hora-contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
}

.hora-contact-form__checkbox {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--hora-text);
	cursor: pointer;
}

body[data-theme="dark"] .hora-contact-form__checkbox {
	accent-color: #fff;
}

.hora-contact-form__consent-label {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--hora-text);
	cursor: pointer;
}

.hora-contact-form__input::placeholder,
.hora-contact-form__textarea::placeholder {
	color: var(--hora-subtle);
	opacity: 0.85;
}

.hora-contact-form__input:focus,
.hora-contact-form__textarea:focus {
	outline: none;
	border-color: var(--hora-card-outline);
	box-shadow: 0 0 0 2px var(--hora-card-outline);
}

.hora-help-form-well .hora-contact-form__input,
.hora-help-form-well .hora-contact-form__textarea {
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

body[data-theme="dark"] .hora-help-form-well .hora-contact-form__input,
body[data-theme="dark"] .hora-help-form-well .hora-contact-form__textarea {
	background: rgba(0, 0, 0, 0.22);
}

.hora-contact-form-footnote {
	margin: 12px 0 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--hora-subtle);
	min-height: 1.2em;
}

/* Honeypot: hidden from view and tab order; bots often still fill it */
.hora-hp-field {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
