/* Neto UI — FAQ switchboard [neto_ui_page_faq] */

.neto-faq {
	position: relative;
	z-index: 1;
	isolation: isolate;
	padding-block: clamp(0.85rem, 2.5vh, 1.6rem) clamp(2.25rem, 5.5vh, 3.5rem);
	margin: 0;
	font-family: var(--neto-font);
	color: var(--neto-ink);
}

.neto-faq--embedded {
	padding-top: clamp(0.35rem, 1.5vh, 1rem);
}

.neto-faq__wrap {
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	max-width: none;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.neto-faq__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-faq__board {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: clamp(1.15rem, 3vw, 2.25rem);
	align-items: start;
}

@media (max-width: 900px) {
	.neto-faq__board {
		grid-template-columns: 1fr;
	}
}

.neto-faq__aside {
	position: sticky;
	top: 5.5rem;
	padding: clamp(1.25rem, 2.8vw, 1.75rem);
	border-radius: 1.5rem;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 14%, var(--neto-line));
	background:
		radial-gradient(100% 80% at 0% 100%, color-mix(in srgb, var(--neto-brand) 12%, transparent), transparent 50%),
		linear-gradient(160deg, #fff, color-mix(in srgb, var(--neto-page, #f4f7fd) 75%, #fff));
	overflow: hidden;
}

html[data-neto-ui-theme="dark"] .neto-faq__aside {
	border-color: #27272a;
	background:
		radial-gradient(100% 80% at 0% 100%, rgba(0, 215, 255, 0.08), transparent 50%),
		linear-gradient(160deg, #191919, #111113);
}

@media (max-width: 900px) {
	.neto-faq__aside {
		position: relative;
		top: auto;
	}
}

.neto-faq__eyebrow {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--neto-muted);
}

.neto-faq__eyebrow-line {
	display: inline-block;
	width: 2.2rem;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--neto-brand), transparent);
}

html[data-neto-ui-theme="dark"] .neto-faq__eyebrow-line {
	background: linear-gradient(90deg, #00d7ff, transparent);
}

.neto-faq__eyebrow [lang="en"] {
	color: var(--neto-brand);
	font-weight: 700;
}

html[data-neto-ui-theme="dark"] .neto-faq__eyebrow [lang="en"] {
	color: #00d7ff;
}

.neto-faq__eyebrow-fa {
	letter-spacing: 0;
	text-transform: none;
	font-weight: 500;
	font-size: 0.8rem;
}

.neto-faq__title,
.neto-faq__aside-kicker {
	position: relative;
	z-index: 1;
	margin: 0 0 0.65rem;
	font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	line-height: 1.35;
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-faq__title,
html[data-neto-ui-theme="dark"] .neto-faq__aside-kicker {
	color: #fafafa;
}

.neto-faq__aside-kicker {
	font-size: 1.15rem !important;
	font-weight: 650 !important;
}

.neto-faq__aside-lead {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.85;
	color: var(--neto-muted);
}

.neto-faq__watermark {
	position: absolute;
	inset-inline-end: 0.35rem;
	bottom: -0.85rem;
	z-index: 0;
	font-size: clamp(6rem, 14vw, 9rem);
	font-weight: 800;
	line-height: 0.8;
	color: color-mix(in srgb, var(--neto-brand) 9%, transparent);
	pointer-events: none;
	user-select: none;
}

html[data-neto-ui-theme="dark"] .neto-faq__watermark {
	color: rgba(0, 215, 255, 0.09);
}

.neto-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	position: relative;
}

.neto-faq__list::before {
	content: "";
	position: absolute;
	inset-inline-start: 1.55rem;
	top: 1rem;
	bottom: 1rem;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent,
		color-mix(in srgb, var(--neto-brand) 26%, var(--neto-line)),
		transparent
	);
	pointer-events: none;
}

html[data-neto-ui-theme="dark"] .neto-faq__list::before {
	background: linear-gradient(180deg, transparent, rgba(0, 215, 255, 0.22), transparent);
}

@media (max-width: 640px) {
	.neto-faq__list::before {
		display: none;
	}
}

.neto-faq__item {
	margin: 0;
	border-radius: 1.1rem;
	border: 1px solid var(--neto-line);
	background: #fff;
	overflow: hidden;
	opacity: 0;
	transform: translateY(8px);
	animation: netoFaqIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: calc(0.035s * var(--neto-f-i, 1));
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

html[data-neto-ui-theme="dark"] .neto-faq__item {
	border-color: #27272a;
	background: #191919;
}

.neto-faq__item.is-open {
	border-color: color-mix(in srgb, var(--neto-brand) 38%, var(--neto-line));
	box-shadow: 0 12px 28px rgba(5, 43, 66, 0.08);
}

html[data-neto-ui-theme="dark"] .neto-faq__item.is-open {
	border-color: rgba(0, 215, 255, 0.3);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

@keyframes netoFaqIn {
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-faq__item {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.neto-faq__q {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.neto-faq__btn {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 0.9rem;
	width: 100%;
	margin: 0;
	padding: 0.95rem 1rem;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: right;
	cursor: pointer;
	font-family: inherit;
}

.neto-faq__btn:focus-visible {
	outline: 2px solid var(--neto-brand);
	outline-offset: -2px;
}

html[data-neto-ui-theme="dark"] .neto-faq__btn:focus-visible {
	outline-color: #00d7ff;
}

.neto-faq__idx {
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 0.7rem;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 16%, var(--neto-line));
	background: color-mix(in srgb, var(--neto-brand) 7%, #fff);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--neto-brand);
}

html[data-neto-ui-theme="dark"] .neto-faq__idx {
	border-color: #27272a;
	background: rgba(0, 77, 119, 0.4);
	color: #00d7ff;
}

.neto-faq__q-text {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.55;
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-faq__q-text {
	color: #fafafa;
}

.neto-faq__icon {
	flex: 0 0 auto;
	position: relative;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 20%, var(--neto-line));
	background: color-mix(in srgb, var(--neto-brand) 6%, #fff);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

html[data-neto-ui-theme="dark"] .neto-faq__icon {
	border-color: #27272a;
	background: rgba(0, 77, 119, 0.35);
}

.neto-faq__icon::before,
.neto-faq__icon::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 0.65rem;
	height: 2px;
	border-radius: 999px;
	background: var(--neto-brand);
	transform: translate(-50%, -50%);
}

html[data-neto-ui-theme="dark"] .neto-faq__icon::before,
html[data-neto-ui-theme="dark"] .neto-faq__icon::after {
	background: #00d7ff;
}

.neto-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.neto-faq__item.is-open .neto-faq__icon {
	background: var(--neto-brand);
	border-color: transparent;
}

html[data-neto-ui-theme="dark"] .neto-faq__item.is-open .neto-faq__icon {
	background: #004d77;
}

.neto-faq__item.is-open .neto-faq__icon::before,
.neto-faq__item.is-open .neto-faq__icon::after {
	background: #fff;
}

html[data-neto-ui-theme="dark"] .neto-faq__item.is-open .neto-faq__icon::before,
html[data-neto-ui-theme="dark"] .neto-faq__item.is-open .neto-faq__icon::after {
	background: #00d7ff;
}

.neto-faq__item.is-open .neto-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.neto-faq__a {
	border-top: 1px dashed color-mix(in srgb, var(--neto-line) 90%, transparent);
}

html[data-neto-ui-theme="dark"] .neto-faq__a {
	border-top-color: #27272a;
}

.neto-faq__a[hidden] {
	display: none;
}

.neto-faq__a-inner {
	padding: 0.2rem 1rem 1.05rem 1rem;
	padding-inline-start: calc(2.2rem + 0.9rem + 1rem);
	font-size: 0.9rem;
	line-height: 1.9;
	color: var(--neto-muted);
}

@media (max-width: 640px) {
	.neto-faq__a-inner {
		padding-inline-start: 1rem;
	}
}

.neto-faq__a-inner p {
	margin: 0 0 0.55rem;
}

.neto-faq__a-inner p:last-child {
	margin-bottom: 0;
}

.neto-faq__a-inner a {
	color: var(--neto-brand);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

html[data-neto-ui-theme="dark"] .neto-faq__a-inner a {
	color: #00d7ff;
}

.neto-faq a,
.neto-faq a:hover,
.neto-faq button {
	text-decoration: none;
}
