/* ==========================================================================
   Agethera — Cosmic Time Journey
   Colors are CSS variables (overridable from Customizer).
   ========================================================================== */
:root {
	--plum: #402654;
	--lavender: #8B6BCB;
	--lilac: #C5A9E8;
	--gold: #D7B77A;
	--ivory: #FAF7FF;
	--midnight: #140D2D;
	--nebula: #301B54;
	--gold-light: #F3DDA8;
	--ink: #2A1B3D;
	--muted: #6B5C80;
	--line: #E7DDF7;
	--white: #fff;
	--rose: #F7D6E0;
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 18px 50px -20px rgba(64, 38, 84, .35);
	--shadow-sm: 0 8px 24px -12px rgba(64, 38, 84, .3);
	--font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--container: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--ivory);
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--plum); margin: 0 0 .5em; font-weight: 700; }
h3 { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.35; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold); color: var(--midnight); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.accent { color: var(--lavender); font-style: italic; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); background: rgba(139, 107, 203, .12); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold); background: none; padding: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
	min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: .88rem; }
.btn--primary { background: linear-gradient(135deg, var(--lavender), var(--plum)); color: #fff; box-shadow: 0 10px 24px -10px rgba(64, 38, 84, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(64, 38, 84, .8); }
.btn--gold { background: linear-gradient(135deg, #F6E3B4, var(--gold)); color: var(--midnight); box-shadow: 0 10px 28px -10px rgba(215, 183, 122, .7); }
.btn--gold:hover { color: var(--midnight); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { color: #fff; background: var(--midnight); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--lavender); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	transition: background .3s, box-shadow .3s, padding .3s;
	padding: 14px 0;
}
.site-header.is-scrolled, body:not(.is-home) .site-header { background: rgba(20, 13, 45, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); padding: 8px 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand__icon { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(139, 107, 203, .5)); }
.brand__name { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 9px 16px; border-radius: 999px; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .92rem; font-weight: 500; transition: background .2s, color .2s; }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { color: #fff; background: rgba(139, 107, 203, .35); box-shadow: inset 0 0 0 1px rgba(197, 169, 232, .35); }
.nav-toggle { display: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; width: 46px; height: 46px; border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
[aria-expanded="true"] .nav-toggle__open { display: none; }
[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 80% at 75% 20%, var(--nebula) 0%, var(--midnight) 60%); color: #fff; padding: 130px 0 150px; overflow: hidden; isolation: isolate; }
.hero__sky, .countdown__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars { position: absolute; inset: 0; background-repeat: repeat; }
.stars--1 { background-image: radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 90px 120px, #E9DBFF, transparent), radial-gradient(1.5px 1.5px at 160px 60px, #F3DDA8, transparent), radial-gradient(1px 1px at 230px 170px, #fff, transparent); background-size: 260px 220px; opacity: .7; }
.stars--2 { background-image: radial-gradient(1px 1px at 50px 80px, #fff, transparent), radial-gradient(1.4px 1.4px at 140px 20px, #C5A9E8, transparent), radial-gradient(1px 1px at 300px 140px, #fff, transparent); background-size: 340px 260px; opacity: .55; animation: drift 80s linear infinite; }
.nebula { position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -15vw; top: -20vw; background: radial-gradient(closest-side, rgba(139, 107, 203, .45), rgba(48, 27, 84, .2) 60%, transparent); filter: blur(10px); }
@keyframes drift { to { background-position: -340px 260px; } }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; margin-bottom: 20px; }
.hero__title em { color: var(--gold); font-style: italic; }
.hero__text { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .85); }
.trust .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid rgba(215, 183, 122, .5); color: var(--gold); flex-shrink: 0; }
.hero__art { position: relative; }
.hourglass-art { width: 100%; max-width: 500px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(139, 107, 203, .35)); }
.hero__script { position: absolute; right: 0; top: 34%; font-family: var(--font-head); font-style: italic; color: rgba(255, 255, 255, .9); font-size: 1.25rem; line-height: 1.35; text-align: right; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.orbit--a { transform-origin: 240px 280px; animation: spin 60s linear infinite; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
.sand-stream { animation: pour 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 50% { opacity: .35; } }
@keyframes pour { 0% { opacity: .5; } 50% { opacity: 1; } 100% { opacity: .5; } }

/* ---------- Glass card / calculator ---------- */
.card-glass { background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(246, 240, 255, .92)); border: 1px solid rgba(197, 169, 232, .55); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.calc-wrap { position: relative; z-index: 3; margin-top: -110px; }
.calc { position: relative; padding: 34px 40px; overflow: hidden; }
.calc::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(215, 183, 122, .45); box-shadow: 0 0 0 18px rgba(215, 183, 122, .07); pointer-events: none; }
.calc__deco { position: absolute; left: 28px; top: 28px; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--lilac), var(--lavender)); box-shadow: 0 10px 24px -8px rgba(139, 107, 203, .6); transform: rotate(-8deg); }
.calc__head { text-align: center; margin-bottom: 22px; }
.calc__head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.calc__head p { color: var(--muted); margin: 0; font-size: .95rem; }
.calc__row { display: flex; align-items: flex-end; gap: 16px; max-width: 860px; margin: 0 auto; }
.calc__row--2 { display: grid; grid-template-columns: 1fr 1fr auto; }
.dmy { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
	border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600;
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { font-weight: 400; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(139, 107, 203, .18); }
.calc__btn { flex-shrink: 0; min-height: 50px; border-radius: var(--radius-sm); padding: 0 28px; }
.form-error { color: #B42355; background: #FDEEF3; border: 1px solid #F6C8D6; padding: 10px 14px; border-radius: 12px; font-size: .9rem; max-width: 860px; margin: 16px auto 0; }
.check { display: flex; align-items: center; gap: 10px; max-width: 860px; margin: 16px auto 0; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--lavender); }

/* ---------- Results ---------- */
.results { margin-top: 26px; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, #EFE6FC, #F6F0FF); border: 1px solid var(--line); text-align: center; }
.results--flat { margin: 24px 0 0; background: rgba(239, 230, 252, .6); }
.results__title { font-family: var(--font-head); font-size: 1.5rem; color: var(--plum); margin-bottom: 4px; }
.results__sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.results__extra { margin: 20px 0 0; font-weight: 600; color: var(--plum); }
.results.is-shown .stat { animation: pop .5s var(--ease) both; }
.results.is-shown .stat:nth-child(2) { animation-delay: .07s; }
.results.is-shown .stat:nth-child(3) { animation-delay: .14s; }
.results.is-shown .stat:nth-child(4) { animation-delay: .21s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: #fff; border-radius: 18px; padding: 18px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; box-shadow: var(--shadow-sm); }
.stat__ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #EDE4FB; color: var(--lavender); }
.stat__ico--rose { background: var(--rose); color: #C2557A; }
.stat__ico--gold { background: #F8EED9; color: #A8823C; }
.stat strong { font-size: 1.85rem; line-height: 1; color: var(--plum); font-variant-numeric: tabular-nums; font-family: var(--font-body); }
.stat > span:last-child { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 44px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); margin: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .78); }
.section-head--left { text-align: left; margin: 0 0 28px; }
.h-sub { font-size: 1.6rem; margin-bottom: 20px; }

/* Features bento */
.features { background: radial-gradient(60% 50% at 0% 30%, rgba(197, 169, 232, .25), transparent), radial-gradient(50% 40% at 100% 70%, rgba(215, 183, 122, .14), transparent); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; align-items: center; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); font-size: .92rem; flex: 1; }
.feature__ico { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 18px; }
.feature--1 .feature__ico { background: linear-gradient(135deg, #EDE4FB, #D9C7F5); color: var(--plum); }
.feature--2 .feature__ico { background: linear-gradient(135deg, #DDF3EF, #BFE7E0); color: #2D7D72; }
.feature--3 .feature__ico { background: linear-gradient(135deg, #E6E9FB, #CDD3F6); color: #4D4FA8; }
.feature--4 .feature__ico { background: linear-gradient(135deg, #FCE7EE, var(--rose)); color: #B3456B; }

/* About */
.about { background: linear-gradient(180deg, var(--ivory), #F1E9FC); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about__art { position: relative; }
.about__art::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(197, 169, 232, .55), transparent); z-index: -1; }
.journey-art { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(64, 38, 84, .3)); }
.about__copy h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
.about__copy h2 .accent { display: block; }
.about__copy > p { color: var(--muted); font-size: 1.02rem; }
.perks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perks li { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: var(--muted); }
.perks strong { color: var(--plum); font-size: 1rem; }
.perks__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--lavender); margin-bottom: 8px; }
.perks li:nth-child(1) .perks__ico { color: #C79A45; }
.perks li:nth-child(4) .perks__ico { color: #D46A3F; }

/* How */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -34px; top: 50%; width: 28px; height: 2px; background: linear-gradient(90deg, var(--lilac), var(--lavender)); }
.step__num { position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.step__ico { display: inline-grid; place-items: center; width: 60px; height: 60px; color: var(--lavender); margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.steps--compact { gap: 20px; }
.steps--compact .step { padding: 22px 20px 22px 62px; text-align: left; }
.steps--compact .step::after { display: none; }
.steps--compact .step__num { top: 50%; transform: translateY(-50%); }
.steps--compact p { color: var(--ink); font-weight: 500; }

/* Countdown */
.countdown { background: radial-gradient(80% 90% at 50% 0%, var(--nebula), var(--plum) 55%, var(--midnight)); color: #fff; overflow: hidden; isolation: isolate; }
.cd-card { position: relative; max-width: 960px; margin: 0 auto; padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 22px 30px; align-items: center; }
.cd-card__info { display: flex; align-items: center; gap: 18px; }
.cd-card__ico { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #EDE4FB; color: var(--plum); }
.cd-card__label { margin: 0; font-weight: 700; color: var(--plum); }
.cd-card__date { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.cd-card__note { margin: 6px 0 0; font-size: .82rem; color: #A8823C; }
.cd-card__cta { grid-column: 1 / -1; justify-self: center; }
.cd-card__cta[hidden] { display: none; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 84px); gap: 12px; }
.cd-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; text-align: center; box-shadow: var(--shadow-sm); }
.cd-box strong { display: block; font-size: 1.7rem; color: var(--plum); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: .78rem; color: var(--muted); }
.cd-grid--light { margin: 22px auto 0; justify-content: center; }
.gifts { position: absolute; right: 3%; bottom: 0; display: flex; align-items: flex-end; gap: 6px; opacity: .9; z-index: -1; }
.gifts span { display: block; border-radius: 8px; background: linear-gradient(135deg, var(--lilac), var(--lavender)); position: relative; }
.gifts span::before { content: ""; position: absolute; left: 45%; top: 0; bottom: 0; width: 10%; background: var(--gold); }
.gifts span::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 10%; background: var(--gold); }
.gifts span:nth-child(1) { width: 70px; height: 70px; }
.gifts span:nth-child(2) { width: 100px; height: 110px; background: linear-gradient(135deg, #9F80DA, var(--plum)); }
.gifts span:nth-child(3) { width: 56px; height: 54px; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.insight:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight__art { height: 150px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.insight__art::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 0 0 26px rgba(255, 255, 255, .06), 0 0 0 52px rgba(255, 255, 255, .04); }
.insight__art .icon { position: relative; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.insight__art--1 { background: linear-gradient(135deg, var(--plum), var(--lavender)); }
.insight__art--2 { background: linear-gradient(135deg, var(--nebula), #6E57B8); }
.insight__art--3 { background: linear-gradient(135deg, #8B6BCB, #D7B77A); }
.insight__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.insight__body h3 { font-family: var(--font-head); font-size: 1.2rem; }
.insight__body p { color: var(--muted); font-size: .92rem; flex: 1; }

/* FAQ */
.faq-sec { background: linear-gradient(180deg, #F4EEFC, var(--ivory)); }
.faq-sec__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 14px -10px rgba(64, 38, 84, .3); overflow: hidden; }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--plum); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { flex-shrink: 0; color: var(--lavender); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 4px; color: var(--muted); animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }
.ask-card { position: sticky; top: 110px; border-radius: var(--radius); padding: 34px 28px; background: linear-gradient(160deg, #fff, #EDE4FB); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ask-card__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #F8EED9, var(--gold)); color: var(--plum); margin-bottom: 18px; }
.ask-card h3 { font-family: var(--font-head); font-size: 1.4rem; }
.ask-card p { color: var(--muted); font-size: .92rem; }

/* Final CTA */
.final-cta { padding: 20px 0 96px; background: var(--ivory); }
.final-cta__inner { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 32px; background: linear-gradient(120deg, var(--lilac) 0%, #E6D7F7 45%, #F4E4C2 100%); box-shadow: var(--shadow); }
.final-cta__orbit { position: absolute; inset: -40% -10%; border-radius: 50%; border: 1px solid rgba(64, 38, 84, .15); box-shadow: 0 0 0 40px rgba(255, 255, 255, .12), inset 0 0 0 60px rgba(255, 255, 255, .08); pointer-events: none; }
.final-cta h2 { position: relative; font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 720px; margin: 0 auto 12px; }
.final-cta p { position: relative; color: var(--plum); opacity: .85; margin-bottom: 26px; }
.final-cta .btn { position: relative; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(100% 120% at 80% 0%, var(--nebula), var(--midnight) 70%); padding: 130px 0 100px; }
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 10px 0 12px; }
.page-hero__lead { color: rgba(255, 255, 255, .82); max-width: 680px; font-size: 1.05rem; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.tool-wrap { position: relative; z-index: 3; margin-top: -60px; }
.tool { padding: 32px 36px; }
.tool__title { font-size: 1.5rem; text-align: center; margin-bottom: 20px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--lavender); }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.side-links { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-links__title { font-size: 1.15rem; }
.side-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--plum); font-weight: 600; transition: background .2s; }
.side-links a:hover { background: #F2EAFD; }
.side-links__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #EDE4FB; color: var(--lavender); }
.next-cta { padding: 40px 0 90px; }
.next-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 28px; padding: 44px; background: linear-gradient(120deg, var(--plum), var(--nebula)); color: #fff; box-shadow: var(--shadow); }
.next-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 6px; }
.next-cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 560px; }
.entry-meta { color: var(--muted); font-size: .85rem; }
.post-list { display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { text-decoration: none; color: var(--plum); }

/* Contact */
.contact-block { margin-top: 26px; }
.contact-form { padding: 32px; display: grid; gap: 18px; }
.contact-form .form-error { margin: 0; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 14px; margin: 26px 0 0; font-weight: 600; }
.notice--success { background: #E8F7EF; color: #1F7A4D; border: 1px solid #BDE6CF; }
.notice--error { background: #FDEEF3; color: #B42355; border: 1px solid #F6C8D6; }

/* 404 */
.hero--404 { min-height: 80vh; display: flex; align-items: center; }
.notfound { text-align: center; }
.notfound__code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--gold-light), var(--lavender)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { color: #fff; }
.notfound p { color: rgba(255, 255, 255, .8); }
.notfound .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--midnight); color: rgba(255, 255, 255, .78); padding: 76px 0 0; font-size: .92rem; }
.footer-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 30px 40px, rgba(255, 255, 255, .6), transparent), radial-gradient(1.3px 1.3px at 150px 110px, rgba(215, 183, 122, .7), transparent); background-size: 220px 180px; opacity: .5; pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col--brand p { max-width: 320px; margin-top: 16px; }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: var(--gold); }
.footer-title { font-family: var(--font-body); font-size: 1rem; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact:hover { color: var(--gold); }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; }
.footer-muted { color: rgba(255, 255, 255, .55); font-size: .85rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .2s, border-color .2s, transform .2s; }
.social a:hover { background: var(--lavender); border-color: var(--lavender); transform: translateY(-3px); color: #fff; }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 22px; padding-bottom: 26px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.site-footer__bottom p { margin: 0; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--lavender), var(--plum)); color: #fff; box-shadow: 0 12px 26px -10px rgba(64, 38, 84, .8); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; }
.no-js .back-to-top { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav__list a { padding: 8px 11px; font-size: .88rem; }
	.nav { gap: 12px; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.perks { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 18px;
		padding: 90px 22px 30px; background: var(--midnight); box-shadow: -20px 0 50px rgba(0, 0, 0, .5);
		transform: translateX(105%); transition: transform .35s var(--ease); visibility: hidden;
	}
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-toggle { position: relative; z-index: 2; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 12px 16px; font-size: 1rem; }
	.nav-open { overflow: hidden; }
	.no-js .nav { position: static; transform: none; visibility: visible; width: auto; padding: 0; background: none; box-shadow: none; }
	.hero { padding: 110px 0 140px; }
	.hero__grid, .about__grid, .faq-sec__grid, .content-grid { grid-template-columns: 1fr; }
	.hero__art { max-width: 420px; margin: 0 auto; order: -1; }
	.hero__copy { text-align: center; }
	.hero__text { margin-left: auto; margin-right: auto; }
	.hero__actions, .trust { justify-content: center; }
	.hero__script { font-size: 1rem; top: 40%; }
	.calc__row, .calc__row--2 { flex-direction: column; align-items: stretch; display: flex; }
	.calc__deco { display: none; }
	.steps { grid-template-columns: 1fr; gap: 20px; }
	.step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; width: 2px; height: 12px; }
	.insight-grid { grid-template-columns: 1fr; }
	.cd-card { grid-template-columns: 1fr; }
	.ask-card, .side-links { position: static; }
	.next-cta__inner { flex-direction: column; align-items: flex-start; padding: 32px; }
	.about__art { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
	body { font-size: 15px; }
	.container { padding: 0 16px; }
	.section { padding: 70px 0; }
	.brand__name { font-size: 1.25rem; }
	.brand__icon { width: 40px; height: 40px; }
	.calc, .tool { padding: 26px 18px; }
	.dmy { grid-template-columns: 1fr 1fr; }
	.dmy .field:nth-child(2) { grid-column: 1 / -1; order: -1; }
	.stat-grid, .stat-grid--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.stat { grid-template-columns: 1fr; text-align: center; padding: 14px 10px; justify-items: center; row-gap: 6px; }
	.stat__ico { grid-row: auto; width: 42px; height: 42px; }
	.stat strong { font-size: 1.5rem; }
	.results { padding: 22px 14px; }
	.bento { grid-template-columns: 1fr; }
	.trust { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
	.cd-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.cd-box strong { font-size: 1.3rem; }
	.cd-card { padding: 22px 16px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.final-cta__inner { padding: 50px 20px; }
	.card-plain, .contact-form { padding: 24px 18px; }
	.gifts { transform: scale(.6); transform-origin: right bottom; }
	.hero__script { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WP admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar.is-scrolled-past .site-header { top: 0; } }

/* ---------- Posts ---------- */
.latest { background: var(--ivory); }
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; padding: 0; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: grid; place-items: center; height: 150px; color: #fff; position: relative; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 0 0 24px rgba(255,255,255,.06), 0 0 0 48px rgba(255,255,255,.04); }
.post-card__media .icon { position: relative; }
.post-card__media--1 { background: linear-gradient(135deg, var(--plum), var(--lavender)); }
.post-card__media--2 { background: linear-gradient(135deg, var(--nebula), #6E57B8); }
.post-card__media--3 { background: linear-gradient(135deg, #4D4FA8, var(--lilac)); }
.post-card__media--4 { background: linear-gradient(135deg, #B3456B, var(--gold)); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-family: var(--font-head); font-size: 1.15rem; margin: 10px 0 8px; }
.post-card__title a { color: var(--plum); text-decoration: none; }
.post-card__title a:hover { color: var(--lavender); }
.post-card__body > p { color: var(--muted); font-size: .9rem; flex: 1; }
.post-card .entry-meta { margin: 0; font-size: .8rem; }
.chip { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lavender); background: #EDE4FB; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.post-meta { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }
.post-meta a { color: var(--gold); }
.page-hero__inner.narrow { max-width: 900px; }
.prose h3 { font-family: var(--font-head); font-size: 1.25rem; margin-top: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: #F2EAFD; color: var(--plum); }
.prose blockquote { margin: 1.2em 0; padding: 16px 20px; border-left: 4px solid var(--gold); background: #FBF6EC; border-radius: 0 12px 12px 0; color: var(--plum); }
.prose ol { padding-left: 1.3em; }
.archive-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin-bottom: 26px; }
.archive-cta p { margin: 0; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--plum); color: #fff; }
@media (max-width: 1080px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .post-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid, .post-grid--3 { grid-template-columns: 1fr; } .prose table { display: block; overflow-x: auto; } }

/* Whole-card clickable */
.insight, .post-card { position: relative; }
.stretched { color: inherit; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.insight__body h3 a:hover, .post-card__title a:hover { color: var(--lavender); }
.chip--top { position: relative; z-index: 2; }
.insight .entry-meta { margin: 0 0 12px; font-size: .8rem; }
.center-cta { text-align: center; margin: 36px 0 0; }

/* =================== One-page layout =================== */
.anchor-sec, .art, [id^="alat-"] { scroll-margin-top: 84px; }
.admin-bar .anchor-sec, .admin-bar .art { scroll-margin-top: 116px; }
.narrow-wide { max-width: 1000px; }
.tool-sec { position: relative; }
.tool-sec--lilac { background: linear-gradient(180deg, #F1E9FC, var(--ivory)); }
.tool-sec__title { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.tool-sec__lead { color: var(--muted); font-size: 1.05rem; }
.tool-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tool-sec__grid--rev { grid-template-columns: 1.1fr .9fr; }
.tool-sec__tool { display: grid; gap: 22px; }
.tool-sec__tool--sticky { position: sticky; top: 100px; }
.tool-sec__tool .tool { padding: 28px; }
.tool-sec__tool .calc__row--2 { display: flex; flex-direction: column; align-items: stretch; }
.tool-sec__body { margin-top: 56px; }
.tool-sec__body--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.tool-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.mini-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.mini-steps__title, .tool-faq__title { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 12px; }
.mini-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.mini-steps li span { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.tool-faq { margin-top: 22px; }
.tool-faq .faq__q { padding: 14px 18px; font-size: .95rem; }
.tool-sec--dark .ut-tool { max-width: 960px; margin: 0 auto 40px; }
.tool-sec__grid--dark { grid-template-columns: 1.4fr 1fr; }
.tool-sec--dark .tool-faq__title { color: #fff; }
.tool-sec--dark .prose a { color: var(--lavender); }
.mini-steps--light { background: rgba(255,255,255,.96); }
.results__extra:empty { display: none; }

/* Articles (inline, full text) */
.articles { background: linear-gradient(180deg, var(--ivory), #F3ECFC 60%, var(--ivory)); }
.art-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -10px 0 34px; }
.chip-btn { border: 1px solid var(--line); background: #fff; color: var(--plum); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-btn span { opacity: .6; font-weight: 500; }
.chip-btn:hover { border-color: var(--lavender); }
.chip-btn.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.art-list { display: grid; gap: 26px; }
.art { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); padding: 34px 40px 26px; }
.art[hidden] { display: none; }
.art__head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.art__ico { flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; }
.art__ico--1 { background: linear-gradient(135deg, var(--plum), var(--lavender)); }
.art__ico--2 { background: linear-gradient(135deg, var(--nebula), #6E57B8); }
.art__ico--3 { background: linear-gradient(135deg, #4D4FA8, var(--lilac)); }
.art__ico--4 { background: linear-gradient(135deg, #B3456B, var(--gold)); }
.art__title { font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 8px 0 4px; }
.art__head .entry-meta { margin: 0; }
.art__body { position: relative; max-height: 260px; overflow: hidden; transition: max-height .5s var(--ease); }
.art__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; transition: opacity .3s; }
.art.is-open .art__body { max-height: none; }
.art.is-open .art__body::after { opacity: 0; }
.art__body h4 { font-family: var(--font-head); font-size: 1.3rem; color: var(--plum); margin: 1.3em 0 .5em; }
.art__body h5 { font-size: 1.05rem; color: var(--plum); margin: 1.1em 0 .4em; }
.art__toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; border: 0; background: #EDE4FB; color: var(--plum); font-weight: 700; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.art__toggle:hover { background: var(--lilac); }
.art__toggle .when-open { display: none; }
.art.is-open .art__toggle .when-open { display: inline; }
.art.is-open .art__toggle .when-closed { display: none; }
.art.is-open .art__toggle .icon { transform: rotate(45deg); }
.no-js .art__body { max-height: none; }
.no-js .art__body::after, .no-js .art__toggle { display: none; }

@media (max-width: 920px) {
	.tool-sec__grid, .tool-sec__grid--rev, .tool-sec__body--split, .tool-sec__grid--dark { grid-template-columns: 1fr; }
	.tool-sec__tool--sticky, .tool-aside { position: static; }
	.tool-sec__grid--rev .tool-sec__tool { order: -1; }
}
@media (max-width: 600px) {
	.art { padding: 24px 18px 20px; }
	.art__head { gap: 14px; }
	.art__ico { width: 48px; height: 48px; border-radius: 14px; }
}
