/* JoinEnel public routes — cream / teal (mock-aligned) */
:root {
	--eh-pub-bg: #f9f8f4;
	--eh-pub-ink: #0a1f1e;
	--eh-pub-ink-deep: #002d2d;
	--eh-pub-accent: #5ec5c5;
	--eh-pub-muted: #5c6b69;
	--eh-pub-card: #fff;
	--eh-pub-border: #e2e8e0;
	--eh-pub-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--eh-pub-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.eh-joinenel-public {
	margin: 0;
	font-family: var(--eh-pub-sans);
	background: var(--eh-pub-bg);
	color: var(--eh-pub-ink);
	line-height: 1.5;
}

.eh-skip {
	position: absolute;
	left: -9999px;
}

/* NOTE: site header markup + styles live in assets/public/site-header.css
   (single source: Enel_Health_Core_Site_Header). Do not add `.eh-header*`
   or `.eh-navigation*` rules here. */

.eh-pub-main {
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}

.eh-pub-footer {
	border-top: 1px solid var(--eh-pub-border);
	padding: 1.25rem;
	font-size: 0.8rem;
	color: var(--eh-pub-muted);
	background: var(--eh-pub-card);
}

.eh-pub-footer__inner {
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
}

.eh-pub-footer__left,
.eh-pub-footer__right {
	margin: 0;
	flex: 1 1 240px;
}

.eh-pub-footer__right {
	text-align: right;
}

.eh-pub-hero {
	background: linear-gradient(145deg, var(--eh-pub-ink-deep) 0%, #0d2826 100%);
	color: #fff;
	border-radius: 16px;
	padding: 1.75rem 1.5rem 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 12px 40px rgba(10, 31, 30, 0.15);
}

.eh-pub-hero__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--eh-pub-accent);
}

.eh-pub-hero__title {
	font-family: var(--eh-pub-serif);
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: clamp(1.35rem, 3.5vw, 2rem);
	line-height: 1.2;
	margin: 0 0 0.65rem;
}

.eh-pub-hero__lead {
	margin: 0;
	font-size: 0.98rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 52ch;
}

.eh-pub-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1.35rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eh-pub-hero .eh-mock-stats {
	margin-top: 1.35rem;
	padding-top: 1.25rem;
}

.eh-pub-stat {
	text-align: left;
}

.eh-pub-stat__label {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.eh-pub-stat__value {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
}

.eh-pub-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1rem;
}

.eh-pub-pills--categories {
	margin-top: 0.75rem;
}

.eh-pill {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid var(--eh-pub-border);
	background: var(--eh-pub-card);
	color: var(--eh-pub-ink);
	cursor: pointer;
}

.eh-pill.is-active {
	background: var(--eh-pub-accent);
	border-color: var(--eh-pub-accent);
	color: var(--eh-pub-ink);
}

.eh-studies-toolbar {
	margin-bottom: 0.5rem;
}

.eh-season-block {
	margin-bottom: 2rem;
}

.eh-season-bar {
	background: var(--eh-pub-ink-deep);
	color: #fff;
	border-radius: 10px 10px 0 0;
	padding: 0.65rem 1rem;
}

.eh-season-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.eh-season-head__count {
	font-weight: 600;
	opacity: 0.85;
	font-size: 0.75rem;
}

.eh-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--eh-pub-border);
	border-top: none;
	border-radius: 0 0 12px 12px;
	background: var(--eh-pub-card);
}

.eh-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	min-width: 720px;
}

.eh-table th,
.eh-table td {
	padding: 0.6rem 0.65rem;
	text-align: left;
	border-bottom: 1px solid var(--eh-pub-border);
	vertical-align: top;
}

.eh-table th {
	background: #f4f6f5;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--eh-pub-muted);
	white-space: nowrap;
}

.eh-th-stream {
	min-width: 2rem;
	text-align: center !important;
}

.eh-study-code {
	font-family: ui-monospace, monospace;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--eh-pub-accent);
	margin-right: 0.25rem;
}

.eh-study-desc {
	font-size: 0.8rem;
	margin-top: 0.25rem;
}

.eh-study-view {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--eh-pub-ink-deep);
}

.eh-study-stages {
	white-space: nowrap;
}

.eh-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}

.eh-dot--empty {
	border: 1px dashed rgba(10, 31, 30, 0.25);
	background: transparent;
}

.eh-dot--muted {
	background: #cbd5e1;
}

.eh-dot--partial {
	background: #94a3b8;
}

.eh-dot--planned {
	background: #7dd3c0;
	opacity: 0.65;
}

.eh-dot--pending {
	border: 2px solid var(--eh-pub-accent);
	background: transparent;
}

.eh-dot--done {
	background: var(--eh-pub-accent);
}

.eh-stream-cell {
	text-align: center;
	padding: 0.45rem !important;
}

.eh-stream-cell--empty {
	background: #f8fafc;
}

.eh-stream-cell--muted {
	background: #e2e8f0;
}

.eh-stream-cell--partial {
	background: #bae6fd;
}

.eh-stream-cell--planned {
	background: rgba(94, 197, 197, 0.35);
}

.eh-stream-cell--optional {
	background: #ddd6fe;
}

.eh-stream-cell--pending {
	box-shadow: inset 0 0 0 2px var(--eh-pub-accent);
}

.eh-stream-cell--active {
	background: var(--eh-pub-accent);
}

.eh-pill--category {
	font-size: 0.65rem;
	background: rgba(94, 197, 197, 0.2);
	border-color: transparent;
}

.eh-pill--vote {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
	background: rgba(94, 197, 197, 0.25);
	border: none;
}

.eh-pipeline {
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
}

.eh-evidence {
	font-size: 0.78rem;
	color: var(--eh-pub-muted);
}

.eh-muted {
	color: var(--eh-pub-muted);
	font-size: 0.9rem;
}

.eh-small {
	font-size: 0.8rem;
}

.eh-legend {
	margin: 0 0 1rem;
	font-size: 0.82rem;
}

.eh-page-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 1rem;
}

.eh-card {
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 12px;
	padding: 1.25rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.eh-card--wide {
	max-width: 100%;
}

.eh-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 1rem 0;
}

.eh-stream-legend-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.5rem 0 1rem;
}

.eh-error {
	color: #b42318;
}

.eh-btn {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	background: var(--eh-pub-accent);
	color: var(--eh-pub-ink);
	border: none;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	font-size: 0.9rem;
}

.eh-btn--small {
	padding: 0.35rem 0.65rem;
	font-size: 0.8rem;
}

.eh-btn--wide {
	width: 100%;
	margin-top: 0.5rem;
}

.eh-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.eh-field {
	display: block;
	margin-bottom: 1rem;
}

.eh-field-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.35rem;
	color: var(--eh-pub-muted);
}

.eh-input {
	width: 100%;
	max-width: 100%;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--eh-pub-border);
	border-radius: 8px;
	font: inherit;
	box-sizing: border-box;
}

.eh-input--dark {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(94, 197, 197, 0.5);
	color: #fff;
}

.eh-field--slider input[type="range"] {
	width: 100%;
	accent-color: var(--eh-pub-accent);
}

.eh-chips {
	border: 1px solid var(--eh-pub-border);
	border-radius: 8px;
	padding: 0.75rem;
	margin-bottom: 1rem;
}

.eh-chip {
	display: inline-block;
	margin: 0.25rem 0.5rem 0.25rem 0;
	font-size: 0.82rem;
}

.eh-body {
	margin-top: 1rem;
}

.eh-ency-toolbar {
	margin-bottom: 1rem;
}

.eh-ency-search {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
}

.eh-vote-table-wrap {
	margin-bottom: 1.5rem;
}

.eh-votes {
	font-weight: 700;
	white-space: nowrap;
}

.eh-vote-up {
	color: var(--eh-pub-accent);
	margin-right: 0.2rem;
}

.eh-vote-form-card {
	margin-top: 0.5rem;
}

.eh-proposal-form .eh-field {
	margin-bottom: 0.85rem;
}

.eh-checkin-panel {
	background: linear-gradient(145deg, var(--eh-pub-ink-deep), #0d2826);
	border-radius: 16px;
	padding: 1.25rem;
	color: #fff;
	margin-top: 1rem;
}

.eh-checkin-panel__title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 800;
}

.eh-checkin-panel .eh-field-label {
	color: rgba(255, 255, 255, 0.75);
}

.eh-checkin-panel .eh-chips {
	border-color: rgba(255, 255, 255, 0.15);
	color: var(--eh-pub-ink);
	background: #fff;
}

.eh-tier-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
}

.eh-tier-card {
	background: var(--eh-pub-ink-deep);
	color: #fff;
	border-radius: 14px;
	padding: 1.25rem;
}

.eh-tier-card h3 {
	margin: 0 0 0.5rem;
	color: var(--eh-pub-accent);
	font-size: 1.1rem;
}

.eh-tier-desc {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 0.75rem;
}

.eh-tier-list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.92);
}

/* Vote page — “How voting works” cards */
.eh-vote-rules {
	margin: 2rem 0;
}

.eh-vote-rules > h2 {
	font-family: var(--eh-pub-serif);
	font-size: 1.35rem;
	margin: 0 0 1rem;
}

.eh-vote-rules__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.eh-vote-rule-card {
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.1rem 1.15rem;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.eh-vote-rule-card h3 {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--eh-pub-accent);
}

.eh-vote-rule-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--eh-pub-muted);
	line-height: 1.45;
}

/* Tiers — founding pricing band (static + dynamic cards below) */
.eh-tier-pricing-band {
	background: linear-gradient(155deg, var(--eh-pub-ink-deep), #0d2826);
	color: #fff;
	border-radius: 18px;
	padding: 1.5rem 1.25rem 1.75rem;
	margin-bottom: 1.75rem;
	text-align: center;
}

.eh-tier-pricing-band h2 {
	font-family: var(--eh-pub-serif);
	font-size: clamp(1.2rem, 2.8vw, 1.65rem);
	margin: 0 0 0.5rem;
	color: #fff;
}

.eh-tier-pricing-band > p {
	margin: 0 auto 1.25rem;
	max-width: 40rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.88);
}

.eh-tier-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.75rem;
	max-width: 720px;
	margin: 0 auto;
}

.eh-tier-price-cell {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 0.75rem 0.5rem;
}

.eh-tier-price-cell__label {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eh-pub-accent);
}

.eh-tier-price-cell__price {
	display: block;
	font-size: 1.1rem;
	font-weight: 800;
	margin-top: 0.25rem;
}

/* Check-in — “Why uniform” */
.eh-checkin-why {
	margin: 2rem 0;
}

.eh-checkin-why > h2 {
	font-family: var(--eh-pub-serif);
	font-size: 1.35rem;
	margin: 0 0 1rem;
}

.eh-checkin-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.eh-checkin-why-card {
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.1rem;
}

.eh-checkin-why-card h3 {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--eh-pub-accent);
}

.eh-checkin-why-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--eh-pub-muted);
	line-height: 1.45;
}
