/* InstaLeads Pro — public website and user guide */
:root {
  --paper: #f7f5fa;
  --card: #ffffff;
  --ink: #1e1528;
  --ink-2: #554b62;
  --line: #e4deec;
  --magenta: #c8195f;
  --magenta-soft: #fbe3ed;
  --marker: #ffe45e;
  --teal: #0e7c6b;
  --teal-soft: #d9f2ec;
  --plum: #2a1d38;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.site img { max-width: 100%; height: auto; display: block; }
.site a { color: var(--magenta); text-underline-offset: 3px; }
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }

/* buttons */
.btn-s { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 10px 18px; font: 600 15px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.site .btn-s.solid { background: var(--ink); color: #fff; }
.site .btn-s.solid:hover { background: var(--magenta); }
.site .btn-s.ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.site .btn-s.ghost:hover { border-color: var(--ink); }
.btn-s.big { padding: 15px 26px; font-size: 17px; }
.site .btn-s.hot { background: var(--magenta); color: #fff; }
.site .btn-s.hot:hover { background: var(--ink); }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 250, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.site .mark { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mark-logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--body); background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.nav { display: flex; gap: 22px; }
.site .nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.site .nav a:hover, .site .nav a[aria-current] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* hero */
.hero { padding: 72px 0 150px; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero .lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 26px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* the comment thread with highlighted buyers */
.thread { position: relative; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(42, 29, 56, .35); overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14px; font-weight: 700; }
.post-head .av { width: 30px; height: 30px; }
.post-art { background: #2a1d38; aspect-ratio: 16 / 7; display: grid; place-items: center; overflow: hidden; }
.post-art svg { width: 100%; height: 100%; }
.post-cap { padding: 12px 18px 4px; font-size: 14px; color: var(--ink-2); }
.post-cap b { color: var(--ink); }
.comments { list-style: none; margin: 0; padding: 6px 18px 18px; }
.cm { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid #f0ecf4; font-size: 14.5px; line-height: 1.45; }
.cm:first-child { border-top: 0; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--body); color: #fff; }
.cm b { font-weight: 700; margin-right: 6px; }
.cm .tx { color: var(--ink); }
.hl { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%) no-repeat 0 0 / 0% 100%; padding: 0 2px; animation: sweep .7s cubic-bezier(.6, 0, .3, 1) forwards; animation-delay: var(--d, .5s); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cm.seller .tx { text-decoration: underline wavy var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cm.spam .tx, .cm.spam b { color: #a49cb0; text-decoration: line-through; }
.cm.quiet .tx { color: var(--ink-2); }
.tag { font: 700 11.5px/1 var(--body); border-radius: 999px; padding: 5px 9px; white-space: nowrap; opacity: 0; transform: translateY(4px); animation: pop .3s ease-out forwards; animation-delay: calc(var(--d, .5s) + .55s); }
.tag.buyer { background: var(--ink); color: var(--marker); }
.tag.seller { background: var(--teal-soft); color: var(--teal); }
.tag.spam { background: #eee9f2; color: #7c728a; }
@keyframes sweep { to { background-size: 100% 100%; } }
@keyframes pop { to { opacity: 1; transform: none; } }
.saved { position: absolute; right: -28px; bottom: -116px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 14px 16px; width: 270px; box-shadow: 0 20px 40px -20px rgba(30, 21, 40, .6); font-size: 13.5px; opacity: 0; animation: pop .4s ease-out 3.6s forwards; }
.saved h2 { font: 700 13px/1.3 var(--body); color: var(--marker); margin-bottom: 8px; }
.saved ul { list-style: none; margin: 0; padding: 0; }
.saved li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.saved li span { color: #c7bdd4; }
@media (prefers-reduced-motion: reduce) {
  .hl { animation: none; background-size: 100% 100%; }
  .tag, .saved { animation: none; opacity: 1; transform: none; }
}

/* section shells */
.band { padding: 96px 0; }
.band.white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.dark { background: var(--plum); color: #efe9f6; }
.band.dark h2, .band.dark h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; }
.sec-head p { font-size: 19px; color: var(--ink-2); margin-top: 16px; }
.band.dark .sec-head p { color: #cfc4dc; }

/* how it works — a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(s); display: block; font: 800 56px/1 var(--display); color: var(--magenta); letter-spacing: -.04em; margin-bottom: 14px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* scan types */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px; }
.mode { background: var(--card); padding: 22px 24px; }
.mode h3 { font: 700 17px/1.3 var(--body); margin-bottom: 6px; }
.mode p { margin: 0; font-size: 15px; color: var(--ink-2); }
.mode .eg { display: block; margin-top: 10px; font-size: 14px; color: var(--ink); }
.mode .pro { font: 700 11px/1 var(--body); color: var(--magenta); background: var(--magenta-soft); border-radius: 999px; padding: 4px 8px; margin-left: 6px; vertical-align: 2px; }

/* features with screenshots */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip > .ft-text { order: 2; }
.ft-text h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.ft-text p { color: var(--ink-2); }
.ft-text ul { margin: 0; padding: 0; list-style: none; }
.ft-text li { padding: 7px 0 7px 28px; position: relative; font-size: 16px; }
.ft-text li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 2.5px solid var(--magenta); border-bottom: 2.5px solid var(--magenta); transform: rotate(-45deg); }
.shot { margin: 0; }
.shot img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(42, 29, 56, .45); background: #fff; }
.shot a { display: block; cursor: zoom-in; }
.shot figcaption { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.shot.narrow { max-width: 380px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--ink); box-shadow: 0 24px 50px -30px rgba(42, 29, 56, .5); }
.plan h3 { font: 800 24px/1.1 var(--display); }
.plan .desc { font-size: 15px; color: var(--ink-2); min-height: 2.8em; margin: 8px 0 18px; }
.price { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.price small { font: 500 15px/1 var(--body); color: var(--ink-2); letter-spacing: 0; }
.price-pk { font-size: 15px; color: var(--ink-2); margin: 6px 0 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; font-size: 15px; flex: 1; }
.plan li { padding: 6px 0; border-top: 1px solid #f0ecf4; display: flex; justify-content: space-between; gap: 12px; }
.plan li b { font-weight: 700; text-align: right; }
.plan li.no { color: #a49cb0; }
.plan .btn-s { width: 100%; }
.pay-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); }
.pay-row span.pm { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 19px/1.35 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--body); color: var(--magenta); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* closing call */
.closer { text-align: left; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.closer h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.closer p { color: #cfc4dc; font-size: 18px; }
.closer .hero-cta { justify-content: flex-start; }
.band.dark .btn-s.ghost { background: transparent; color: #fff; border-color: #6d5d80; }
.band.dark .btn-s.ghost:hover { border-color: #fff; }
.band.dark .btn-s.solid { background: var(--marker); color: var(--ink); }
.band.dark .btn-s.solid:hover { background: #fff; }

/* footer */
.foot { background: var(--card); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h2 { font: 700 14px/1.3 var(--body); color: var(--ink); margin-bottom: 12px; }
.foot-in > div > a:not(.mark) { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.foot-in > div > a:not(.mark):hover { color: var(--magenta); }
.foot-brand p { color: var(--ink-2); max-width: 30em; margin-top: 14px; }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }

/* ---------- user guide ---------- */
.video { margin: 32px 0 0; max-width: 860px; }
.video video { width: 100%; height: auto; display: block; border-radius: var(--r-md); background: var(--plum); box-shadow: 0 24px 50px -28px rgba(42, 29, 56, .5); }
.video figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.g-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.g-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.g-hero p { font-size: 19px; color: var(--ink-2); max-width: 40em; margin-top: 18px; }
.g-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 48px 0 96px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 14.5px; }
.toc h2 { font: 700 14px/1.3 var(--body); margin-bottom: 10px; color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.site .toc a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 8px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(t); font-weight: 700; color: #a49cb0; }
.site .toc a:hover { background: #efebf4; color: var(--ink); }
.site .toc a.on { background: var(--ink); color: #fff; }
.toc a.on::before { color: var(--marker); }
.g-sec { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); max-width: 860px; }
.g-sec:last-child { border-bottom: 0; }
.g-sec > h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.g-sec > h2 .n { font-size: 20px; color: var(--magenta); font-family: var(--body); font-weight: 700; min-width: 28px; }
.g-sec > p, .g-sec li { color: #3b3248; }
.g-sec h3 { font: 700 19px/1.3 var(--body); margin: 28px 0 10px; }
.do { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: d; }
.do > li { counter-increment: d; position: relative; padding: 4px 0 12px 44px; }
.do > li::before { content: counter(d); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/28px var(--body); text-align: center; }
.g-sec .shot { margin: 26px 0 30px; }
.two-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: start; margin: 26px 0 30px; }
.two-shots .shot { margin: 0; }
.tip { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: var(--r-sm); padding: 14px 18px; margin: 20px 0; font-size: 16px; }
.tip.warn { border-left-color: var(--magenta); }
.tip b:first-child { display: block; margin-bottom: 2px; }
.kv { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.kv th, .kv td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; }
.kv th { width: 34%; font-weight: 700; }
.kv td { color: #3b3248; }
.chip { display: inline-block; font: 700 12.5px/1 var(--body); border-radius: 999px; padding: 5px 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); vertical-align: 1px; }
.chip.buyer { background: var(--magenta-soft); color: var(--magenta); border-color: #f3b9cf; }
.chip.seller { background: #e5eefc; color: #1d4ed8; border-color: #bcd2f7; }
kbd { font: 600 13px/1 var(--body); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; background: var(--card); }

/* responsive */
@media (max-width: 980px) {
  .hero-in, .feature, .closer { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip > .ft-text { order: 0; }
  .saved { right: 12px; bottom: -116px; }
  .hero { padding-bottom: 130px; }
  .steps, .modes { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .g-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; max-height: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
  .toc ol { columns: 2; column-gap: 16px; }
}
@media (max-width: 720px) {
  body.site { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .topbar-in { gap: 12px; }
  .nav-cta .ghost { display: none; }
  .hero { padding-top: 40px; }
  .hero .lede { font-size: 18px; }
  .band { padding: 64px 0; }
  .toc ol { columns: 1; }
  .foot-in { grid-template-columns: 1fr; }
  .g-sec > h2 { font-size: 28px; }
  .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: auto; }
  .kv td { border-top: 0; padding-top: 0; }
  .kv th { width: auto; }
  .g-sec { overflow-wrap: anywhere; }
  .saved { position: relative; left: auto; bottom: auto; margin: -24px 12px 0; width: auto; }
  .hero { padding-bottom: 56px; }
}
@media print {
  .topbar, .toc, .foot, .skip { display: none; }
  .g-layout { display: block; }
  .shot img { box-shadow: none; }
}
