.ast-sand-page-body {
	background: #fff;
}

main.ast-sand-page {
	box-shadow: none;
}

.ast-sand-page {
	max-width: 1180px;
	padding-bottom: 64px;
}

.ast-sand-intro {
	max-width: 780px;
	margin-bottom: 26px;
}

.ast-sand-intro > p:last-child {
	max-width: 720px;
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.ast-sand-page > .ast-new-page__breadcrumb {
		margin-top: 12px;
	}
}

.ast-sand-stage {
	--sand-gold: #e2b45d;
	--sand-light: #ffe4a3;
	--sand-copper: #b87436;
	--sand-ink: #03191e;
	position: relative;
	isolation: isolate;
	min-height: 760px;
	overflow: hidden;
	border: 1px solid #a7854c;
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% 22%, rgba(17, 99, 101, .34), transparent 28%),
		radial-gradient(circle at 18% 76%, rgba(173, 105, 39, .15), transparent 22%),
		linear-gradient(155deg, #062c31 0%, #031c22 48%, #020f14 100%);
	box-shadow: 0 28px 64px rgba(7, 48, 53, .2), inset 0 0 80px rgba(0, 0, 0, .5);
	color: #fff7e8;
	touch-action: pan-y;
}

.ast-sand-stage.is-awaiting-gesture { cursor: grab; }
.ast-sand-stage.is-awaiting-gesture:active { cursor: grabbing; }
.ast-sand-stage.is-awaiting-gesture .ast-sand-controls,
.ast-sand-stage.is-awaiting-gesture button,
.ast-sand-stage.is-awaiting-gesture textarea { cursor: auto; }

.ast-sand-stage::before,
.ast-sand-stage::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.ast-sand-stage::before {
	inset: 12px;
	border: 1px solid rgba(226, 180, 93, .38);
	border-radius: 17px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.ast-sand-stage::after {
	left: 8%;
	right: 8%;
	bottom: -88px;
	height: 210px;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(215, 153, 75, .24), rgba(83, 49, 23, .06) 45%, transparent 72%);
	filter: blur(12px);
}

.ast-sand-stage__sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.ast-sand-stage__sky::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(255, 222, 148, .62) 0 1px, transparent 1.7px),
		radial-gradient(circle, rgba(255, 244, 213, .32) 0 1px, transparent 1.4px);
	background-position: 8px 11px, 41px 37px;
	background-size: 66px 66px, 91px 91px;
	opacity: .18;
}

.ast-sand-stage__sky span {
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #ffe2a0;
	box-shadow: 0 0 18px 5px rgba(232, 183, 92, .35);
	animation: ast-sand-star 4.8s ease-in-out infinite;
}

.ast-sand-stage__sky span:nth-child(1) { top: 12%; left: 14%; }
.ast-sand-stage__sky span:nth-child(2) { top: 25%; left: 81%; animation-delay: -1.8s; }
.ast-sand-stage__sky span:nth-child(3) { top: 47%; left: 8%; animation-delay: -3s; }
.ast-sand-stage__sky span:nth-child(4) { top: 61%; left: 91%; animation-delay: -2.4s; }
.ast-sand-stage__sky span:nth-child(5) { top: 7%; left: 66%; animation-delay: -.7s; }
.ast-sand-stage__sky span:nth-child(6) { top: 74%; left: 24%; animation-delay: -4s; }

@keyframes ast-sand-star {
	0%, 100% { opacity: .25; transform: scale(.7); }
	50% { opacity: 1; transform: scale(1.35); }
}

.ast-sand-stage__halo {
	position: absolute;
	top: 62px;
	left: 50%;
	z-index: 0;
	width: min(52vw, 510px);
	aspect-ratio: 1;
	transform: translateX(-50%);
	border: 1px solid rgba(230, 187, 103, .29);
	border-radius: 50%;
	box-shadow:
		0 0 0 22px rgba(202, 156, 74, .025),
		0 0 0 54px rgba(202, 156, 74, .018),
		inset 0 0 70px rgba(192, 130, 52, .08);
	pointer-events: none;
}

.ast-sand-stage__halo::before,
.ast-sand-stage__halo::after {
	content: "";
	position: absolute;
	inset: 9%;
	border: 1px dashed rgba(226, 180, 93, .18);
	border-radius: 50%;
	animation: ast-sand-orbit 44s linear infinite;
}

.ast-sand-stage__halo::after {
	inset: 18%;
	animation-direction: reverse;
	animation-duration: 31s;
}

@keyframes ast-sand-orbit { to { transform: rotate(360deg); } }

.ast-sand-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	filter: drop-shadow(0 0 4px rgba(237, 190, 102, .2));
}

.ast-sand-stage__topline {
	position: absolute;
	top: 30px;
	left: 34px;
	right: 34px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #f2d69f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ast-sand-stage__seal {
	position: relative;
	display: grid;
	place-items: center;
	width: 29px;
	height: 29px;
	border: 1px solid rgba(239, 204, 139, .7);
	border-radius: 50%;
}

.ast-sand-stage__seal::before,
.ast-sand-stage__seal::after,
.ast-sand-stage__seal i::before,
.ast-sand-stage__seal i::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 18px;
	background: #e8c479;
	transform: translate(-50%, -50%);
}

.ast-sand-stage__seal::after { transform: translate(-50%, -50%) rotate(90deg); }
.ast-sand-stage__seal i::before { transform: translate(-50%, -50%) rotate(45deg); }
.ast-sand-stage__seal i::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ast-sand-whisper {
	position: absolute;
	top: 92px;
	left: 50%;
	z-index: 3;
	width: min(88%, 620px);
	transform: translateX(-50%);
	text-align: center;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
	transition: opacity .5s ease, transform .5s ease;
}

.ast-sand-whisper.is-quiet {
	opacity: .22;
	transform: translate(-50%, -8px);
}

.ast-sand-whisper__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: #e8c47d;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.ast-sand-whisper strong {
	display: block;
	font-family: Georgia, serif;
	font-size: clamp(24px, 3.7vw, 39px);
	font-weight: 400;
	line-height: 1.1;
}

.ast-sand-whisper p {
	margin: 8px 0 0;
	color: #eadcc7;
	font-size: 16px;
}

.ast-sand-controls,
.ast-sand-result {
	position: relative;
	z-index: 4;
	width: min(92%, 920px);
	margin: 600px auto 24px;
}

.ast-sand-panel {
	padding: 22px 24px 24px;
	border: 1px solid rgba(224, 184, 106, .44);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(5, 39, 43, .93), rgba(3, 23, 28, .95));
	box-shadow: 0 20px 52px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .05);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: ast-sand-panel-in .45s ease both;
}

@keyframes ast-sand-panel-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.ast-sand-panel[hidden],
.ast-sand-result[hidden],
.ast-sand-own-question[hidden] { display: none; }

.ast-sand-panel__step {
	margin: 0 0 3px;
	color: #d9b56f;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ast-sand-panel h2 {
	margin: 0 0 16px;
	color: #fff9eb;
	font-family: Georgia, serif;
	font-size: 25px;
	font-weight: 400;
}

.ast-sand-awaken {
	text-align: center;
}

.ast-sand-awaken__copy {
	max-width: 660px;
	margin: -6px auto 15px;
	color: #eadfcf;
	font-size: 14px;
	line-height: 1.5;
}

.ast-sand-awaken__progress {
	width: min(100%, 520px);
	height: 7px;
	margin: 0 auto 13px;
	overflow: hidden;
	border: 1px solid rgba(241, 207, 142, .28);
	border-radius: 999px;
	background: rgba(0, 0, 0, .3);
}

.ast-sand-awaken__progress span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #b77939, #f4d18c, #fff0bd);
	box-shadow: 0 0 16px rgba(244, 209, 140, .5);
	transition: width .2s ease;
}

.ast-sand-awaken__button {
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	width: min(100%, 520px);
	min-height: 74px;
	margin: 0 auto;
	padding: 12px 20px;
	overflow: hidden;
	border: 1px solid #e7bf72;
	border-radius: 16px;
	color: #fff8e9;
	background:
		radial-gradient(circle at 16% 50%, rgba(255, 229, 166, .2), transparent 22%),
		linear-gradient(135deg, rgba(155, 96, 37, .62), rgba(59, 43, 28, .66));
	box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 12px 30px rgba(0, 0, 0, .25);
	cursor: pointer !important;
	text-align: left;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ast-sand-awaken__button:hover,
.ast-sand-awaken__button:focus-visible {
	transform: translateY(-2px);
	border-color: #ffe0a0;
	background:
		radial-gradient(circle at 16% 50%, rgba(255, 237, 190, .28), transparent 25%),
		linear-gradient(135deg, rgba(181, 117, 46, .72), rgba(73, 49, 28, .72));
}

.ast-sand-awaken__button > span {
	display: grid;
	grid-row: 1 / 3;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 230, 176, .64);
	border-radius: 50%;
	color: #ffe4a3;
	font-size: 22px;
	box-shadow: inset 0 0 14px rgba(255, 221, 155, .16);
}

.ast-sand-awaken__button strong {
	align-self: end;
	font-size: 16px;
	line-height: 1.25;
}

.ast-sand-awaken__button small {
	align-self: start;
	color: #e8d8bd;
	font-size: 12px;
	line-height: 1.35;
}

.ast-sand-awaken__button:disabled {
	transform: none;
	cursor: wait !important;
	opacity: .9;
}

.ast-sand-awaken__button.is-awakening > span {
	animation: ast-sand-awakening 1.8s ease-in-out infinite;
}

.ast-sand-awaken__status {
	min-height: 18px;
	margin: 10px 0 0;
	color: #d9bd87;
	font-size: 12px;
}

@keyframes ast-sand-awakening {
	0%, 100% { transform: rotate(0) scale(.92); box-shadow: 0 0 8px rgba(255, 222, 157, .12); }
	50% { transform: rotate(90deg) scale(1.08); box-shadow: 0 0 22px rgba(255, 222, 157, .46); }
}

.ast-sand-categories {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 9px;
}

.ast-sand-category,
.ast-sand-question,
.ast-sand-primary,
.ast-sand-secondary,
.ast-sand-back {
	font-family: Arial, Helvetica, sans-serif;
}

.ast-sand-category {
	display: flex;
	min-height: 74px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 7px;
	border: 1px solid rgba(231, 199, 136, .24);
	border-radius: 12px;
	color: #fff8e8;
	background: rgba(255, 255, 255, .045);
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ast-sand-category:hover,
.ast-sand-category:focus-visible {
	transform: translateY(-3px);
	border-color: #e8c37a;
	background: rgba(198, 138, 61, .16);
}

.ast-sand-category span:first-child {
	color: #f1cc82;
	font-family: Georgia, serif;
	font-size: 25px;
	line-height: 1;
}

.ast-sand-category span:last-child { font-size: 13px; font-weight: 800; }

.ast-sand-back {
	float: right;
	margin: -3px 0 0 12px;
	padding: 6px 9px;
	border: 0;
	color: #ebcb8e;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
}

.ast-sand-back:hover { color: #fff; }

.ast-sand-questions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.ast-sand-question {
	position: relative;
	min-height: 54px;
	padding: 11px 40px 11px 14px;
	border: 1px solid rgba(231, 199, 136, .26);
	border-radius: 11px;
	color: #fff8e9;
	background: rgba(255, 255, 255, .045);
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.ast-sand-question::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 14px;
	color: #dfb96f;
	transform: translateY(-50%);
}

.ast-sand-question:hover,
.ast-sand-question:focus-visible {
	border-color: #e5bd72;
	background: rgba(191, 129, 52, .16);
}

.ast-sand-question--own { color: #efd397; }

.ast-sand-own-question {
	margin-top: 13px;
	padding: 14px;
	border: 1px solid rgba(230, 192, 116, .32);
	border-radius: 12px;
	background: rgba(0, 0, 0, .17);
}

.ast-sand-own-question label {
	display: block;
	margin-bottom: 7px;
	color: #f0d49d;
	font-size: 13px;
	font-weight: 800;
}

.ast-sand-own-question textarea {
	display: block;
	width: 100%;
	min-height: 66px;
	padding: 11px 12px;
	border: 1px solid rgba(236, 208, 151, .42);
	border-radius: 8px;
	color: #fff;
	background: rgba(1, 17, 21, .78);
	font: 16px/1.45 Arial, sans-serif;
	resize: vertical;
}

.ast-sand-own-question textarea:focus {
	border-color: #edc875;
	outline: 3px solid rgba(237, 200, 117, .18);
}

.ast-sand-own-question__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	color: #bfb39f;
	font-size: 12px;
}

.ast-sand-primary,
.ast-sand-secondary {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid #e2b45d;
	border-radius: 999px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 900;
	text-align: center;
	text-decoration: none !important;
}

.ast-sand-primary {
	color: #172022;
	background: linear-gradient(135deg, #ffe1a0, #cc903f);
	box-shadow: 0 8px 22px rgba(198, 130, 46, .24);
}

.ast-sand-primary:hover { background: linear-gradient(135deg, #fff0c4, #dda956); }
.ast-sand-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.ast-sand-secondary {
	color: #f6d99d !important;
	background: rgba(255, 255, 255, .04);
}

.ast-sand-secondary:hover { color: #fff !important; background: rgba(255, 255, 255, .09); }

.ast-sand-reading {
	display: flex;
	min-height: 134px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.ast-sand-reading p { margin: 0; color: #f0ddba; font-family: Georgia, serif; font-size: 21px; }

.ast-sand-reading__orb {
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(243, 209, 139, .3);
	border-radius: 50%;
	box-shadow: 0 0 22px rgba(226, 180, 93, .26);
}

.ast-sand-reading__orb::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 2px solid transparent;
	border-top-color: #f0cc83;
	border-radius: 50%;
	animation: ast-sand-spin 1s linear infinite;
}

@keyframes ast-sand-spin { to { transform: rotate(360deg); } }

.ast-sand-result {
	padding: 23px 26px 25px;
	border: 1px solid rgba(228, 188, 111, .54);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(6, 44, 48, .96), rgba(3, 25, 30, .98));
	box-shadow: 0 24px 58px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .05);
}

.ast-sand-result__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ast-sand-result__sign {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border: 1px solid #dcb368;
	border-radius: 50%;
	color: #f3d18c;
	font-family: Georgia, serif;
	font-size: 29px;
	box-shadow: inset 0 0 20px rgba(218, 166, 76, .12), 0 0 20px rgba(218, 166, 76, .1);
}

.ast-sand-result__head p,
.ast-sand-result__head h2 { margin: 0; }
.ast-sand-result__head p { color: #d5ad67; font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ast-sand-result__head h2 { color: #fff8e8; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }

.ast-sand-result blockquote {
	margin: 17px 0 14px;
	padding: 0;
	border: 0;
	color: #fff9ed;
	font-family: Georgia, serif;
	font-size: clamp(18px, 2.2vw, 22px);
	font-style: normal;
	line-height: 1.55;
}

.ast-sand-result__insight {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 12px 14px;
	border: 1px solid rgba(225, 184, 104, .22);
	border-radius: 10px;
	background: rgba(232, 190, 112, .06);
}

.ast-sand-result__insight span { color: #e4be75; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ast-sand-result__insight p { margin: 0; color: #e8ddcc; font-size: 14px; line-height: 1.5; }

.ast-sand-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 16px;
}

.ast-sand-a11y {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.ast-sand-explainer,
.ast-sand-faq {
	margin-top: 54px;
}

.ast-sand-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ast-sand-steps article {
	padding: 24px;
	border: 1px solid #d8e3e0;
	border-radius: 14px;
	background: #f5f9f8;
}

.ast-sand-steps article > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	border-radius: 50%;
	color: #fff;
	background: #075f65;
	font-weight: 900;
}

.ast-sand-steps h3 { margin: 0 0 7px; }
.ast-sand-steps p { margin: 0; }

.ast-sand-note {
	margin-top: 20px;
	padding: 18px 20px;
	border-left: 4px solid #c8a45b;
	border-radius: 0 10px 10px 0;
	background: #fff9ed;
}

.ast-sand-faq__items { display: grid; gap: 10px; }
.ast-sand-faq__items details { padding: 17px 19px; border: 1px solid #d8e2df; border-radius: 11px; background: #fff; }
.ast-sand-faq__items summary { cursor: pointer; color: #123d43; font-weight: 800; }
.ast-sand-faq__items p { margin: 11px 0 0; color: #4e4540; line-height: 1.65; }

.ast-sand-category:focus-visible,
.ast-sand-question:focus-visible,
.ast-sand-primary:focus-visible,
.ast-sand-secondary:focus-visible,
.ast-sand-back:focus-visible {
	outline: 3px solid #f4d18d;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.ast-sand-stage { min-height: 0; }
	.ast-sand-stage__halo { width: 530px; max-width: 78vw; }
	.ast-sand-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.ast-sand-page { padding-left: 12px; padding-right: 12px; }
	.ast-sand-intro { margin-bottom: 18px; }
	.ast-sand-stage { min-height: 0; margin-inline: 0; border-radius: 17px; }
	.ast-sand-stage::before { inset: 7px; border-radius: 12px; }
	.ast-sand-stage__topline { top: 20px; left: 20px; right: 18px; }
	.ast-sand-stage__topline > span:nth-child(2) { font-size: 10px; letter-spacing: .12em; }
	.ast-sand-whisper { top: 79px; width: calc(100% - 36px); }
	.ast-sand-whisper strong { font-size: 25px; }
	.ast-sand-whisper p { font-size: 14px; }
	.ast-sand-stage__halo { top: 125px; width: 430px; max-width: 92vw; }
	.ast-sand-controls,
	.ast-sand-result { width: calc(100% - 24px); margin: 555px auto 15px; }
	.ast-sand-panel,
	.ast-sand-result { padding: 18px 15px; border-radius: 14px; }
	.ast-sand-panel h2 { margin-bottom: 13px; font-size: 21px; }
	.ast-sand-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
	.ast-sand-category { min-height: 64px; font-size: 16px; }
	.ast-sand-category span:first-child { font-size: 22px; }
	.ast-sand-category span:last-child { font-size: 12px; }
	.ast-sand-questions { grid-template-columns: 1fr; max-height: 314px; overflow-y: auto; padding-right: 3px; }
	.ast-sand-question { min-height: 51px; font-size: 16px; }
	.ast-sand-back { font-size: 16px; }
	.ast-sand-primary,
	.ast-sand-secondary { width: 100%; font-size: 16px; }
	.ast-sand-own-question__footer { align-items: stretch; flex-direction: column; }
	.ast-sand-result__head h2 { font-size: 20px; }
	.ast-sand-result blockquote { font-size: 17px; line-height: 1.48; }
	.ast-sand-result__insight { grid-template-columns: 1fr; gap: 5px; }
	.ast-sand-result__insight p { font-size: 14px; }
	.ast-sand-result__actions { display: grid; }
	.ast-sand-steps { grid-template-columns: 1fr; }
	.ast-sand-explainer,
	.ast-sand-faq { margin-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
	.ast-sand-stage__sky span,
	.ast-sand-stage__halo::before,
	.ast-sand-stage__halo::after,
	.ast-sand-reading__orb::before { animation: none !important; }
	.ast-sand-panel,
	.ast-sand-result { animation-duration: .01ms !important; }
}
