/* SocietyMS landing page - plain CSS, no build step */

:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-2: #2563eb;
    --brand-soft: #eef2ff;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --success: #16a34a;
    --danger: #dc2626;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
    --shadow: 0 10px 30px -12px rgb(15 23 42 / 0.18);
    --shadow-lg: 0 30px 60px -20px rgb(30 27 75 / 0.35);
    --header-h: 72px;
    --container: 1180px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 60%, white);
    outline-offset: 2px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 15px/1.2 var(--font);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, translate 0.2s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 8px 20px -8px rgb(79 70 229 / 0.6);
}
.btn-primary:hover { color: #fff; translate: 0 -1px; box-shadow: 0 12px 24px -8px rgb(79 70 229 / 0.7); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { color: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { color: var(--brand); translate: 0 -1px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    container-type: scroll-state;
    container-name: site-header;
}
.header-bar {
    background: rgb(255 255 255 / 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgb(226 232 240 / 0.7);
    transition: box-shadow 0.3s, background-color 0.3s;
}
@container site-header scroll-state(stuck: top) {
    .header-bar {
        background: rgb(255 255 255 / 0.96);
        box-shadow: 0 6px 24px -12px rgb(15 23 42 / 0.25);
    }
}
.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand span { color: var(--brand); }
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 6px 14px -6px rgb(79 70 229 / 0.7);
}
.brand-mark svg { width: 21px; height: 21px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    scroll-target-group: auto;
}
.nav-links a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
/* Active section (native :target-current, or the JS fallback class) - not colour alone: weight + dot */
.nav-links a:is(:target-current, .\:target-current) {
    color: var(--brand);
    font-weight: 700;
}
.nav-links a:is(:target-current, .\:target-current)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--brand);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
    place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 980px) {
    .nav-toggle { display: grid; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
    }
    .nav-open .site-nav { display: flex; }
    .nav-links { flex-direction: column; gap: 2px; }
    .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
    .nav-links a:is(:target-current, .\:target-current) { background: var(--brand-soft); }
    .nav-links a:is(:target-current, .\:target-current)::after { display: none; }
    .nav-cta { flex-direction: column; align-items: stretch; }
    .nav-cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
section { padding-block: 96px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: 72px 96px;
    background:
        radial-gradient(900px 500px at 85% -10%, rgb(99 102 241 / 0.18), transparent 60%),
        radial-gradient(700px 420px at -10% 20%, rgb(37 99 235 / 0.12), transparent 60%),
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.hero-points svg { width: 18px; height: 18px; color: var(--success); flex: none; }

/* Hero illustration (pure HTML/CSS mock-up, sample figures) */
.hero-visual { position: relative; }
.mock-window {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mock-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-top i:nth-child(1) { background: #f87171; }
.mock-top i:nth-child(2) { background: #fbbf24; }
.mock-top i:nth-child(3) { background: #34d399; }
.mock-top span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-stat small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.mock-stat b { display: block; font-size: 17px; color: var(--ink); margin-top: 4px; }
.mock-stat em { font-style: normal; font-size: 11px; font-weight: 700; }
.mock-stat .up { color: var(--success); }
.mock-stat .warn { color: #d97706; }
.mock-chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock-chart-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.mock-chart-head span { color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars span {
    flex: 1;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand-2) 70%, white));
    opacity: 0.9;
}
.bars span:nth-child(odd) { opacity: 0.55; }
.mock-list { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.mock-row + .mock-row { border-top: 1px dashed var(--line); }
.mock-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex: none; }
.mock-row div { flex: 1; min-width: 0; }
.mock-row b { display: block; color: var(--ink); font-size: 13px; }
.mock-row small { color: var(--muted); font-size: 11px; }
.pill { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-blue { background: #dbeafe; color: #1e40af; }
.mock-toast {
    position: absolute;
    left: -28px;
    bottom: -26px;
    width: 270px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.mock-toast .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.mock-toast .ico svg { width: 20px; height: 20px; }
.mock-toast b { display: block; font-size: 13px; color: var(--ink); }
.mock-toast small { font-size: 12px; color: var(--muted); line-height: 1.4; display: block; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
    .mock-toast { left: 12px; }
}

/* ---------- Strip ---------- */
.strip { padding-block: 28px; border-block: 1px solid var(--line); background: #fff; }
.strip ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15px; }
.strip .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.strip .ico svg { width: 20px; height: 20px; }
.strip small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.about-copy p { font-size: 17px; }
.about-copy .lead { font-size: 19px; color: var(--ink-2); }
.made-by {
    display: flex; gap: 14px; align-items: center;
    margin-top: 24px; padding: 16px 18px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff;
}
.made-by .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.made-by .ico svg { width: 22px; height: 22px; }
.made-by p { margin: 0; font-size: 14px; color: var(--muted); }
.made-by b { color: var(--ink); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.benefit .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px 24px;
    box-shadow: var(--shadow-sm);
}
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; font-weight: 800; font-size: 17px;
    margin-bottom: 18px;
    box-shadow: 0 0 0 6px var(--brand-soft);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -21px;
    width: 22px;
    border-top: 2px dashed #c7d2fe;
}

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color 0.2s, box-shadow 0.2s, translate 0.2s;
}
.feature:hover { border-color: #c7d2fe; box-shadow: var(--shadow); translate: 0 -2px; }
.feature .ico {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand);
    margin-bottom: 18px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feature li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.feature li::before {
    content: "";
    width: 16px; height: 16px; flex: none; margin-top: 3px;
    border-radius: 50%;
    background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Apps ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
    display: flex; flex-direction: column;
    border-radius: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.app-card.is-dark { background: linear-gradient(160deg, #1e1b4b, #312e81); border-color: transparent; color: #c7d2fe; }
.app-card.is-dark h3 { color: #fff; }
.app-card .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.app-card.is-dark .tag { color: #a5b4fc; }
.app-card h3 { font-size: 21px; margin-bottom: 10px; }
.app-card p { font-size: 15px; }
.app-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.app-card li { display: flex; gap: 10px; }
.app-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--success); }
.app-card.is-dark li svg { color: #86efac; }
.app-card .btn { margin-top: auto; align-self: flex-start; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 18px 10px 14px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    margin-top: auto;
    align-self: flex-start;
    transition: background-color 0.2s, translate 0.2s;
}
.store-btn:hover { color: #fff; background: #1e293b; translate: 0 -1px; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn small { font-size: 11px; opacity: 0.75; }
.store-btn b { font-size: 15px; }
.store-btn.is-soon { background: #475569; cursor: default; }
.store-btn.is-soon:hover { translate: none; background: #475569; }
.soon-badge {
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; background: #fef3c7; color: #92400e;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}
.plan.is-featured {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
    translate: 0 -8px;
}
.plan-badge {
    position: absolute;
    top: -14px; left: 50%;
    translate: -50% 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    white-space: nowrap;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .for { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; min-height: 46px; }
.plan .price {
    font-size: 26px; font-weight: 800; color: var(--ink);
    padding-block: 16px; margin-bottom: 20px;
    border-block: 1px solid var(--line);
}
.plan .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--success); }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; margin: 40px auto 0; color: var(--muted); font-size: 15px; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 44px 48px;
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 90% 0%, rgb(255 255 255 / 0.18), transparent 60%),
        linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #e0e7ff;
    box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cta-inner p { margin: 0; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); }
.btn-on-dark:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / 0.1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 15px; margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.contact-card a { font-weight: 600; }
.offices { display: grid; gap: 10px; margin-top: 4px; }
.offices div { font-size: 14px; color: var(--muted); line-height: 1.5; }
.offices b { color: var(--ink); display: block; font-size: 14px; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--danger); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: 15px/1.4 var(--font);
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgb(79 70 229 / 0.15);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.error-msg { display: none; font-size: 13px; color: var(--danger); font-weight: 500; }
/* Errors only after the visitor has interacted with the field (:user-invalid), never on page load */
.field :is(input, select, textarea):user-invalid { border-color: var(--danger); background-color: #fef2f2; }
.field :is(input, select, textarea):user-invalid ~ .error-msg { display: block; }
.field :is(input, textarea):user-valid { border-color: var(--success); }
/* Errors returned by the server after submit */
.field .is-server-invalid { border-color: var(--danger); background-color: #fef2f2; }
.field .is-server-invalid ~ .error-msg { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 360px; }
.alert {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; font-size: 14.5px;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1120; color: #94a3b8; padding-block: 64px 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: #a5b4fc; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgb(255 255 255 / 0.06);
    color: #cbd5e1;
    transition: background-color 0.2s, color 0.2s;
}
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    font-size: 13.5px;
}

/* Floating WhatsApp button */
.wa-float {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 40;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px -8px rgb(37 211 102 / 0.7);
    transition: translate 0.2s;
}
.wa-float:hover { color: #fff; translate: 0 -2px; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal (progressive enhancement, no JS) ---------- */
@keyframes reveal-up {
    from { opacity: 0; translate: 0 28px; }
    to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .reveal {
            animation: reveal-up linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 22%;
        }
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:not(:last-child)::after { display: none; }
    .feature-grid, .apps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .plan.is-featured { translate: none; }
    .plan .for { min-height: 0; }
    .strip ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    :root { --header-h: 64px; }
    .container { padding-inline: 16px; }
    section { padding-block: 72px; }
    .section-head { margin-bottom: 40px; }
    .hero { padding-block: 48px 80px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .steps, .feature-grid, .apps-grid, .benefits { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 24px 18px; }
    .cta-inner { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .mock-stats { grid-template-columns: 1fr 1fr; }
    .mock-stats .mock-stat:last-child { display: none; }
    .mock-toast { width: auto; right: 12px; left: 12px; bottom: -36px; }
    .strip ul { grid-template-columns: 1fr; }
    .brand { font-size: 19px; }
}
