/*
 * /access page (views/pages/access.php), 2026-10-28. Sits on the information-page shell (.info-page,
 * .info-header, .info-footer, .info-eyebrow in index.css) and reuses its colours: dark #0e0d12 surfaces,
 * teal #00a693 accent, #282b35 borders. Breakpoints follow index.css (850px, 576px) plus one at 1100px.
 */
.access-page {
	--acc-bg: #0e0d12;
	--acc-panel: #14161e;
	--acc-panel-2: #181b24;
	--acc-border: #282b35;
	--acc-text: #f5f6f8;
	--acc-muted: #aeb3c0;
	--acc-dim: #7d8496;
	--acc-accent: #00a693;
	--acc-accent-soft: #45c8b8;
	--acc-accent-ink: #04130f;
	--acc-error: #ff8a80;
	--acc-radius: 10px;
	padding-bottom: 0;
	overflow-x: clip;
}

.access-page *,
.access-page *::before,
.access-page *::after {
	box-sizing: border-box;
}

.access-page h1,
.access-page h2,
.access-page h3 {
	margin: 0;
	color: #fff;
	font-family: inherit;
	letter-spacing: -0.02em;
}

.access-page p {
	margin: 0;
}

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

.access-page a:focus-visible,
.access-page button:focus-visible,
.access-page summary:focus-visible,
.access-page input:focus-visible,
.access-page textarea:focus-visible {
	outline: 2px solid var(--acc-accent-soft);
	outline-offset: 3px;
}

.acc-wrap {
	width: min(1180px, 100% - 40px);
	margin: 0 auto;
}

.acc-section {
	padding: 64px 0;
	border-top: 1px solid var(--acc-border);
	scroll-margin-top: 76px;
}

.acc-section h2 {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 600;
	line-height: 1.15;
}

.acc-section h2 span {
	display: block;
}

.access-page .info-eyebrow {
	margin-bottom: 10px;
}

.access-icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* ---- buttons ---------------------------------------------------------------------------------------- */

.acc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.access-page .acc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 22px;
	border: 1px solid var(--acc-accent);
	border-radius: 6px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.access-page .acc-btn--primary {
	background: var(--acc-accent);
	color: #fff;
}

.access-page .acc-btn--primary:hover,
.access-page .acc-btn--primary:focus-visible {
	background: #00b8a3;
	border-color: #00b8a3;
	color: #fff;
}

.access-page .acc-btn--primary:disabled {
	opacity: 0.6;
	cursor: wait;
}

.access-page .acc-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.access-page .acc-btn--ghost:hover,
.access-page .acc-btn--ghost:focus-visible {
	border-color: var(--acc-accent);
	color: var(--acc-accent-soft);
}

.access-page .acc-btn--small {
	min-height: 38px;
	padding: 8px 16px;
	font-size: 0.85rem;
	border-color: var(--acc-accent);
	color: var(--acc-accent-soft);
}

.acc-btn__icon {
	width: 16px;
	height: 16px;
}

/* ---- A. hero ------------------------------------------------------------------------------------------ */

.acc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 56vw, 560px);
	background:
		linear-gradient(90deg, rgba(14, 13, 18, 0.94) 0%, rgba(14, 13, 18, 0.78) 34%, rgba(14, 13, 18, 0.15) 70%),
		linear-gradient(0deg, rgba(14, 13, 18, 0.9) 0%, transparent 30%),
		var(--acc-hero-image, none) center 62% / cover no-repeat,
		var(--acc-bg);
}

.acc-hero__inner {
	padding: 72px 0;
}

.acc-hero h1 {
	max-width: 640px;
	font-size: clamp(2.3rem, 5.4vw, 4rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.acc-hero h1 span {
	display: block;
}

.acc-hero__text {
	max-width: 520px;
	margin-top: 20px !important;
	color: #d2d5dd;
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	line-height: 1.65;
}

/* ---- B. free access ------------------------------------------------------------------------------------ */

.acc-free {
	border-top: 0;
}

.acc-free__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
	gap: 32px;
	align-items: center;
}

.acc-free__media {
	position: relative;
	aspect-ratio: 3 / 2;
	border-radius: var(--acc-radius);
	overflow: hidden;
	background: var(--acc-panel);
}

.acc-free__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.acc-free__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	background: radial-gradient(circle, rgba(0, 0, 0, 0.25), transparent 60%);
}

.acc-free__play .access-icon {
	width: 64px;
	height: 64px;
	stroke-width: 1.2;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.acc-free__copy p:not(.info-eyebrow) {
	margin-top: 14px;
	color: var(--acc-muted);
	line-height: 1.7;
}

.acc-free__points {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 26px;
	list-style: none;
	border: 1px solid var(--acc-border);
	border-radius: var(--acc-radius);
	background: var(--acc-panel);
}

.acc-free__points li {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #d7dae1;
	font-size: 0.92rem;
	line-height: 1.4;
}

.acc-free__points .access-icon {
	color: var(--acc-accent);
}

/* ---- C. patron cards ----------------------------------------------------------------------------------- */

.acc-heading {
	max-width: 760px;
	margin-bottom: 32px;
}

.acc-heading p:not(.info-eyebrow) {
	margin-top: 12px;
	color: var(--acc-muted);
	line-height: 1.65;
}

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

.acc-tier {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acc-border);
	border-radius: var(--acc-radius);
	background: var(--acc-panel);
	overflow: hidden;
	transition: border-color 160ms ease;
}

.acc-tier:hover,
.acc-tier:focus-within {
	border-color: rgba(0, 166, 147, 0.55);
}

.acc-tier__media {
	aspect-ratio: 16 / 8;
	background: linear-gradient(135deg, #1b2a2c, #12141b);
}

.acc-tier__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.acc-tier__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 24px 24px;
}

.acc-tier__title {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: -26px;
}

.acc-tier__badge {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	flex: none;
	border: 3px solid var(--acc-panel);
	border-radius: 50%;
	background: var(--acc-accent);
	color: #fff;
}

.acc-tier__title > div {
	padding-top: 30px;
}

.acc-tier h3 {
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
}

.acc-tier__tagline {
	margin-top: 6px !important;
	color: var(--acc-accent-soft);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
}

.acc-tier__text {
	margin-top: 16px !important;
	color: var(--acc-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.acc-tier__features {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid var(--acc-border);
}

.acc-tier__features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #d7dae1;
	font-size: 0.86rem;
	line-height: 1.45;
}

.acc-tier__features .access-icon {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--acc-accent);
}

.acc-tier__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 24px;
}

/* margin-top: auto above keeps the three footers level; the features list supplies the gap. */
.acc-tier__features {
	margin-bottom: 24px;
}

.acc-tier__features + .acc-tier__footer {
	border-top: 1px solid var(--acc-border);
}

.acc-tier__footer strong {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
}

/* ---- D. why become a patron ---------------------------------------------------------------------------- */

.acc-why {
	background: var(--acc-panel);
}

.acc-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.75fr);
	gap: 40px;
	align-items: center;
}

.acc-why__heading h2 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.acc-benefits {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.acc-benefits li {
	padding: 8px 14px;
	text-align: center;
	border-left: 1px solid var(--acc-border);
}

.acc-benefits li:first-child {
	border-left: 0;
}

.acc-benefits .access-icon {
	width: 34px;
	height: 34px;
	color: var(--acc-accent);
	stroke-width: 1.4;
}

.acc-benefits h3 {
	margin-top: 12px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.acc-benefits p {
	margin-top: 8px !important;
	color: var(--acc-dim);
	font-size: 0.8rem;
	line-height: 1.5;
}

/* ---- E. subdomain -------------------------------------------------------------------------------------- */

.acc-sub__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.acc-sub__copy p:not(.info-eyebrow) {
	margin-top: 14px;
	color: var(--acc-muted);
	line-height: 1.7;
}

.acc-browser {
	margin: 0;
	border: 1px solid #3a3f4d;
	border-radius: 10px;
	background: #20232c;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.acc-browser__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	background: #2a2e39;
}

.acc-browser__dots {
	display: flex;
	gap: 5px;
}

.acc-browser__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #4a4f5c;
}

.acc-browser__url {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
	padding: 5px 10px;
	border-radius: 5px;
	background: #f1f3f6;
	color: #1d2230;
	font-size: 0.78rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.acc-browser__url .access-icon {
	width: 13px;
	height: 13px;
	color: #5b6275;
}

.acc-browser__screen {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 16 / 10;
	padding: 18px;
	background: linear-gradient(135deg, #1b2a2c, #12141b) center / cover no-repeat;
	position: relative;
}

.acc-browser__screen::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 55%);
}

.acc-browser__screen strong,
.acc-browser__screen span {
	position: relative;
	color: #fff;
}

.acc-browser__screen strong {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.1;
}

.acc-browser__screen span {
	margin-top: 4px;
	font-size: 0.8rem;
	opacity: 0.85;
}

.acc-sub__examples {
	padding: 22px;
	border: 1px solid var(--acc-border);
	border-radius: var(--acc-radius);
	background: var(--acc-panel);
}

.acc-sub__examples ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.acc-sub__examples li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	font-size: 0.86rem;
}

.acc-sub__examples li .access-icon {
	width: 18px;
	height: 18px;
	color: var(--acc-dim);
}

.acc-sub__examples li strong {
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.acc-sub__examples li span {
	color: var(--acc-muted);
	font-size: 0.8rem;
	text-align: right;
}

.acc-note {
	margin-top: 16px !important;
	padding-top: 14px;
	border-top: 1px solid var(--acc-border);
	color: var(--acc-dim);
	font-size: 0.78rem;
	line-height: 1.5;
}

/* ---- F. how it works ----------------------------------------------------------------------------------- */

.acc-steps__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: 40px;
	align-items: center;
}

.acc-step-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: acc-step;
}

.acc-step-list li {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: 12px;
	counter-increment: acc-step;
}

.acc-step-list li::before {
	content: counter(acc-step);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--acc-accent);
	color: #fff;
	font-weight: 700;
}

.acc-step-list li:not(:last-child)::after {
	content: "\2192";
	position: absolute;
	top: 8px;
	right: -22px;
	color: var(--acc-dim);
}

.acc-step-list h3 {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.acc-step-list p {
	margin-top: 6px !important;
	color: var(--acc-dim);
	font-size: 0.82rem;
	line-height: 1.5;
}

/* ---- G. FAQ + H. inquiry --------------------------------------------------------------------------------- */

.acc-bottom__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 32px;
	align-items: start;
}

.acc-faq h2 {
	margin-bottom: 18px;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.acc-faq__item {
	border: 1px solid var(--acc-border);
	border-radius: 6px;
	background: var(--acc-panel);
}

.acc-faq__item + .acc-faq__item {
	margin-top: 8px;
}

.acc-faq__item summary {
	position: relative;
	padding: 13px 44px 13px 16px;
	color: #e6e8ee;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.acc-faq__item summary::-webkit-details-marker {
	display: none;
}

.acc-faq__item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 16px;
	color: var(--acc-muted);
	font-size: 1.2rem;
	line-height: 1;
	transform: translateY(-50%);
}

.acc-faq__item[open] summary::after {
	content: "\2212";
	color: var(--acc-accent);
}

.acc-faq__item[open] summary {
	color: #fff;
}

.acc-faq__item p {
	padding: 0 16px 14px;
	color: var(--acc-muted);
	font-size: 0.88rem;
	line-height: 1.65;
}

.acc-contact {
	padding: 30px;
	border: 1px solid var(--acc-border);
	border-radius: var(--acc-radius);
	background: var(--acc-panel);
	scroll-margin-top: 90px;
}

.acc-contact h2 {
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.acc-contact__intro {
	margin-top: 8px !important;
	color: var(--acc-muted);
	line-height: 1.6;
}

.acc-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	margin-top: 24px;
}

.acc-field--wide {
	grid-column: 1 / -1;
}

.acc-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.acc-field label,
.acc-field legend {
	padding: 0;
	color: #d7dae1;
	font-size: 0.82rem;
	font-weight: 500;
}

.acc-field em {
	color: var(--acc-accent-soft);
	font-style: normal;
}

.acc-optional {
	color: var(--acc-dim);
	font-weight: 400;
}

.acc-field input,
.acc-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #343846;
	border-radius: 6px;
	background: #0f1117;
	color: #fff;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.4;
	transition: border-color 160ms ease;
}

.acc-field textarea {
	min-height: 120px;
	resize: vertical;
}

.acc-field input::placeholder,
.acc-field textarea::placeholder {
	color: #6c7385;
}

.acc-field input:focus,
.acc-field textarea:focus {
	border-color: var(--acc-accent);
}

.acc-types {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.acc-types legend {
	width: 100%;
	margin-bottom: 9px;
}

.acc-types label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e6e8ee;
	font-size: 0.88rem;
	cursor: pointer;
}

.acc-types input,
.acc-consent input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--acc-accent);
	flex: none;
}

.acc-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--acc-muted);
	font-size: 0.84rem;
	line-height: 1.5;
	cursor: pointer;
	flex-wrap: wrap;
}

.acc-consent span {
	flex: 1;
	min-width: 0;
}

.acc-field.is-invalid input,
.acc-field.is-invalid textarea {
	border-color: var(--acc-error);
}

.acc-field-error {
	color: var(--acc-error);
	font-size: 0.8rem;
	line-height: 1.4;
}

.acc-consent .acc-field-error {
	flex-basis: 100%;
	padding-left: 28px;
}

.acc-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.acc-captcha {
	min-height: 65px;
}

.acc-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.acc-form__footer .acc-btn {
	margin-left: auto;
}

.acc-form__status {
	flex: 1 1 240px;
	min-height: 1.4em;
	font-size: 0.86rem;
	line-height: 1.5;
	outline: none;
}

.acc-form__status.is-error {
	color: var(--acc-error);
}

.acc-form__status.is-success {
	color: var(--acc-accent-soft);
	font-weight: 500;
}

/* ---- responsive ---------------------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.acc-free__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	}
	.acc-free__points {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acc-why__grid,
	.acc-steps__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.acc-benefits {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 28px;
	}
	.acc-benefits li:nth-child(3n + 1) {
		border-left: 0;
	}
	.acc-sub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acc-sub__copy {
		grid-column: 1 / -1;
	}
}

@media (max-width: 850px) {
	.acc-section {
		padding: 52px 0;
	}
	.acc-free__grid,
	.acc-tiers,
	.acc-bottom__grid,
	.acc-sub__grid {
		grid-template-columns: 1fr;
	}
	.acc-tiers {
		max-width: 560px;
		margin: 0 auto;
	}
	.acc-free__media {
		aspect-ratio: 16 / 9;
		max-width: 560px;
	}
	.acc-browser {
		width: 100%;
		max-width: 560px;
	}
	.acc-step-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acc-step-list li:nth-child(2n)::after {
		display: none;
	}
}

@media (max-width: 576px) {
	.acc-wrap {
		width: calc(100% - 32px);
	}
	.acc-section {
		padding: 44px 0;
		scroll-margin-top: 66px;
	}
	.acc-hero {
		min-height: 0;
		background:
			linear-gradient(0deg, rgba(14, 13, 18, 0.96) 15%, rgba(14, 13, 18, 0.55) 70%, rgba(14, 13, 18, 0.35) 100%),
			var(--acc-hero-image, none) 70% 62% / cover no-repeat,
			var(--acc-bg);
	}
	.acc-hero__inner {
		padding: 64px 0 48px;
	}
	.acc-actions .acc-btn {
		flex: 1 1 100%;
	}
	.acc-free__points {
		grid-template-columns: 1fr;
		padding: 20px;
	}
	.acc-tier__body {
		padding: 0 18px 20px;
	}
	.acc-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acc-benefits li,
	.acc-benefits li:nth-child(3n + 1) {
		border-left: 0;
	}
	.acc-step-list {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.acc-step-list li::after {
		display: none;
	}
	.acc-contact {
		padding: 22px 18px;
	}
	.acc-form {
		grid-template-columns: 1fr;
	}
	.acc-types {
		flex-direction: column;
		gap: 10px;
	}
	.acc-form__footer .acc-btn {
		width: 100%;
	}
	.acc-sub__examples li {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.acc-sub__examples li span {
		grid-column: 2;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.access-page .acc-btn,
	.acc-tier,
	.acc-field input,
	.acc-field textarea {
		transition: none;
	}
}
