/* LiveShoply marketing site — neutral, product-led design system */
:root {
  --ink: #0f1115; --ink-2: #2a2f3a; --muted: #5b6270; --faint: #8a909c;
  --line: #e6e8ec; --line-2: #d8dbe1; --bg: #ffffff; --surface: #f6f7f9; --surface-2: #eef0f3;
  --live: #e5484d; --live-soft: #fdecec; --ok: #1a9b54;
  --radius: 14px; --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(15,17,21,.04), 0 8px 24px rgba(15,17,21,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Inter Tight", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.028em; line-height: 1.1; margin: 0; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }
.soft { color: var(--faint); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.eyebrow.pill { padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px var(--live-soft); }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; font-family: var(--font); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262a33; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Header */
.announce { background: var(--ink); color: #d6d9df; text-align: center; font-size: 13.5px; padding: 9px 16px; line-height: 1.4; }
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 7px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.header-cta { display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
@media (max-width: 920px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--bg), rgba(255,255,255,0) 30%),
  radial-gradient(circle at 1px 1px, #e3e6eb 1px, transparent 0) 0 0 / 24px 24px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 18px 0 18px; overflow-wrap: anywhere; }
.hero h1 .soft { color: #9aa0ab; }
.hero .lead { font-size: 18.5px; color: var(--ink-2); max-width: 540px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .lc-scene { width: 100%; max-width: 520px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: 40px; } .hero-art { order: -1; } .hero-art .lc-scene { max-width: 400px; } }

/* Sections */
section.block { padding: 96px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 12px 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; color: var(--faint); font-weight: 600; font-size: 15px; }
.logos span { display: inline-flex; align-items: center; gap: 8px; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 44px 0; }
.feature.flip .feature-art { order: -1; }
.feature h3 { font-size: clamp(26px, 2.8vw, 36px); margin: 12px 0 14px; }
.feature p.lead { font-size: 17px; color: var(--ink-2); }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.feature li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1115' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat; }
.feature-art { border-radius: var(--radius-lg); padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.feature-art svg { width: 100%; height: auto; }
.tag-plan { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; vertical-align: middle; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feature.flip .feature-art { order: 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h4 { font-size: 17px; margin: 16px 0 6px; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.icon.live { color: var(--live); background: var(--live-soft); border-color: #f7d4d5; }

.steps { counter-reset: s; }
.step.card { position: relative; padding-top: 72px; }
.step.card::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 24px; left: 24px; font: 600 14px var(--display); color: var(--faint); letter-spacing: .04em; }

.dark { background: var(--ink); color: #fff; }
.dark .section-head p, .dark .muted { color: #a2a8b3; }
.dark .eyebrow { color: #a2a8b3; }
.dark .card { background: #171a20; border-color: #262a33; }
.dark .card p { color: #a2a8b3; }
.dark .step.card::before { color: #6b7280; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.stats div { padding: 26px 24px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font: 700 30px var(--display); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; }
.plan.popular { border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -11px; left: 22px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-size: 18px; }
.price { font: 700 42px/1 var(--display); letter-spacing: -.04em; }
.price small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .sub { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 8px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; border-top: 1px solid var(--line); padding-top: 16px; }
.plan li { display: flex; gap: 8px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--ink); font-weight: 700; }
.plan .btn { width: 100%; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--surface); font-family: var(--display); font-weight: 600; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare .us { background: #fafbfc; font-weight: 600; }
.compare thead .us { background: var(--ink); color: #fff; }
.compare .yes { color: var(--ink); font-weight: 700; }
.compare .no { color: #c4c8cf; }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 24px; background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); }
.cta p { font-size: 18px; color: #a2a8b3; margin: 14px auto 28px; max-width: 560px; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #e9ebee; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #3a3f4a; }
.cta .btn-ghost:hover { border-color: #fff; }

/* Page header */
.page-hero { padding: 72px 0 36px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 56px); margin: 14px 0 16px; }
.page-hero p { font-size: 18.5px; color: var(--muted); max-width: 660px; margin: 0 auto; }

/* Prose */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 44px 0 14px; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 30px 0 10px; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .9em; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.article-meta { color: var(--muted); font-size: 15px; margin-top: 14px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 28px 0; font-size: 15.5px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc a { color: var(--ink-2); text-underline-offset: 3px; }

/* Guides list */
.guide-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.guide-card .thumb { aspect-ratio: 16/9; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.guide-card .thumb svg { width: 40px; height: 40px; }
.guide-card h3 { font-size: 19px; letter-spacing: -.02em; }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.thumb.dark-thumb { background: var(--ink); color: #fff; font: 600 20px var(--display); letter-spacing: -.02em; border-color: var(--ink); }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.form-msg { font-weight: 600; }

/* Footer */
.footer { margin-top: 96px; padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h5 { font: 600 14px var(--display); margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* Illustration animations (shared with app) */
.lc-blink { animation: lcpulse 1.4s infinite; }
@keyframes lcpulse { 50% { opacity: .35; } }
.lc-float-a { animation: lcbob 6s ease-in-out infinite; }
.lc-float-b { animation: lcbob 7s ease-in-out infinite reverse; }
@keyframes lcbob { 50% { transform: translateY(-4px); } }
