/* FB Page Manager — landing page.
   Matches the app itself: Manrope, the same blue accent, the same soft-card look, so arriving
   in the product feels like the same piece of software. */
:root {
    --ink: #0e1116;
    --ink-2: #39414f;
    --ink-3: #6b7280;
    --line: #e4e7ec;
    --line-2: #d3d8e0;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --brand: #1b5cff;
    --brand-2: #0b3192;
    --ai: #8b3dff;
    --good: #16a34a;
    --warn: #ef490b;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(16, 24, 40, .10);
    --shadow-sm: 0 2px 10px rgba(16, 24, 40, .06);
    --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: Manrope, -apple-system, "Segoe UI", system-ui, sans-serif;
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 60ch; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
    padding: 5px 12px; border-radius: 99px; background: #eef3ff; color: var(--brand);
    font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.eyebrow svg { width: 14px; height: 14px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
    font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(27, 92, 255, .28); }
.btn.primary:hover { background: #1550e8; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* header */
header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand .mark {
    width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
}
.brand .mark svg { width: 17px; height: 17px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav nav a:hover { color: var(--ink); }
.nav .cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .nav nav { display: none; } .nav .cta { margin-left: auto; } }

/* hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1000px 420px at 50% -120px, #eaf0ff 0%, transparent 70%); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* the mock studio window — drawn, not a screenshot, so no customer data is on show */
.shot {
    border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
    background: #fff; box-shadow: var(--shadow);
}
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dae1; }
.shot-bar span { margin-left: 8px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.shot-body { display: grid; grid-template-columns: 82px 1fr 92px; min-height: 300px; }
.shot-rail { border-right: 1px solid var(--line); padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.shot-rail b { display: block; height: 7px; border-radius: 4px; background: #e8ebf0; }
.shot-rail b:nth-child(2n) { width: 70%; }
.shot-canvas { padding: 16px; display: grid; place-items: center; background: var(--bg-soft); }
.shot-art {
    width: 100%; aspect-ratio: 1; border-radius: 10px; padding: 18px; color: #fff;
    background: linear-gradient(150deg, #13224a 0%, #1b5cff 58%, #8b3dff 100%);
    display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 10px 26px rgba(0,0,0,.2);
}
.shot-art .k { font-size: clamp(18px, 2.4vw, 28px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.shot-art .s { font-size: 12px; opacity: .9; margin-top: 6px; }
.shot-art .pill { align-self: flex-start; margin-top: 12px; padding: 6px 14px; border-radius: 99px; background: var(--warn); font-size: 11.5px; font-weight: 700; }
.shot-side { border-left: 1px solid var(--line); padding: 10px 8px; display: grid; gap: 7px; align-content: start; }
.shot-side b { display: block; height: 7px; border-radius: 4px; background: #e8ebf0; }
.shot-side .sw { display: flex; gap: 5px; margin-top: 3px; }
.shot-side .sw i { width: 16px; height: 16px; border-radius: 4px; }

/* logos / stat strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 22px 0; margin-top: 46px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* sections */
section { padding: 76px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.head { max-width: 62ch; margin-bottom: 40px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm);
}
.card .ic {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: #eef3ff; color: var(--brand); margin-bottom: 14px;
}
.card .ic svg { width: 19px; height: 19px; }
.card.ai .ic { background: #f4ecff; color: var(--ai); }
.card p { margin: 0; font-size: 14.5px; }
.card h3 { margin-bottom: 6px; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split + .split { margin-top: 74px; }
.split.flip .text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip .text { order: 0; } }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--good); }

/* panel mock used in split rows */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.panel-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.panel-body { padding: 16px; display: grid; gap: 10px; }
.bubble { padding: 10px 13px; border-radius: 12px; font-size: 13.5px; max-width: 86%; }
.bubble.them { background: var(--bg-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.us { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; font-weight: 600; }
.draft { border: 1px dashed var(--ai); background: #faf6ff; color: #4b2a7a; border-radius: 12px; padding: 10px 13px; font-size: 13px; }
.draft b { color: var(--ai); }

/* credit meter */
.meter { height: 9px; border-radius: 99px; background: #e8ebf0; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--ai)); }
.rows { display: grid; gap: 9px; margin-top: 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.row span { color: var(--ink-3); }
.row b { font-variant-numeric: tabular-nums; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 52px; }
.step::before {
    counter-increment: s; content: counter(s);
    position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; font-size: 14.5px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
details {
    border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 18px;
}
details[open] { box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; font-size: 14.5px; }

/* final cta */
.final {
    border-radius: 20px; padding: 52px 40px; color: #fff; text-align: center;
    background: linear-gradient(140deg, #13224a 0%, var(--brand-2) 45%, var(--brand) 100%);
    box-shadow: var(--shadow);
}
.final h2 { color: #fff; }
.final p { color: #d6e0ff; max-width: 56ch; margin-inline: auto; }
.final .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.final .btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.final .btn.ghost:hover { background: rgba(255,255,255,.18); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.foot .links { display: flex; gap: 18px; }
.foot .links a { font-size: 13.5px; color: var(--ink-3); text-decoration: none; }
.foot .links a:hover { color: var(--ink); }
