/* The public site («/»): the platform's introduction. Same palette as the dashboard (PROJECT_STANDARDS §9),
   light and dark, RTL, no external assets (the CSP allows none). */
:root {
    --p: #8b5cf6; --p2: #a78bfa; --p-deep: #6d28d9; --p-rgb: 139 92 246;
    --grad: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 45%, #c084fc 100%);
    --bg: #ffffff; --bg-soft: #f8f7ff; --surface: #ffffff; --surface-2: #f5f3ff;
    --text: #1e1b3a; --muted: #64748b; --line: #e9e5fb;
    --shadow: 0 20px 50px -20px rgb(76 29 149 / .25); --shadow-sm: 0 8px 24px -12px rgb(76 29 149 / .2);
    --radius: 22px; --wrap: 1180px; --nav-h: 72px;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #0d0b1a; --bg-soft: #13102a; --surface: #181433; --surface-2: #211b45;
    --text: #ece9ff; --muted: #a5a0c8; --line: #2c2652;
    --shadow: 0 20px 50px -20px rgb(0 0 0 / .6); --shadow-sm: 0 8px 24px -12px rgb(0 0 0 / .5);
    color-scheme: dark;
}

* { font-family: 'Cairo', system-ui, sans-serif; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { background: var(--bg); color: var(--text); margin: 0; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--p); text-decoration: none; font-weight: 600; }
a:hover { color: var(--p-deep); }
:root[data-theme="dark"] a:hover { color: var(--p2); }
h1, h2, h3 { font-weight: 800; line-height: 1.35; color: var(--text); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); margin-bottom: .6rem; }
h3 { font-size: 1.08rem; margin-bottom: .35rem; }
p { margin-bottom: .6rem; }
.muted { color: var(--muted); }
.ms { font-size: 1.25em; vertical-align: -.22em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: fixed; top: -60px; inset-inline-start: 8px; z-index: 2000; background: var(--p); color: #fff; padding: .4rem .9rem; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 8px; color: #fff; }
:focus-visible { outline: 3px solid rgb(var(--p-rgb) / .55); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn-main, .btn-ghost, .btn-light, .btn-light-o {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 99px;
    padding: .55rem 1.2rem; font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgb(var(--p-rgb) / .8); }
.btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(var(--p-rgb) / .9); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--p); border-color: var(--p2); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--p-deep); }
.btn-light:hover { color: var(--p-deep); transform: translateY(-2px); }
.btn-light-o { color: #fff; border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .08); }
.btn-light-o:hover { color: #fff; background: rgb(255 255 255 / .18); }
.lg { padding: .8rem 1.6rem; font-size: 1.02rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { color: var(--p); border-color: var(--p2); }

/* ---------- Navigation ---------- */
.site-nav { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center;
    background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-row { display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 800; font-size: 1.12rem; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: .2rem; margin-inline-start: auto; }
.nav-links a { color: var(--muted); padding: .45rem .8rem; border-radius: 99px; font-weight: 700; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--p); background: rgb(var(--p-rgb) / .08); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn, .only-mobile { display: none !important; }

@media (max-width: 991px) {
    .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: .2rem; padding: 1rem 20px 1.4rem;
        background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease; margin: 0; }
    .nav-links.open { transform: none; opacity: 1; visibility: visible; }
    .nav-links a { padding: .75rem 1rem; font-size: 1.02rem; }
    .menu-btn { display: inline-grid !important; }
    .only-mobile { display: block !important; }
}
@media (max-width: 575px) {
    .hide-sm { display: none !important; }
    .nav-actions .btn-main { padding: .5rem .9rem; font-size: .88rem; }
    .brand span { font-size: 1rem; }
}
@media (max-width: 420px) {
    .nav-actions .btn-main { display: none; }
    .nav-row { gap: .5rem; }
}

/* ---------- Hero ---------- */
.hero, .page-head { position: relative; overflow: hidden; isolation: isolate; }
.hero { padding: 56px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #c4b5fd; top: -160px; inset-inline-end: -120px; }
.b2 { width: 420px; height: 420px; background: #f0abfc; bottom: -180px; inset-inline-start: -120px; animation-delay: -6s; opacity: .35; }
.b3 { width: 300px; height: 300px; background: #93c5fd; top: 40%; inset-inline-start: 35%; animation-delay: -12s; opacity: .25; }
:root[data-theme="dark"] .blob { opacity: .22; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgb(var(--p-rgb) / .18) 1px, transparent 1px); background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .85rem; border-radius: 99px; font-weight: 700; font-size: .85rem;
    color: var(--p-deep); background: rgb(var(--p-rgb) / .1); border: 1px solid rgb(var(--p-rgb) / .2); margin-bottom: .9rem; }
:root[data-theme="dark"] .eyebrow { color: var(--p2); }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.25; margin-bottom: 1rem;
    background: linear-gradient(120deg, var(--text) 30%, var(--p) 75%, #c084fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead-text { font-size: clamp(1rem, .95rem + .35vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.trust li { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-weight: 600; font-size: .9rem; }
.trust .ms { color: var(--p); }

.hero-devices { position: relative; min-height: 460px; }
.hero-devices .laptop { position: absolute; inset-inline-start: 0; top: 30px; width: 92%; }
.hero-devices .hero-phone { position: absolute; inset-inline-end: 0; bottom: -10px; width: 34%; min-width: 150px; }
.toast-card { position: absolute; display: flex; gap: .6rem; align-items: center; padding: .6rem .9rem; border-radius: 16px; background: var(--surface);
    box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .85rem; z-index: 3; }
.toast-card .ms { color: #fff; background: var(--grad); border-radius: 10px; padding: .35rem; font-size: 1.1rem; }
.toast-card b { display: block; } .toast-card small { color: var(--muted); }
.t1 { top: 0; inset-inline-end: 12%; }
.t2 { bottom: 40px; inset-inline-start: 4%; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px); } }

@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-devices { min-height: 0; aspect-ratio: 1.25; }
}
@media (max-width: 575px) {
    .hero { padding-top: 28px; }
    .toast-card { font-size: .75rem; padding: .45rem .65rem; }
    .t1 { inset-inline-end: 30%; }
}

/* ---------- Devices ---------- */
.device { margin: 0; position: relative; }
.device .screen { position: relative; overflow: hidden; background: var(--surface-2); }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device.phone { aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 34px; background: linear-gradient(145deg, #2e2a4a, #121022);
    box-shadow: var(--shadow), inset 0 0 0 1.5px rgb(255 255 255 / .12); }
.device.phone .screen { height: 100%; border-radius: 26px; }
.device.phone::before { content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30%; height: 16px; border-radius: 99px; background: #121022; z-index: 2; }
.device.laptop { aspect-ratio: 16 / 10.6; padding: 10px 10px 0; border-radius: 16px 16px 0 0; background: linear-gradient(145deg, #2e2a4a, #121022); box-shadow: var(--shadow); }
.device.laptop .screen { height: 100%; border-radius: 8px 8px 0 0; }
.device.laptop::after { content: ''; position: absolute; left: -7%; right: -7%; bottom: -14px; height: 14px; border-radius: 0 0 14px 14px;
    background: linear-gradient(#cfcbe4, #a7a2c4); box-shadow: 0 14px 30px -10px rgb(0 0 0 / .4); }
/* Placeholder screen until the real shot exists. */
.mock { height: 100%; padding: 34px 12px 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.mock > * { border-radius: 10px; background: rgb(var(--p-rgb) / .12); }
.mock-bar { height: 22px; width: 60%; }
.mock-card { height: 26%; background: var(--grad) !important; opacity: .85; }
.mock-row { display: flex; gap: 10px; background: none !important; height: 18%; }
.mock-row span { flex: 1; border-radius: 10px; background: rgb(var(--p-rgb) / .12); }
.mock-line { height: 12px; } .mock-line.short { width: 55%; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 44px 0; }
.section.tinted { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
@media (max-width: 575px) { .section { padding: 60px 0; } .section-head { margin-bottom: 30px; } }

.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.p-icon { font-size: 1.9rem; color: var(--p); margin-bottom: .6rem; display: inline-block; }
.problem p { display: flex; gap: .45rem; align-items: flex-start; font-size: .95rem; }
.problem .before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(225 29 72 / .45); }
.problem .before .ms { color: #e11d48; }
.problem .after { font-weight: 700; margin: 0; } .problem .after .ms { color: #16a34a; }
@media (max-width: 991px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .problems { grid-template-columns: 1fr; } }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); grid-auto-flow: dense; gap: 18px; }
.bento-card { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-card p { color: var(--muted); font-size: .95rem; max-width: 40ch; }
.bento-shot { position: absolute; width: 38%; max-width: 170px; inset-inline-start: 18px; bottom: -40%; transform: rotate(-6deg); transition: transform .4s ease; }
.bento-card.tall .bento-shot { position: relative; inset: auto; width: 70%; max-width: 230px; margin: 18px auto -90px; transform: none; bottom: auto; }
.bento-card.wide { padding-inline-start: calc(24px + 38%); min-height: 220px; }
.bento-card.wide .bento-shot { bottom: -30%; }
.bento-card:hover .bento-shot { transform: rotate(-3deg) translateY(-8px); }
.bento-card.tall:hover .bento-shot { transform: translateY(-8px); }
.bento-card.wide:not(:has(.bento-shot)) { padding-inline-start: 24px; }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: .9rem;
    box-shadow: 0 10px 20px -10px rgb(var(--p-rgb) / .9); flex: none; }
.icon-badge .ms { font-size: 1.5rem; vertical-align: 0; }
@media (max-width: 991px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
    .bento { grid-template-columns: 1fr; }
    .bento-card.wide, .bento-card.tall { grid-column: auto; grid-row: auto; }
    .bento-card.wide { padding-inline-start: 24px; }
    .bento-card .bento-shot, .bento-card.wide .bento-shot { position: relative; inset: auto; width: 55%; margin: 14px auto -110px; transform: none; display: block; bottom: auto; }
}

/* Role switcher */
.roles { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 18px; }
.role-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.role-tabs::-webkit-scrollbar { display: none; }
.role-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1rem; border-radius: 16px; border: 0;
    background: transparent; color: var(--muted); font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .25s; }
.role-tab:hover { color: var(--p); background: rgb(var(--p-rgb) / .06); }
.role-tab.active { background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgb(var(--p-rgb) / .9); }
.role-stage { padding: 26px 18px 0; overflow: hidden; }
.role-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; animation: panelIn .45s ease; }
.role-phone { width: 230px; margin: 0 auto -60px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; }
.checks .ms { color: var(--p); }
@media (max-width: 767px) {
    .role-panel { grid-template-columns: 1fr; gap: 18px; }
    .role-phone { width: 190px; }
    .role-tab { flex: 0 0 auto; }
}

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.story h3 { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; }
.story h3 .ms { color: var(--p); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { display: flex; gap: .8rem; align-items: flex-start; padding-bottom: 1.1rem; position: relative; font-weight: 600; font-size: .95rem; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 2px; width: 2px; background: linear-gradient(var(--p2), transparent); }
.timeline .dot { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgb(var(--p-rgb) / .1); color: var(--p); }
.timeline .dot .ms { vertical-align: 0; }
.reveal.in .timeline li, .timeline.in li { animation: stepIn .5s ease both; animation-delay: calc(var(--i) * 140ms + 150ms); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-14px); } }
@media (max-width: 991px) { .stories { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.center-col { display: flex; justify-content: center; }
.center-col .device.phone { width: 240px; }
@media (max-width: 991px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.feature-item { display: flex; gap: .9rem; align-items: flex-start; }
.feature-item .icon-badge { margin: 0; }
.feature-item p { color: var(--muted); margin: 0; }
.phones-pair { display: flex; justify-content: center; gap: 22px; padding: 20px 0; }
.phones-pair .device { width: 42%; max-width: 230px; }
.tilt-l { transform: rotate(-4deg) translateY(18px); } .tilt-r { transform: rotate(4deg); }

/* Security band */
.dark-band { background: radial-gradient(circle at 80% 0%, #4c1d95 0%, #1e1446 45%, #0f0b24 100%); color: #ece9ff; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .eyebrow { color: #ddd6fe; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .15); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-item { padding: 22px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.sec-item > .ms { font-size: 1.8rem; color: #c4b5fd; display: inline-block; margin-bottom: .5rem; }
.sec-item p { color: #c9c3ea; font-size: .95rem; margin: 0; }
.sec-grid.light { grid-template-columns: repeat(4, 1fr); padding-top: 10px; }
.sec-grid.light .sec-item { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.sec-grid.light .sec-item > .ms { color: var(--p); }
.sec-grid.light .sec-item p { color: var(--muted); }
@media (max-width: 991px) { .sec-grid, .sec-grid.light { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .sec-grid, .sec-grid.light { grid-template-columns: 1fr; } }
.note-card { padding: 28px; border-radius: var(--radius); background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.note-card h3 { color: #fff; } .note-card > .ms { font-size: 2.4rem; }
.note-card a { color: #fff; text-decoration: underline; }

/* Branding demo */
.brand-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.brand-phone { width: 260px; border-radius: 30px; padding: 18px; background: var(--surface); border: 8px solid #1d1933; box-shadow: var(--shadow); transition: all .4s; }
.bp-head { display: flex; gap: .6rem; align-items: center; margin-bottom: 14px; }
.bp-head small { display: block; color: var(--muted); font-size: .75rem; }
.bp-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); transition: background .4s; }
.bp-card { padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); transition: background .4s; }
.bp-card small { display: block; opacity: .9; } .bp-card b { font-size: 1.8rem; }
.bp-row { display: flex; gap: 8px; margin: 12px 0; }
.bp-row span { flex: 1; text-align: center; font-size: .75rem; font-weight: 700; padding: .55rem 0; border-radius: 12px; color: var(--b1); background: color-mix(in srgb, var(--b1) 12%, transparent); transition: all .4s; }
.bp-btn { text-align: center; padding: .6rem; border-radius: 99px; color: #fff; font-weight: 700; font-size: .85rem; background: var(--b1); transition: background .4s; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; background: linear-gradient(135deg, var(--s1), var(--s2)); transition: transform .2s; }
.swatch:hover, .swatch.active { transform: scale(1.15); box-shadow: 0 0 0 2px var(--s1); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.steps li > .ms { font-size: 1.8rem; color: var(--p); display: inline-block; margin-bottom: .4rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.step-n { position: absolute; top: 16px; inset-inline-end: 18px; font-size: 2.4rem; font-weight: 800; line-height: 1; color: rgb(var(--p-rgb) / .15); }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 0 20px; transition: box-shadow .25s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgb(var(--p-rgb) / .35); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ms { color: var(--p); transition: transform .25s; }
.faq-item[open] summary .ms { transform: rotate(180deg); }
.faq-item p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* CTA */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px; border-radius: 30px; color: #fff;
    background: var(--grad); box-shadow: 0 30px 60px -30px rgb(var(--p-rgb) / .9); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgb(255 255 255 / .12); inset-inline-start: -120px; top: -180px; }
.cta-band h2 { color: #fff; } .cta-band p { color: rgb(255 255 255 / .9); margin: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .cta-row { margin: 0; }
@media (max-width: 575px) { .cta-band { padding: 28px 22px; } }

/* Inner pages */
.page-head { padding: 64px 0 36px; text-align: center; }
.page-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.page-head .lead-text { margin: 0 auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0 28px; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .95rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .9rem; }
.chip:hover, .chip.active { color: var(--p); border-color: var(--p2); background: rgb(var(--p-rgb) / .07); }
.chip .ms { color: var(--p); }
.sticky-chips { position: sticky; top: calc(var(--nav-h) + 6px); z-index: 5; padding: 8px; border-radius: 22px; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); }
@media (max-width: 767px) { .sticky-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } .sticky-chips .chip { flex: none; } }
.feature-group { padding: 26px 0; }
.feature-group > h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-group > h2 .icon-badge { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f-card { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgb(var(--p-rgb) / .35); }
.f-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.soon { display: inline-block; font-size: .7rem; font-weight: 700; padding: .1rem .55rem; border-radius: 99px; color: #b45309; background: #fef3c7; vertical-align: middle; }
@media (max-width: 991px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .card-grid { grid-template-columns: 1fr; } }

.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.3rem; border-radius: 16px; background: var(--text); color: var(--bg); min-width: 190px; }
.store-btn:hover { color: var(--bg); transform: translateY(-2px); }
.store-btn .ms { font-size: 2rem; }
.store-btn small { display: block; font-size: .72rem; opacity: .8; font-weight: 600; line-height: 1.2; }
.store-btn span:last-child { line-height: 1.3; font-weight: 800; }
.store-btn.disabled { background: var(--surface-2); color: var(--muted); cursor: default; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
.join-card { padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.join-side { padding: 26px; border-radius: 26px; background: var(--bg-soft); border: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 16px); }
.join-side h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }
@media (max-width: 991px) { .join-grid { grid-template-columns: 1fr; } .join-side { position: static; } }
@media (max-width: 575px) { .join-card { padding: 20px; } }
.kind-switch { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--surface-2); margin-bottom: 22px; border: 0; }
.kind-switch label { flex: 1; cursor: pointer; }
.kind-switch input { position: absolute; opacity: 0; }
.kind-switch span { display: block; text-align: center; padding: .6rem; border-radius: 12px; font-weight: 700; color: var(--muted); transition: all .2s; }
.kind-switch input:checked + span { background: var(--surface); color: var(--p); box-shadow: var(--shadow-sm); }
.kind-switch input:focus-visible + span { outline: 3px solid rgb(var(--p-rgb) / .5); }
.f-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.f-input { width: 100%; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: .95rem; transition: all .2s; }
.f-input:focus { outline: none; border-color: var(--p2); background: var(--surface); box-shadow: 0 0 0 4px rgb(var(--p-rgb) / .12); }
.f-input.invalid { border-color: #e11d48; }
.f-error { color: #e11d48; font-size: .82rem; margin-top: .3rem; font-weight: 600; }
.checks-inline { display: flex; flex-wrap: wrap; gap: .3rem .9rem; padding-top: .5rem; font-size: .92rem; }
.checks-inline input { accent-color: var(--p); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; padding: 30px 10px; }
.sent > .ms { font-size: 3.5rem; color: #16a34a; }

.contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.contact-links a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.contact-links.compact a { padding: .3rem .7rem; font-size: .85rem; }

/* Legal pages (privacy, terms, account deletion) */
.legal { padding: 30px 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 1.95; }
.legal h2 { font-size: 1.15rem; margin-top: 1.6rem; }
.legal ul { padding-inline-start: 1.3rem; }
.legal li { margin-bottom: .35rem; }
@media (max-width: 575px) { .legal { padding: 20px; } }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { font-size: .95rem; margin-bottom: .8rem; }
.footer-grid > div > a:not(.brand) { display: block; color: var(--muted); font-weight: 600; padding: .2rem 0; font-size: .92rem; }
.footer-grid > div > a:not(.brand):hover { color: var(--p); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding: 22px 20px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.wa-float { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #22c55e; color: #fff; box-shadow: 0 12px 26px -10px rgb(34 197 94 / .9); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .ms { font-size: 1.8rem; vertical-align: 0; }

/* Reveal on scroll (only once JS is there, so nothing hides without it). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
