/* =====================================================================
   Socivio — extra pages: FAQ, how it works, security, demo, legal
   ===================================================================== */
.narrow-xl { max-width: 980px; }
.page-art { position: relative; height: 340px; border-radius: 32px; overflow: hidden; isolation: isolate; display: grid; place-items: center;
    background: radial-gradient(300px 200px at 85% 5%, rgba(255, 255, 255, .3), transparent 65%), linear-gradient(135deg, var(--t), var(--t2)); box-shadow: 0 34px 70px var(--tb); }
.page-art::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(255, 255, 255, .55) 1.3px, transparent 1.5px); background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%); }
.page-art .ma-orb { z-index: -1; } .page-art .ma-o1 { width: 220px; height: 220px; right: -70px; top: -70px; } .page-art .ma-o2 { width: 160px; height: 160px; left: -50px; bottom: -60px; }
.pa-badge { width: 112px; height: 112px; border-radius: 36px; display: grid; place-items: center; font-size: 3.2rem; color: #fff; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .5);
    backdrop-filter: blur(10px); box-shadow: 0 24px 48px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .55); animation: floaty 6s ease-in-out infinite; }
.pa-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 40px; font-size: .82rem; font-weight: 700; color: var(--t); background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .2); animation: floaty 5s ease-in-out infinite; }
.pa-chip i { font-size: 1rem; }
.pa-chip.c1 { top: 36px; left: 28px; } .pa-chip.c2 { right: 26px; top: 52%; animation-delay: 1s; } .pa-chip.c3 { left: 40px; bottom: 34px; animation-delay: 2s; }

/* FAQ */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.faq-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px; font-weight: 700; font-size: .86rem; color: var(--text-muted); background: var(--card); border: 1px solid var(--border); cursor: pointer; transition: all .2s; }
.faq-tab:hover { color: var(--text); border-color: var(--acc1); transform: translateY(-2px); }
.faq-tab.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--acc1), var(--acc2)); box-shadow: 0 10px 22px rgba(99, 102, 241, .35); }
.faq-group { margin-bottom: 40px; } .faq-group.hide, .faq-item.hide { display: none; }
.faq-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .faq-head h3 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.4px; }
.faq-head .f-ico { width: 44px; height: 44px; margin: 0; font-size: 1.2rem; border-radius: 14px; }
.faq-item { margin-bottom: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); transition: border-color .25s, box-shadow .25s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--t) 40%, var(--border)); }
.faq-item[open] { border-color: var(--t); box-shadow: 0 18px 40px var(--tb); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; color: var(--t); background: var(--tb); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] summary i { transform: rotate(45deg); color: #fff; background: linear-gradient(135deg, var(--t), var(--t2)); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); line-height: 1.75; }

/* how it works */
.how-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 28px; } .how-step:last-child { padding-bottom: 0; }
.hs-rail { position: relative; display: flex; justify-content: center; }
.how-step:not(:last-child) .hs-rail::after { content: ''; position: absolute; top: 60px; bottom: -28px; width: 3px; border-radius: 3px; background: linear-gradient(var(--t), color-mix(in srgb, var(--t) 12%, transparent)); }
.hs-num { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--t), var(--t2)); box-shadow: 0 14px 28px var(--tb); }
.hs-card { padding: 26px 28px; border-radius: 26px; background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--tb) 35%, var(--card))); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.hs-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px var(--tb); }
.hs-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; } .hs-head h4 { margin: 0; font-weight: 800; letter-spacing: -.4px; }
.hs-head small { color: var(--t); font-weight: 800; letter-spacing: .8px; text-transform: uppercase; font-size: .7rem; }
.hs-head .f-ico { width: 50px; height: 50px; margin: 0; font-size: 1.3rem; border-radius: 16px; }
.hs-card > p { color: var(--text-muted); } .hs-card .tick-list { margin: 14px 0 0; }
.step .day-tag { width: auto; height: auto; display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: .82rem; font-weight: 800; margin-bottom: 12px; }

/* shared */
.note-card { display: flex; gap: 16px; padding: 20px 22px; border-radius: 22px; background: var(--acc-soft); border: 1px solid color-mix(in srgb, var(--acc1) 25%, var(--border)); }
.note-card > i { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.note-card b { display: block; margin-bottom: 2px; } .note-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.tick-list.big li { font-size: 1.05rem; padding: 12px 0 12px 36px; border-bottom: 1px dashed var(--border); } .tick-list.big li:last-child { border-bottom: 0; }

/* legal */
.legal-hero { padding-bottom: 36px; } .legal-hero .lead { max-width: 720px; }
.updated-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700; color: var(--text-muted); background: var(--card); border: 1px solid var(--border); }
.legal-toc { position: sticky; top: 100px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(79, 70, 229, .07); }
.legal-toc > b { display: block; margin-bottom: 10px; font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.legal-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: .86rem; font-weight: 600; color: var(--text-muted); transition: all .2s; }
.legal-toc a span { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--card-2); }
.legal-toc a:hover, .legal-toc a.on { color: var(--acc1); background: var(--acc-soft); } .legal-toc a.on span { color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.toc-other { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); } .toc-other a { color: var(--acc1); }
.legal-body section { scroll-margin-top: 100px; margin-bottom: 24px; padding: 28px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); }
.legal-body h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.4px; }
.legal-body h2 span { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.legal-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 10px; } .legal-body p:last-child { margin-bottom: 0; }

/* footer legal links */
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot-legal { display: inline-flex; gap: 20px; } .foot-legal a { color: inherit; opacity: .8; } .foot-legal a:hover { opacity: 1; color: #fff; }

@media (max-width: 767px) {
    .how-step { grid-template-columns: 44px 1fr; gap: 14px; } .hs-num { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 14px; } .hs-card { padding: 20px; }
    .legal-body section { padding: 22px 20px; } .faq-item summary { padding: 16px; font-size: .95rem; } .faq-item p { padding: 0 16px 16px; }
    .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pa-badge, .pa-chip { animation: none; } }
.tick-list.big li::before { top: 12px; font-size: 1.3rem; }
.narrow-xl h2, .l-section.alt h2 { font-weight: 800; letter-spacing: -.8px; }
