/* ============ Papyra — design system ============ */
:root {
  --bg: #FBFAF7; --bg2: #F4F1EA; --card: #ffffff; --ink: #15122B; --ink2: #3b3855; --muted: #6b6880; --line: #E9E6F2; --line2: #dcd8ea;
  --brand: #6a4dff; --brand-d: #4d33d6; --coral: #ff6b45; --sun: #ffc53d; --mint: #12b886; --sky: #2a7bff; --pink: #e53b9a;
  --shadow-s: 0 1px 2px rgba(21,18,43,.05), 0 4px 14px rgba(21,18,43,.05);
  --shadow-m: 0 2px 4px rgba(21,18,43,.04), 0 14px 40px rgba(60,40,140,.10);
  --shadow-l: 0 30px 80px rgba(60,40,140,.18), 0 8px 24px rgba(21,18,43,.08);
  --r: 20px; --r-s: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --brand-soft: color-mix(in srgb, var(--brand) 12%, var(--card));
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="dark"] {
  --bg: #0d0b1c; --bg2: #120f26; --card: #171430; --ink: #f4f2ff; --ink2: #cfcbe6; --muted: #9a96b8; --line: #2a2648; --line2: #38335c;
  --shadow-s: 0 1px 2px rgba(0,0,0,.3); --shadow-m: 0 14px 40px rgba(0,0,0,.35); --shadow-l: 0 30px 80px rgba(0,0,0,.5);
  --brand: #8f78ff; --brand-d: #7a62f0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s, color .3s; }
body.studio-open { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg, canvas { max-width: 100%; }
kbd { font: 600 11px/1 var(--font); padding: 3px 6px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line2); border-bottom-width: 2px; color: var(--ink2); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); } .sm { font-size: 13px; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; position: relative; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--coral))); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 38%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: color-mix(in srgb, var(--brand) 20%, var(--card)); }
.btn-ghost { background: transparent; color: var(--ink2); }
.btn-ghost:hover { background: var(--bg2); }
.btn-accent { background: var(--sun); color: #2a1d00; box-shadow: 0 10px 26px rgba(255,197,61,.35); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 15px 28px; font-size: 16px; } .btn-sm { padding: 8px 14px; font-size: 13.5px; } .btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink2); transition: background .2s; }
.icon-btn:hover { background: var(--bg2); }

/* announcement + nav */
.announce { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 9px 16px; font-size: 13.5px; color: #fff; background: linear-gradient(90deg, #2a1f6b, #5b3df5 40%, #ff6b45); text-align: center; }
.announce b { font-weight: 700; } .announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255,197,61,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,197,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,197,61,0); } }
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 23px/1 var(--display); letter-spacing: -.04em; }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg2); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-btn { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--muted); font-size: 14px; min-width: 210px; transition: border-color .2s, box-shadow .2s; }
.search-btn:hover { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.search-btn kbd { margin-left: auto; }
.burger { display: none; }
.i-sun { display: none; } [data-theme="dark"] .i-sun { display: block; } [data-theme="dark"] .i-moon { display: none; }

/* hero */
.hero { position: relative; padding: 46px 0 24px; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: #cfc3ff; left: -140px; top: -120px; } .o2 { width: 460px; height: 460px; background: #ffd1c2; right: -100px; top: 40px; animation-delay: -5s; } .o3 { width: 360px; height: 360px; background: #bdf0df; left: 38%; bottom: -160px; animation-delay: -9s; opacity: .4; }
[data-theme="dark"] .orb { opacity: .22; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .55; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding-block: 34px 20px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(18,184,134,.6); animation: ping2 2s infinite; } @keyframes ping2 { 70% { box-shadow: 0 0 0 9px rgba(18,184,134,0); } 100% { box-shadow: 0 0 0 0 rgba(18,184,134,0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); margin: 22px 0 20px; font-weight: 800; letter-spacing: -.045em; line-height: .99; }
.word-rot { display: inline-block; height: 1.05em; vertical-align: bottom; overflow: hidden; position: relative; }
.word-rot b { display: block; height: 1.05em; line-height: 1.05em; background: linear-gradient(100deg, var(--brand), var(--coral) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rot 10s var(--ease) infinite; font-weight: 800; padding-right: .08em; }
.word-rot b:first-child { animation-name: rot; }
@keyframes rot { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-100%); } 50%, 70% { transform: translateY(-200%); } 75%, 95% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.word-rot b:last-child::after { content: ''; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink2); max-width: 560px; }
.smart { margin-top: 30px; max-width: 600px; }
.smart-drop { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 26px; background: var(--card); border: 2px dashed color-mix(in srgb, var(--brand) 40%, var(--line2)); box-shadow: var(--shadow-m); cursor: pointer; transition: transform .25s var(--ease), border-color .2s, background .2s, box-shadow .25s; }
.smart-drop:hover, .smart-drop.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--card)); transform: translateY(-3px); box-shadow: var(--shadow-l); }
.smart-drop.over { transform: scale(1.02); }
.smart-ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
.smart-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .smart-txt b { font: 700 19px/1.2 var(--display); } .smart-txt span { font-size: 13.5px; color: var(--muted); }
.smart-btn { margin-left: auto; cursor: pointer; }
.smart-out { margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.smart-out.pop { animation: pop .45s var(--ease); } @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.so-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; padding-right: 30px; position: relative; } .so-head b { word-break: break-all; } .so-head span { color: var(--muted); font-size: 14px; }
.so-x { position: absolute; right: 0; top: -2px; border: 0; background: var(--bg2); width: 26px; height: 26px; border-radius: 50%; color: var(--muted); font-size: 12px; }
.so-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.so-chips button, .chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 0; background: var(--s, var(--brand-soft)); color: var(--c, var(--brand)); font-weight: 600; font-size: 14px; transition: transform .2s var(--ease), box-shadow .2s; }
.so-chips button:hover, .chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px color-mix(in srgb, var(--c, var(--brand)) 25%, transparent); }
[data-theme="dark"] .so-chips button, [data-theme="dark"] .chip { background: color-mix(in srgb, var(--c) 18%, var(--card)); }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.ticks li::before { content: '✓'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); font-size: 11px; font-weight: 800; }

/* hero visual */
.hv { position: relative; height: 520px; }
.hv-blob { position: absolute; border-radius: 40% 60% 55% 45%; filter: blur(2px); animation: morph 12s ease-in-out infinite alternate; }
.hv-blob.b1 { width: 340px; height: 340px; background: linear-gradient(135deg, #ffd9cc, #ffe8a3); right: 10px; top: 20px; opacity: .8; } .hv-blob.b2 { width: 260px; height: 260px; background: linear-gradient(135deg, #d9d0ff, #c4ebff); left: 0; bottom: 20px; animation-delay: -4s; opacity: .85; }
[data-theme="dark"] .hv-blob { opacity: .22 !important; }
@keyframes morph { to { border-radius: 58% 42% 40% 60%; transform: rotate(14deg) scale(1.06); } }
.hv-page { position: absolute; width: 190px; height: 250px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-m); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.hv-page span { height: 7px; border-radius: 4px; background: var(--line); } .hv-page span:nth-child(2) { width: 80%; } .hv-page span:nth-child(3) { width: 55%; }
.p1 { left: 6px; top: 34px; transform: rotate(-9deg); animation: fl1 7s ease-in-out infinite; } .p2 { right: 4px; bottom: 36px; transform: rotate(8deg); animation: fl2 8s ease-in-out infinite; }
@keyframes fl1 { 50% { transform: rotate(-6deg) translateY(-12px); } } @keyframes fl2 { 50% { transform: rotate(5deg) translateY(10px); } }
.hv-card { position: absolute; left: 50%; top: 52%; width: 400px; max-width: 92%; transform: translate(-50%, -50%); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; animation: lift 6s ease-in-out infinite; }
@keyframes lift { 50% { transform: translate(-50%, calc(-50% - 10px)); } }
.hv-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg2); } .hv-top i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; } .hv-top i:nth-child(2) { background: #ffc53d; } .hv-top i:nth-child(3) { background: #3dd68c; } .hv-top em { margin-left: 10px; font: 600 12.5px var(--font); color: var(--muted); font-style: normal; }
.hv-body { display: grid; grid-template-columns: 1fr 96px; gap: 14px; padding: 16px; }
.hv-doc { border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 9px; position: relative; min-height: 190px; } .hv-doc b { height: 12px; width: 50%; background: var(--ink); border-radius: 4px; opacity: .85; margin-bottom: 4px; } .hv-doc span { height: 7px; border-radius: 4px; background: var(--line2); } .hv-doc .hl { background: #ffe07a; } .w60 { width: 60%; } .w75 { width: 75%; } .w80 { width: 80%; } .w90 { width: 90%; } .w95 { width: 95%; }
.hv-sig { position: absolute; right: 12px; bottom: 8px; animation: draw 5s ease-in-out infinite; } .hv-sig svg path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: sig 5s ease-in-out infinite; } @keyframes sig { 0%, 15% { stroke-dashoffset: 320; } 55%, 100% { stroke-dashoffset: 0; } }
.hv-side { display: flex; flex-direction: column; gap: 8px; } .hv-tool { padding: 9px 10px; border-radius: 10px; background: var(--bg2); font-size: 12.5px; font-weight: 600; color: var(--muted); } .hv-tool.on { background: var(--brand); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 40%, transparent); }
.hv-prog { padding: 0 16px 16px; } .hv-prog > div:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; } .hv-prog b { font-weight: 700; color: var(--ink); } .hv-prog b i { color: var(--muted); font-style: normal; margin: 0 2px; } .hv-prog u { text-decoration: none; color: var(--mint); }
.bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; width: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--coral)); transform-origin: left; animation: fill 4.5s var(--ease) infinite; } @keyframes fill { 0% { transform: scaleX(.05); } 60%, 100% { transform: scaleX(1); } }
.hv-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-m); font-weight: 700; font-size: 13.5px; } .hv-chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.c1 { left: 0; top: 150px; animation: ch 5s ease-in-out infinite; } .c2 { right: -6px; top: 70px; animation: ch 6s ease-in-out -2s infinite; } .c3 { right: 14px; top: 330px; animation: ch 7s ease-in-out -1s infinite; } .c4 { left: 34px; bottom: 56px; animation: ch 5.5s ease-in-out -3s infinite; } .c5 { left: 150px; top: 6px; animation: ch 6.5s ease-in-out -4s infinite; }
@keyframes ch { 50% { transform: translateY(-14px); } }
.hv-badge { position: absolute; right: 24px; bottom: 4px; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: var(--shadow-m); } .hv-badge b { color: var(--sun); }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); padding: 6px; }
.stats > div { text-align: center; padding: 18px 10px; border-right: 1px solid var(--line); } .stats > div:last-child { border: 0; } .stats b { display: block; font: 800 34px/1 var(--display); letter-spacing: -.04em; background: linear-gradient(120deg, var(--brand), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; } .stats span { font-size: 13.5px; color: var(--muted); }

/* marquee */
.marquee { overflow: hidden; padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; } .marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; color: var(--ink2); white-space: nowrap; } .mq-track i { width: 9px; height: 9px; border-radius: 50%; }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: clamp(70px, 9vw, 120px) 0; } .sec-soft { background: var(--bg2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; } .sec-head.left { text-align: left; margin: 0; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.sec-head h2, .ed-copy h2, .mem-copy h2, .adm-copy h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.04em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); } .reveal.in { opacity: 1; transform: none; } .d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* tools grid */
.tools-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; background: var(--bg2); border-radius: 999px; border: 1px solid var(--line); } .tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink2); transition: background .2s, color .2s, box-shadow .2s; } .tabs button em { font-style: normal; font-size: 11.5px; margin-left: 6px; opacity: .55; } .tabs button.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow-s); } .tabs button:not(.on):hover { color: var(--ink); }
.tool-search { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); color: var(--muted); min-width: 250px; transition: border-color .2s, box-shadow .2s; } .tool-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); } .tool-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.tool { display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; animation: rise .5s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.tool::before { content: ''; position: absolute; inset: 0; background: radial-gradient(240px 120px at var(--mx, 20%) -10%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.tool:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 18px 40px color-mix(in srgb, var(--c) 18%, transparent); } .tool:hover::before { opacity: 1; }
.t-ico { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--s, var(--brand-soft)); color: var(--c, var(--brand)); transition: transform .35s var(--ease); } .tool:hover .t-ico { transform: rotate(-6deg) scale(1.1); }
[data-theme="dark"] .t-ico { background: color-mix(in srgb, var(--c) 20%, var(--card)); }
.t-body { display: flex; flex-direction: column; gap: 3px; position: relative; min-width: 0; } .t-body b { font: 700 16.5px/1.25 var(--display); letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; } .t-body small { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.new { font: 800 9.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--coral); color: #fff; font-style: normal; }
.t-go { position: absolute; right: 16px; top: 18px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); color: var(--c); font-weight: 700; } .tool:hover .t-go { opacity: 1; transform: none; }
.ad-slot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 18px; border-radius: var(--r); border: 1.5px dashed var(--line2); background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--line) 50%, transparent) 10px 11px); color: var(--muted); } .ad-slot span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; background: var(--bg2); } .ad-slot b { color: var(--ink2); } .ad-slot small { font-size: 13px; }
.no-res { text-align: center; color: var(--muted); padding: 40px 0; }

/* steps */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.step { flex: 1; max-width: 340px; padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative; } .step h3 { font-size: 22px; margin: 18px 0 8px; } .step p { color: var(--muted); font-size: 15px; }
.step-n { position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 800 17px var(--display); }
.step-arrow { display: grid; place-items: center; width: 70px; color: var(--line2); flex: none; } .step-arrow svg { width: 70px; }
.step-art { height: 120px; border-radius: 18px; background: var(--bg2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; }
.s1 i { width: 46px; height: 62px; border-radius: 8px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow-s); animation: dropIn 3s var(--ease) infinite; } .s1 i:nth-child(2) { animation-delay: .25s; background: var(--brand-soft); } .s1 i:nth-child(3) { animation-delay: .5s; } @keyframes dropIn { 0% { transform: translateY(-60px) rotate(-12deg); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.s2 i { height: 14px; border-radius: 8px; width: 28%; background: var(--line2); } .s2 { flex-direction: column; padding: 0 22px; align-items: stretch; } .s2 i:nth-child(1) { width: 100%; background: linear-gradient(90deg, var(--brand), var(--coral)); animation: wid 3s ease-in-out infinite; } .s2 i:nth-child(2) { width: 70%; } .s2 i:nth-child(3) { width: 45%; } @keyframes wid { 50% { width: 62%; } }
.s3 i { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); position: relative; animation: bounceIn 2.6s var(--ease) infinite; box-shadow: 0 10px 24px rgba(18,184,134,.4); } .s3 i::after { content: ''; position: absolute; left: 22px; top: 14px; width: 16px; height: 30px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(40deg); } @keyframes bounceIn { 0% { transform: scale(.4); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 30%, 90% { transform: scale(1); } 100% { opacity: 0; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bn { padding: 26px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; gap: 10px; } .bn:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.bn h3 { font-size: 24px; margin-top: 4px; } .bn p { color: var(--muted); font-size: 15px; } .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 11px; border-radius: 999px; }
.bn-priv { grid-column: span 4; flex-direction: row; align-items: center; background: linear-gradient(135deg, #17123f, #2d1f7a 60%, #5b3df5); color: #fff; border: 0; } .bn-priv .tag { background: rgba(255,255,255,.14); color: #fff; } .bn-priv p { color: rgba(255,255,255,.75); } .bn-priv .bn-txt { flex: 1; display: flex; flex-direction: column; gap: 10px; } .bn-priv h3 { font-size: 30px; }
.priv { display: flex; align-items: center; gap: 18px; } .meter { text-align: center; padding: 16px 22px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); } .meter span { display: block; font-size: 12px; opacity: .7; } .meter b { font: 800 46px/1.1 var(--display); color: var(--sun); display: inline-block; transition: transform .4s var(--ease); } .meter b.tick { transform: scale(1.12); } .meter em { font-style: normal; font-size: 13px; opacity: .7; margin-left: 4px; } .shield { color: var(--mint); animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 8px 20px rgba(18,184,134,.5)); }
.bn-smart { grid-column: span 2; } .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; } .chips span { padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; animation: ch 4s ease-in-out infinite; } .chips span:nth-child(2) { animation-delay: -1s; background: #ffece6; color: #ff6b45; } .chips span:nth-child(3) { animation-delay: -2s; background: #e0f7f0; color: #05a67f; } .chips span:nth-child(4) { animation-delay: -3s; background: #fff3d6; color: #c98600; }
.bn-k { grid-column: span 2; } .kbar { margin-top: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; font-size: 13.5px; } .kbar > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); } .kbar > div i { width: 1.5px; height: 16px; background: var(--brand); animation: blink 1s steps(2) infinite; } @keyframes blink { 50% { opacity: 0; } } .kbar p { padding: 8px 12px; color: var(--ink2); } .kbar p:nth-of-type(1) { background: var(--brand-soft); color: var(--brand); }
.bn-phone { grid-column: span 2; grid-row: span 2; flex-direction: column; background: linear-gradient(160deg, #ffece6, #fff3d6); border: 0; } [data-theme="dark"] .bn-phone { background: linear-gradient(160deg, #2a1c2e, #2c2412); } .bn-phone .bn-txt { display: flex; flex-direction: column; gap: 10px; }
.phone { margin: 16px auto -60px; width: 190px; height: 300px; border-radius: 34px; background: var(--card); border: 6px solid #15122b; box-shadow: var(--shadow-l); padding: 14px; position: relative; } .ph-top { width: 60px; height: 6px; border-radius: 6px; background: #15122b; margin: 0 auto 12px; } .ph-card { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: var(--brand-soft); font-size: 12px; } .ph-card i { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); } .ph-scan { margin-top: 12px; height: 130px; border-radius: 14px; background: linear-gradient(180deg, #f3efe4, #fff); border: 1px solid var(--line); position: relative; overflow: hidden; } .ph-scan span { position: absolute; left: 0; right: 0; height: 3px; background: var(--mint); box-shadow: 0 0 14px 3px rgba(18,184,134,.6); animation: scan 2.6s ease-in-out infinite; } @keyframes scan { 0%, 100% { top: 6%; } 50% { top: 92%; } } .ph-btn { width: 44px; height: 44px; border-radius: 50%; margin: 12px auto 0; border: 4px solid var(--brand); }
.bn-lang { grid-column: span 3; } .langs { display: flex; flex-wrap: wrap; gap: 7px; } .langs span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; color: var(--ink2); } .langs span:last-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bn-dark { grid-column: span 1; align-items: flex-start; } .bn-dark h3 { font-size: 20px; } .mini-toggle { margin-top: auto; width: 64px; height: 36px; border-radius: 99px; border: 0; background: var(--line2); position: relative; transition: background .3s; } .mini-toggle i { position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .35s var(--ease); } [data-theme="dark"] .mini-toggle { background: var(--brand); } [data-theme="dark"] .mini-toggle i { transform: translateX(28px); background: #15122b; }
.bn-free { grid-column: span 2; } .bn-fast { grid-column: span 2; } .bolt { position: absolute; right: 18px; bottom: 14px; color: var(--sun); opacity: .9; animation: zap 2.4s ease-in-out infinite; } @keyframes zap { 50% { transform: scale(1.14) rotate(-6deg); } }

/* editor spotlight */
.dark { background: radial-gradient(1000px 500px at 85% 0%, rgba(106,77,255,.35), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(255,107,69,.2), transparent 60%), #0e0b24; color: #fff; } .dark .eyebrow { background: rgba(255,255,255,.1); color: var(--sun); } .dark p { color: rgba(255,255,255,.72); }
.editor-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; } .ed-copy p { margin: 18px 0 20px; font-size: 18px; }
.check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; } .check li { padding-left: 32px; position: relative; font-weight: 500; } .check li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: color-mix(in srgb, var(--mint) 22%, transparent); color: var(--mint); }
.ed-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ed-mock { border-radius: 24px; background: #1a1636; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px rgba(0,0,0,.5); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s var(--ease); } .ed-mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.em-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #221d44; border-bottom: 1px solid rgba(255,255,255,.08); } .em-bar span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #b9b3e6; font-weight: 700; background: rgba(255,255,255,.05); } .em-bar span.on { background: var(--brand); color: #fff; } .em-bar i { flex: 1; } .em-bar em { width: 70px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--mint), var(--sky)); }
.em-page { margin: 22px auto; width: min(380px, 84%); background: #fff; border-radius: 6px; padding: 30px 28px 70px; position: relative; display: flex; flex-direction: column; gap: 11px; box-shadow: 0 20px 50px rgba(0,0,0,.4); } .em-h { height: 16px; width: 55%; background: #1b1b2e; border-radius: 4px; margin-bottom: 8px; } .em-l { height: 8px; border-radius: 4px; background: #d9d7e6; } .em-l.hl { background: #ffe07a; animation: hlp 4s ease-in-out infinite; } @keyframes hlp { 50% { background: #ffd23d; } } .w100 { width: 100%; } .w85 { width: 85%; } .w70 { width: 70%; } .w50 { width: 50%; }
.em-note { align-self: flex-start; padding: 6px 12px; border-radius: 6px; font: 600 15px 'Segoe Script', 'Brush Script MT', cursive; color: #e0245e; border: 1.5px dashed #e0245e; transform: rotate(-3deg); animation: ch 5s ease-in-out infinite; } .em-note small { font-size: 12px; opacity: .8; }
.em-red { height: 14px; width: 62%; background: #000; border-radius: 2px; } .em-sig { position: absolute; right: 26px; bottom: 16px; width: 130px; } .em-sig path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: sig 5s ease-in-out infinite; } .em-cursor { position: absolute; right: 70px; bottom: 30px; width: 18px; height: 18px; border-left: 2px solid var(--brand); border-top: 2px solid var(--brand); transform: rotate(-20deg); opacity: .0; }

/* uses */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .use { padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; gap: 10px; } .use:hover { transform: translateY(-6px); box-shadow: 0 22px 44px color-mix(in srgb, var(--c) 20%, transparent); }
.use i { width: 54px; height: 54px; border-radius: 18px; background: var(--s); color: var(--c); display: grid; place-items: center; font-size: 24px; font-style: normal; } [data-theme="dark"] .use i { background: color-mix(in srgb, var(--c) 20%, var(--card)); } .use h3 { font-size: 22px; margin-top: 8px; } .use p { color: var(--muted); font-size: 15px; flex: 1; } .use a { font-weight: 700; color: var(--c); font-size: 14.5px; } .use a:hover { text-decoration: underline; }

/* member dashboard */
.member-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; } .mem-copy p { margin: 18px 0 22px; color: var(--muted); font-size: 18px; }
.dash { display: flex; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; min-height: 420px; } .dash aside { width: 64px; background: var(--bg2); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; } .dl { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), var(--coral)); margin-bottom: 10px; } .dash aside span { width: 30px; height: 30px; border-radius: 10px; background: var(--line); } .dash aside span.on { background: var(--brand); } .dash aside .gap { margin-top: auto; }
.dm { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; } .dh { display: flex; justify-content: space-between; align-items: center; } .dh small { color: var(--muted); display: block; } .dh b { font: 700 20px var(--display); } .plan { padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--coral)); color: #fff; font-weight: 700; font-size: 13px; }
.dstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .dstats div { padding: 12px 14px; border-radius: 16px; background: var(--bg2); } .dstats small { color: var(--muted); font-size: 12px; } .dstats b { display: block; font: 800 22px var(--display); }
.chart { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); } .chart small, .recent small { color: var(--muted); font-size: 12px; } .bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin-top: 8px; } .bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 35%, var(--card))); transform-origin: bottom; animation: grow 1.2s var(--ease) backwards; } .bars i:nth-child(odd) { animation-delay: .1s; } @keyframes grow { from { transform: scaleY(0); } }
.recent { display: flex; flex-direction: column; gap: 8px; } .recent > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--bg2); } .recent .t-ico { width: 34px; height: 34px; border-radius: 11px; } .recent b { font-size: 14px; } .recent em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }

/* admin */
.admin-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; } .adm-copy > p { margin: 18px 0 24px; color: var(--muted); font-size: 18px; }
.adm-mock { display: flex; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; font-size: 13px; } .adm-mock aside { width: 140px; padding: 16px 12px; background: #15122b; color: #b9b3e6; display: flex; flex-direction: column; gap: 4px; } .am-logo { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--coral)); margin: 0 0 12px 6px; } .adm-mock aside span { padding: 8px 10px; border-radius: 10px; font-weight: 600; } .adm-mock aside span.on { background: var(--brand); color: #fff; }
.am-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; } .am-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; } .am-stat { padding: 11px 12px; border-radius: 14px; background: var(--bg2); } .am-stat small { color: var(--muted); display: block; font-size: 11px; } .am-stat b { font: 800 19px var(--display); } .am-stat em { font-style: normal; font-size: 11px; font-weight: 700; } .up { color: var(--mint); }
.am-chart { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; } .am-chart small { color: var(--muted); font-size: 11.5px; } .am-chart svg { width: 100%; height: 86px; display: block; margin-top: 4px; } .am-chart path:last-child { stroke-dasharray: 700; stroke-dashoffset: 700; } .adm-mock.in .am-chart path:last-child { animation: sig 2.4s var(--ease) forwards; }
.am-seo { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; } .am-seo > small { color: var(--muted); font-weight: 700; } .am-f label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 3px; } .am-f label em { font-style: normal; color: var(--mint); } .am-f div { padding: 8px 10px; border-radius: 9px; background: var(--bg2); color: var(--ink2); line-height: 1.35; } .am-chips { display: flex; gap: 6px; flex-wrap: wrap; } .am-chips span { padding: 4px 9px; border-radius: 99px; background: var(--bg2); font-size: 11px; font-weight: 700; color: var(--muted); } .am-chips .ok { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .adm-grid > div { padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; transition: transform .25s var(--ease), border-color .25s; } .adm-grid > div:hover { transform: translateY(-3px); border-color: var(--brand); } .adm-grid i { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; font-style: normal; } .adm-grid b { font: 700 15px var(--display); } .adm-grid span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.brand-try { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; } .sws { display: flex; gap: 8px; } .sws button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line2); transition: transform .2s var(--ease); } .sws button:hover { transform: scale(1.15); } .sws button.on { box-shadow: 0 0 0 2.5px var(--ink); }

/* pricing */
.bill { display: inline-flex; margin-top: 26px; padding: 5px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); } .bill button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--ink2); } .bill button.on { background: var(--card); box-shadow: var(--shadow-s); color: var(--brand); } .bill em { font-style: normal; font-size: 11px; font-weight: 800; background: var(--mint); color: #fff; padding: 3px 7px; border-radius: 99px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; } .plan-c { padding: 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; } .plan-c:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.plan-c h3 { font-size: 26px; } .pd { color: var(--muted); font-size: 15px; margin-top: -8px; } .price { display: flex; align-items: baseline; gap: 8px; } .price b { font: 800 52px/1 var(--display); letter-spacing: -.045em; } .price span { color: var(--muted); font-size: 14px; } .plan-c ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; flex: 1; } .plan-c li { padding-left: 28px; position: relative; font-size: 15px; } .plan-c li::before { content: '✓'; position: absolute; left: 0; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: var(--brand-soft); color: var(--brand); top: 2px; }
.plan-c.hot { border: 2px solid var(--brand); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--card)), var(--card) 40%); box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) 22%, transparent); transform: translateY(-10px); } .plan-c.hot:hover { transform: translateY(-14px); } .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--coral)); color: #fff; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.trial { text-align: center; font-weight: 700; color: var(--brand); font-size: 14.5px; } .trial:hover { text-decoration: underline; } .life { text-align: center; color: var(--muted); }
.credits { margin-top: 22px; padding: 20px 26px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; } .credits > div:first-child b { display: block; font: 700 18px var(--display); } .credits > div:first-child span { color: var(--muted); font-size: 14px; } .packs { display: flex; gap: 10px; flex-wrap: wrap; } .packs button { border: 1px solid var(--line2); background: var(--card); padding: 11px 18px; border-radius: 99px; font-weight: 500; transition: .2s var(--ease); } .packs button:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-s); }

/* faq */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; } .faq { display: grid; gap: 12px; } .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; transition: box-shadow .3s, border-color .3s; } .faq details[open] { box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); } .faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 17.5px var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .35s var(--ease); } .faq details[open] summary::after { transform: rotate(135deg); } .faq details p { padding: 0 0 22px; color: var(--muted); }

/* cta + footer */
.cta-band { padding: 40px 0 90px; } .cta { position: relative; overflow: hidden; text-align: center; padding: clamp(46px, 7vw, 86px) 24px; border-radius: 40px; background: linear-gradient(135deg, #2a1f6b, #5b3df5 55%, #ff6b45); color: #fff; box-shadow: 0 40px 90px rgba(91,61,245,.35); } .cta h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; position: relative; } .cta p { margin: 14px 0 28px; font-size: 19px; opacity: .85; position: relative; } .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; } .cta-orb { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); left: 50%; top: -60%; transform: translateX(-50%); animation: drift 10s ease-in-out infinite alternate; }
.foot { border-top: 1px solid var(--line); background: var(--bg2); padding-top: 60px; } .foot-in { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; } .fcol { display: flex; flex-direction: column; gap: 9px; } .fcol h4 { font: 700 13px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; } .fcol a { color: var(--ink2); font-size: 14.5px; width: fit-content; } .fcol a:hover { color: var(--brand); } .brandcol p { color: var(--muted); font-size: 14.5px; max-width: 240px; margin-top: 6px; } .foot-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 32px 0; margin-top: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* cookie + toasts + cmdk */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); transform: translateY(30px); opacity: 0; transition: .5s var(--ease); } .cookie.in { transform: none; opacity: 1; } .cookie div:first-child { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); max-width: 380px; } .cookie b { color: var(--ink); font-size: 15px; } .ck-btns { display: flex; gap: 6px; flex-wrap: wrap; }
#toasts { position: fixed; z-index: 400; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; } .toast { padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-l); max-width: 360px; transform: translateY(14px) scale(.96); opacity: 0; transition: .35s var(--ease); } .toast.in { transform: none; opacity: 1; } .toast.err { background: #d93a4f; color: #fff; } .toast.ok { background: #0e9f6e; color: #fff; } .toast.warn { background: #f2a100; color: #2a1d00; }
.cmdk { position: fixed; inset: 0; z-index: 300; background: rgba(15,12,35,.5); backdrop-filter: blur(6px); display: grid; place-items: start center; padding-top: 12vh; opacity: 0; transition: opacity .16s; } .cmdk.in { opacity: 1; } .cmdk-box { width: min(620px, 94vw); background: var(--card); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; transform: translateY(-10px) scale(.98); transition: transform .25s var(--ease); } .cmdk.in .cmdk-box { transform: none; } .cmdk-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); } .cmdk-in input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 17px var(--font); color: var(--ink); } .cmdk-list { max-height: 55vh; overflow: auto; padding: 8px; } .cm { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; background: transparent; border-radius: 14px; text-align: left; } .cm.on, .cm:hover { background: var(--brand-soft); } .cm .t-ico { width: 40px; height: 40px; border-radius: 13px; } .cm span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; } .cm b { font-size: 15px; } .cm small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cm-none { padding: 30px; text-align: center; color: var(--muted); } .cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 12.5px; color: var(--muted); } .cmdk-foot kbd { margin-right: 4px; }

/* =================== STUDIO (tool workspace) =================== */
.studio { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column; animation: studioIn .4s var(--ease); } @keyframes studioIn { from { opacity: 0; transform: translateY(24px) scale(.99); } }
.st-head { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(12px); flex: none; }
.st-title { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; } .st-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--s); color: var(--c); flex: none; } [data-theme="dark"] .st-ico { background: color-mix(in srgb, var(--c) 22%, var(--card)); } .st-title h2 { font-size: 20px; } .st-title p { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
.st-priv { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.st-body { flex: 1; min-height: 0; position: relative; overflow: auto; }
.pick { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 30px 20px; background: radial-gradient(700px 400px at 50% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%); }
.drop-big { width: min(720px, 100%); padding: 56px 24px; border-radius: 36px; border: 2.5px dashed color-mix(in srgb, var(--brand) 40%, var(--line2)); background: var(--card); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; transition: .3s var(--ease); box-shadow: var(--shadow-m); } .drop-big.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--card)); transform: scale(1.02); }
.drop-ico { width: 104px; height: 104px; border-radius: 32px; display: grid; place-items: center; background: var(--s); color: var(--c); animation: bob 3.4s ease-in-out infinite; } [data-theme="dark"] .drop-ico { background: color-mix(in srgb, var(--c) 20%, var(--card)); } .drop-big h2 { font-size: 32px; } .drop-big p { color: var(--muted); } .or { color: var(--muted); font-size: 13.5px; }
.pick-tips { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 14px; } .pick-tips b { color: var(--ink); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: 100%; position: relative; }
.work-main { overflow: auto; padding: 22px; background: var(--bg2); min-width: 0; position: relative; }
.work-side { display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--card); min-height: 0; } .side-scroll { flex: 1; overflow: auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; } .side-foot { padding: 16px 22px; border-top: 1px solid var(--line); background: var(--card); } .side-head h3 { font-size: 24px; } .side-head p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.busy { position: absolute; inset: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(6px); display: grid; place-items: center; } .busy-card { padding: 28px 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); text-align: center; width: min(360px, 90%); } .busy-card p { margin: 14px 0; font-weight: 600; } .spinner { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .busy .bar i { animation: none; transition: width .25s; transform: none; width: 0; } .bar.indef i { width: 40% !important; animation: slide 1.2s ease-in-out infinite; } @keyframes slide { from { margin-left: -40%; } to { margin-left: 100%; } }
/* form bits */
.field { display: flex; flex-direction: column; gap: 7px; } .field > label { font-weight: 700; font-size: 13.5px; } .field small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.inp { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--bg); color: var(--ink); font: inherit; outline: 0; transition: border-color .2s, box-shadow .2s; } .inp:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); } textarea.inp { resize: vertical; } input.color { padding: 4px; height: 44px; cursor: pointer; } select.inp[multiple] { padding: 6px; }
.row { margin-top: 8px; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: flex; flex-wrap: wrap; padding: 4px; gap: 2px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); } .seg button { flex: 1; border: 0; background: transparent; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink2); white-space: nowrap; transition: background .2s, color .2s; } .seg button.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow-s); }
.chk { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; } .chk input { width: 17px; height: 17px; accent-color: var(--brand); }
.rng { display: flex; align-items: center; gap: 12px; } .rng input { flex: 1; accent-color: var(--brand); } .rng output { min-width: 42px; font-weight: 700; font-size: 13.5px; }
.tip { padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--ink2); font-size: 13.5px; line-height: 1.5; } .tip.warn { background: color-mix(in srgb, var(--sun) 25%, var(--card)); }
.how { margin: 0; padding-left: 18px; color: var(--ink2); font-size: 14px; display: grid; gap: 6px; }
.pos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 150px; } .pos button { height: 34px; border-radius: 9px; border: 1.5px solid var(--line2); background: var(--bg); position: relative; } .pos button i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--line2); } .pos button.on { border-color: var(--brand); background: var(--brand-soft); } .pos button.on i { background: var(--brand); }
#pnPos { grid-template-columns: repeat(3, 1fr); } #pnPos button:nth-child(-n+3) i { top: 6px; } #pnPos button:nth-child(n+4) i { bottom: 6px; } #pnPos button:nth-child(3n+1) i { left: 7px; } #pnPos button:nth-child(3n+2) i { left: calc(50% - 4px); } #pnPos button:nth-child(3n) i { right: 7px; }
.pos9 button { height: 30px; } .pos9 button:nth-child(-n+3) i { top: 5px; } .pos9 button:nth-child(n+4):nth-child(-n+6) i { top: calc(50% - 4px); } .pos9 button:nth-child(n+7) i { bottom: 5px; } .pos9 button:nth-child(3n+1) i { left: 7px; } .pos9 button:nth-child(3n+2) i { left: calc(50% - 4px); } .pos9 button:nth-child(3n) i { right: 7px; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* file list */
.fl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .fl-head h3 { font-size: 22px; } .fl-tools { display: flex; gap: 6px; flex-wrap: wrap; } .fl-tools label { cursor: pointer; }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; } .fl-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; position: relative; cursor: grab; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; animation: rise .4s var(--ease) backwards; } .fl-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); } .fl-card.drag { opacity: .4; } .fl-card.over { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.fl-thumb { height: 150px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; overflow: hidden; font-weight: 800; color: var(--muted); } .fl-thumb canvas, .fl-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow-s); } .fl-meta { margin-top: 10px; display: flex; flex-direction: column; } .fl-meta b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fl-meta span { font-size: 12px; color: var(--muted); } .fl-meta em { font-style: normal; }
.fl-act { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; } .fl-card:hover .fl-act, .fl-card:focus-within .fl-act { opacity: 1; } .fl-act button { width: 28px; height: 28px; border-radius: 9px; border: 0; background: var(--card); box-shadow: var(--shadow-s); font-size: 13px; } .fl-act .x:hover { background: #ffe3e3; color: #d93a4f; } .fl-num { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; display: grid; place-items: center; } .fl-hint { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; } .bad { color: #d93a4f; }
/* page grid */
.pg-bar { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; position: sticky; top: -22px; z-index: 5; padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); } .pg-count { margin-left: auto; font-weight: 700; font-size: 13.5px; color: var(--brand); padding-right: 6px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; } .pg-card { position: relative; padding: 10px; border-radius: 16px; background: var(--card); border: 2px solid transparent; box-shadow: var(--shadow-s); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; } .pg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); } .pg-card.sel { border-color: var(--brand); background: var(--brand-soft); } .pg-card.del { opacity: .38; filter: grayscale(1); } .pg-card.drag { opacity: .35; } .pg-card.over { border-color: var(--coral); transform: scale(1.03); }
.pg-thumb { height: 190px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--bg2); } .pg-rot { transition: transform .3s var(--ease); display: grid; place-items: center; max-width: 100%; max-height: 100%; } .pg-rot canvas { max-width: 130px; max-height: 180px; width: auto; height: auto; box-shadow: var(--shadow-s); background: #fff; } .pg-n { display: block; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.pg-check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--card); border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; font-weight: 800; font-size: 14px; transition: .2s; } .pg-card.sel .pg-check { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.1); }
.pg-act { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 5px; opacity: 0; transition: opacity .2s; } .pg-card:hover .pg-act { opacity: 1; } .pg-act button { width: 30px; height: 30px; border-radius: 10px; border: 0; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: var(--shadow-m); } .pg-act button:hover { background: var(--brand); }
/* single preview */
.single-prev { min-height: 100%; display: grid; place-items: center; padding: 10px; } .sp-card { padding: 20px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-m); display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 100%; position: relative; } .sp-card b { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sp-card span { color: var(--muted); font-size: 13.5px; } .sp-card.wide { padding: 14px; }
.sp-thumb { min-width: 150px; min-height: 180px; display: grid; place-items: center; position: relative; border-radius: 10px; overflow: hidden; background: var(--bg2); } .sp-thumb canvas { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: var(--shadow-s); } .sp-thumb.big { width: 160px; height: 160px; color: var(--brand); } .sp-thumb.gray canvas { filter: grayscale(1); } .sp-card.wide .sp-thumb { background: transparent; }
.ov { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; } .pn-tag { position: absolute; font: 600 12px var(--font); color: #222; padding: 2px 6px; background: rgba(255,255,255,.7); border-radius: 4px; }
.sp-thumb.crop { overflow: visible; } .sh { position: absolute; background: rgba(15,12,35,.55); pointer-events: none; } .sh.t { left: 0; right: 0; top: 0; } .sh.b { left: 0; right: 0; bottom: 0; } .sh.l { left: 0; } .sh.r { right: 0; } .frame { position: absolute; border: 2px solid var(--brand); pointer-events: none; box-shadow: 0 0 0 1px #fff inset; }
/* code area */
.code-wrap { height: 100%; min-height: 420px; display: flex; flex-direction: column; background: var(--card); border-radius: 22px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-s); } .code-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--bg2); border-bottom: 1px solid var(--line); flex-wrap: wrap; } .code-bar label { cursor: pointer; } .code-wrap textarea { flex: 1; border: 0; outline: 0; resize: none; padding: 18px; background: transparent; color: var(--ink); font: 14px/1.6 'Cascadia Code', Consolas, monospace; min-height: 340px; }
.empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 460px; margin: auto; } .empty p { color: var(--muted); } .empty-ico { color: var(--brand); }
/* result */
.done { position: relative; min-height: 100%; display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(700px 360px at 50% 0%, color-mix(in srgb, var(--mint) 10%, transparent), transparent 70%); overflow: hidden; }
.done-card { width: min(680px, 100%); padding: 38px; border-radius: 34px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; z-index: 2; animation: pop .55s var(--ease); } .done-card h2 { font-size: 34px; }
.done-mark { width: 84px; height: 84px; } .done-mark svg { width: 100%; fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } .done-mark circle { fill: color-mix(in srgb, var(--mint) 14%, var(--card)); stroke-dasharray: 160; stroke-dashoffset: 160; animation: dash .7s var(--ease) forwards; } .done-mark path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: dash .5s .5s var(--ease) forwards; } @keyframes dash { to { stroke-dashoffset: 0; } }
.stats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; } .done .stats { display: flex; border: 0; box-shadow: none; padding: 0; background: transparent; margin: 0; grid-template-columns: none; } .done .stats > div { border: 0; padding: 12px 20px; border-radius: 18px; background: var(--bg2); min-width: 100px; } .done .stats > div.hot { background: color-mix(in srgb, var(--mint) 16%, var(--card)); } .done .stats b { font-size: 26px; background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); } .done .stats .hot b { color: var(--mint); -webkit-text-fill-color: var(--mint); } .done .stats span { font-size: 12.5px; }
.out-list { width: 100%; display: grid; gap: 8px; text-align: left; max-height: 240px; overflow: auto; } .out { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bg2); } .out > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; } .out b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .out span { font-size: 12.5px; color: var(--muted); } .out-thumb { width: 46px; height: 56px; border-radius: 8px; background: var(--card); display: grid; place-items: center; overflow: hidden; font-size: 11px; font-weight: 800; color: var(--muted); flex: none; } .out-thumb img, .out-thumb canvas { width: 100%; height: 100%; object-fit: cover; }
.done-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; } .next { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 10px; } .next > span { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.done-custom { width: 100%; text-align: left; }
.confetti { position: absolute; left: 0; right: 0; top: 40%; height: 0; z-index: 1; pointer-events: none; } .confetti i { position: absolute; width: 9px; height: 14px; border-radius: 3px; opacity: 0; animation: conf 1.6s var(--ease) forwards; } @keyframes conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) * -1 + 520px)) rotate(var(--r)); } }
/* compare */
.cmp-two { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; align-items: center; min-height: 100%; position: relative; } .cmp-tag { position: absolute; top: -10px; left: 16px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px; } .swap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cmp-out { max-height: 280px; overflow: auto; border-radius: 16px; border: 1px solid var(--line); font-size: 13.5px; background: var(--bg); } .cmp-l { display: flex; gap: 10px; padding: 5px 12px; align-items: baseline; } .cmp-l i { width: 12px; font-style: normal; font-weight: 800; } .cmp-l span { flex: 1; } .cmp-l em { font-style: normal; font-size: 11.5px; color: var(--muted); } .cmp-l.add { background: color-mix(in srgb, var(--mint) 16%, transparent); } .cmp-l.del { background: color-mix(in srgb, #d93a4f 14%, transparent); } .cmp-l.del span { text-decoration: line-through; opacity: .8; } .cmp-gap { text-align: center; color: var(--muted); font-size: 12px; padding: 4px; } .cmp-same { padding: 24px; text-align: center; color: var(--mint); font-weight: 700; }
/* editor */
.ed { display: flex; flex-direction: column; height: calc(100% + 44px); margin: -22px; } .ed-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--card); border-bottom: 1px solid var(--line); flex: none; position: relative; z-index: 4; }
.ed-tools { display: flex; gap: 4px; flex-wrap: wrap; } .ed-tools button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 10px; min-width: 58px; border-radius: 12px; border: 0; background: transparent; color: var(--ink2); font-size: 11.5px; font-weight: 600; transition: .2s; } .ed-tools button i { font-style: normal; font-size: 17px; line-height: 1.2; } .ed-tools button:hover { background: var(--bg2); } .ed-tools button.on { background: var(--brand); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 35%, transparent); }
.ed-opts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .ed-sw { display: flex; align-items: center; gap: 5px; } .ed-sw button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1.5px var(--line2); padding: 0; } .ed-sw button.on { box-shadow: 0 0 0 2.5px var(--ink); } .ed-sw input { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; } .ed-size { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); } .ed-size input { width: 90px; accent-color: var(--brand); }
.ed-scroll { flex: 1; overflow: auto; padding: 22px 20px 80px; background: var(--bg2); } .ed-pages { display: flex; flex-direction: column; align-items: center; gap: 22px; } .ed-page { position: relative; background: #fff; box-shadow: var(--shadow-m); flex: none; } .ed-page canvas { display: block; position: absolute; inset: 0; } .ed-layer { position: absolute; inset: 0; overflow: hidden; } .ed-pn { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 11.5px; color: var(--muted); }
.ed-pages[data-tool="text"] .ed-layer { cursor: text; } .ed-pages[data-tool="select"] .ed-layer { cursor: default; } .ed-pages[data-tool="ink"] .ed-layer, .ed-pages[data-tool="rect"] .ed-layer, .ed-pages[data-tool="highlight"] .ed-layer, .ed-pages[data-tool="whiteout"] .ed-layer, .ed-pages[data-tool="redact"] .ed-layer, .ed-pages[data-tool="sign"] .ed-layer { cursor: crosshair; }
.ed-a { position: absolute; touch-action: none; } .ed-pages[data-tool="select"] .ed-a:not(.ed-ink) { cursor: move; } .ed-a.sel { outline: 2px solid var(--brand); outline-offset: 2px; } .ed-text { padding: 0 2px; line-height: 1.2; white-space: pre; font-family: Helvetica, Arial, sans-serif; outline: 0; min-width: 20px; } .ed-text.editing { outline: 2px dashed var(--brand); cursor: text; background: rgba(255,255,255,.75); } .ed-box { box-sizing: border-box; } .ed-img img { width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; } .ed-ink { left: 0; top: 0; pointer-events: none; overflow: visible; } .ed-ink path { pointer-events: stroke; cursor: pointer; } .ed-ink.sel path { filter: drop-shadow(0 0 3px var(--brand)); }
.rz { display: none; position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; cursor: nwse-resize; box-shadow: 0 2px 6px rgba(0,0,0,.3); } .ed-a.sel .rz { display: block; }
/* signature modal */
.modal-back { position: fixed; inset: 0; z-index: 350; background: rgba(15,12,35,.55); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; } .modal-back.in { opacity: 1; } .modal { width: min(440px, 100%); max-height: 92vh; overflow: auto; background: var(--card); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-l); transform: translateY(14px) scale(.97); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 14px; } .modal.wide { width: min(620px, 100%); } .modal-back.in .modal { transform: none; } .modal h3 { font-size: 24px; } .modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.sig { display: grid; gap: 14px; } .sg-pane { display: grid; gap: 10px; justify-items: start; } #sgC { width: 100%; height: auto; aspect-ratio: 640/220; border-radius: 16px; border: 2px dashed var(--line2); background: repeating-linear-gradient(transparent 0 calc(100% - 1px), var(--line) 0) , var(--bg); touch-action: none; cursor: crosshair; } .sg-fonts { display: grid; gap: 8px; width: 100%; } .sg-f { border: 1.5px solid var(--line2); background: var(--bg); border-radius: 14px; padding: 8px 16px; font-size: 34px; text-align: left; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sg-f.on { border-color: var(--brand); background: var(--brand-soft); } .sg-colors { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; } .sw { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line2); } .sw.on { box-shadow: 0 0 0 2.5px var(--ink); }
/* forms */
.ff { max-width: 640px; margin: 0 auto; display: grid; gap: 12px; } .ff-row { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 7px; } .ff-row > label { font-weight: 700; font-size: 13px; color: var(--ink2); word-break: break-word; }
/* images */
.img-stage { position: relative; margin: auto; touch-action: none; user-select: none; } .img-stage canvas { display: block; border-radius: 6px; box-shadow: var(--shadow-m); } .work-main:has(.img-stage) { display: grid; place-items: center; }
.crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(15,12,35,.55); cursor: move; } .crop-box i { position: absolute; background: rgba(255,255,255,.4); } .g1, .g2 { top: 0; bottom: 0; width: 1px; } .g1 { left: 33.3%; } .g2 { left: 66.6%; } .g3, .g4 { left: 0; right: 0; height: 1px; } .g3 { top: 33.3%; } .g4 { top: 66.6%; } .crop-box .h { position: absolute; right: -9px; bottom: -9px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; cursor: nwse-resize; }
.rot-prev { display: grid; place-items: center; margin-bottom: 18px; padding: 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); } .rot-cv { max-width: 100%; max-height: 300px; width: auto !important; height: auto !important; border-radius: 8px; box-shadow: var(--shadow-s); }
.fav-prev { min-height: 100%; display: grid; place-content: center; gap: 24px; justify-items: center; } .fav-big { padding: 26px; border-radius: 32px; background: repeating-conic-gradient(var(--line) 0 25%, var(--card) 0 50%) 0 0 / 22px 22px; box-shadow: var(--shadow-m); } .fav-row { display: flex; gap: 20px; align-items: flex-end; } .fav-row figure { margin: 0; text-align: center; font-size: 12px; color: var(--muted); } .fav-row canvas { background: repeating-conic-gradient(var(--line) 0 25%, var(--card) 0 50%) 0 0 / 10px 10px; border-radius: 6px; display: block; margin-bottom: 4px; }
.cam { position: sticky; top: 0; z-index: 6; margin-bottom: 18px; border-radius: 22px; overflow: hidden; background: #000; max-width: 640px; margin-inline: auto; } .cam video { width: 100%; display: block; max-height: 56vh; object-fit: cover; } .cam-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; } .cam-bar .btn-ghost { color: #fff; } .shutter { width: 64px; height: 64px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.3); } .shutter:active { background: #fff; } #camN { min-width: 90px; text-align: right; font-size: 13px; }

/* =================== responsive =================== */
@media (max-width: 1060px) {
  .hero-in, .editor-in, .member-in, .admin-in, .faq-in { grid-template-columns: 1fr; } .hv { height: 460px; max-width: 560px; margin: 0 auto; width: 100%; } .ed-mock { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); } .bn, .bn-priv, .bn-smart, .bn-k, .bn-phone, .bn-lang, .bn-dark, .bn-free, .bn-fast { grid-column: span 1; grid-row: auto; } .bn-priv, .bn-lang { grid-column: 1 / -1; }
  .uses { grid-template-columns: repeat(2, 1fr); } .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan-c.hot { transform: none; } .foot-in { grid-template-columns: repeat(3, 1fr); } .brandcol { grid-column: 1 / -1; }
  .nav-links { display: none; } .burger { display: grid; } .search-btn span, .search-btn kbd { display: none; } .search-btn { min-width: 0; padding: 10px; } .hide-s { display: none; }
  body.menu-open .nav-links { display: flex; position: absolute; top: 70px; left: 12px; right: 12px; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); margin: 0; } body.menu-open .nav-links a { padding: 14px 16px; }
  .steps { flex-direction: column; align-items: center; } .step-arrow { transform: rotate(90deg); height: 40px; width: auto; } .step { max-width: 460px; width: 100%; }
  .work { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; } .work-side { border-left: 0; border-top: 1px solid var(--line); max-height: 52vh; } .work-main { padding: 14px; } .st-priv { display: none; } .st-title p { max-width: 40vw; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); } .hero h1 { letter-spacing: -.04em; } .smart-drop { flex-wrap: wrap; padding: 16px; } .smart-btn { width: 100%; margin: 4px 0 0; } .hv { height: 410px; } .hv-card { width: 330px; } .hv-body { grid-template-columns: 1fr 74px; padding: 12px; } .hv-doc { min-height: 150px; } .hv-page { width: 130px; height: 180px; } .c5, .c3 { display: none; }
  .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; } .bn-priv { flex-direction: column; align-items: flex-start; } .uses { grid-template-columns: 1fr; } .adm-grid { grid-template-columns: 1fr; } .adm-mock aside { display: none; } .am-row { grid-template-columns: 1fr 1fr 1fr; } .dstats b { font-size: 18px; } .dash aside { display: none; }
  .tools-grid { grid-template-columns: 1fr; } .tool-search { width: 100%; min-width: 0; } .tabs { border-radius: 20px; } .tabs button { padding: 8px 12px; } .foot-in { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; } .pg-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; } .pg-thumb { height: 150px; } .pg-rot canvas { max-width: 98px; max-height: 140px; } .done-card { padding: 26px 18px; } .done-card h2 { font-size: 27px; } .ed-tools button { min-width: 48px; padding: 6px 7px; } .ed-tools button span { display: none; } .st-head { gap: 8px; padding: 10px 12px; } #stBack { padding: 8px 10px; } .st-title h2 { font-size: 17px; } .st-title p { display: none; } .drop-big { padding: 40px 16px; }
  .cookie { bottom: 8px; left: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } .reveal { opacity: 1; transform: none; } .word-rot b { animation: none; } .word-rot { overflow: visible; height: auto; } .word-rot b:not(:first-child) { display: none; } }
