/*
Theme Name: Aluna App
Description: aFig for afig.si. "The Living Figure": motion-led design in the alunaschrift.com palette.
Version: 3.1.0
Author: Aluna Schrift
Text Domain: aluna-app
*/

/* =========================================================
   1. Tokens (alunaschrift.com palette)
   ========================================================= */
:root {
	--royal: #0a5bd3;
	--violet: #2f7ae5;
	--purple: #003399;
	--indigo: #002f87;
	--indigo-2: #0b4fc2;
	--deep: #00276e;
	--cyan: #6fd0ff;
	--orange: #ff8a00;
	--flame: #f26a1b;
	--gold: #ff8a00;
	--green: #22c55e;
	--ink: #1a1b1e;
	--ink-2: #1d2240;
	--text: #3c4257;
	--muted: #5d6273;
	--line: #e3e8f4;
	--soft: #f1f5fd;
	--paper: #f6f9ff;
	--white: #fff;

	--grad-hero: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .45), transparent 50%), linear-gradient(145deg, #0a5bd3, #2f7ae5 65%, #003399);
	--grad-indigo: radial-gradient(circle at 85% 0, rgba(255, 196, 80, .28), transparent 45%), linear-gradient(155deg, #00276e 0%, #0b4fc2 60%, #1a64d6 100%);
	--grad-warm: linear-gradient(110deg, #ff8a00, #f26a1b);
	--grad-text: linear-gradient(110deg, #ff8a00, #f26a1b);
	--grad-brand: linear-gradient(110deg, #0a5bd3, #2f7ae5);
	--dots: radial-gradient(rgba(165, 183, 210, .45) 1.4px, transparent 1.7px);

	--head: Roboto, system-ui, sans-serif;
	--body: Roboto, system-ui, sans-serif;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--shadow: 0 18px 40px -22px rgba(0, 39, 110, .35);
	--shadow-lg: 0 40px 90px -40px rgba(0, 39, 110, .55);
	--wrap: 1200px;
	--hdr: 74px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); color: var(--ink); letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 138, 0, .3); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 500; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; border-radius: 10px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.wrap.wide { --wrap: 1360px; }
.dark { color: rgba(255, 255, 255, .82); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
section { position: relative; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 800 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-warm); }
.dark .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.link-line { color: inherit; font-weight: 700; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.link-line:hover { background-size: 100% 2px; }

/* =========================================================
   3. Buttons (one system everywhere)
   ========================================================= */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font: 700 16px/1 var(--body); cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-color .3s, color .3s; }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 0 38px; font-size: 19px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad-warm); box-shadow: 0 14px 30px -12px rgba(242, 106, 27, .75); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(242, 106, 27, .85); transform: translate(var(--mx), calc(var(--my) - 2px)); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; color: var(--indigo); }
.btn-outline { color: var(--indigo); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--royal); color: var(--royal); }
.btn .play { width: 26px; height: 26px; border-radius: 50%; background: #fff; position: relative; flex: none; }
.btn .play::after { content: ""; position: absolute; left: 10px; top: 8px; border: 5px solid transparent; border-left: 8px solid var(--indigo); }
.btn-glass:hover .play { background: var(--indigo); }
.btn-glass:hover .play::after { border-left-color: #fff; }
.pulse::before { content: ""; position: absolute; inset: -6px; z-index: -2; border-radius: inherit; border: 2px solid rgba(255, 138, 0, .7); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--royal); }
.link-arrow .arr { transition: transform .35s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(6px); }

/* =========================================================
   4. Header, progress, pathway
   ========================================================= */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--grad-warm); transform-origin: 0 50%; transform: scaleX(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); display: flex; align-items: center; background: rgba(255, 255, 255, 0); transition: transform .45s var(--ease), background-color .35s, box-shadow .35s, height .35s var(--ease); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; --wrap: 1320px; }
.site-header.is-scrolled { height: 64px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(0, 39, 110, .08), 0 14px 30px -24px rgba(0, 39, 110, .4); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; flex: none; }
.logo { position: relative; display: inline-grid; align-items: center; }
.logo img { grid-area: 1 / 1; display: block; width: auto; height: 60px; transition: opacity .35s, height .35s var(--ease); }
.logo .logo-on-light { opacity: 0; }
.is-scrolled .logo .logo-on-dark, .solid-header .logo .logo-on-dark, .nav-open .logo .logo-on-dark { opacity: 0; }
.is-scrolled .logo .logo-on-light, .solid-header .logo .logo-on-light, .nav-open .logo .logo-on-light { opacity: 1; }
.is-scrolled .logo img { height: 48px; }
.logo-footer img { height: 96px; width: auto; }
.cat-nav { flex: 1; display: flex; align-items: center; gap: 22px; }
.cat-nav ul { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.cat-nav ul a { position: relative; display: block; padding: 10px 14px; font: 600 15px var(--body); color: rgba(255, 255, 255, .88); border-radius: 999px; transition: color .25s, background-color .25s; }
.cat-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.cat-nav ul a:hover::after, .cat-nav ul a.is-current::after { transform: scaleX(1); }
.cat-nav ul a:hover { color: #fff; }
.is-scrolled .cat-nav ul a, .solid-header .cat-nav ul a { color: var(--ink-2); }
.is-scrolled .cat-nav ul a:hover, .solid-header .cat-nav ul a:hover { color: var(--royal); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login { font-weight: 700; color: #fff; padding: 8px 6px; }
.is-scrolled .nav-login, .solid-header .nav-login { color: var(--indigo); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.is-scrolled .nav-toggle, .solid-header .nav-toggle { background: var(--soft); }
.is-scrolled .nav-toggle span, .solid-header .nav-toggle span { background: var(--indigo); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.solid-header .site-header { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(0, 39, 110, .08); }

/* Logged-in header: credits, bell, account menu */
.hdr-credits { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 600; transition: background-color .3s; }
.hdr-credits b { font: 800 17px var(--head); }
.hdr-credits i { width: 46px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hdr-credits em { display: block; height: 100%; background: var(--grad-warm); border-radius: 4px; }
.is-scrolled .hdr-credits, .solid-header .hdr-credits { background: var(--soft); color: var(--ink-2); }
.is-scrolled .hdr-credits b, .solid-header .hdr-credits b { color: var(--royal); }
.is-scrolled .hdr-credits i, .solid-header .hdr-credits i { background: #dfe6f6; }
.hdr-bell, .me-menu { position: relative; }
.hdr-bell summary, .me-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.hdr-bell summary::-webkit-details-marker, .me-menu summary::-webkit-details-marker { display: none; }
.hdr-bell summary { position: relative; width: 42px; height: 42px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .3s; }
.is-scrolled .hdr-bell summary, .solid-header .hdr-bell summary { background: var(--soft); color: var(--indigo); }
.hdr-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--flame); color: #fff; font: 700 11px/18px var(--body); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; }
.me-menu summary { padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 14px; }
.me-menu summary img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.is-scrolled .me-menu summary, .solid-header .me-menu summary { background: var(--soft); color: var(--ink-2); }
.me-pop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 10; width: 280px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 39, 110, .06); animation: pop .35s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.me-head { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.me-head img { width: 44px; height: 44px; border-radius: 50%; }
.me-head b { display: block; color: var(--ink); }
.me-head small { color: var(--muted); font-size: 12px; }
.me-pop > a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.me-pop > a:hover { background: var(--soft); color: var(--royal); }
.me-pop .me-out { color: var(--flame); }
.bell-pop { width: 330px; max-height: 420px; overflow: auto; }
.bell-title { padding: 6px 8px 10px; font: 800 15px var(--head); color: var(--ink); }
.bell-empty { padding: 8px; color: var(--muted); font-size: 14px; }
.bell-item { padding: 12px; border-radius: 12px; margin-bottom: 6px; background: var(--soft); font-size: 14px; }
.bell-item b { color: var(--ink); }
.bell-item p { margin: 2px 0 6px; color: var(--muted); }
.bell-item a { font-weight: 700; }
.bell-item.is-warning { background: #fff6e8; }
.bell-item.is-error { background: #fdecea; }
.bell-item.is-read { opacity: .65; }

.admin-bar .site-header { top: 32px; }
.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .scroll-progress { top: 46px; } }

/* Pathway navigation: a signalling path down the side of the page */
.pathway { position: fixed; right: 22px; top: 50%; z-index: 90; transform: translateY(-50%); display: grid; gap: 18px; padding: 6px 0; }
.pathway:empty { display: none; }
.pw-line { position: absolute; right: 6px; top: 12px; bottom: 12px; width: 2px; background: rgba(10, 91, 211, .18); border-radius: 2px; }
.pw-line b { position: absolute; inset: 0; background: var(--grad-warm); transform-origin: 50% 0; transform: scaleY(0); transition: transform .5s var(--ease); border-radius: 2px; }
.pathway a { position: relative; display: block; width: 14px; height: 14px; margin-left: auto; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(10, 91, 211, .35); transition: box-shadow .3s, background-color .3s, transform .35s var(--spring); }
.pathway a span { position: absolute; right: 26px; top: 50%; transform: translate(8px, -50%); padding: 5px 10px; border-radius: 8px; background: var(--indigo); color: #fff; font: 700 12px var(--body); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out); }
.pathway a:hover span { opacity: 1; transform: translate(0, -50%); }
.pathway a.is-past { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.pathway a.is-on { background: var(--flame); box-shadow: 0 0 0 4px rgba(242, 106, 27, .25); transform: scale(1.25); }
.pathway.on-dark .pw-line { background: rgba(255, 255, 255, .25); }
.pathway.on-dark a:not(.is-on):not(.is-past) { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); background: transparent; }
.pathway.on-dark a span { background: #fff; color: var(--indigo); }

/* =========================================================
   5. Motion primitives
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w) * 70ms + 120ms); }
.js [data-split].in .w > span { transform: none; }
.reduce [data-reveal], .reduce [data-split] .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }

/* =========================================================
   6. Figures (SVG) — drawing, popping, floating
   ========================================================= */
.fig { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.fig text { font: 600 15px var(--body); fill: var(--ink-2); }
.fig .num { font: 700 12px var(--body); fill: #fff; }
.fig .pop, .fig .grow, .fig .zone { transform-box: fill-box; transform-origin: center; }
.fig .draw-g path, .fig .draw-g ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fig .tw { opacity: 0; }
.fig .lbl .lead { stroke: var(--ink-2); stroke-width: 1.6; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fig .lbl .dot { fill: var(--ink-2); opacity: 0; }
.fig .lbl text { font: 700 24px var(--head); fill: #fff; opacity: 0; paint-order: stroke; }
.fig-gen .lbl text, .light .fig .lbl text { fill: var(--ink); }

.js .fig .pop, .js .fig .grow, .js .fig .zone { opacity: 0; transform: scale(.4); }
.fig.in .pop, .fig.in .zone { animation: figPop .8s var(--spring) both; animation-delay: var(--d, 0s); }
.fig.in .grow { animation: figGrow 1.1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.fig.in .draw-g path, .fig.in .draw-g ellipse { animation: figDraw 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
.fig.in .tw { animation: figFade .7s var(--ease) both; animation-delay: var(--d, 0s); }
.fig.in .lbl .lead { animation: figDraw .7s var(--ease) both; animation-delay: var(--d); }
.fig.in .lbl .dot { animation: figFade .3s both; animation-delay: var(--d); }
.fig.in .lbl text { animation: figType .8s var(--ease) both; animation-delay: calc(var(--d) + .45s); }
.fig .float { animation: floaty 6s ease-in-out infinite; }
.fig .float.f2 { animation-duration: 7.5s; animation-delay: -2s; }
.fig .float.f3 { animation-duration: 5.2s; animation-delay: -1s; }
.fig.in .pop.float { animation: figPop .8s var(--spring) both, floaty 6s ease-in-out 1.2s infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .9s); }
.fig .ligand { animation: dock 3.2s var(--ease) infinite; }
.fig .helix { animation: helix 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fig .runner, .fig .particles { opacity: 0; }
.fig.in .runner, .fig.in .particles { animation: figFade .4s 1.4s both; }
.fig .axis-bar { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.fig.in .axis-bar { animation: axis 4s var(--ease) 1s infinite; }
@keyframes figPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes figGrow { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes figDraw { to { stroke-dashoffset: 0; } }
@keyframes figFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes figType { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dock { 0%, 100% { transform: translateY(-10px); } 45%, 60% { transform: translateY(6px); } }
@keyframes helix { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-1); } }
@keyframes axis { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.reduce .fig * { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; clip-path: none !important; }

/* Floating cells on gradient backgrounds */
.floaters { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.floaters .drift { animation: drift 18s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.floaters .d2 { animation-duration: 24s; animation-delay: -6s; }
.floaters .d3 { animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 33% { translate: 24px -30px; rotate: 8deg; } 66% { translate: -18px 18px; rotate: -6deg; } }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(70px); opacity: .55; animation: aurora 22s ease-in-out infinite; }
.aurora i:nth-child(1) { left: -10vw; top: -14vw; background: #6fd0ff; opacity: .35; }
.aurora i:nth-child(2) { right: -12vw; top: 10vw; background: #4fa3ff; animation-delay: -7s; }
.aurora i:nth-child(3) { left: 30vw; bottom: -24vw; background: #ff8a00; opacity: .28; animation-delay: -14s; }
@keyframes aurora { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5vw, 3vw) scale(1.15); } }

/* =========================================================
   7. Hero
   ========================================================= */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 40px) 0 90px; background: var(--grad-hero); overflow: hidden; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; --wrap: 1320px; }
.eyebrow-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff; font: 700 14px var(--body); backdrop-filter: blur(8px); }
.eyebrow-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 138, 0, .7); animation: beat 2s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); } }
.hero-title { margin: 24px 0 24px; font-size: clamp(46px, 6.6vw, 92px); font-weight: 900; line-height: .98; letter-spacing: -.035em; color: #fff; }
.hero-title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title em .w > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 560px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-formats li { padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 12px var(--body); letter-spacing: .08em; }
.hero-formats li.sep { background: none; padding-left: 6px; letter-spacing: 0; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero-stage { --rx: 0deg; --ry: 0deg; position: relative; perspective: 1400px; }
.hero-stage .fig-cell { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .8s var(--ease-out); filter: drop-shadow(0 40px 60px rgba(0, 25, 70, .45)); }
.stage-glow { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); filter: blur(30px); animation: aurora 12s ease-in-out infinite; }
.fig-cell .lbl .lead { stroke: rgba(255, 255, 255, .85); }
.fig-cell .lbl .dot { fill: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 28px; height: 44px; margin-left: -14px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Fields marquee */
.fields { position: relative; z-index: 2; padding: 22px 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.fields-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.fields-track span { font: 700 18px var(--head); color: #9aa3bd; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.fields-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: .6; }
.fields:hover .fields-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   8. Story (pinned)
   ========================================================= */
.story { height: 420vh; background: var(--paper) var(--dots); background-size: 22px 22px; }
.story-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.story-copy h2 { margin-bottom: 36px; }
.story-steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.story-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 18px; border-radius: 18px; cursor: pointer; opacity: .42; transition: opacity .5s var(--ease), background-color .5s, box-shadow .5s, transform .5s var(--ease-out); }
.story-steps li b { font: 900 22px var(--head); color: var(--royal); opacity: .5; transition: opacity .4s; }
.story-steps li h3 { font-size: 20px; }
.story-steps li p { max-height: 0; overflow: hidden; margin-top: 0; color: var(--muted); font-size: 16px; transition: max-height .6s var(--ease), margin .5s; }
.story-steps li.is-done { opacity: .62; }
.story-steps li.is-on { opacity: 1; background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.story-steps li.is-on b { opacity: 1; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-steps li.is-on p { max-height: 120px; margin-top: 6px; }
.story-rail { height: 4px; margin-top: 26px; border-radius: 4px; background: #e2e8f6; overflow: hidden; }
.story-rail i { display: block; height: 100%; background: var(--grad-warm); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.story-stage { position: relative; }
.stage-card { position: relative; padding: 18px; border-radius: 34px; background: linear-gradient(160deg, #fff, #eef3fd); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .8); }
.stage-card::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 60px; background: var(--grad-hero); opacity: .14; filter: blur(30px); }
.stage-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.stage-tags span { white-space: nowrap; }
.stage-tags span { padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--muted); font: 700 13px var(--body); box-shadow: 0 0 0 1px var(--line); transition: all .4s var(--ease); }
.stage-tags span.is-on { background: var(--indigo); color: #fff; box-shadow: 0 10px 20px -10px rgba(0, 47, 135, .8); transform: translateY(-2px); }

/* Story figure layers */
.fig-story .layer { opacity: 0; transition: opacity .6s var(--ease); }
.fig-story.at-0 .l1, .fig-story.at-1 .l2, .fig-story.at-2 .l3, .fig-story.at-3 .l3, .fig-story.at-3 .l4 { opacity: 1; }
.fig-story .txt text { font: 500 23px var(--body); fill: var(--ink-2); }
.fig-story .hl { fill: var(--ink-2); font-weight: 700; }
.fig-story.at-0 .hl { animation: hl 1s var(--ease) both; animation-delay: var(--d); }
@keyframes hl { to { fill: var(--royal); } }
.fig-story .caret { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fig-story .zt { font: 800 14px var(--head); fill: var(--royal); letter-spacing: .06em; text-transform: uppercase; }
.fig-story .chip text { font: 700 13px var(--body); fill: #fff; }
.fig-story .zone2, .fig-story .chip { opacity: 0; }
.fig-story.at-1 .zone2 { animation: figFade .6s var(--ease) both; animation-delay: var(--d); }
.fig-story.at-1 .chip { animation: chipIn .8s var(--spring) both; animation-delay: var(--d); }
@keyframes chipIn { from { opacity: 0; transform: translateY(-50px) scale(.7); } to { opacity: 1; transform: none; } }
.fig-story .l3 .pop, .fig-story .l3 .draw-g path, .fig-story .l3 .tw { animation-play-state: paused; }
.fig-story.at-2 .l3 .pop, .fig-story.at-3 .l3 .pop { animation: figPop .8s var(--spring) both; animation-delay: var(--d, 0s); }
.fig-story.at-2 .l3 .draw-g path, .fig-story.at-3 .l3 .draw-g path { animation: figDraw 1s var(--ease) both; animation-delay: var(--d, 0s); }
.fig-story.at-2 .l3 .tw, .fig-story.at-3 .l3 .tw { animation: figFade .6s var(--ease) both; animation-delay: var(--d, 0s); }
.fig-story .l3 .pop { opacity: 0; transform: scale(.4); }
.fig-story .l3 .draw-g path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fig-story .l3 .tw { opacity: 0; font-weight: 700; }
.fig-story .wrong { fill: var(--ink-2); }
.fig-story .l4 .squig, .fig-story .l4 .sel, .fig-story .l4 .wipe, .fig-story .l4 .ok, .fig-story .l4 .fixed { opacity: 0; }
.fig-story .fixed { font: 700 15px var(--body); fill: var(--ink-2); }
.fig-story .typed { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.fig-story.at-3 .squig { animation: figFade .3s .2s both; }
.fig-story.at-3 .sel { animation: figFade .3s .9s both; }
.fig-story.at-3 .wipe { animation: wipe .6s var(--ease) 1.4s both; transform-box: fill-box; transform-origin: 0 50%; }
.fig-story.at-3 .squig { animation: figFade .3s .2s both, figOut .2s 1.6s forwards; }
.fig-story.at-3 .fixed { animation: figFade .1s 2s both; }
.fig-story.at-3 .typed { animation: typeIn 1.1s steps(17) 2s both; }
.fig-story.at-3 .ok { animation: figPop .6s var(--spring) 3.2s both; transform-box: fill-box; transform-origin: center; }
.fig-story.at-3 .sel { animation: figFade .3s .9s both, figOut .3s 3.2s forwards; }
@keyframes wipe { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes typeIn { to { transform: scaleX(1); } }
@keyframes figOut { to { opacity: 0; } }

/* =========================================================
   9. Generator gallery (horizontal scroll)
   ========================================================= */
.gallery { background: #fff; }
.gallery-pin { padding: 120px 0 80px; overflow: hidden; }
.gallery.is-pinned .gallery-pin { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.gallery-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.gallery-head p { font-size: 18px; color: var(--muted); }
.gallery-track { display: flex; gap: 26px; padding: 6px max(20px, calc((100vw - var(--wrap)) / 2)) 26px; will-change: transform; }
.gcard { --gx: 50%; --gy: 50%; position: relative; flex: none; width: min(460px, 82vw); display: flex; flex-direction: column; border-radius: var(--r-lg); background: linear-gradient(170deg, #fbfcff, #eef3fd); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.gcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--gx) var(--gy), rgba(10, 91, 211, .12), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.gcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(10, 91, 211, .25), var(--shadow-lg); }
.gcard:hover::before { opacity: 1; }
.gcard-fig { padding: 26px 26px 0; }
.gcard-fig .fig { border-radius: 20px; background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 39, 110, .4); }
.gcard-body { position: relative; padding: 24px 28px 30px; display: grid; gap: 10px; }
.gnum { font: 900 14px var(--head); letter-spacing: .12em; color: var(--orange); }
.gcard h3 { font-size: 26px; font-weight: 800; }
.gcard p { color: var(--muted); font-size: 16px; }
.gcard .link-arrow { margin-top: 6px; }
.gcard-end { justify-content: center; background: var(--grad-indigo); }
.gcard-end h3 { color: #fff; font-size: 30px; }
.gcard-end p { color: rgba(255, 255, 255, .8); }
.gcard-end .btn { justify-self: start; margin-top: 10px; }
.gallery-progress { width: min(var(--wrap), 100% - 40px); height: 4px; margin: 10px auto 0; border-radius: 4px; background: #e8edf8; overflow: hidden; }
.gallery-progress i { display: block; height: 100%; background: var(--grad-warm); transform-origin: 0 50%; transform: scaleX(0); }
.gallery:not(.is-pinned) .gallery-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery:not(.is-pinned) .gallery-track::-webkit-scrollbar { display: none; }
.gallery:not(.is-pinned) .gcard { scroll-snap-align: center; }
.gallery:not(.is-pinned) .gallery-progress { display: none; }

/* =========================================================
   10. Statement
   ========================================================= */
.statement { padding: 170px 0 150px; background: var(--grad-indigo); overflow: hidden; isolation: isolate; }
.statement .wrap { position: relative; z-index: 1; }
.statement-text { max-width: 1100px; font: 800 clamp(32px, 4.4vw, 62px)/1.18 var(--head); letter-spacing: -.025em; color: #fff; }
.statement-text span { color: rgba(255, 255, 255, .18); transition: color .5s var(--ease); }
.statement-text span.on { color: #fff; }
.statement-text span.on:nth-child(7n+3) { color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 90px; }
.facts > div { padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.facts b { display: block; font: 900 64px/1 var(--head); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { display: block; margin-top: 8px; font-weight: 600; color: rgba(255, 255, 255, .8); }

/* =========================================================
   11. Features bento
   ========================================================= */
.features { padding: 150px 0; background: var(--paper) var(--dots); background-size: 22px 22px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { --gx: 50%; --gy: 50%; position: relative; grid-column: span 2; padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(255, 138, 0, .12), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(10, 91, 211, .2), var(--shadow); }
.tile:hover::before { opacity: 1; }
.tile.t-fix, .tile.t-export { grid-column: span 3; }
.tile h3 { margin-top: 22px; font-size: 22px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.tile-art { position: relative; height: 130px; border-radius: 18px; background: linear-gradient(160deg, #f4f7ff, #e9effd); overflow: hidden; }
/* fix a word */
.fixword { display: grid; place-items: center; }
.fixword .w-bad, .fixword .w-good { grid-area: 1 / 1; font: 800 34px var(--head); color: var(--ink-2); }
.fixword .w-bad { text-decoration: underline wavy #e5484d 2px; text-underline-offset: 8px; animation: fwBad 6s infinite; }
.fixword .w-good { clip-path: inset(0 100% 0 0); animation: fwGood 6s infinite; }
.fixword .w-sel { position: absolute; left: 50%; top: 50%; width: 270px; height: 58px; margin: -29px 0 0 -135px; border-radius: 10px; border: 2px dashed var(--orange); background: rgba(255, 138, 0, .1); opacity: 0; animation: fwSel 6s infinite; }
.fixword .w-ok { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.4); animation: fwOk 6s infinite; }
@keyframes fwBad { 0%, 30% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes fwSel { 0%, 12% { opacity: 0; } 18%, 40% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes fwGood { 0%, 42% { clip-path: inset(0 100% 0 0); } 62%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fwOk { 0%, 62% { opacity: 0; transform: scale(.4); } 70%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
/* exports */
.files { display: flex; align-items: center; justify-content: center; gap: 14px; }
.files span { width: 70px; height: 88px; display: grid; place-items: end center; padding-bottom: 12px; border-radius: 10px; background: #fff; box-shadow: 0 10px 20px -12px rgba(0, 39, 110, .4); font: 900 14px var(--head); color: #fff; position: relative; animation: fileUp 4s var(--ease) infinite; }
.files span::before { content: ""; position: absolute; left: 10px; right: 10px; top: 12px; height: 34px; border-radius: 6px; background: var(--grad-hero); opacity: .85; }
.files span:nth-child(1) { background: var(--royal); animation-delay: 0s; }
.files span:nth-child(2) { background: var(--violet); animation-delay: .2s; }
.files span:nth-child(3) { background: var(--flame); animation-delay: .4s; }
.files span:nth-child(4) { background: var(--orange); animation-delay: .6s; }
.files span::before { background: rgba(255, 255, 255, .3); }
@keyframes fileUp { 0%, 60%, 100% { transform: translateY(0); } 20% { transform: translateY(-12px); } }
/* versions */
.stack { display: grid; place-items: center; }
.stack i { grid-area: 1 / 1; width: 150px; height: 84px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -14px rgba(0, 39, 110, .5); animation: shuffle 6s var(--ease) infinite; }
.stack i::before { content: ""; position: absolute; margin: 14px; width: 60px; height: 10px; border-radius: 5px; background: var(--soft); }
.stack i:nth-child(1) { transform: translate(-22px, 14px) rotate(-6deg); background: #eef3ff; }
.stack i:nth-child(2) { transform: translate(-10px, 6px) rotate(-3deg); background: #f6f8ff; animation-delay: -2s; }
.stack i:nth-child(3) { background: #fff; box-shadow: 0 0 0 2px var(--royal), 0 14px 26px -14px rgba(0, 39, 110, .6); animation-delay: -4s; }
@keyframes shuffle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
/* folders */
.folders { display: flex; align-items: center; justify-content: center; gap: 18px; }
.folders i { width: 72px; height: 54px; border-radius: 6px 12px 12px 12px; background: var(--royal); position: relative; }
.folders i::before { content: ""; position: absolute; left: 0; top: -9px; width: 30px; height: 12px; border-radius: 6px 6px 0 0; background: inherit; }
.folders i:nth-child(2) { background: var(--violet); }
.folders span { position: absolute; width: 40px; height: 30px; border-radius: 6px; background: var(--orange); box-shadow: 0 6px 14px -6px rgba(242, 106, 27, .6); animation: toFolder 4s var(--ease) infinite; }
@keyframes toFolder { 0% { transform: translate(-70px, -40px) rotate(-12deg); opacity: 0; } 20% { opacity: 1; } 60% { transform: translate(-46px, 4px) scale(.6) rotate(0); opacity: 1; } 75%, 100% { transform: translate(-46px, 10px) scale(.4); opacity: 0; } }
/* rights document */
.doc { display: grid; place-items: center; }
.doc::before { content: ""; position: absolute; width: 96px; height: 116px; border-radius: 10px; background: #fff; box-shadow: 0 12px 26px -14px rgba(0, 39, 110, .5); }
.doc i { position: absolute; width: 60px; height: 7px; border-radius: 4px; background: #dfe6f6; left: calc(50% - 30px); }
.doc i:nth-of-type(1) { top: 34px; } .doc i:nth-of-type(2) { top: 50px; width: 48px; } .doc i:nth-of-type(3) { top: 66px; width: 54px; }
.doc b { position: absolute; left: calc(50% + 16px); top: 70px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-warm); color: #fff; display: grid; place-items: center; animation: stamp 3.6s var(--spring) infinite; }
@keyframes stamp { 0%, 30% { transform: scale(2); opacity: 0; } 45%, 90% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
/* annotations */
.annot { display: grid; place-items: center; }
.annot svg { width: 80%; overflow: visible; }
.annot .a1 { fill: none; stroke: var(--indigo); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: annDraw 3.6s var(--ease) infinite; }
.annot .a2 { fill: none; stroke: var(--indigo); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: annHead 3.6s infinite; }
.annot .a3 { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 6 5; animation: figFade 3.6s infinite alternate; }
@keyframes annDraw { 0% { stroke-dashoffset: 1; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes annHead { 0%, 45% { opacity: 0; } 55%, 100% { opacity: 1; } }

/* =========================================================
   12. Studio
   ========================================================= */
.studio-sec { padding: 140px 0 120px; background: #fff; }
.studio-shell { border-radius: 30px; padding: 8px; background: var(--grad-hero); box-shadow: var(--shadow-lg); }
.studio-shell .aai { margin: 0 !important; padding: 0 !important; max-width: none; gap: 0; background: #fff; border-radius: 24px; overflow: hidden; }
.studio-shell .aai-hero:has([data-aai-demo]) { display: none; }
.studio-shell .aai-offer { display: none; }
.studio-shell .aai-note { margin: 0; padding: 28px; font-size: 17px; text-align: center; color: var(--ink); }

/* =========================================================
   13. Pricing
   ========================================================= */
.pricing { padding: 140px 0; background: var(--paper) var(--dots); background-size: 22px 22px; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 28px; align-items: stretch; }
.price-card { --gx: 50%; --gy: 50%; position: relative; display: flex; flex-direction: column; padding: 40px 36px 36px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.is-best { box-shadow: var(--shadow-lg); }
.price-card.is-best::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: 32px; background: conic-gradient(from var(--a, 0deg), var(--cyan), var(--orange), var(--violet), var(--cyan)); animation: rotateBorder 5s linear infinite; }
.price-card.is-best::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 30px; background: #fff; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --a: 360deg; } }
.best-badge { position: absolute; top: -15px; left: 36px; padding: 7px 16px; border-radius: 999px; background: var(--grad-warm); color: #fff; font: 700 12px var(--body); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 20px -10px rgba(242, 106, 27, .9); }
.price-name { font: 800 14px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.price { display: flex; align-items: flex-start; gap: 4px; margin: 14px 0 6px; color: var(--ink); }
.price sup { margin-top: 14px; font: 800 28px var(--head); }
.price b { font: 900 80px/1 var(--head); letter-spacing: -.045em; }
.price span { align-self: flex-end; margin: 0 0 12px 8px; font-weight: 700; color: var(--muted); }
.price-sub { color: var(--muted); font-weight: 600; }
.ticks { display: grid; gap: 12px; margin: 26px 0 30px; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.ticks svg { flex: none; margin-top: 3px; padding: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(34, 197, 94, .14); color: #16a34a; }
.price-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }
.aai-err.center { text-align: center; margin-top: 12px; color: #b42318; font-weight: 600; }

/* =========================================================
   14. FAQ
   ========================================================= */
.faq { padding: 140px 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { margin-bottom: 18px; }
.faq-head p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: background-color .35s, box-shadow .35s; }
.qa[open], .qa.is-open { background: #fff; box-shadow: 0 0 0 1px rgba(10, 91, 211, .25), var(--shadow); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; list-style: none; cursor: pointer; font: 700 19px var(--head); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), background-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--indigo); transition: transform .4s var(--ease-out), background-color .3s; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(180deg); background: var(--grad-warm); box-shadow: none; }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { transform: rotate(0); }
.qa-body { overflow: hidden; transition: height .32s var(--ease); }
.qa-body p { padding: 0 26px 24px; color: var(--muted); font-size: 17px; }

/* =========================================================
   15. Closing call to action
   ========================================================= */
.closing { padding: 170px 0; background: var(--grad-hero); overflow: hidden; isolation: isolate; text-align: center; }
.closing-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; }
.closing h2 { max-width: 900px; font-size: clamp(42px, 6vw, 84px); font-weight: 900; letter-spacing: -.035em; }
.closing p { font-size: 20px; color: rgba(255, 255, 255, .85); }
.closing .btn { margin-top: 14px; }

/* =========================================================
   16. Footer
   ========================================================= */
.site-footer { padding: 90px 0 30px; background: linear-gradient(170deg, #12105a, #00276e); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 320px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.site-footer h4 { margin-bottom: 16px; font: 800 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { color: rgba(255, 255, 255, .8); font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .3s; }
.site-footer ul a:hover { color: #fff; background-size: 100% 1.5px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); }
.to-top { color: #fff; font-weight: 700; }

/* =========================================================
   17. Inner pages (sign-up, log-in redirects, generic pages, graphical abstracts)
   ========================================================= */
body:not(.home) { --hdr-solid: 1; }
.page-main { padding: calc(var(--hdr) + 70px) 0 110px; background: var(--paper) var(--dots); background-size: 22px 22px; min-height: 70vh; }
.page-main article > h1 { margin-bottom: 26px; font-size: clamp(36px, 5vw, 58px); font-weight: 900; text-align: center; }
.page-main .aai-signup { max-width: 520px; margin: 0 auto; padding: 0; display: grid; gap: 16px; }
.page-main .aai-signup .aai-card { padding: 34px; border-radius: 26px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.page-main .aai-signup h2 { margin: 10px 0 6px; font-size: 28px; }
.page-main .aai-signup .aai-field { display: grid; gap: 6px; margin: 14px 0; }
.page-main .aai-signup input[type=email], .page-main .aai-signup input[type=text], .page-main .aai-signup input[type=password] { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; transition: border-color .25s, box-shadow .25s; }
.page-main .aai-signup input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(10, 91, 211, .14); }
.page-main .aai-signup .aai-btn { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--grad-warm); color: #fff; font: 700 17px var(--body); cursor: pointer; box-shadow: 0 14px 30px -12px rgba(242, 106, 27, .75); transition: transform .3s var(--ease-out); }
.page-main .aai-signup .aai-btn:hover { transform: translateY(-2px); }
.page-main .aai-signup .aai-msg { padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.page-main .aai-signup .is-ok { background: #e8f8ef; color: #166534; }
.page-main .aai-signup .is-err { background: #fdecea; color: #a1281c; }
.sub-hero { padding: calc(var(--hdr) + 70px) 0 110px; background: var(--grad-hero); overflow: hidden; isolation: isolate; }
.sub-hero .hero-grid { grid-template-columns: 1fr 1fr; }
.sub-hero .hero-title { font-size: clamp(42px, 5.6vw, 76px); }
.sub-hero .sub-fig { position: relative; z-index: 1; padding: 20px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-lg); }
.sub-points { padding: 120px 0; background: var(--paper) var(--dots); background-size: 22px 22px; }
.sub-points .bento .tile { grid-column: span 2; }

.hero-grid > *, .story-grid > *, .gallery-head > *, .faq-grid > *, .footer-grid > * { min-width: 0; }
.notfound { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 40px 0; }
.notfound b { font: 900 clamp(90px, 16vw, 180px)/1 var(--head); background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); font-size: 19px; }

/* =========================================================
   18. Responsive
   ========================================================= */
@media (max-width: 1180px) {
	.pathway { display: none; }
	.cat-nav ul a { padding: 10px 10px; }
	.hdr-credits span { display: none; }
}
@media (max-width: 1020px) {
	.nav-toggle { display: block; }
	.cat-nav { position: fixed; inset: 0 0 auto; top: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 14px; padding: 90px 20px 26px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-105%); transition: transform .5s var(--ease-out); max-height: 100vh; overflow: auto; }
	.cat-nav.is-open { transform: none; }
	.cat-nav ul { flex-direction: column; margin: 0; }
	.cat-nav ul a { color: var(--ink-2) !important; font-size: 20px; padding: 12px 6px; }
	.nav-cta { flex-wrap: wrap; }
	.nav-login { color: var(--indigo); }
	.nav-open .nav-toggle span { background: var(--indigo); }
	.hdr-credits, .hdr-bell summary, .me-menu summary { background: var(--soft) !important; color: var(--ink-2) !important; }
	.me-pop { position: static; width: auto; margin-top: 8px; box-shadow: 0 0 0 1px var(--line); }
}
@media (max-width: 900px) {
	body { font-size: 16px; }
	.hero { padding-top: calc(var(--hdr) + 20px); }
	.hero-grid, .story-grid, .gallery-head, .faq-grid, .sub-hero .hero-grid { grid-template-columns: 1fr; }
	.hero-stage { max-width: 560px; margin: 10px auto 0; }
	.story { height: auto; padding: 110px 0; }
	.story-pin { position: static; height: auto; }
	.story-stage { order: -1; }
	.story-steps li.is-on { transform: none; }
	.story-copy h2 { margin-bottom: 22px; }
	.gallery-pin { padding: 100px 0 60px; }
	.statement { padding: 120px 0 100px; }
	.facts { grid-template-columns: 1fr; margin-top: 50px; }
	.bento { grid-template-columns: 1fr; }
	.tile, .tile.t-fix, .tile.t-export, .sub-points .bento .tile { grid-column: auto; }
	.price-grid { grid-template-columns: minmax(0, 480px); }
	.faq-head { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.features, .pricing, .faq, .studio-sec { padding: 100px 0; }
	.closing { padding: 120px 0; }
}
@media (max-width: 560px) {
	.wrap { width: calc(100% - 32px); }
	.hero-actions .btn { width: 100%; }
	.price-card { padding: 34px 24px 28px; }
	.price b { font-size: 64px; }
	.footer-grid { grid-template-columns: 1fr; }
	.qa summary { padding: 18px 20px; font-size: 17px; }
	.qa-body p { padding: 0 20px 20px; }
	.fig .lbl text { font-size: 28px; }
	.stage-tags span { padding: 6px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* ===== European blue (light) + Roboto: readable text on the gold accent ===== */
body { font-family: Roboto, system-ui, sans-serif; }
.btn-primary, .btn-primary span, .btn-primary svg { color: #fff; }
.btn-primary { box-shadow: 0 14px 30px -12px rgba(242, 106, 27, .65); }
.hdr-badge { color: #fff; }
.gnum { color: var(--royal); }
.story-steps li.is-on b { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.me-pop .me-out { color: #b3261e; }

/* Clear orange: solid, readable accent; no gradient text and no looping glow on orange */
:root { --orange: #ff7a00; --flame: #e8590c; --grad-warm: linear-gradient(180deg, #f76707, #ec5f06); }
.btn-primary { background: #f76707; box-shadow: 0 10px 22px -10px rgba(170, 60, 0, .55); text-shadow: 0 1px 1px rgba(110, 35, 0, .3); }
.btn-primary:hover { background: #e8590c; box-shadow: 0 14px 28px -12px rgba(170, 60, 0, .6); }
.hero-title em, .hero-title em .w > span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ff9124; -webkit-text-fill-color: #ff9124; text-shadow: 0 2px 0 rgba(0, 39, 110, .3), 0 6px 18px rgba(0, 25, 80, .35); }
.pulse::before { animation-iteration-count: 2; }
.eyebrow-chip i { animation: none; }

/* Studio uses the full page width */
.studio-sec .wrap.wide { width: calc(100% - 120px); max-width: none; }
@media (max-width: 1100px) { .studio-sec .wrap.wide { width: calc(100% - 40px); } }
@media (max-width: 700px) { .studio-sec .wrap.wide { width: calc(100% - 24px); } }

/* Limited offer: crossed-out regular price above the offer price */
.price-was { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 -2px; }
.price-was s { font: 700 22px/1 var(--head); color: #8a90a6; text-decoration-color: #e8590c; text-decoration-thickness: 2px; }
.price-was em { padding: 4px 10px; border-radius: 999px; background: #e8590c; color: #fff; font: 700 12px/1.2 var(--body); font-style: normal; }

/* Studio frame: slow flowing light European-blue border */
.studio-shell { background: linear-gradient(120deg, #4f9bff, #a9d0ff, #2f7ae5, #7fb8ff, #4f9bff); background-size: 300% 300%; animation: shellFlow 10s ease-in-out infinite; }
@keyframes shellFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .studio-shell { animation: none; } }

/* Larger text across the site (generated: +10% up to 20px, +5% up to 40px) */
body { font-size: 18.7px; }
h3 { font-size: 22.1px; }
.eyebrow { font-size: 14.3px; }
.section-head p { font-size: 20.9px; }
.btn { font-size: 17.6px; }
.btn-sm { font-size: 16.5px; }
.btn-lg { font-size: 18.7px; }
.btn-xl { font-size: 20.9px; }
.cat-nav ul a { font-size: 16.5px; }
.hdr-credits { font-size: 14.3px; }
.hdr-credits b { font-size: 18.7px; }
.me-menu summary { font-size: 15.4px; }
.me-head small { font-size: 13.2px; }
.me-pop > a { font-size: 16.5px; }
.bell-title { font-size: 16.5px; }
.bell-empty { font-size: 15.4px; }
.bell-item { font-size: 15.4px; }
.pathway a span { font-size: 13.2px; }
.fig .num { font-size: 13.2px; }
.eyebrow-chip { font-size: 15.4px; }
.hero-lead { font-size: 22px; }
.hero-formats li { font-size: 13.2px; }
.hero-formats li.sep { font-size: 15.4px; }
.fields-track span { font-size: 19.8px; }
.story-steps li b { font-size: 23.1px; }
.story-steps li h3 { font-size: 22px; }
.story-steps li p { font-size: 17.6px; }
.stage-tags span { font-size: 14.3px; }
.gallery-head p { font-size: 19.8px; }
.gnum { font-size: 15.4px; }
.gcard h3 { font-size: 27.3px; }
.gcard p { font-size: 17.6px; }
.gcard-end h3 { font-size: 31.5px; }
.tile h3 { font-size: 23.1px; }
.tile p { font-size: 17.6px; }
.fixword .w-bad, .fixword .w-good { font-size: 35.7px; }
.files span { font-size: 15.4px; }
.studio-shell .aai-note { font-size: 18.7px; }
.best-badge { font-size: 13.2px; }
.price-name { font-size: 15.4px; }
.price sup { font-size: 29.4px; }
.price-note { font-size: 15.4px; }
.qa summary { font-size: 20.9px; }
.qa-body p { font-size: 18.7px; }
.closing p { font-size: 22px; }
.footer-brand p { font-size: 16.5px; }
.site-footer h4 { font-size: 14.3px; }
.site-footer ul a { font-size: 16.5px; }
.footer-base { font-size: 15.4px; }
.page-main .aai-signup h2 { font-size: 29.4px; }
.page-main .aai-signup .aai-btn { font-size: 18.7px; }
.notfound p { font-size: 20.9px; }
.price-was s { font-size: 23.1px; }
@media (max-width: 1020px) {
	.cat-nav ul a { font-size: 22px; }
}
@media (max-width: 900px) {
	body { font-size: 17.6px; }
}
@media (max-width: 560px) {
	.qa summary { font-size: 18.7px; }
	.stage-tags span { font-size: 13.2px; }
}

/* Selected text: navy blue */
::selection { background: #002f87; color: #fff; }

/* Contrast pass (WCAG AA): deeper orange behind white text, deeper hero blue, darker grey labels */
:root { --grad-warm: linear-gradient(180deg, #cc4b0c, #b73d0a); --grad-hero: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .2), transparent 50%), linear-gradient(145deg, #0a4fbf, #1f5fc9 60%, #002f87); }
.btn-primary { background: linear-gradient(180deg, #cc4b0c, #b73d0a); }
.btn-primary:hover { background: #a8380a; }
.best-badge, .hdr-badge, .price-was em { background: #c2410c; }
.hero-title em, .hero-title em .w > span { color: #f5761a; -webkit-text-fill-color: #f5761a; text-shadow: 0 2px 0 rgba(0, 31, 92, .45), 0 6px 18px rgba(0, 25, 80, .4); }
.hero-lead { color: rgba(255, 255, 255, .97); }
.hero-formats .sep { color: rgba(255, 255, 255, .94); }
.eyebrow-chip, .hero-formats li { background: rgba(0, 31, 92, .38); }
.fields-track span { color: #555e74; }
/* Selected items are navy blue with white text */
.story-steps li.is-on { background: #002f87; box-shadow: 0 16px 34px -18px rgba(0, 39, 110, .6); }
.story-steps li.is-on, .story-steps li.is-on * { color: #fff; }
.story-steps li.is-on b { color: #ffb066; }
.story-steps li.is-on p, .story-steps li.is-on span { color: rgba(255, 255, 255, .92); }
.stage-tags span.is-on { background: #002f87; color: #fff; }

.hero-formats .sep { color: #fff; }
.tile-art.files > span:nth-child(1) { background: #0a4fbf; }
.tile-art.files > span:nth-child(2) { background: #1f5fc9; }
.tile-art.files > span:nth-child(3) { background: #c2410c; }
.tile-art.files > span:nth-child(4) { background: #c94a0d; }

/* One orange everywhere: light orange #f5761a; text on orange is navy for readability */
:root { --orange: #f5761a; --flame: #f26a1b; --grad-warm: linear-gradient(110deg, #f26a1b, #ff8a00); }
.btn-primary { background: linear-gradient(110deg, #f26a1b, #ff8a00); text-shadow: none; box-shadow: 0 10px 22px -10px rgba(230, 120, 30, .6); }
.btn-primary, .btn-primary span, .btn-primary svg { color: #fff; }
.btn-primary:hover { background: linear-gradient(110deg, #e85f12, #ff7a00); box-shadow: 0 14px 28px -12px rgba(230, 120, 30, .65); }
.pulse::before { border-color: rgba(245, 118, 26, .8); }
.btn-outline { box-shadow: inset 0 0 0 2px #f5761a; }
.btn-outline:hover { background: #fff4e8; }
.btn-glass { box-shadow: inset 0 0 0 1.5px #f5761a; }
.best-badge, .hdr-badge, .price-was em, .page-main .aai-signup .aai-btn, .tile-art.files > span:nth-child(3), .tile-art.files > span:nth-child(4) { background: #f5761a; color: #fff; }
.story-steps li.is-on b { color: #f5761a; }


/* Plan-card blue: How it works active step, tags and highlighted words */
.story-steps li.is-on { background: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .4), transparent 50%), linear-gradient(145deg, #0a5bd3, #2f7ae5 65%, #003399); box-shadow: 0 16px 34px -18px rgba(10, 91, 211, .65); }
.story-steps li.is-on, .story-steps li.is-on * { color: #fff; }
.story-steps li.is-on b { color: #ff8a00; -webkit-text-fill-color: #ff8a00; background: none; }
.story-steps li.is-on p, .story-steps li.is-on span { color: rgba(255, 255, 255, .92); }
.stage-tags span.is-on { background: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .4), transparent 50%), linear-gradient(145deg, #0a5bd3, #2f7ae5 65%, #003399); color: #fff; box-shadow: 0 10px 20px -10px rgba(10, 91, 211, .7); }
@keyframes hlPlan { to { fill: #0a5bd3; } }
.fig-story.at-0 .v2 .hl, .fig-story.at-0 .hl { animation-name: hlPlan; }


/* Plan-card blue: studio frame */
body .studio-shell { background: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .4), transparent 50%), linear-gradient(145deg, #0a5bd3, #2f7ae5 65%, #003399); background-size: auto; animation: none; }


/* Studio frame: thin orange inlay inside the blue frame */
body .studio-shell .aai { box-shadow: 0 0 0 1.5px #f5761a; }


/* aFig logo sizing */
.logo.logo-v3 { display: inline-grid; align-items: center; }
.logo.logo-v3 img { grid-area: 1 / 1; width: auto; height: 50px; }
.is-scrolled .logo.logo-v3 img { height: 44px; }
.logo.logo-footer.logo-v3 img { height: 84px; width: auto; }
@media (max-width: 560px) { .logo.logo-v3 img { height: 40px; } }


/* Top scroll progress bar: site blue, fills smoothly */
.scroll-progress { height: 3px; background: rgba(10, 91, 211, .10); }
.scroll-progress i { background: linear-gradient(90deg, #0a5bd3, #2f7ae5 60%, #003399) !important; box-shadow: 0 0 8px rgba(47, 122, 229, .55); transition: transform .25s linear; will-change: transform; }


/* Navigation bar: always the site blue, same look from top to bottom on every page */
body .site-header, body .site-header.is-scrolled, body.solid-header .site-header { background: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .35), transparent 45%), linear-gradient(100deg, #0a4fbf, #0a5bd3 40%, #2f7ae5 100%) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 28px -16px rgba(0, 39, 110, .65) !important; }
body .site-header .logo .logo-on-dark { opacity: 1 !important; }
body .site-header .logo .logo-on-light { opacity: 0 !important; }
body .site-header .cat-nav ul a, body .site-header.is-scrolled .cat-nav ul a, body.solid-header .site-header .cat-nav ul a { color: rgba(255, 255, 255, .92) !important; }
body .site-header .cat-nav ul a:hover, body .site-header .cat-nav ul a.is-current { color: #fff !important; }
body .site-header .nav-login { color: #fff !important; }
body .site-header .hdr-credits, body .site-header .hdr-bell summary, body .site-header .me-menu summary { background: rgba(255, 255, 255, .16) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
body .site-header .hdr-credits b { color: #fff !important; }
body .site-header .hdr-credits span, body .site-header .me-menu summary span { color: rgba(255, 255, 255, .9) !important; }
body .site-header .hdr-credits i { background: rgba(255, 255, 255, .28) !important; }
body .site-header .nav-toggle { background: rgba(255, 255, 255, .16) !important; }
body .site-header .nav-toggle span { background: #fff !important; }
@media (max-width: 1020px) { body .site-header .cat-nav ul a { color: #1d2240 !important; } body .site-header .cat-nav .hdr-credits, body .site-header .cat-nav .hdr-bell summary, body .site-header .cat-nav .me-menu summary { background: #f1f5fd !important; color: #1d2240 !important; box-shadow: none; } body .site-header .cat-nav .hdr-credits b { color: #0a5bd3 !important; } body .site-header .cat-nav .nav-login { color: #0a5bd3 !important; } }

/* Hero computer: ALUNA Studio demo on a laptop (sizes follow the laptop width) */
.hero-device .dv { position: relative; z-index: 1; width: 100%; container-type: inline-size; filter: drop-shadow(0 40px 60px rgba(0, 20, 70, .45)); }
.dv-screen { position: relative; aspect-ratio: 16 / 10.6; overflow: hidden; border: 1.6cqw solid #0e1424; border-bottom-width: 2.2cqw; border-radius: 2.4cqw 2.4cqw 1cqw 1cqw; background: #f6f9ff; }
.dv-base { position: relative; height: 2.8cqw; margin: 0 -6%; border-radius: .4cqw .4cqw 2.6cqw 2.6cqw; background: linear-gradient(#e3e7ef, #a9b2c3); box-shadow: inset 0 .4cqw .6cqw rgba(255, 255, 255, .75); }
.dv-base i { position: absolute; top: 0; left: 50%; width: 16%; height: 1cqw; border-radius: 0 0 1cqw 1cqw; background: #8e97aa; transform: translateX(-50%); }
.dv-bar { display: flex; align-items: center; gap: .8cqw; height: 4.6cqw; padding: 0 1.8cqw; border-bottom: 1px solid #d8e0ee; background: #e9eef8; }
.dv-bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #ff5f57; }
.dv-bar i:nth-child(2) { background: #febc2e; }
.dv-bar i:nth-child(3) { background: #28c840; }
.dv-url { margin-left: 2cqw; padding: .6cqw 2.2cqw; border-radius: 99px; background: #fff; color: #45577a; font: 600 1.7cqw/1 var(--body); }
.dv-app { display: grid; grid-template-columns: 23% 1fr; height: calc(100% - 4.6cqw); }
.dv-side { display: flex; flex-direction: column; gap: .5cqw; padding: 1.8cqw 1.2cqw; border-right: 1px solid #c9daf6; background: linear-gradient(180deg, #edf4ff, #dde9fd); color: #0b2350; font: 600 1.55cqw/1.2 var(--body); }
.dv-create { margin-bottom: 1.2cqw; padding: 1.1cqw; border-radius: 99px; background: #f5761a; color: #fff; font-weight: 800; text-align: center; }
.dv-h { margin: .2cqw 0 .3cqw; color: #3a4e74; font-size: 1.15cqw; letter-spacing: .12em; text-transform: uppercase; }
.dv-gen { padding: .85cqw 1cqw; border-radius: .9cqw; transition: background .3s, color .3s, transform .15s; }
.dv-gen.is-sel { background: #002f87; color: #fff; box-shadow: inset .35cqw 0 0 #f5761a; }
.dv-gen.is-press, .dv-go.is-press, .dv-export.is-press { transform: scale(.95); }
.dv-main { display: flex; flex-direction: column; min-width: 0; padding: 1.5cqw 1.8cqw 1.8cqw; }
.dv-flow { display: flex; flex-wrap: wrap; gap: 1.8cqw; margin: 0 0 1.3cqw; padding: 0; color: #535a6e; font: 700 1.45cqw/1 var(--body); list-style: none; counter-reset: dvs; }
.dv-flow li { display: flex; align-items: center; gap: .6cqw; counter-increment: dvs; transition: color .3s; }
.dv-flow li::before { content: counter(dvs); display: grid; place-items: center; width: 2.5cqw; height: 2.5cqw; border: 1px solid #c9d3e6; border-radius: 50%; background: #fff; transition: background .3s, color .3s; }
.dv-flow li.is-on { color: #0b2350; }
.dv-flow li.is-on::before { border-color: #f5761a; background: #f5761a; color: #fff; }
.dv-flow li.is-done::before { content: "\2713"; border-color: #002f87; background: #002f87; color: #fff; }
.dv-canvas { position: relative; display: grid; flex: 1; place-items: center; min-height: 0; overflow: hidden; border-radius: 1.2cqw; background: #fff radial-gradient(rgba(165, 183, 210, .38) 1px, transparent 1.3px) 0 0 / 2cqw 2cqw; box-shadow: 0 .6cqw 2cqw -1cqw rgba(0, 39, 110, .25); }
.dv-canvas .fig { width: 96%; max-height: 96%; border-radius: .6cqw; filter: none !important; transition: opacity .5s; }
.dv:not(.s-create):not(.s-refine) .dv-canvas .fig { opacity: 0; }
.dv-prompt { position: absolute; top: 50%; left: 50%; z-index: 3; width: 76%; padding: 2cqw 2.3cqw; border-radius: 1.4cqw; background: #fff; box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 39, 110, .45); color: #1d2240; font: 500 1.75cqw/1.45 var(--body); opacity: 0; transform: translate(-50%, -46%) scale(.97); transition: opacity .4s, transform .4s; pointer-events: none; }
.s-describe .dv-prompt { opacity: 1; transform: translate(-50%, -50%); }
.dv-pl { display: block; margin-bottom: .8cqw; color: #4f5d86; font-size: 1.2cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dv-prompt p { min-height: 7.8cqw; margin: 0 0 1.4cqw; }
.dv-caret { display: inline-block; width: .25cqw; height: 2cqw; margin-left: .2cqw; background: #f26a1b; vertical-align: -.3cqw; animation: dvBlink 1s steps(1) infinite; }
.dv-go { display: inline-block; padding: 1cqw 2.3cqw; border-radius: 99px; background: #f5761a; color: #fff; font-weight: 800; transition: transform .15s; }
.dv-review, .dv-export { position: absolute; bottom: 2.4cqw; z-index: 3; display: flex; align-items: center; gap: .8cqw; padding: 1cqw 1.6cqw; border-radius: 99px; background: #fff; box-shadow: 0 1cqw 2.4cqw -1cqw rgba(0, 39, 110, .45); color: #1d2240; font: 600 1.5cqw/1 var(--body); opacity: 0; transform: translateY(1cqw); transition: opacity .4s, transform .4s; }
.dv-review { left: 2.4cqw; }
.dv-review b { color: #0d6b3d; }
.dv-export { right: 2.4cqw; }
.dv-export b { padding: .55cqw 1.1cqw; border-radius: 99px; background: #f5761a; color: #fff; }
.s-refine .dv-review { opacity: 1; transform: none; }
.s-refine .dv-export { opacity: 1; transform: none; transition-delay: .9s; }
.dv.is-exported .dv-export b::after { content: " \2713"; }
.dv-cursor { position: absolute; top: 0; left: 0; z-index: 6; width: 3.2cqw; filter: drop-shadow(0 .3cqw .4cqw rgba(0, 0, 0, .35)); transform: translate(70cqw, 40cqw); transition: transform .75s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.dv-cursor svg { display: block; width: 100%; height: auto; transition: transform .15s; }
.dv-cursor.is-click svg { transform: scale(.8); }
@keyframes dvBlink { 50% { opacity: 0; } }
@container (max-width: 430px) { .dv-app { grid-template-columns: 1fr; } .dv-side { display: none; } }
@media (prefers-reduced-motion: reduce) { .dv-cursor { display: none; } .dv-caret { animation: none; } }

/* Larger laptop: wider hero column, and on wide screens the laptop extends into the free space on the right */
@media (min-width: 1000px) {
	.hero-grid { grid-template-columns: .88fr 1.12fr; }
	.hero-device .dv { width: min(124%, calc(100% + max(0px, (100vw - 1320px) / 2 - 72px))); } /* leaves room for the section dots on the right */
}

/* The laptop is a size container, so its column must give it a width on every screen */
.hero-stage.hero-device { width: 100%; }

/* ===== Studio page (/studio/) and the home-page preview card ===== */
body.studio-page { background: linear-gradient(180deg, #eef4ff 0, #f6f9ff 340px, #fff 100%); }
.studio-app .studio-sec { padding: 104px 0 64px; background: transparent; }
.studio-app .studio-sec .wrap.wide { width: calc(100% - 64px); }
@media (max-width: 1100px) { .studio-app .studio-sec .wrap.wide { width: calc(100% - 32px); } }
@media (max-width: 700px) { .studio-app .studio-sec { padding: 84px 0 40px; } .studio-app .studio-sec .wrap.wide { width: calc(100% - 16px); } }
.studio-teaser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 44px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(111, 208, 255, .4), transparent 50%), linear-gradient(145deg, #0a5bd3, #2f7ae5 65%, #003399); box-shadow: 0 40px 80px -36px rgba(0, 40, 120, .55); }
.st-tz-url { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); font: 600 13px/1 Roboto, system-ui, sans-serif; letter-spacing: .01em; }
.st-tz-url i { width: 8px; height: 8px; border-radius: 50%; background: #f5761a; box-shadow: 0 0 0 4px rgba(245, 118, 26, .25); }
.st-tz-copy h3 { margin: 18px 0 10px; color: #fff; font: 800 clamp(24px, 2.6vw, 34px)/1.15 Roboto, system-ui, sans-serif; letter-spacing: -.01em; }
.st-tz-copy p { margin: 0 0 24px; color: rgba(255, 255, 255, .86); font-size: 16.5px; line-height: 1.55; }
.st-tz-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.studio-teaser .btn-primary { background: #f5761a; color: #fff; border-color: #f5761a; }
.studio-teaser .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.studio-teaser .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.st-tz-gens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-tz-gens a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.st-tz-gens a:hover { background: rgba(255, 255, 255, .2); transform: translateX(4px); }
.st-tz-gens b { flex: 1; font: 700 15px/1.2 Roboto, system-ui, sans-serif; }
.st-tz-gens .aai-gen-ico { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.st-tz-gens .arr { opacity: .75; }
@media (max-width: 860px) { .studio-teaser { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Studio page: no frame around the studio (no blue border, no orange line). */
body.studio-page .studio-shell { padding: 0; background: none !important; box-shadow: none; border-radius: 0; animation: none; }
body.studio-page .studio-shell .aai { box-shadow: 0 24px 60px -32px rgba(0, 40, 120, .35) !important; border-radius: 20px; }

/* Mini aFig Studio screens (category cards and the studio's generator pages) */
.dv-mini { position: relative; width: 100%; container-type: inline-size; }
.dv-mini .dv-screen { border-width: 1.2cqw; border-bottom-width: 1.2cqw; border-radius: 2.2cqw; box-shadow: 0 18px 36px -22px rgba(0, 25, 70, .5); }
.gcard-fig .dv-mini, .aai-gi-art .dv-mini { margin: 0 auto; }
.gcard-fig .afig-frame { display: none; }
@container (max-width: 430px) {
	.dv-mini .dv-flow { gap: 1.4cqw; font-size: 2.6cqw; }
	.dv-mini .dv-flow li::before { width: 4.2cqw; height: 4.2cqw; }
	.dv-mini .dv-bar { height: 7cqw; } .dv-mini .dv-bar i { width: 2cqw; height: 2cqw; } .dv-mini .dv-url { font-size: 2.6cqw; }
	.dv-mini .dv-app { height: calc(100% - 7cqw); }
	.dv-mini .dv-prompt { width: 88%; padding: 3cqw; font-size: 3cqw; line-height: 1.35; } .dv-mini .dv-pl { font-size: 2.2cqw; } .dv-mini .dv-prompt p { min-height: 14cqw; }
	.dv-mini .dv-go { padding: 1.6cqw 3.4cqw; font-size: 2.8cqw; } .dv-mini .dv-caret { height: 3.4cqw; }
	.dv-mini .dv-review, .dv-mini .dv-export { padding: 1.6cqw 2.4cqw; font-size: 2.6cqw; }
	.dv-mini .dv-cursor { width: 5.4cqw; }
}

/* ===== Home page laptop: the full studio tour (hero-demo.js, [data-tour]) ===== */
.dv-hero .dv-app { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
	/* fits the window height on laptops: screen, base and the feature rail stay in view */
	.hero-device .dv-hero { width: min(124%, calc(100% + max(0px, (100vw - 1320px) / 2 - 72px)), calc((100svh - 128px) * 1.22)); margin-inline: auto; }
	.hero-grid > .hero-device { align-self: start; }
}
.dv-tools { display: none; gap: .7cqw; margin: 0 0 1.3cqw; }
.dv.is-edit .dv-flow { display: none; }
.dv.is-edit .dv-tools { display: flex; flex-wrap: wrap; }
.dv-tool { display: inline-flex; align-items: center; gap: .6cqw; padding: .65cqw 1.2cqw; border: 1px solid #d3def2; border-radius: 99px; background: #fff; color: #0b2350; font: 700 1.35cqw/1 var(--body); transition: background .3s, color .3s, border-color .3s, transform .15s; }
.dv-tool svg { width: 1.7cqw; height: 1.7cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-tool.is-sel { border-color: #002f87; background: #002f87; color: #fff; box-shadow: 0 0 0 .3cqw rgba(245, 118, 26, .55); }
.dv-tool.is-press { transform: scale(.94); }
.dv.is-edit .dv-review { opacity: 0; transform: translateY(1cqw); }
.dv.is-edit[data-step="check"] .dv-review { opacity: 1; transform: none; }
.dv.is-edit:not([data-step="export"]) .dv-export { opacity: .0; }
.dv.is-edit[data-step="export"] .dv-export { opacity: 1; transform: none; transition-delay: 0s; }
.dv-cursor.is-fast { transition: transform .21s linear; }
.dv-cursor.is-slow { transition-duration: 1s; }
.dv-ov { position: absolute; z-index: 2; pointer-events: none; container-type: inline-size; }
.dv-mk { position: absolute; width: 1px; height: 1px; }
.dv-scan { position: absolute; border: 2px solid #2f7ae5; border-radius: .5cqw; background: rgba(47, 122, 229, .1); animation: dvScan .32s both; transition: opacity .6s, border-color .25s, background .25s; }
.dv-scan.is-ok { border-color: #16a36a; background: rgba(22, 163, 106, .08); }
.dv-scan.is-ok::after { content: "\2713"; position: absolute; top: -1.3cqw; right: -1.3cqw; display: grid; place-items: center; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: #16a36a; color: #fff; font: 800 1.4cqw/1 var(--body); animation: dvScan .3s both; }
.dv-ov.is-checked .dv-scan, .dv-ov.is-checked .dv-scan::after { animation: dvOut .5s forwards; }
@keyframes dvOut { to { opacity: 0; } }
@keyframes dvScan { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }
.dv-word { position: absolute; display: flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: .3cqw; color: #1d2a55; font: 400 2.15cqw/1 var(--body); transition: box-shadow .3s; }
.dv-word.is-editing { box-shadow: 0 0 0 .25cqw #fff, 0 0 0 .45cqw #f5761a; }
.dv-word .dv-caret { display: none; height: 2.3cqw; }
.dv-word.is-editing .dv-caret { display: inline-block; }
.dv-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dv-draw path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dv-arr, .dv-paint { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dvDraw var(--t, 1s) ease-in-out forwards; }
.dv-arr { stroke: #1d2a55; stroke-width: 3.2; }
.dv-head { fill: #1d2a55 !important; stroke: #1d2a55; stroke-width: 1.5; opacity: 0; animation: dvPop .25s .85s forwards; }
.dv-paint { stroke: #f5761a; stroke-width: 9; opacity: .62; mix-blend-mode: multiply; }
@keyframes dvDraw { to { stroke-dashoffset: 0; } }
@keyframes dvPop { from { opacity: 0; transform: scale(.4); transform-origin: center; } to { opacity: 1; transform: none; } }
.dv-marq { position: absolute; border: 2px dashed #2f7ae5; border-radius: .3cqw; background: rgba(47, 122, 229, .12); transition: width .95s cubic-bezier(.3, .7, .2, 1), height .95s cubic-bezier(.3, .7, .2, 1), opacity .5s; }
.dv-marq.off { opacity: 0; }
.dv-heal { position: absolute; overflow: hidden; border-radius: .3cqw; opacity: 0; transition: opacity .8s; }
.dv-heal.on { opacity: 1; }
.dv-heal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .95) 45%, rgba(255, 138, 0, .7) 55%, transparent 80%); transform: translateX(-120%); animation: dvSweep 1s .1s ease-out forwards; }
@keyframes dvSweep { to { transform: translateX(120%); } }
.dv-spk { position: absolute; width: 1.5cqw; height: 1.5cqw; margin: -.75cqw 0 0 -.75cqw; background: linear-gradient(135deg, #ff8a00, #f5761a 50%, #7c3aed); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: dvSpk .9s ease-out both; }
@keyframes dvSpk { from { opacity: 0; transform: scale(.2); } 25% { opacity: 1; transform: scale(1.2); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(120deg); } }
.dv-ov.is-merge::before { content: ""; position: absolute; inset: 0; border-radius: .6cqw; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .85) 48%, rgba(255, 138, 0, .45) 52%, transparent 70%); background-size: 250% 100%; animation: dvMerge 1.3s ease-in-out forwards; }
.dv-ov.is-merge { box-shadow: 0 0 0 .3cqw rgba(245, 118, 26, .0); animation: dvRing 1.6s .9s ease-out forwards; border-radius: .6cqw; }
@keyframes dvMerge { from { background-position: 120% 0; } to { background-position: -30% 0; opacity: .2; } }
@keyframes dvRing { 30% { box-shadow: 0 0 0 .5cqw rgba(245, 118, 26, .7); } to { box-shadow: 0 0 0 1.4cqw rgba(245, 118, 26, 0); } }
.dv-sheet { position: absolute; left: 50%; bottom: 7cqw; z-index: 4; width: 58%; padding: 1.6cqw 2cqw; border-radius: 1.4cqw; background: #fff; box-shadow: 0 2cqw 4cqw -1.6cqw rgba(0, 39, 110, .5); color: #1d2240; font: 500 1.35cqw/1.35 var(--body); opacity: 0; transform: translate(-50%, 2cqw); transition: opacity .45s, transform .45s cubic-bezier(.3, .7, .2, 1); }
.dv-sheet.on { opacity: 1; transform: translate(-50%, 0); }
.dv-sh-t { display: block; margin-bottom: 1cqw; color: #0b2350; font-size: 1.6cqw; font-weight: 800; }
.dv-fmts { display: flex; gap: .7cqw; margin-bottom: .9cqw; }
.dv-fmts span { padding: .5cqw 1.2cqw; border: 1px solid #d3def2; border-radius: 99px; font-weight: 700; }
.dv-fmts .on { border-color: #002f87; background: #002f87; color: #fff; }
.dv-sh-m { margin: 0 0 1cqw; color: #4f5d86; }
.dv-prog { height: .8cqw; overflow: hidden; border-radius: 99px; background: #e6edf9; }
.dv-prog i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f7ae5, #f5761a); transition: width 2.1s cubic-bezier(.4, .1, .3, 1); }
.dv-sheet.on .dv-prog i { width: 100%; }
.dv-sh-s { margin: .9cqw 0 0; color: #4f5d86; }
.dv-sheet.is-ready .dv-sh-s { color: #0d6b3d; }
.dv-sheet.is-ready .dv-sh-s::before { content: "\2713  "; font-weight: 800; }
.dv-tourbox { margin-top: 2.6cqw; text-align: center; }
.dv-tour { display: flex; flex-wrap: wrap; justify-content: center; gap: .8cqw; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .72); font: 700 1.45cqw/1 var(--body); }
.dv-tour li { padding: .8cqw 1.4cqw; border: 1px solid rgba(255, 255, 255, .24); border-radius: 99px; background: rgba(255, 255, 255, .06); transition: background .35s, color .35s, border-color .35s, transform .35s, box-shadow .35s; }
.dv-tour li.is-done { border-color: rgba(255, 255, 255, .45); color: #fff; }
.dv-tour li.is-on { border-color: #f5761a; background: #f5761a; color: #fff; transform: translateY(-.3cqw); box-shadow: 0 .8cqw 1.8cqw -.6cqw rgba(245, 118, 26, .85); }
.dv-cap { min-height: 2.4em; margin: 1.6cqw auto 0; max-width: 88%; color: rgba(255, 255, 255, .88); font: 500 1.75cqw/1.4 var(--body); }
.dv-cap b { margin-right: .6em; color: #ff8a00; font-weight: 800; }
.dv-cap span { display: inline-block; animation: dvCapIn .5s both; }
.dv-cap[data-k] b { animation: dvCapIn .4s both; }
@keyframes dvCapIn { from { opacity: 0; transform: translateY(.8cqw); } to { opacity: 1; transform: none; } }
@container (max-width: 430px) { .dv-tour { font-size: 2.6cqw; } .dv-cap { font-size: 3cqw; } .dv-tool { font-size: 2.4cqw; } }
.dv-tools { gap: .55cqw; }
.dv-tool { padding: .6cqw .75cqw; }
.dv-tool > span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s ease; }
.dv-tool.is-sel > span { max-width: 14cqw; }
.dv-tool:not(.is-sel) { gap: 0; }
.dv-scheme { display: flex; align-items: center; gap: .45cqw; margin: 0 0 1.3cqw; color: #4f5d86; font-size: 1.25cqw; font-weight: 700; }
.dv-scheme i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.dv-scheme i:first-of-type { margin-left: .4cqw; }
.dv-pop { position: absolute; top: 1.2cqw; z-index: 5; min-width: 20cqw; padding: 1.2cqw 1.4cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 1.6cqw 3.2cqw -1.4cqw rgba(0, 39, 110, .5); color: #1d2240; font: 600 1.3cqw/1.3 var(--body); opacity: 0; transform: translateY(-1cqw) scale(.96); transform-origin: top left; transition: opacity .3s, transform .3s; pointer-events: none; }
.dv-pop.on { opacity: 1; transform: none; }
.dv-pop > b { display: block; margin-bottom: .8cqw; color: #0b2350; font-weight: 800; }
.dv-syms { display: grid; grid-template-columns: repeat(5, 3.2cqw); gap: .5cqw; }
.dv-syms span { display: grid; place-items: center; height: 3.2cqw; border: 1px solid #d3def2; border-radius: .6cqw; font: 500 1.6cqw/1 var(--body); transition: background .2s, color .2s; }
.dv-syms span.on { border-color: #002f87; background: #002f87; color: #fff; }
.dv-pop label { display: grid; grid-template-columns: 9cqw 1fr; align-items: center; gap: 1cqw; margin: .5cqw 0; font-weight: 600; }
.dv-pop label i { position: relative; height: .6cqw; border-radius: 99px; background: #e6edf9; }
.dv-pop label s { position: absolute; top: 50%; left: var(--v, 50%); width: 1.6cqw; height: 1.6cqw; margin: -.8cqw 0 0 -.8cqw; border-radius: 50%; background: #2f7ae5; box-shadow: 0 0 0 .3cqw rgba(47, 122, 229, .25); transition: left 1.2s cubic-bezier(.3, .7, .2, 1); }
.dv-ratios { display: flex; gap: .5cqw; }
.dv-ratios span { padding: .45cqw 1cqw; border: 1px solid #d3def2; border-radius: 99px; font-weight: 700; }
.dv-ratios .on { border-color: #002f87; background: #002f87; color: #fff; }
.dv-sym { font-size: 2.6cqw; font-style: italic; animation: dvPop .35s both; }
.dv-ink { position: absolute; border-radius: .4cqw; background: radial-gradient(closest-side, rgba(255, 138, 0, .55), rgba(245, 118, 26, 0)); animation: dvInk .9s ease-out forwards; }
@keyframes dvInk { from { opacity: 0; transform: scale(.6); } 40% { opacity: 1; transform: scale(1.15); } to { opacity: 0; transform: scale(1); } }
.dv-ov.is-ink::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 7%; background: linear-gradient(90deg, rgba(255, 138, 0, 0), rgba(255, 138, 0, .55), rgba(255, 255, 255, .9), rgba(47, 122, 229, 0)); animation: dvInkBar 1.3s ease-in-out forwards; }
@keyframes dvInkBar { from { transform: translateX(-100%); opacity: 1; } 90% { opacity: 1; } to { transform: translateX(1430%); opacity: 0; } }
.dv-shape { fill: rgba(47, 122, 229, .05); stroke: #2f7ae5; stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dvDraw var(--t, 1s) ease-in-out forwards; }
.dv-tbl { position: absolute; display: grid; grid-template-rows: repeat(3, 1fr); overflow: hidden; border: 1.5px solid #1d2a55; border-radius: .4cqw; background: #fff; color: #1d2a55; font: 400 1.2cqw/1 var(--body); }
.dv-tbl > div { display: grid; grid-template-columns: 38% 62%; animation: dvRow .35s both; }
.dv-tbl > div + div { border-top: 1px solid #c9d3e6; }
.dv-tbl b, .dv-tbl span { display: flex; align-items: center; padding: 0 .7cqw; white-space: nowrap; }
.dv-tbl b { background: #f4f7fd; font-weight: 700; }
.dv-tbl b + b, .dv-tbl span + span { border-left: 1px solid #c9d3e6; }
@keyframes dvRow { from { opacity: 0; transform: translateY(-.6cqw); } to { opacity: 1; transform: none; } }
.dv-swatch { position: absolute; width: 4.2cqw; height: 4.2cqw; margin: -6.4cqw 0 0 -2.1cqw; border: .45cqw solid #fff; border-radius: 50% 50% 50% 0; box-shadow: 0 .6cqw 1.4cqw -.4cqw rgba(0, 39, 110, .55); transform: rotate(-45deg); animation: dvPop .35s both; }
.dv-lift { position: absolute; transition: transform .9s cubic-bezier(.3, .7, .2, 1), filter .4s; }
.dv-lift canvas { display: block; width: 100%; height: 100%; }
.dv-lift.is-up { filter: drop-shadow(0 .8cqw .8cqw rgba(0, 39, 110, .35)); transform: translate(-125%, 40%) scale(1.06); }
.dv-canvas .afig img { transition: filter 1.2s ease; }
.dv-canvas .afig.is-adj img { filter: saturate(1.35) contrast(1.06) brightness(1.02); }
.dv-ov { transition: filter 1.2s ease; }
.dv-ov.is-adj { filter: saturate(1.35) contrast(1.06) brightness(1.02); }
.dv-crop { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 .2cqw #002f87, 0 0 0 100cqw rgba(11, 35, 80, 0); transition: inset .9s cubic-bezier(.3, .7, .2, 1), box-shadow .6s, opacity .5s; inset: 0 !important; width: auto !important; height: auto !important; }
.dv-crop.in { inset: 5% 6% 7% 4% !important; box-shadow: 0 0 0 .2cqw #002f87, 0 0 0 100cqw rgba(11, 35, 80, .38); }
.dv-crop.out { opacity: 0; }
.dv-crop i { position: absolute; width: 2.2cqw; height: 2.2cqw; border: .5cqw solid #f5761a; }
.dv-crop i:nth-child(1) { top: -.4cqw; left: -.4cqw; border-right: 0; border-bottom: 0; }
.dv-crop i:nth-child(2) { top: -.4cqw; right: -.4cqw; border-left: 0; border-bottom: 0; }
.dv-crop i:nth-child(3) { bottom: -.4cqw; left: -.4cqw; border-right: 0; border-top: 0; }
.dv-crop i:nth-child(4) { bottom: -.4cqw; right: -.4cqw; border-left: 0; border-top: 0; }
.dv-up { position: absolute; display: flex; flex-direction: column; gap: .4cqw; padding: .5cqw; border-radius: .6cqw; background: #fff; box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 39, 110, .5); opacity: 0; transform: translate(-40cqw, -30cqw) scale(.4) rotate(-12deg); transition: transform 1s cubic-bezier(.3, .7, .2, 1), opacity .4s; }
.dv-up.in { opacity: 1; transform: none; }
.dv-up svg { display: block; flex: 1; width: 100%; min-height: 0; }
.dv-up span { color: #4f5d86; font: 600 .95cqw/1 var(--body); text-align: center; }

.dv-tool svg { stroke-width: 1.8; }
.dv-word.is-real { font-weight: 400; letter-spacing: 0; }
.dv-px { position: absolute; }
.dv-px canvas { display: block; width: 100%; height: 100%; }
.dv-px.dv-fade { opacity: 0; transition: opacity .8s; }
.dv-px.dv-fade.on { opacity: 1; }
.dv-swatch.off { animation: dvOut .5s forwards; }
.dv-enh { display: inline-flex; padding: .6cqw 1.4cqw; border-radius: 99px; background: linear-gradient(90deg, #2f7ae5, #7c3aed); color: #fff; font-weight: 800; transition: transform .15s, box-shadow .3s; }
.dv-enh.on { box-shadow: 0 0 0 .35cqw rgba(245, 118, 26, .6); }

/* Tall figures (flowcharts) fit the studio screen by height */
.dv-canvas .fig.is-tall { width: auto; height: 94%; max-width: 96%; }

/* Category screens: just the magic. A soft brand glow while the figure is created, then a "Figure ready" chip. */
.dv-mini .dv-cursor { display: none; }
.dv-mini .dv-screen { transition: box-shadow .6s; }
.dv-mini.s-create:not(.is-ready) .dv-screen { animation: dvGlow 2.2s ease-in-out infinite; }
@keyframes dvGlow { 0%, 100% { box-shadow: 0 18px 36px -22px rgba(0, 25, 70, .5), 0 0 0 0 rgba(47, 122, 229, .0); } 50% { box-shadow: 0 18px 36px -22px rgba(0, 25, 70, .5), 0 0 0 .9cqw rgba(47, 122, 229, .22), 0 0 4cqw .4cqw rgba(245, 118, 26, .35); } }
.dv-mini .dv-canvas::after { content: "\2713  Figure ready"; position: absolute; left: 50%; bottom: 3cqw; z-index: 4; padding: 1.4cqw 2.8cqw; border-radius: 99px; background: linear-gradient(90deg, #0a5bd3, #2f7ae5); color: #fff; font: 800 2.7cqw/1 var(--body); white-space: pre; box-shadow: 0 1.4cqw 3cqw -1cqw rgba(10, 91, 211, .7), 0 0 0 .5cqw rgba(245, 118, 26, .35); opacity: 0; transform: translate(-50%, 2cqw) scale(.8); pointer-events: none; }
.dv-mini.is-ready .dv-canvas::after { animation: dvReady .6s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes dvReady { to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.dv-mini .dv-canvas::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 85%, rgba(255, 138, 0, .55) 0, rgba(255, 138, 0, 0) 40%); opacity: 0; }
.dv-mini.is-ready .dv-canvas::before { animation: dvBurst .9s ease-out forwards; }
@keyframes dvBurst { 0% { opacity: 0; transform: scale(.6); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }

/* ===== Features: the studio's main tools ===== */
.bento .tile.t-wide { grid-column: span 3; }
.bento .tile.t-export.t-narrow { grid-column: span 2; }
.t-export .files { gap: 10px; } .t-export .files span { width: 60px; height: 78px; }
/* accuracy check */
.proof { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px 10px; padding: 0 18px; }
.proof span { position: relative; padding: 7px 30px 7px 12px; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px -10px rgba(0, 39, 110, .5); font: 700 14px var(--body); color: var(--ink-2); }
.proof span::after { content: "\2713"; position: absolute; right: 7px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; border-radius: 50%; background: var(--green, #16a36a); color: #fff; font: 800 11px/17px var(--body); text-align: center; opacity: 0; transform: scale(.3); animation: pfTick 5s infinite; animation-delay: calc(var(--k) * .45s + .4s); }
.proof .pf-scan { position: absolute; top: 0; bottom: 0; left: -20%; width: 18%; background: linear-gradient(90deg, rgba(47, 122, 229, 0), rgba(156, 192, 245, .55), rgba(255, 138, 0, .5), rgba(245, 118, 26, 0)); animation: pfScan 5s ease-in-out infinite; }
@keyframes pfTick { 0% { opacity: 0; transform: scale(.3); } 8%, 82% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes pfScan { 0% { left: -20%; } 55%, 100% { left: 105%; } }
/* magic removal */
.magic { display: grid; place-items: center; }
.magic .mg-word { grid-area: 1 / 1; font: 700 30px var(--body); color: var(--ink-2); animation: mgWord 5.5s infinite; }
.magic .mg-sel { position: absolute; left: 50%; top: 50%; width: 240px; height: 54px; margin: -27px 0 0 -120px; border: 2px dashed #2f7ae5; border-radius: 8px; background: rgba(47, 122, 229, .08); animation: mgSel 5.5s infinite; }
.magic .mg-heal { position: absolute; left: 50%; top: 50%; width: 240px; height: 54px; margin: -27px 0 0 -120px; border-radius: 8px; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .95) 45%, rgba(255, 138, 0, .6) 55%, transparent 80%) no-repeat; background-size: 220% 100%; opacity: 0; animation: mgHeal 5.5s infinite; }
.magic .mg-s { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; background: linear-gradient(135deg, #ff8a00, #f5761a 50%, #7c3aed); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0; animation: mgSpark 5.5s infinite; animation-delay: var(--d, 0s); }
@keyframes mgWord { 0%, 38% { opacity: 1; filter: none; transform: none; } 50% { opacity: 0; filter: blur(6px); transform: scale(1.08); } 50.1%, 88% { opacity: 0; } 96%, 100% { opacity: 1; filter: none; transform: none; } }
@keyframes mgSel { 0%, 10% { opacity: 0; transform: scale(.4); } 20%, 46% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; } }
@keyframes mgHeal { 0%, 42% { opacity: 0; background-position: 120% 0; } 48% { opacity: 1; } 62% { opacity: 1; background-position: -20% 0; } 70%, 100% { opacity: 0; } }
@keyframes mgSpark { 0%, 40% { opacity: 0; transform: translate(0, 0) scale(.2); } 46% { opacity: 1; transform: translate(calc(var(--x) * .4), calc(var(--y) * .4)) scale(1.2); } 60%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4) rotate(140deg); } }
/* paint */
.paintart svg { width: 100%; height: 100%; }
.paintart .pt-stroke { fill: none; stroke: #ff4f86; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; animation: ptDraw 5s infinite; }
.paintart .pt-box { fill: rgba(47, 122, 229, .08); stroke: #2f7ae5; stroke-width: 2; stroke-dasharray: 5 4; animation: ptAnts .7s linear infinite; }
.paintart text { font: 700 16px var(--body); fill: #1d2a55; }
.paintart .pt-move { animation: ptMove 5s infinite; }
@keyframes ptDraw { 0% { stroke-dashoffset: 1; } 45%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes ptAnts { to { stroke-dashoffset: -9; } }
@keyframes ptMove { 0%, 50% { transform: translate(0, 0); opacity: 1; } 70%, 88% { transform: translate(-60px, 72px); opacity: 1; } 96%, 100% { transform: translate(0, 0); opacity: 0; } }
/* colour schemes */
.schemes { display: flex; align-items: center; justify-content: center; gap: 22px; }
.schemes .sc-cell { width: 120px; height: 90px; }
.sc-rows { display: grid; gap: 7px; }
.sc-rows span { display: flex; gap: 4px; padding: 4px; border-radius: 8px; animation: scOn 8s infinite; animation-delay: calc(var(--k) * 2s); }
.sc-rows i { width: 16px; height: 16px; border-radius: 50%; }
@keyframes scOn { 0%, 25% { background: #fff; box-shadow: 0 0 0 2px #2f7ae5, 0 6px 14px -8px rgba(0, 39, 110, .6); } 26%, 100% { background: transparent; box-shadow: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .tile, .bento .tile.t-wide, .bento .tile.t-export.t-narrow { grid-column: auto; } }
@media (max-width: 900px) { .bento .tile.t-wide, .bento .tile.t-export.t-narrow { grid-column: auto; } }
.section-lead { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .proof *, .magic *, .paintart *, .sc-rows span { animation: none !important; } }

/* Institutions ticker (logos move right to left; pause on hover) and more room above the generators */
.insts { position: relative; z-index: 2; padding: 34px 0 30px; background: linear-gradient(180deg, #fff, #f6f9ff); border-bottom: 1px solid var(--line); overflow: hidden; }
.insts-h { margin: 0 0 18px; text-align: center; color: var(--muted); font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase; }
.insts-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.insts-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 45s linear infinite; }
.insts:hover .insts-track { animation-play-state: paused; }
.inst { display: grid; place-items: center; height: 56px; }
.inst img { max-height: 52px; max-width: 170px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .35s, opacity .35s, transform .35s; }
.inst:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.gallery-pin { padding-top: 150px; }
.gallery.is-pinned .gallery-pin { justify-content: safe center; padding-top: clamp(64px, 10vh, 110px); padding-bottom: 24px; }
.gallery { padding-top: 26px; }
@media (prefers-reduced-motion: reduce) { .insts-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Footer: payment methods and "a product of Aluna Schrift" */
.footer-addr { margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: 13.5px; font-style: normal; line-height: 1.6; }
.footer-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: 50px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ft-l { color: rgba(255, 255, 255, .7); font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-marks li { display: grid; place-items: center; width: 58px; height: 38px; border-radius: 8px; background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); transition: transform .25s, box-shadow .25s; }
.pay-marks li:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .55); }
.pay-marks svg { width: 48px; height: 30px; display: block; }
.ft-secure { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.ft-secure svg { width: 18px; height: 18px; color: #4ade80; }
.ft-product { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 16px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); transition: transform .25s; }
.ft-product:hover { transform: translateY(-2px); }
.ft-product span { color: #45577a; font: 600 12.5px var(--body); }
.ft-product img { width: 64px; height: auto; display: block; }
.site-footer .footer-base { border-top: 0; padding-top: 6px; }
@media (max-width: 640px) { .footer-trust { flex-direction: column; align-items: flex-start; } }
.site-footer .pay-marks { display: flex; flex-wrap: wrap; gap: 8px; }

.insts.is-color .inst img { filter: none; opacity: 1; }

.site-footer .ft-product { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.site-footer .ft-product img { width: 96px; height: auto; opacity: .95; transition: opacity .25s; }
.site-footer .ft-product:hover img { opacity: 1; }

/* Generators head: title only; cards fit at every zoom level */
.gallery-head { grid-template-columns: 1fr; margin-bottom: 34px; }
.gcard { overflow: hidden; }
.gcard-fig { padding: 22px 22px 0; min-width: 0; }
.gcard-fig .dv-mini { width: 100%; max-width: 100%; box-sizing: border-box; }
.gcard-fig .dv-mini .dv-screen { box-sizing: border-box; }

.insts-track { gap: var(--inst-gap, 72px); }
.inst { height: calc(var(--inst-h, 56px) + 4px); }
.inst img { max-height: var(--inst-h, 56px); height: var(--inst-h, 56px); max-width: calc(var(--inst-h, 56px) * 3.4); }

/* ===== Features v2: why we built it, then three groups (engine · editing · organise & publish) ===== */
.feat2 .section-lead { max-width: 820px; }
.pain-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 70px; }
.pain { position: relative; padding: 20px 22px 20px 58px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -26px rgba(0, 39, 110, .45); }
.pain::before { content: ""; position: absolute; left: 20px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #f26a1b, #ff8a00); box-shadow: 0 6px 14px -6px rgba(242, 106, 27, .8); }
.pain::after { content: ""; position: absolute; left: 28px; top: 28px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg); }
.pain s { display: block; color: #8b93a8; font-size: 14.5px; text-decoration-color: rgba(242, 106, 27, .7); text-decoration-thickness: 2px; }
.pain b { display: block; margin-top: 6px; color: var(--ink, #0b2350); font-size: 17px; line-height: 1.35; }
.fgroup { margin-top: 64px; }
.fgroup:first-of-type { margin-top: 0; }
.fg-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.fg-num { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, #0a4fbf, #2f7ae5); color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 14px 26px -14px rgba(10, 79, 191, .9); }
.fg-head h3 { font-size: 28px; line-height: 1.2; }
.fg-head p { margin-top: 4px; color: var(--muted); font-size: 16.5px; }
.feat2 .bento .tile.t-export { grid-column: span 2; }
.feat2 .bento .tile.t-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 34px; align-items: center; }
.feat2 .bento .tile.t-full .tile-art { grid-row: 1 / 3; height: 230px; }
.feat2 .bento .tile.t-full h3 { margin-top: 0; align-self: end; font-size: 26px; }
.feat2 .bento .tile.t-full p { align-self: start; font-size: 17px; }
.tile-new { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: linear-gradient(110deg, #f26a1b, #ff8a00); color: #fff; font: 700 11px/1.6 Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; font-style: normal; }

/* engine: text becomes a labelled figure */
.engine { display: flex; align-items: center; gap: 4%; padding: 0 5%; }
.en-text { flex: 0 0 28%; display: flex; flex-direction: column; gap: 9px; padding: 16px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 22px -16px rgba(0, 39, 110, .6); }
.en-text i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: #d7e2f7; animation: enLine 6s ease-in-out infinite; }
.en-text i:nth-child(2) { animation-delay: .15s; } .en-text i:nth-child(3) { animation-delay: .3s; } .en-text i:nth-child(4) { animation-delay: .45s; }
.en-text span { margin-top: 2px; font-size: 11.5px; font-weight: 700; color: #5d6b8a; letter-spacing: .04em; }
.en-flow { flex: 0 0 auto; display: flex; gap: 5px; }
.en-flow b { width: 8px; height: 8px; border-radius: 50%; background: #f5761a; animation: enDot 1.2s ease-in-out infinite; }
.en-flow b:nth-child(2) { animation-delay: .2s; } .en-flow b:nth-child(3) { animation-delay: .4s; }
.en-fig { flex: 1 1 auto; height: 88%; overflow: visible; }
.en-panel { fill: #fff; filter: drop-shadow(0 10px 18px rgba(0, 39, 110, .18)); }
.en-cell { fill: #e7efff; stroke: #2f7ae5; stroke-width: 3; transform-origin: 92px 80px; animation: enPop 6s ease-out infinite; }
.en-nuc { fill: #7c3aed; opacity: .85; transform-origin: 82px 84px; animation: enPop 6s ease-out infinite .35s; }
.en-mito { fill: #f5761a; transform-origin: 128px 60px; animation: enPop 6s ease-out infinite .6s; }
.en-arrow { fill: none; stroke: #0b2350; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: enDraw 6s ease-out infinite .9s; }
.en-lab { fill: #0a4fbf; opacity: 0; animation: enLab 6s ease-out infinite; }
.en-lab.l1 { animation-delay: 1.3s; } .en-lab.l2 { animation-delay: 1.5s; fill: #7c3aed; } .en-lab.l3 { animation-delay: 1.7s; fill: #f5761a; }
.en-ok { position: absolute; right: 5%; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: #ecfdf3; color: #15803d; font-size: 12.5px; font-weight: 700; opacity: 0; animation: enLab 6s ease-out infinite 2.2s; }
@keyframes enLine { 0%, 8% { background: #d7e2f7; } 20%, 60% { background: #9fbdf3; } 80%, 100% { background: #d7e2f7; } }
@keyframes enDot { 0%, 100% { transform: translateX(0); opacity: .35; } 50% { transform: translateX(6px); opacity: 1; } }
@keyframes enPop { 0%, 12% { transform: scale(.2); opacity: 0; } 24%, 86% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes enDraw { 0%, 15% { stroke-dashoffset: 1; } 32%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes enLab { 0%, 18% { opacity: 0; transform: translateY(6px); } 28%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* print-sharp: a slider wipes from soft to crisp */
.hdart { display: grid; place-items: center; }
.hdart > div { grid-area: 1 / 1; width: 70%; height: 80%; }
.hdart svg { width: 100%; height: 100%; }
.hdart ellipse { fill: #e7efff; stroke: #2f7ae5; stroke-width: 3; } .hdart circle { fill: #7c3aed; }
.hd-a svg { filter: blur(2.6px); opacity: .85; }
.hd-b { clip-path: inset(0 100% 0 0); animation: hdWipe 5s ease-in-out infinite; }
.hd-line { position: absolute; top: 10%; bottom: 10%; left: 15%; width: 3px; border-radius: 2px; background: #f5761a; box-shadow: 0 0 10px rgba(245, 118, 26, .8); animation: hdLine 5s ease-in-out infinite; }
.hd-t1, .hd-t2 { position: absolute; bottom: 8px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.hd-t1 { left: 10px; background: #eef2f8; color: #6b7896; } .hd-t2 { right: 10px; background: #0a4fbf; color: #fff; }
@keyframes hdWipe { 0%, 10% { clip-path: inset(0 100% 0 0); } 55%, 80% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes hdLine { 0%, 10% { left: 15%; } 55%, 80% { left: 85%; } 100% { left: 15%; } }

/* repair: a damaged patch is boxed and redrawn */
.repairart { display: grid; place-items: center; }
.repairart svg { width: 80%; height: 80%; }
.rp-mem { fill: none; stroke: #2f7ae5; stroke-width: 5; stroke-linecap: round; } .rp-org { fill: #f5761a; }
.rp-blur { position: absolute; left: 34%; top: 30%; width: 26%; height: 44%; border-radius: 12px; background: rgba(233, 239, 253, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: rpHeal 5s ease-in-out infinite; }
.rp-box { position: absolute; left: 32%; top: 26%; width: 30%; height: 52%; border: 2px dashed #f5761a; border-radius: 12px; opacity: 0; animation: rpBox 5s ease-in-out infinite; }
.repairart .mg-s { position: absolute; left: 47%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ff8a00; opacity: 0; animation: rpSpark 5s ease-out infinite; animation-delay: calc(1.6s + var(--d, 0s)); }
@keyframes rpHeal { 0%, 30% { opacity: 1; } 45%, 85% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rpBox { 0%, 8% { opacity: 0; transform: scale(.9); } 18%, 40% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; } }
@keyframes rpSpark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 10% { opacity: 1; } 30% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); } 100% { opacity: 0; } }

/* folder lock */
.lockart .lk { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: #0a4fbf; box-shadow: 0 12px 24px -14px rgba(0, 39, 110, .7); animation: lkPulse 4s ease-in-out infinite; }
.lockart .lk svg { width: 28px; height: 28px; }
.lockart .lk-shackle { animation: lkShut 4s ease-in-out infinite; }
.lk-pin { display: flex; gap: 6px; font-style: normal; }
.lk-pin b { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #0a4fbf; background: transparent; animation: lkDot 4s ease-in-out infinite; }
.lk-pin b:nth-child(2) { animation-delay: .15s; } .lk-pin b:nth-child(3) { animation-delay: .3s; } .lk-pin b:nth-child(4) { animation-delay: .45s; }
@keyframes lkShut { 0%, 30% { transform: translateY(-3px); } 45%, 100% { transform: none; } }
@keyframes lkDot { 0%, 10% { background: transparent; } 20%, 90% { background: #0a4fbf; } 100% { background: transparent; } }
@keyframes lkPulse { 0%, 40% { box-shadow: 0 12px 24px -14px rgba(0, 39, 110, .7); } 50% { box-shadow: 0 0 0 6px rgba(245, 118, 26, .25), 0 12px 24px -14px rgba(0, 39, 110, .7); } 70%, 100% { box-shadow: 0 12px 24px -14px rgba(0, 39, 110, .7); } }

/* share */
.shareart { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.sh-link { display: inline-flex; align-items: center; gap: 8px; max-width: 88%; padding: 8px 14px; border-radius: 99px; background: #fff; color: #0a4fbf; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 22px -14px rgba(0, 39, 110, .6); animation: shPop 4.5s ease-in-out infinite; }
.sh-link svg { flex: none; width: 16px; height: 16px; }
.sh-av { display: flex; }
.sh-av i { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; border: 3px solid #eef3ff; background: var(--c); color: #fff; font: 700 11px Roboto, sans-serif; font-style: normal; opacity: 0; animation: shAv 4.5s ease-out infinite; }
.sh-av i:nth-child(2) { animation-delay: .2s; } .sh-av i:nth-child(3) { animation-delay: .4s; }
@keyframes shPop { 0%, 6% { transform: scale(.9); opacity: 0; } 16%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes shAv { 0%, 25% { opacity: 0; transform: translateY(8px); } 38%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* help in the studio */
.helpart { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 8%; }
.hp-b { max-width: 78%; padding: 9px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.35; opacity: 0; animation: hpIn 7s ease-out infinite; }
.hp-b.u { align-self: flex-end; background: #0a4fbf; color: #fff; border-bottom-right-radius: 5px; }
.hp-b.t { align-self: flex-start; background: #fff; color: #1d2240; border-bottom-left-radius: 5px; box-shadow: 0 10px 22px -16px rgba(0, 39, 110, .6); animation-delay: 1.2s; }
.hp-cr { align-self: flex-start; padding: 4px 12px; border-radius: 99px; background: linear-gradient(110deg, #16a34a, #22c55e); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; animation: hpIn 7s ease-out infinite 2.2s; }
@keyframes hpIn { 0%, 4% { opacity: 0; transform: translateY(8px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 1100px) { .feat2 .bento .tile.t-full { grid-column: 1 / -1; } .pain-row { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .feat2 .bento .tile.t-full { display: block; } .feat2 .bento .tile.t-full .tile-art { height: 190px; } .feat2 .bento .tile.t-full h3 { margin-top: 22px; } .fg-head h3 { font-size: 23px; } .fg-num { width: 46px; height: 46px; font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .feat2 .tile-art *, .feat2 .tile-art { animation: none !important; opacity: 1 !important; clip-path: none !important; } }

/* Performance: animations in sections out of view are paused (see app.js) */
.anim-off *, .anim-off *::before, .anim-off *::after, .anim-off-all *, .anim-off-all *::before, .anim-off-all *::after { animation-play-state: paused !important; }
/* Performance: the hero glows are soft gradients on their own GPU layer (no live blur filter to redraw every frame) */
.aurora i { filter: none !important; will-change: transform; transform: translateZ(0); background: radial-gradient(circle at 50% 50%, var(--au, #6fd0ff) 0%, color-mix(in srgb, var(--au, #6fd0ff) 55%, transparent) 35%, transparent 70%) !important; }
.aurora i:nth-child(1) { --au: #6fd0ff; }
.aurora i:nth-child(2) { --au: #4fa3ff; }
.aurora i:nth-child(3) { --au: #ff8a00; }
.stage-glow { filter: none !important; will-change: transform; background: radial-gradient(circle, rgba(255, 255, 255, .3), rgba(255, 255, 255, .12) 40%, transparent 70%) !important; }
/* Performance: the laptop's shadow is a static layer underneath instead of a live drop-shadow filter (which re-rendered the whole laptop on every tour frame) */
.hero-device .dv { filter: none !important; isolation: isolate; }
.hero-device .dv::after { content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; bottom: -5%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(0, 20, 70, .42), rgba(0, 20, 70, .18) 45%, transparent 72%); pointer-events: none; }
.hero-stage .fig-cell { filter: none !important; }
/* Performance: no live glass blur over the moving hero glow (it was re-blurred every frame); a slightly deeper tint keeps the same look */
.eyebrow-chip, .btn-glass, .facts > div { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.eyebrow-chip { background: rgba(0, 31, 92, .46) !important; }
.btn-glass { background: rgba(0, 31, 92, .32); }
.btn-glass:hover { background: #fff; }

/* Share credits tile (features, group 03) */
.feat2 .tile.t-sharecr .tile-art, .feat2 .tile.t-help.t-wide .tile-art { height: 170px; }
.sharecr { display: flex; align-items: center; justify-content: space-between; padding: 0 7%; background: linear-gradient(150deg, #eef4ff, #fff4ea); }
.sc-p { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #0a2a6b; }
.sc-p i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-style: normal; font-size: 15px; color: #fff; background: linear-gradient(135deg, #0a4fbf, #2f7ae5); box-shadow: 0 10px 22px -10px rgba(10, 79, 191, .7); }
.sc-b i { background: linear-gradient(135deg, #f26a1b, #ff8a00); box-shadow: 0 10px 22px -10px rgba(242, 106, 27, .7); animation: scPulse 3.3s ease-in-out infinite; }
.sc-path { position: absolute; left: calc(7% + 54px); right: calc(7% + 54px); top: 50%; margin-top: -14px; height: 2px; background: repeating-linear-gradient(90deg, #9db8ea 0 6px, transparent 6px 12px); }
.sc-c { position: absolute; z-index: 1; left: calc(7% + 40px); top: 50%; margin-top: -30px; display: flex; align-items: center; justify-content: center; gap: 1px; width: 34px; height: 30px; border-radius: 9px; font-size: 13px; line-height: 1; color: #fff; background: linear-gradient(135deg, #f26a1b, #ff8a00); box-shadow: 0 8px 18px -8px rgba(242, 106, 27, .8); opacity: 0; animation: scFly 3.3s cubic-bezier(.55, 0, .35, 1) infinite var(--d); }
.sc-c::before { content: "+"; font-size: 12px; }
.sc-mail { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; background: #fff; color: #c2410c; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 22px -16px rgba(0, 39, 110, .6); animation: scMail 3.3s ease-in-out infinite; }
@keyframes scFly { 0% { left: calc(7% + 40px); transform: translateY(8px) scale(.4) rotate(-12deg); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(-16px) scale(1) rotate(8deg); } 88% { opacity: 1; } 100% { left: calc(93% - 74px); transform: translateY(6px) scale(.4) rotate(0); opacity: 0; } }
@keyframes scPulse { 0%, 70%, 100% { transform: scale(1); } 85% { transform: scale(1.12); } }
@keyframes scMail { 0%, 100% { transform: translate(-50%, 4px); opacity: .85; } 50% { transform: translate(-50%, -2px); opacity: 1; } }

/* Limited offer: prominent discount on the price cards */
.deal-stamp { position: absolute; top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(135deg, #f26a1b, #ff8a00); color: #fff; box-shadow: 0 14px 30px -12px rgba(242, 106, 27, .9), inset 0 0 0 4px rgba(255, 255, 255, .28); transform: rotate(-12deg); animation: dealPop 2.8s ease-in-out infinite; }
.deal-stamp b { font: 900 27px/1 var(--head); letter-spacing: -.03em; }
.deal-stamp small { font: 800 12px/1.1 var(--body); text-transform: uppercase; letter-spacing: .12em; }
@keyframes dealPop { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.07); } }
.price-was { margin: 8px 0 0; }
.price-was .deal-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff1e6 !important; color: #c2410c !important; font: 800 13px/1.2 var(--body); font-style: normal; border: 1px solid #ffd2b0; }
.deal-tag i { width: 8px; height: 8px; border-radius: 50%; background: #f26a1b; box-shadow: 0 0 0 0 rgba(242, 106, 27, .6); animation: dealDot 1.6s ease-out infinite; }
@keyframes dealDot { to { box-shadow: 0 0 0 9px rgba(242, 106, 27, 0); } }
.price.has-deal { flex-wrap: wrap; }
.price-old { align-self: center; margin-right: 10px; font: 800 30px/1 var(--head); color: #8a90a6; text-decoration: line-through; text-decoration-color: #e8590c; text-decoration-thickness: 3px; }
.deal-save { display: inline-block; margin: 0 0 8px; padding: 6px 14px; border-radius: 10px; background: linear-gradient(110deg, #16a34a, #22c55e); color: #fff; font-weight: 800; font-size: 15px; }
@media (max-width: 640px) { .deal-stamp { width: 74px; height: 74px; top: 14px; right: 14px; } .deal-stamp b { font-size: 21px; } .price-old { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .deal-stamp, .deal-tag i { animation: none; } }

/* iPad and tablets: the hero laptop keeps a proper size (the height limit uses the stable vh and never goes below 420px) */
@media (min-width: 1000px) { .hero-device .dv-hero { width: min(124%, calc(100% + max(0px, (100vw - 1320px) / 2 - 72px)), max(420px, calc((100vh - 128px) * 1.22))); } }
/* touch tablets: the generator gallery is a light swipe row */
@media (hover: none) and (pointer: coarse) { .gallery-track { will-change: auto; } .gallery:not(.is-pinned) .gallery-track { -webkit-overflow-scrolling: touch; } }

/* ===== Language switch (EN | 中文) and the Chinese version ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); cursor: pointer; font: 700 12.5px/1 Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; color: #fff; transition: background .2s; }
.lang-switch:hover { background: rgba(255, 255, 255, .22); }
.lang-switch span { display: grid; place-items: center; height: 30px; min-width: 38px; padding: 0 10px; border-radius: 999px; transition: background .25s, color .25s; }
html:not(.is-zh) .lang-switch .ls-en, html.is-zh .lang-switch .ls-zh { background: #fff; color: #0a4fbf; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .4); }
html.is-zh body, html.is-zh button, html.is-zh input, html.is-zh textarea, html.is-zh select { font-family: Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
html.is-zh [class*="eyebrow"], html.is-zh .aai-side-sub, html.is-zh .aai-gr-h, html.is-zh .aai-tool-h, html.is-zh .aai-cht-pl, html.is-zh .aai-blank-bg > span { letter-spacing: .06em; }
html.is-zh h1, html.is-zh h2, html.is-zh h3 { letter-spacing: .01em; }
@media (max-width: 900px) { .lang-switch { margin: 0 0 8px; } }
html.is-zh h1, html.is-zh h2, html.is-zh h3 { text-wrap: balance; line-break: strict; }
html.is-zh .hero-title { font-size: clamp(42px, 6vw, 84px); letter-spacing: 0; }
html.is-zh p, html.is-zh li { text-wrap: pretty; line-break: strict; }
/* Opened phone/iPad menu (white panel): language switch and account name stay readable */
@media (max-width: 1020px) {
	.cat-nav .lang-switch { background: #eef4ff; box-shadow: inset 0 0 0 1px #d6e2f5; color: #0a4fbf; }
	html:not(.is-zh) .cat-nav .lang-switch .ls-en, html.is-zh .cat-nav .lang-switch .ls-zh { background: #0a5bd3; color: #fff; }
	body .site-header .cat-nav .me-menu summary span, body .site-header .cat-nav .hdr-credits span { color: #0b2350 !important; }
	.cat-nav .lang-switch { height: 44px; } .cat-nav .lang-switch span { height: 38px; min-width: 48px; font-size: 14px; }
}

/* Opened menu: the logo switches to its colour version on the white panel */
.nav-open .site-header .brand .logo-on-dark { opacity: 0 !important; }
.nav-open .site-header .brand .logo-on-light { opacity: 1 !important; }

/* ===== Features: Copy style, Enhance text, Bendable arrows, Arrange, Graph studio, Logo studio, High-quality export, iPad ===== */
.cpstyle { display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.cs-src { position: relative; font: 700 24px/1 "Roboto Condensed", "Arial Narrow", Arial, sans-serif; color: #1c1b5c; letter-spacing: -.01em; }
.cs-box { position: absolute; inset: -10px -12px; border: 2px dashed #f26a1b; border-radius: 8px; animation: csBox 4.6s ease-in-out infinite; }
.cs-roll { position: absolute; left: 50%; top: 14px; width: 34px; height: 34px; margin-left: -17px; color: #f26a1b; filter: drop-shadow(0 6px 8px rgba(242, 106, 27, .35)); animation: csRoll 4.6s cubic-bezier(.6, 0, .3, 1) infinite; }
.cs-dst { display: inline-grid; }
.cs-dst b { grid-area: 1 / 1; }
.cs-old { font: 400 24px/1 Georgia, "Times New Roman", serif; color: #9aa3b5; animation: csOld 4.6s infinite; }
.cs-new { font: 700 24px/1 "Roboto Condensed", "Arial Narrow", Arial, sans-serif; color: #1c1b5c; opacity: 0; animation: csNew 4.6s infinite; }
@keyframes csBox { 0%, 30% { opacity: 1; transform: scale(1); } 40%, 100% { opacity: .25; transform: scale(.98); } }
@keyframes csRoll { 0%, 18% { transform: translateX(-120px) rotate(-8deg); } 48%, 70% { transform: translateX(110px) rotate(6deg); } 100% { transform: translateX(-120px) rotate(-8deg); } }
@keyframes csOld { 0%, 46% { opacity: 1; } 54%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes csNew { 0%, 46% { opacity: 0; transform: scale(.96); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.enhart { display: grid; place-items: center; }
.eh-blob { position: absolute; width: 190px; height: 92px; border-radius: 50%; background: #ddd2f7; border: 3px dashed #a48ee0; }
.eh-w { position: relative; font: 700 28px/1 "Roboto Condensed", "Arial Narrow", Arial, sans-serif; color: #5b5794; animation: ehW 4.6s infinite; }
.eh-scan { position: absolute; top: 0; bottom: 0; left: -70px; width: 50px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); animation: ehScan 4.6s ease-in-out infinite; }
@keyframes ehW { 0%, 42% { color: #6a6699; filter: blur(.7px); text-shadow: none; } 52%, 94% { color: #0b0a3a; filter: none; text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1.5px 1.5px #fff, -1.5px -1.5px #fff, 1.5px -1.5px #fff, -1.5px 1.5px #fff; } 100% { color: #6a6699; filter: blur(.7px); } }
@keyframes ehScan { 0%, 26% { left: -70px; } 50%, 100% { left: 105%; } }

.bendart svg, .graphart svg, .logoart svg, .ipadart svg { width: 100%; height: 100%; }
.bn-sel { fill: none; stroke: #2f7ae5; stroke-width: 1.5; stroke-dasharray: 6 5; }
.bn-line { fill: none; stroke: #1d2240; stroke-width: 4; stroke-dasharray: 10 6; stroke-linecap: round; stroke-linejoin: round; }
.bn-h { fill: #fff; stroke: #2f7ae5; stroke-width: 2.5; }
.bn-add { fill: #fff6ee; stroke: #f26a1b; stroke-width: 2; stroke-dasharray: 3 2; }

.arrangeart { display: grid; align-content: center; justify-items: center; gap: 12px; }
.ar-bar { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -14px rgba(0, 39, 110, .55), 0 0 0 1px rgba(10, 91, 211, .12); }
.ar-bar b { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; font: 700 11px var(--body, Roboto, sans-serif); color: #23365e; white-space: nowrap; animation: arChip 6s infinite; animation-delay: calc(var(--k) * 1.5s); }
.ar-bar b i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #0a5bd3; color: #fff; font-style: normal; font-size: 10px; }
.ar-lock { display: grid; place-items: center; width: 26px; height: 26px; color: #23365e; } .ar-lock svg { width: 16px; height: 16px; }
.ar-shapes { position: relative; width: 120px; height: 46px; }
.ar-shapes i { position: absolute; top: 4px; width: 60px; height: 38px; border-radius: 10px; }
.ar-a { left: 18px; background: #8fb6f2; box-shadow: inset 0 0 0 2px #2f6fd0; animation: arA 6s infinite; }
.ar-b { left: 46px; background: #ffc9a3; box-shadow: inset 0 0 0 2px #f26a1b; z-index: 1; }
@keyframes arChip { 0%, 22% { background: #eef4ff; color: #0a5bd3; } 25%, 100% { background: transparent; color: #23365e; } }
@keyframes arA { 0%, 24% { z-index: 2; transform: translateY(-2px); } 25%, 100% { z-index: 0; transform: none; } }

.graphart { display: grid; }
.gr-ax { fill: none; stroke: #1d2240; stroke-width: 2.4; }
.gr-bar { stroke-width: 1.6; transform-box: fill-box; transform-origin: 50% 100%; animation: grGrow 5s cubic-bezier(.34, 1.3, .64, 1) infinite; animation-delay: var(--d); }
.gr-err { fill: none; stroke: #1d2240; stroke-width: 1.6; animation: grErr 5s infinite; }
.gr-fit { fill: none; stroke: #f26a1b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: grFit 5s ease infinite; }
.gr-chip { position: absolute; right: 12px; top: 10px; padding: 4px 10px; border-radius: 99px; background: linear-gradient(115deg, #0a3d9e, #2f7ae5); color: #fff; font: 800 11px var(--body, Roboto, sans-serif); }
@keyframes grGrow { 0% { transform: scaleY(0); } 18%, 88% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes grErr { 0%, 20% { opacity: 0; } 30%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes grFit { 0%, 30% { stroke-dashoffset: 1; } 60%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

.lg-hex { fill: #fff3e8; stroke: #f26a1b; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lgDraw 5s ease infinite; }
.lg-bond { fill: none; stroke: #0b2350; stroke-width: 2.6; animation: grErr 5s infinite; }
.lg-n { transform-box: fill-box; transform-origin: center; animation: lgPop 5s cubic-bezier(.34, 1.56, .64, 1) infinite; animation-delay: var(--d); }
.lg-name { font: 800 30px "Roboto Condensed", "Arial Narrow", Arial, sans-serif; fill: #0b2350; animation: lgType 5s steps(7) infinite; clip-path: inset(0 100% 0 0); }
.lg-tag { font: 700 9.5px var(--body, Roboto, sans-serif); letter-spacing: 2.4px; fill: #f26a1b; animation: grErr 5s infinite; }
.lg-pal circle { animation: lgPop 5s cubic-bezier(.34, 1.56, .64, 1) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lgDraw { 0% { stroke-dashoffset: 1; } 25%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes lgPop { 0%, 12% { transform: scale(0); } 24%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes lgType { 0%, 28% { clip-path: inset(0 100% 0 0); } 50%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

.hqart { display: flex; align-items: center; justify-content: center; gap: 22px; }
.hq-mag { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #0a5bd3, 0 14px 24px -12px rgba(0, 39, 110, .6); }
.hq-mag::after { content: ""; position: absolute; right: -16px; bottom: -10px; width: 26px; height: 8px; border-radius: 4px; background: #0a5bd3; transform: rotate(45deg); }
.hq-mag span { grid-area: 1 / 1; font: 900 38px/1 var(--head, Roboto, sans-serif); color: #0b2350; }
.hq-a { filter: blur(1.6px); opacity: .85; animation: csOld 4.6s infinite; }
.hq-b { opacity: 0; animation: csNew 4.6s infinite; }
.hq-files { display: grid; grid-template-columns: repeat(2, auto); gap: 6px; }
.hq-files span { padding: 5px 10px; border-radius: 8px; color: #fff; font: 800 11px var(--body, Roboto, sans-serif); text-align: center; }
.hq-files span:nth-child(1) { background: var(--royal, #0a5bd3); } .hq-files span:nth-child(2) { background: var(--violet, #7c3aed); } .hq-files span:nth-child(3) { background: var(--flame, #f26a1b); } .hq-files span:nth-child(4) { background: var(--orange, #ff8a00); }
.hq-q { position: absolute; left: 50%; bottom: 8px; display: flex; gap: 4px; transform: translateX(-50%); font-style: normal; }
.hq-q b { padding: 2px 8px; border-radius: 99px; background: #fff; color: #5d6b8a; font: 700 10px var(--body, Roboto, sans-serif); }
.hq-q b.on { background: #0a5bd3; color: #fff; }

.ip-dev { fill: #0b2350; } .ip-scr { fill: #f7faff; }
.ip-ink { fill: none; stroke: #0a5bd3; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ipInk 4.5s linear infinite; }
.ip-tap { fill: rgba(242, 106, 27, .35); stroke: #f26a1b; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ipTap 4.5s ease-out infinite; }
@keyframes ipInk { 0% { stroke-dashoffset: 1; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes ipTap { 0%, 60% { transform: scale(.4); opacity: 0; } 66% { opacity: 1; } 85%, 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cpstyle *, .enhart *, .bendart *, .arrangeart *, .graphart *, .logoart *, .hqart *, .ipadart * { animation: none !important; } .cs-new, .hq-b, .gr-err, .lg-bond, .lg-tag { opacity: 1; } .cs-old, .hq-a { opacity: 0; } .gr-fit, .lg-hex, .ip-ink { stroke-dashoffset: 0; } .lg-name { clip-path: none; } }

/* Front page: "All text editable in one click" tile */
.alledit { display: grid; place-items: center; }
.ae-pic { position: relative; width: min(100%, 440px); height: 170px; border-radius: 16px; background: linear-gradient(135deg, #eef3fd, #e3ecfb); border: 1px solid #d5deee; overflow: hidden; }
.ae-w { position: absolute; padding: 3px 8px; font: 600 21px/1.1 "Roboto", Arial, sans-serif; color: #5d6680; border: 2px dashed transparent; border-radius: 4px; filter: blur(.5px); animation: aeW 6s infinite; animation-delay: calc(var(--k) * .18s); }
.ae-caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -3px; background: #0a4fbf; opacity: 0; animation: aeCaret 6s infinite; }
.ae-scan { position: absolute; top: 0; bottom: 0; left: -80px; width: 60px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); animation: aeScan 6s ease-in-out infinite; }
.ae-btn { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; font: 700 12px var(--body, Roboto, sans-serif); color: #fff; background: linear-gradient(110deg, #f26a1b, #ff8a00); box-shadow: 0 8px 18px -10px rgba(242, 106, 27, .9); animation: aeBtn 6s infinite; }
@keyframes aeBtn { 0%, 8% { transform: scale(1); } 12% { transform: scale(.92); } 16%, 100% { transform: scale(1); } }
@keyframes aeScan { 0%, 14% { left: -80px; } 40%, 100% { left: 110%; } }
@keyframes aeW { 0%, 24% { color: #5d6680; filter: blur(.5px); border-color: transparent; background: transparent; } 34%, 92% { color: #0b2350; filter: none; border-color: #0a4fbf; background: rgba(255, 255, 255, .7); } 100% { color: #5d6680; filter: blur(.5px); border-color: transparent; background: transparent; } }
@keyframes aeCaret { 0%, 50% { opacity: 0; } 54%, 60%, 68%, 76%, 84% { opacity: 1; } 57%, 64%, 72%, 80%, 100% { opacity: 0; } }
@media (max-width: 900px) { .ae-w { font-size: 17px; } .ae-pic { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .alledit * { animation: none !important; } .ae-w { color: #0b2350; filter: none; border-color: #0a4fbf; } }

/* Front page: "Every arrow editable, exactly alike" tile */
.allarrows { display: grid; place-items: center; }
.aw-pic { position: relative; width: min(100%, 440px); height: 170px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #eef3fd, #e3ecfb); border: 1px solid #d5deee; }
.aw-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aw-pic path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.aw-pic .aw-h { stroke: none; }
.aw-pic .aw-bar { stroke-width: 8; }
.aw-old path { stroke: #2a3550; } .aw-old .aw-h { fill: #2a3550; }
.aw-new path { stroke: #0a5bd3; } .aw-new .aw-h { fill: #0a5bd3; }
.aw-new circle { fill: #fff; stroke: #0a5bd3; stroke-width: 2.5; }
.aw-new circle.aw-mid { fill: #0a5bd3; }
.aw-old { animation: awOld 6s infinite; animation-delay: calc(var(--k) * .22s); filter: blur(.4px); }
.aw-new { opacity: 0; animation: awNew 6s infinite; animation-delay: calc(var(--k) * .22s); filter: drop-shadow(0 0 6px rgba(10, 91, 211, .45)); }
.aw-scan { position: absolute; top: 0; bottom: 0; left: -80px; width: 60px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), rgba(255, 138, 0, .25), transparent); animation: aeScan 6s ease-in-out infinite; }
.aw-btn { position: absolute; right: 12px; top: 12px; padding: 6px 12px; border-radius: 99px; font: 700 12px var(--body, Roboto, sans-serif); color: #fff; background: linear-gradient(110deg, #f26a1b, #ff8a00); box-shadow: 0 8px 18px -10px rgba(242, 106, 27, .9); animation: aeBtn 6s infinite; }
@keyframes awOld { 0%, 26% { opacity: 1; } 34%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes awNew { 0%, 26% { opacity: 0; transform: scale(.98); } 34%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .allarrows * { animation: none !important; } .aw-old { opacity: 0; } .aw-new { opacity: 1; } }

/* poster studio tile: a portrait and a landscape poster build themselves, then the print chip */
.posterart { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef4ff, #fff4ea); overflow: hidden; }
.po-stage { position: relative; width: 340px; height: 200px; }
.po-sheet { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(11, 35, 80, .45), 0 0 0 1px rgba(11, 35, 80, .06); overflow: hidden; display: flex; flex-direction: column; }
.po-p { left: 26px; top: 8px; width: 132px; height: 184px; animation: poP 9s ease-in-out infinite; }
.po-l { right: 10px; top: 46px; width: 178px; height: 126px; animation: poL 9s ease-in-out infinite; }
.po-head { display: block; height: 22%; background: linear-gradient(120deg, #0a5bd3, #003399); flex: none; }
.po-l .po-head { height: 20%; background: linear-gradient(120deg, #f26a1b, #ff8a00); }
.po-cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 6px; }
.po-l .po-cols { grid-template-columns: 1fr 1.4fr 1fr; }
.po-cols > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.po-cols b, .po-cols i, .po-cols span { opacity: 0; transform: translateY(6px); animation: poIn 9s ease-out infinite; animation-delay: calc(var(--k) * .22s + .4s); }
.po-l .po-cols b, .po-l .po-cols i, .po-l .po-cols span, .po-l .po-hero { animation-delay: calc(var(--k) * .22s + 2.4s); }
.po-h { display: block; height: 7px; border-radius: 2px; background: #0a5bd3; }
.po-l .po-h { background: #f26a1b; }
.po-t { display: block; height: 12px; border-radius: 2px; background: repeating-linear-gradient(#c9d3e6 0 2px, transparent 2px 4px); }
.po-t.s { height: 7px; width: 80%; }
.po-pic { display: block; height: 30px; border-radius: 4px; background: radial-gradient(circle at 40% 45%, #ff8a00 0 18%, #ffd9b8 19% 34%, #eaf1ff 35%); }
.po-pic.r { background: radial-gradient(circle at 55% 50%, #2f7ae5 0 16%, #cfe0fb 17% 32%, #f3f7ff 33%); }
.po-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; padding: 2px 3px; border-left: 1.5px solid #1d2240; border-bottom: 1.5px solid #1d2240; }
.po-bars i { flex: 1; height: var(--h); border-radius: 1px; background: #8fb6f2; opacity: 1 !important; transform: none !important; animation: none !important; }
.po-bars i:nth-child(2) { background: #f7a3a3; } .po-bars i:nth-child(3) { background: #a6e0a6; } .po-bars i:nth-child(4) { background: #cdb2f6; }
.po-hero { border-radius: 4px; background: #0b2350; padding: 8px 6px; display: flex !important; flex-direction: column; gap: 5px; opacity: 0; animation: poIn 9s ease-out infinite; }
.po-hero i { display: block; height: 6px; border-radius: 3px; background: #fff; opacity: 1 !important; transform: none !important; animation: none !important; }
.po-hero i.s { width: 70%; background: #ff8a00; }
.po-chip { position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 10px); white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: #fff; color: #0b2350; font: 600 12px Roboto, sans-serif; box-shadow: 0 10px 24px -10px rgba(11, 35, 80, .5); opacity: 0; animation: poChip 9s ease-out infinite; }
.po-chip b { color: #fff; background: linear-gradient(90deg, #f26a1b, #ff8a00); border-radius: 999px; padding: 2px 7px; margin-right: 6px; font-weight: 800; }
@keyframes poIn { 0% { opacity: 0; transform: translateY(6px); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes poP { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-2deg) translateY(-3px); } }
@keyframes poL { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(1deg) translateY(-3px); } }
@keyframes poChip { 0%, 52% { opacity: 0; transform: translate(-50%, 10px); } 58%, 90% { opacity: 1; transform: translate(-50%, 0); } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .po-cols b, .po-cols i, .po-cols span, .po-hero, .po-chip { animation: none; opacity: 1; transform: none; } .po-chip { transform: translate(-50%, 0); } .po-p, .po-l { animation: none; } }
@media (max-width: 480px) { .po-stage { transform: scale(.82); } }

.tile-beta { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: #e8efff; color: #0a5bd3; box-shadow: inset 0 0 0 1px #b9cdf5; font: 700 11px/1.6 Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; font-style: normal; }

/* Picture studio tile: a picture is uploaded, a word is retyped, an arrow gets handles */
.pictureart { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e9fbf8, #eef4ff 55%, #fff4ea); overflow: hidden; }
.pa-stage { position: relative; width: 340px; height: 200px; }
.pa-pic { position: absolute; left: 30px; top: 20px; width: 280px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(11, 35, 80, .5), 0 0 0 1px rgba(11, 35, 80, .06); animation: paIn 8s ease-in-out infinite; }
.pa-pic svg { display: block; width: 100%; height: auto; }
.pa-file { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; color: #0a5bd3; font: 700 12.5px Roboto, sans-serif; box-shadow: 0 14px 28px -14px rgba(11, 35, 80, .55); transform: translate(-50%, -50%); animation: paFile 8s ease-in-out infinite; }
.pa-file svg { width: 18px; height: 18px; }
.pa-file span { color: #0b2350; }
.pa-word .pa-good, .pa-word .pa-box, .pa-handles { opacity: 0; }
.pa-word .pa-bad { animation: paBad 8s ease-in-out infinite; }
.pa-word .pa-good { animation: paGood 8s ease-in-out infinite; }
.pa-word .pa-box { animation: paBox 8s ease-in-out infinite; }
.pa-handles { animation: paHandles 8s ease-in-out infinite; }
.pa-arrow { stroke-dasharray: 80; animation: paArrow 8s ease-in-out infinite; }
.pa-chip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; padding: 6px 13px; border-radius: 99px; background: linear-gradient(110deg, #f26a1b, #ff8a00); color: #fff; font: 800 11.5px Roboto, sans-serif; box-shadow: 0 10px 22px -10px rgba(242, 106, 27, .9); opacity: 0; animation: paChip 8s ease-in-out infinite; }
@keyframes paFile { 0% { opacity: 0; transform: translate(-50%, -20%); } 6%, 16% { opacity: 1; transform: translate(-50%, -50%); } 22%, 100% { opacity: 0; transform: translate(-50%, -80%) scale(.9); } }
@keyframes paIn { 0%, 16% { opacity: 0; transform: scale(.94); } 24%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes paBox { 0%, 30% { opacity: 0; } 36%, 52% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes paBad { 0%, 42% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes paGood { 0%, 46% { opacity: 0; } 52%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes paArrow { 0%, 56% { stroke-dashoffset: 0; } 62% { stroke-dashoffset: 80; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes paHandles { 0%, 66% { opacity: 0; } 72%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes paChip { 0%, 74% { opacity: 0; transform: translate(-50%, 8px); } 80%, 94% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pa-pic, .pa-file, .pa-word *, .pa-handles, .pa-arrow, .pa-chip { animation: none !important; } .pa-file, .pa-word .pa-bad { display: none; } .pa-word .pa-good, .pa-handles, .pa-chip { opacity: 1; } }
@media (max-width: 480px) { .pa-stage { transform: scale(.82); } }

/* feature tiles open their studio */
.tile[data-href] { cursor: pointer; transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s; }
.tile[data-href]:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 26px 50px -30px rgba(11, 35, 80, .45); }
.tile[data-href]:focus-visible { outline: 3px solid #2f7ae5; outline-offset: 3px; }
.tile-go { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(110deg, #f26a1b, #ff8a00); color: #fff; box-shadow: 0 10px 22px -10px rgba(242, 106, 27, .9); opacity: 0; transform: translateX(-8px) scale(.9); transition: opacity .25s, transform .25s cubic-bezier(.2, .9, .3, 1.3); pointer-events: none; }
.tile-go svg { width: 18px; height: 18px; }
.tile[data-href]:hover .tile-go, .tile[data-href]:focus-visible .tile-go { opacity: 1; transform: none; }
@media (hover: none) { .tile-go { opacity: .9; transform: none; width: 32px; height: 32px; right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .tile[data-href], .tile-go { transition: none; } .tile[data-href]:hover { transform: none; } }

/* ===== Language menu: Global (English) with other languages listed inside ===== */
.lang-menu { position: relative; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #fff; cursor: pointer; list-style: none; font: 700 12.5px/1 Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; transition: background .2s; user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { background: rgba(255, 255, 255, .24); }
.lang-menu .lm-chev { opacity: .8; transition: transform .2s; }
.lang-menu[open] .lm-chev { transform: rotate(180deg); }
.lang-menu .lm-zh-l, .lang-menu .lm-es-l, html.is-tr .lang-menu .lm-en-l { display: none; }
html.is-zh .lang-menu .lm-zh-l, html.is-es .lang-menu .lm-es-l { display: inline; }
.lang-menu .lm-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 200px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -12px rgba(5, 11, 36, .35), 0 0 0 1px rgba(11, 35, 80, .08); }
.lang-menu .lm-h { display: block; padding: 4px 10px 6px; color: #7a86a0; font: 700 10.5px/1 Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.lang-menu .lm-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 9px 10px 9px 30px; border: 0; border-radius: 10px; background: none; color: #0b2350; text-align: left; cursor: pointer; position: relative; font: 600 14px/1.2 Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; }
.lang-menu .lm-opt small { color: #7a86a0; font-size: 11.5px; font-weight: 500; }
.lang-menu .lm-opt:hover { background: #f1f5fd; }
html:not(.is-tr) .lang-menu .lm-en, html.is-zh .lang-menu .lm-zh, html.is-es .lang-menu .lm-es { background: #eef4ff; }
html:not(.is-tr) .lang-menu .lm-en::before, html.is-zh .lang-menu .lm-zh::before, html.is-es .lang-menu .lm-es::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border: solid #0a5bd3; border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }
@media (max-width: 1020px) {
.cat-nav .lang-menu > summary { height: 44px; background: #eef4ff; box-shadow: inset 0 0 0 1px #d6e2f5; color: #0a4fbf; font-size: 14px; }
.cat-nav .lang-menu .lm-pop { right: auto; left: 0; }
}
@media (max-width: 900px) { .lang-menu { margin: 0 0 8px; } }

/* Spanish: longer words; menu items, the credits pill and the language button stay on one line */
html.is-es .cat-nav a, html.is-es .hdr-credits, html.is-es .lang-menu > summary { white-space: nowrap; }
