/**
 * Feature page sections, shared by the overview and every feature page. Ported from the approved
 * mockups (site/mockups/feature-*.html). Each page adds its own file after this one.
 */

/* Resets site.css leaves to the homepage, which has no lists, video or options. */
:root :where(.purplish-site dl, .purplish-site dd) { margin: 0; }
:root :where(.purplish-site video) { display: block; max-width: 100%; height: auto; }
.img-pos-65-50 img { object-position: 65% 50%; }
/* The mockups' covers keep their text at the start, where core centers it. */
.purplish-site main .wp-block-cover { justify-content: flex-start; }

.sheet-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 8px 12px; }
.sheet-menu__close { width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--text); }
.hero { position: relative; padding: clamp(128px, 14vw, 160px) 0 0; background: radial-gradient(70% 60% at 50% 0%, rgba(143, 67, 238, 0.55), transparent 70%), linear-gradient(180deg, var(--plum) 0%, var(--night) 100%); color: #fff; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(120px, 18vw, 260px); background: #fff; z-index: -1; }
.hero__text { max-width: 900px; text-align: center; }
:root .hero__text { margin: 0 auto; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.hero__sub { max-width: 620px; color: #d9cdf3; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
:root .hero__sub { margin: 22px auto 0; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
:root .hero__cta { margin-top: 34px; }
.hero__note { color: #b6a7d8; font-size: 0.9375rem; }
:root .hero__note { margin-top: 18px; }
.showcase { position: relative; max-width: 920px; }
:root .showcase { margin: clamp(48px, 6vw, 64px) auto 0; }
.browser { position: relative; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #faf9fc; }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcd7e4; }
.browser__url { flex: 1; max-width: 420px; padding: 5px 14px; border-radius: 8px; background: #f0edf5; color: var(--muted); font-size: 0.8125rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root .browser__url { margin: 0 auto; }
.browser__dots + .browser__url { margin-right: calc(42px + 14px); }
.float { position: absolute; z-index: 2; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); box-shadow: var(--shadow); font-size: 0.875rem; }
.field-label { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
:root .field-label { margin-bottom: 8px; }
.select { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid #d6cfe3; border-radius: 8px; }
.sec { padding: var(--space) 0; }
.sec--soft { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--flip .split__text { order: 2; }
:root .split__text .lead { margin-top: 20px; }
.checks { display: grid; gap: 14px; }
:root .checks { margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { flex: none; color: var(--purple); }
:root .checks svg { margin-top: 2px; }
.step-list { display: grid; gap: 26px; }
:root .step-list { margin-top: 36px; }
.step-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--purple); }
.step-list b { display: block; font-size: 1.125rem; font-weight: 600; }
:root .step-list b { margin-bottom: 4px; }
.step-list p { color: var(--muted); }
.note { padding: 16px 18px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 0.9375rem; }
:root .note { margin-top: 30px; }
.editor { position: relative; padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: linear-gradient(165deg, #f8f5ff, #ece3fd); }
.opts { border-top: 1px solid var(--line); }
:root .opts { margin-top: 30px; }
.opts div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.opts dt { font-weight: 600; }
.opts dd { color: var(--muted); text-wrap: pretty; }
.opts__foot { color: var(--muted); font-size: 0.9375rem; }
:root .opts__foot { margin-top: 18px; }
.sec--soft .opts, .sec--soft .opts div { border-color: #e2dcec; }
.clip { position: relative; max-width: 560px; margin-inline: auto; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.clip video { width: 100%; aspect-ratio: 1; object-fit: cover; }
.clip .tag { left: calc(3.4% + 10px); top: calc(3.4% + 10px); }
.replay { position: absolute; right: calc(3.4% + 10px); top: calc(3.4% + 10px); z-index: 2; display: inline-flex; min-height: 34px; align-items: center; gap: 8px; padding: 0 14px 0 10px; border: 1.5px solid #d6cfe3; border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow); transition: border-color 0.2s ease, opacity 0.3s ease, translate 0.4s var(--ease-out); }
.replay:hover { border-color: var(--purple-hover); }
.replay svg { color: var(--purple); }
.replay[hidden] { display: inline-flex; opacity: 0; translate: 0 -8px; pointer-events: none; visibility: hidden; }
.tag { position: absolute; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(26, 21, 48, 0.86); color: #fff; font-size: 0.8125rem; font-weight: 500; }
.stack { position: relative; padding: 0 0 26% 0; }
.stack__back, .stack__front { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
:root .stack__back, :root .stack__front { margin: 0; }
.stack__back { width: 68%; }
.stack__front { position: absolute; right: 0; bottom: 0; width: 68%; box-shadow: var(--shadow-lg); }
.stack__back .tag { left: 14px; top: 14px; }
.stack__front .tag { right: 14px; top: 14px; background: var(--purple); }
.switches { display: grid; gap: 0; border-top: 1px solid var(--line); }
.switches li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.switches svg { color: var(--purple); }
:root .switches svg { margin-top: 3px; }
.switches b { display: block; font-size: 1.125rem; font-weight: 600; }
.switches p { color: var(--muted); }
:root .switches p { margin-top: 4px; }
:root .split__text .switches { margin-top: 30px; }
.new { margin-left: 6px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.photo { position: relative; max-width: 600px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
:root .photo { margin: 0 auto; }
.know__head { max-width: 640px; }
:root .know__head .lead { margin-top: 20px; }
.know { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
:root .know { margin-top: clamp(40px, 5vw, 56px); }
.know li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 24px 0; border-top: 1px solid #e2dcec; }
.know svg { color: var(--purple); }
:root .know svg { margin-top: 3px; }
.know b { display: block; font-size: 1.125rem; font-weight: 600; }
.know p { color: var(--muted); }
:root .know p { margin-top: 4px; }
.more { padding: clamp(64px, 8vw, 96px) 0 0; }
.more h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
:root .more ul { margin-top: 32px; }
.more a { display: block; padding: 22px 0 4px; border-top: 2px solid var(--text); }
.more a b { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; transition: color 0.2s ease; }
.more a svg { flex: none; transition: translate 0.3s var(--ease-out); }
.more a span { display: block; color: var(--muted); font-size: 1rem; line-height: 1.5; }
:root .more a span { margin-top: 6px; }
.more a:hover b { color: var(--purple-deep); }
.more a:hover svg { translate: 4px 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
:root .faq__intro .lead { margin-top: 20px; }
:root .faq__intro .wp-block-buttons { margin-top: 30px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 20px; height: 20px; background: linear-gradient(var(--text), var(--text)) center / 13.4px 1.2px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.2px 13.4px no-repeat; transition: background-size 0.35s var(--ease-out); }
.qa[open] summary::after { background-size: 13.4px 1.2px, 1.2px 0; }
.qa p { padding: 0 56px 28px 0; color: var(--muted); font-size: 1.0625rem; }
:root .qa p { margin-top: -6px; }
.qa summary:hover { color: var(--purple-deep); }
.qa p a:not([class]) { color: var(--purple-deep); text-decoration: underline; text-decoration-color: var(--line-hover); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.2s ease; }
.qa p a:not([class]):hover { color: var(--purple); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.closing { padding: 0 0 var(--space); }
.cta { position: relative; padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 64px); border-radius: 32px; background: radial-gradient(60% 90% at 50% 0%, rgba(143, 67, 238, 0.6), transparent 70%), linear-gradient(180deg, var(--plum), var(--night)); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta h2 { max-width: 760px; }
:root .cta h2 { margin: 0 auto; }
.cta p { max-width: 560px; color: #d9cdf3; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); text-wrap: pretty; }
:root .cta p { margin: 20px auto 0; }
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
:root .cta__buttons { margin-top: 36px; }
.cta .cta__note { color: #b6a7d8; font-size: 0.9375rem; }
:root .cta .cta__note { margin-top: 18px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: 36px 0 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer__links a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--purple-deep); }
@media (prefers-reduced-motion: no-preference) {
	.js .hero__text > * { opacity: 0; animation: up 0.9s var(--ease-out) forwards; }
	.js .hero__text > :nth-child(2) { animation-delay: 0.1s; }
	.js .hero__text > :nth-child(3) { animation-delay: 0.2s; }
	.js .hero__text > :nth-child(4) { animation-delay: 0.28s; }
	.js .showcase .browser { opacity: 0; animation: rise 1.3s var(--ease-out) 0.35s forwards; }
	.js .showcase .float { opacity: 0; animation: pop 0.8s var(--ease-out) 1.05s forwards; }
	.js .stack__front { translate: 60px 40px; opacity: 0; transition: translate 1.1s var(--ease-out) 0.35s, opacity 0.8s ease 0.35s; }
	.js .is-in .stack__front { translate: 0 0; opacity: 1; }
	@media (max-width: 900px) {
		.js .stack__front:not(.is-in *) { translate: 0 40px; }
	}
	.js .ring { clip-path: inset(0 100% 100% 0 round 12px); transition: clip-path 1.2s var(--ease-out) 0.7s; }
	.js .is-in .ring { clip-path: inset(0 0 0 0 round 12px); }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; }; }
@keyframes rise { from { opacity: 0; translate: 0 90px; } to { opacity: 1; translate: 0 0; }; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; }; }
@media (max-width: 900px) {
	.split, .split--flip, .faq__grid { grid-template-columns: minmax(0, 1fr); }
	.split--flip .split__text { order: 0; }
	.know, .more ul { grid-template-columns: minmax(0, 1fr); }
	.know li:last-child { border-bottom: 1px solid #e2dcec; }
}
@media (max-width: 600px) {
	.hero__cta .wp-block-button, .hero__cta .wp-block-button__link { width: 100%; }
	:root .showcase { margin-top: 48px; }
	.browser__bar { height: 34px; padding: 0 10px; }
	.browser__dots i { width: 8px; height: 8px; }
	.browser__url { font-size: 0.6875rem; padding: 3px 10px; }
	.browser__dots + .browser__url { margin-right: 0; }
	.opts div { grid-template-columns: minmax(0, 1fr); padding: 12px 0; }
	.stack { padding-bottom: 30%; }
	.stack__back, .stack__front { width: 76%; }
	.hero h1 { font-size: 2.125rem; }
	.tag { padding: 5px 10px; font-size: 0.75rem; }
	.qa summary { padding: 22px 0; }
	.qa p { padding-right: 0; }
	.cta__buttons .wp-block-button, .cta__buttons .wp-block-button__link { width: 100%; }
}
