/*
Theme Name: Dispyro 3
Theme URI: https://dispyro.com
Author: Dispyro
Description: Dispyro 3, the Dispyro website theme with an animated, phone-friendly home page. Installs next to the earlier Dispyro themes without replacing them and copies their Customizer settings on first activation. Built-in SEO, structured data and llms.txt, light and dark mode, built for Dispyro Core (account, pricing, community, signing pages).
Version: 3.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: dispyro
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #F6F7FB;
	--bg-2: #EEF0F7;
	--surface: #FFFFFF;
	--ink: #121A26;
	--ink-2: #2A3646;
	--slate: #566176;
	--line: #E1E5EE;
	--line-strong: #C7CEDB;
	--ember: #F2541B;
	--ember-deep: #C93C0C;
	--btn-top: #D6460F;
	--btn-bottom: #C03709;
	--btn-glow: rgba(201, 60, 12, .8);
	--logo-h: 32px;
	--ember-text: #B9380B;
	--ember-soft: #FFE7DC;
	--peri: #7B83FF;
	--peri-soft: #E4E7FF;
	--mint-soft: #DDF5EC;
	--green: #137A50;
	--glass: rgba(255, 255, 255, .72);
	--shadow: 0 1px 2px rgba(18, 26, 38, .05), 0 12px 32px -16px rgba(18, 26, 38, .16);
	--radius: 16px;
	--wrap: 1160px;
	--font: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--display: "Space Grotesk", Inter, "Segoe UI", Arial, sans-serif;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0E131D;
	--bg-2: #121925;
	--surface: #151C29;
	--ink: #EDF0F6;
	--ink-2: #C9D0DC;
	--slate: #A3ADBF;
	--line: #273045;
	--line-strong: #36415A;
	--ember: #FF6B35;
	--ember-text: #FF8A5C;
	--ember-soft: #3A2219;
	--peri: #9AA1FF;
	--peri-soft: #222846;
	--mint-soft: #15322A;
	--green: #4CC994;
	--glass: rgba(14, 19, 29, .72);
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -18px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ember-text); text-underline-offset: 3px; }
a:hover { color: var(--ember); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 11px; font: 600 1rem/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; }
.btn--primary { background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 18px -10px var(--btn-glow); }
.btn--primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 22px -12px var(--btn-glow); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); background: var(--bg-2); }
.btn--quiet { color: var(--ink); padding-inline: 12px; }
.btn--quiet:hover { color: var(--ember-text); }
.btn--lg { padding: 15px 24px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.25rem var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: var(--logo-h); height: var(--logo-h); flex: none; }
.brand__logo { display: block; height: var(--logo-h); width: auto; max-width: 220px; object-fit: contain; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav ul { list-style: none; margin: 0 8px 0 0; padding: 0; display: flex; gap: 2px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav ul a:hover, .nav ul .current-menu-item > a { color: var(--ink); background: var(--bg-2); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px; padding: 9px 14px; font: 600 .95rem var(--font); cursor: pointer; }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle:hover { background: var(--bg-2); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1;
	background:
		radial-gradient(38% 46% at 82% 30%, color-mix(in srgb, var(--ember) 30%, transparent) 0%, transparent 70%),
		radial-gradient(34% 40% at 62% 78%, color-mix(in srgb, var(--peri) 32%, transparent) 0%, transparent 70%),
		radial-gradient(30% 36% at 12% 12%, var(--mint-soft) 0%, transparent 70%);
	filter: blur(10px);
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 85%); mask-image: linear-gradient(to bottom, #000 55%, transparent 85%); }
:root[data-theme="dark"] .hero::before { opacity: .55; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: 22px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); margin-bottom: 22px; box-shadow: var(--shadow); }
.hero .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--slate); }


/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin: 0; }

.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: story; border-top: 2px solid var(--ink); }
.story > div { counter-increment: story; padding: 22px 26px 0 0; }
.story > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.story > div::before { content: counter(story); display: block; font: 700 2.6rem/1 var(--display); color: var(--ember); margin-bottom: 14px; }
.story p { color: var(--slate); margin: 0; }
.stat-line { margin-top: 48px; display: flex; gap: 22px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-line strong { font: 700 2.6rem/1 var(--display); color: var(--ember-text); flex: none; }
.stat-line p { margin: 0; color: var(--ink-2); }
.stat-line small { display: block; color: var(--slate); font-size: .82rem; margin-top: 4px; }

.shields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shield { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.shield:nth-child(1) { background: linear-gradient(160deg, var(--peri-soft), var(--surface) 60%); }
.shield:nth-child(2) { background: linear-gradient(160deg, var(--ember-soft), var(--surface) 60%); grid-row: span 2; }
.shield:nth-child(3) { background: linear-gradient(160deg, var(--mint-soft), var(--surface) 60%); }
.shield__tag { display: inline-block; font-size: .84rem; font-weight: 600; color: var(--ember-text); margin-bottom: 10px; }
.shield p, .shield li { color: var(--ink-2); }
.shield ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.shield:last-child { grid-column: 1 / -1; background: linear-gradient(120deg, #1A2233, #121A26 70%); border-color: #273045; }
.shield:last-child h3 { color: #fff; }
.shield:last-child p { color: #C9D0DC; max-width: 62ch; margin: 0; }
.shield:last-child .shield__tag { color: #FF8A5C; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--bg); font: 700 1.1rem var(--display); }
.steps li::after { content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--slate); margin: 0; }

.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.platform { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.platform h3 { margin: 0; }
.platform p { color: var(--slate); font-size: .95rem; margin: 0; flex: 1; }
.platform .how { font-size: .86rem; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.platform .dsp-btn, .platform .btn { align-self: flex-start; }

.community-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.community-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.community-band li { padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.community-band li span { color: var(--slate); font-weight: 400; font-size: .88rem; white-space: nowrap; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.4rem/1 var(--display); color: var(--ember-text); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

.cta-band { padding: 0 0 96px; }
.cta-band .box { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(130deg, #1A2233 0%, #121A26 60%); color: #EDF0F6; isolation: isolate; }
.cta-band .box::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--ember) 55%, transparent), transparent 65%); }
.cta-band .box::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: 30%; bottom: -300px; background: radial-gradient(circle, rgba(123, 131, 255, .4), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 8px; max-width: 18ch; }
.cta-band p { color: #C9D0DC; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Inner pages ---------- */
.page-head { position: relative; padding: 64px 0 36px; isolation: isolate; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 90% 0%, var(--ember-soft), transparent 70%), radial-gradient(40% 140% at 0% 0%, var(--peri-soft), transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.content-area--app { padding-top: 48px; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0; max-width: 20ch; }
.page-head p { color: var(--slate); font-size: 1.1rem; margin: 12px 0 0; max-width: 40em; }
.page-head .meta { display: block; color: var(--slate); font-size: .92rem; margin-bottom: 10px; }
.page-head--compact { padding: 40px 0 20px; }
.page-head--compact h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.content-area { padding: 28px 0 88px; }
.entry { max-width: 740px; margin: 0; }
.entry--wide { max-width: none; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ember); color: var(--ink-2); }
.entry-content pre, .entry-content code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-2); border-radius: 6px; }
.entry-content code { padding: 2px 5px; }
.entry-content pre { padding: 16px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.entry-hero { margin: 0 0 32px; max-width: 980px; }
.entry-hero img { border-radius: 20px; display: block; }
.entry-footer { max-width: 740px; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--ember-soft), var(--peri-soft)); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 20px 22px 24px; }
.post-card .meta { font-size: .85rem; color: var(--slate); }
.post-card h2 { font-size: 1.22rem; margin: 6px 0 8px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--ember-text); }
.post-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.pagination { margin-top: 40px; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--surface); }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; font-size: .95rem; color: var(--slate); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font: 600 .95rem var(--font); color: var(--ink); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover, .site-footer .brand { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; }
.site-footer .legal + .fine { border-top: 0; padding-top: 0; margin-top: 0; }
.site-footer .fine { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; }
.site-footer .email { color: var(--ink); font-weight: 600; user-select: all; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
	.steps li:nth-child(2)::after { display: none; }
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-block; margin-left: auto; }
	.theme-toggle { margin-left: auto; }
	.theme-toggle + .nav-toggle { margin-left: 0; }
	.site-header .wrap { flex-wrap: wrap; }
	.nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 0 18px; }
	.nav[hidden] { display: none; }
	.nav ul { flex-direction: column; margin: 0; }
	.nav ul a { padding: 12px; }
	.nav .btn { width: 100%; }
	.hero { padding: 44px 0 64px; }
	.hero .wrap, .community-band { grid-template-columns: 1fr; gap: 44px; }
	.hero h1 { max-width: 16ch; }
	.story { grid-template-columns: 1fr; border-top: 0; }
	.story > div, .story > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
	.shields { grid-template-columns: 1fr; }
	.shield:nth-child(2) { grid-row: auto; }
	.site-footer .wrap { grid-template-columns: 1fr 1fr; }
	.site-footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.section { padding: 64px 0; }
	.platforms, .steps, .posts { grid-template-columns: 1fr; }
	.steps li::after { display: none; }
	.stat-line { flex-direction: column; align-items: flex-start; }
	.cta-band .box { padding: 34px 24px; border-radius: 22px; }
	.hero .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .faq summary::after { transition: none; }
}

/* Cookie settings button in the footer looks like the other legal links. */
.legal .dsp-cookie-link { color: inherit; font: inherit; text-decoration: none; }
.legal .dsp-cookie-link:hover { color: var(--ink); text-decoration: underline; }

/* Home page questions: source links */
.faq details p a { color: var(--ember-text, #C93C0C); font-weight: 600; }
.stat-line small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Signature font ---------- */
@font-face { font-family: "Dispyro Signature"; src: url("assets/signature.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --pen: #1E3A8A; }
:root[data-theme="dark"] { --pen: #1E3A8A; } /* The pen writes on white paper in both modes. */

/* Platform strip: names, not logos. */
.platform-strip { border-block: 1px solid var(--line); background: var(--surface); }
.platform-strip .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.platform-strip p { margin: 0; color: var(--slate); font-size: .92rem; }
.platform-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 30px; }
.platform-strip li { font: 600 1.05rem var(--display); color: var(--ink-2); letter-spacing: -.01em; }

/* Comparison table. */
.compare { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 .9rem var(--font); color: var(--slate); background: var(--bg); }
.compare thead th:last-child { color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare td.no, .compare td.part { color: var(--slate); width: 22%; }
.compare td.no::before { content: "\2715"; display: inline-block; width: 1.4em; color: #B4232F; font-weight: 700; }
.compare td.part::before { content: "\2013"; display: inline-block; width: 1.4em; color: var(--slate); font-weight: 700; }
.compare td.yes { color: var(--ink); background: color-mix(in srgb, var(--mint-soft) 55%, transparent); }
.compare td.yes::before { content: "\2713"; display: inline-block; width: 1.4em; color: var(--green); font-weight: 700; }

@media (max-width: 600px) {
	.platform-strip ul { gap: 6px 18px; }
	.platform-strip li { font-size: .98rem; }
}

/* ==========================================================================
   Home hero (Dispyro 3): an animated story of one protected order.
   States on .stage[data-state]: type > draw > signed > record > won, and "done"
   (the finished picture, shown without JavaScript or with reduced motion).
   ========================================================================== */
.hero3 { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero3::before { display: none; }
.hero3__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--a { width: 46vmax; height: 46vmax; right: -14vmax; top: -18vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--ember) 34%, transparent), transparent); animation: orb-a 22s ease-in-out infinite alternate; }
.orb--b { width: 38vmax; height: 38vmax; right: 8vmax; bottom: -22vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--peri) 36%, transparent), transparent); animation: orb-b 26s ease-in-out infinite alternate; }
.orb--c { width: 30vmax; height: 30vmax; left: -12vmax; top: -10vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 18%, transparent), transparent); animation: orb-c 30s ease-in-out infinite alternate; }
.hero3__dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%); opacity: .5; }
:root[data-theme="dark"] .orb { opacity: .6; }
@keyframes orb-a { to { transform: translate(-8vmax, 6vmax) scale(1.08); } }
@keyframes orb-b { to { transform: translate(-10vmax, -6vmax) scale(.92); } }
@keyframes orb-c { to { transform: translate(6vmax, 8vmax) scale(1.1); } }

.hero3 .hero3__wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero3 h1 { font-size: clamp(2.05rem, 4.6vw + .6rem, 4.1rem); max-width: 14ch; margin-bottom: 20px; text-wrap: balance; }
.hero3 .lead { font-size: clamp(1.02rem, .4vw + .95rem, 1.2rem); max-width: 34em; text-wrap: pretty; }
.hero3 .chip { max-width: 100%; }

/* One orchestrated entrance for the words, then the story plays. */
.hero3__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero3__copy > :nth-child(2) { animation-delay: .08s; }
.hero3__copy > :nth-child(3) { animation-delay: .16s; }
.hero3__copy > :nth-child(4) { animation-delay: .24s; }
.hero3__copy > :nth-child(5) { animation-delay: .32s; }
.stage { animation: rise 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Stage */
.stage { position: relative; max-width: 520px; width: 100%; justify-self: end; padding: 0 0 8px; }
.stage__steps { list-style: none; display: flex; gap: 6px; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); width: max-content; max-width: 100%; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stage__steps li { font-size: .8rem; font-weight: 600; color: var(--slate); padding: 5px 12px; border-radius: 999px; transition: background .35s, color .35s; }
.stage__steps li.is-on { background: var(--ink); color: var(--bg); }
.stage__cards { display: grid; }
.card3 { grid-area: 1 / 1; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 20px; box-shadow: 0 40px 80px -40px rgba(18, 26, 38, .45), var(--shadow); display: grid; gap: 10px; align-content: start;
	transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s linear 0s; }
.card3.is-back { opacity: 0; transform: translateY(14px) scale(.965); visibility: hidden; pointer-events: none; transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.card3__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
.card3__bar strong { font: 700 1.2rem var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.card3__title { margin: 4px 0 0; font: 700 1.12rem var(--display); }
.card3__label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.card3__field { position: relative; }
.card3__field input { width: 100%; font: 500 1rem var(--font); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }
.card3__field input[readonly] { cursor: default; }
.card3__field input:focus { outline: 3px solid color-mix(in srgb, var(--ember) 40%, transparent); outline-offset: 1px; border-color: var(--ember); }
.caret { display: none; position: absolute; top: 50%; width: 2px; height: 1.15em; margin-top: -.58em; background: var(--ember); animation: blink 1s steps(1) infinite; }
.stage[data-state="type"] .caret { display: block; }
@keyframes blink { 50% { opacity: 0; } }

.card3__pad { position: relative; height: 104px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; overflow: hidden; transition: border-color .3s; }
.stage[data-state="draw"] .card3__pad, .stage[data-state="signed"] .card3__pad, .stage[data-state="try"] .card3__pad { border-color: var(--green); }
.card3__pad::after { content: ""; position: absolute; left: 18px; right: 18px; top: 72%; border-top: 1px solid #C7CEDB; }
.card3__x { position: absolute; left: 18px; top: calc(72% - 1.35em); color: #8892A6; font-size: .95rem; }
.sig { position: absolute; left: 44px; right: 16px; bottom: 26%; display: block; white-space: nowrap; }
.sig__ink { display: inline-block; font: 600 clamp(2rem, 6vw, 2.6rem)/1 "Dispyro Signature", "Segoe Script", "Bradley Hand", cursive; color: var(--pen); max-width: 100%; overflow: hidden; text-overflow: clip; padding: 0 .1em .12em 0; clip-path: inset(-20% 0 -20% 0); }
.sig__pen { position: absolute; top: 18%; left: 100%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--pen); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pen) 18%, transparent); opacity: 0; }
.stage[data-state="type"] .sig__ink { clip-path: inset(-20% 100% -20% 0); }
.stage[data-state="draw"] .sig__ink { clip-path: inset(-20% 0 -20% 0); transition: clip-path var(--draw, 1.6s) cubic-bezier(.45, .05, .4, 1); }
.stage[data-state="type"] .sig__pen { left: 0; }
.stage[data-state="draw"] .sig__pen { opacity: 1; left: var(--ink-w, 100%); transition: left var(--draw, 1.6s) cubic-bezier(.45, .05, .4, 1); }

.card3__btn { position: relative; margin-top: 4px; border: 0; cursor: pointer; padding: 14px 18px; border-radius: 12px; color: #fff; font: 600 1rem var(--font); background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 18px -10px var(--btn-glow); transition: background .3s, transform .15s; }
.card3__btn:hover { filter: brightness(1.05); }
.card3__btn-done { display: none; }
.card3__btn-done::before { content: "\2713\00a0"; }
.stage[data-state="signed"] .card3__btn { background: var(--green); box-shadow: none; transform: scale(.985); }
.stage[data-state="signed"] .card3__btn-label { display: none; }
.stage[data-state="signed"] .card3__btn-done { display: inline; }

/* Evidence card */
.trail { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 0; }
.trail li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; font-size: .94rem; color: var(--slate); border-bottom: 1px dashed var(--line); transition: color .35s; }
.trail li:last-child { border-bottom: 0; }
.trail li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--line-strong); box-sizing: border-box; transition: background-color .3s, border-color .3s, transform .3s; }
.trail li.is-on, .stage[data-state="done"] .trail li { color: var(--ink); }
.trail li.is-on::before, .stage[data-state="done"] .trail li::before { border: 0; transform: scale(1.08); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.7 11 12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.trail b { font-weight: 600; }
.trail time { font-size: .8rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.card3__file { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 11px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .88rem; font-weight: 600; opacity: .25; transition: opacity .4s; }
.card3__file svg { width: 18px; height: 18px; flex: none; }
.stage[data-state="won"] .card3__file, .stage[data-state="done"] .card3__file { opacity: 1; }

/* Floating tags */
.tag3 { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; font-size: .84rem; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 36px -18px rgba(18, 26, 38, .5); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; }
.tag3--device { left: -34px; top: 96px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tag3--device i { width: 8px; height: 8px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 4px color-mix(in srgb, var(--peri) 25%, transparent); }
.tag3--won { right: -22px; bottom: 44px; background: var(--green); color: #fff; }
.tag3--won svg { width: 16px; height: 16px; }
.stage[data-state="record"] .tag3--device, .stage[data-state="won"] .tag3--device, .stage[data-state="done"] .tag3--device,
.stage[data-state="won"] .tag3--won, .stage[data-state="done"] .tag3--won { opacity: 1; transform: none; }

.stage__controls { display: flex; justify-content: center; gap: 8px; margin-top: 18px; min-height: 38px; }
.stage__try, .stage__replay { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 .9rem var(--font); padding: 9px 16px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow); }
.stage__try { border-color: var(--ember); color: var(--ember-text); }
.stage__try:hover, .stage__replay:hover { background: var(--bg-2); }

/* Tablet and phone */
@media (max-width: 900px) {
	.hero3 .hero3__wrap { grid-template-columns: 1fr; }
	.hero3 h1 { max-width: 18ch; }
	.stage { justify-self: center; }
	.tag3--device { left: -10px; }
	.tag3--won { right: -8px; }
}
@media (max-width: 600px) {
	.hero3 .chip { font-size: .8rem; padding: 6px 12px 6px 9px; margin-bottom: 16px; border-radius: 14px; line-height: 1.35; }
	.hero3 .actions { display: grid; grid-template-columns: 1fr 1fr; }
	.hero3 .actions .btn { padding: 14px 12px; font-size: 1rem; }
	.hero3 .actions .btn:only-child { grid-column: 1 / -1; }
	.card3 { padding: 18px 16px 16px; border-radius: 18px; }
	.card3__bar strong { font-size: 1.08rem; }
	.card3__pad { height: 92px; }
	.trail li { font-size: .88rem; gap: 10px; padding: 8px 0; }
	.stage__steps { margin-inline: auto; }
	.stage__steps li { padding: 5px 10px; font-size: .76rem; }
	.tag3 { font-size: .78rem; padding: 7px 10px; }
	.tag3--device { left: 8px; top: 30px; }
	.tag3--won { right: 8px; bottom: 60px; }
}
@media (max-width: 360px) {
	.hero3 .actions { grid-template-columns: 1fr; }
	.tag3--device { display: none; }
}

/* Cookie notice from Dispyro Core: smaller and out of the way, so it never hides the page. */
body .dsp-consent { width: min(380px, calc(100vw - 32px)); padding: 16px 18px; gap: 12px; font-size: .86rem; }
@media (max-width: 600px) {
	body .dsp-consent { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px 14px; gap: 10px; font-size: .8rem; line-height: 1.45; }
	body .dsp-consent__title { font-size: .92rem; }
	body .dsp-consent:not(.is-open) .dsp-consent__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	body .dsp-consent:not(.is-open) .dsp-consent__actions { grid-template-columns: auto 1fr 1fr; }
	body .dsp-consent:not(.is-open) .dsp-consent__actions [data-consent="customize"] { grid-column: auto; order: 0; }
	body .dsp-consent__actions .dsp-btn { padding: 8px 10px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
	.orb, .hero3__copy > *, .stage, .caret { animation: none !important; }
	.card3, .card3.is-back, .tag3, .trail li, .trail li::before, .card3__file, .stage__steps li { transition: none !important; }
}
