.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.nav-links { display: flex; gap: 26px; margin-left: 24px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* hero */
.hero { background: var(--hero-glow); padding: 72px 0 56px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(100deg, #6366f1, #0ea5e9 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.lede em { color: var(--ink-2); font-style: normal; font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 36px; margin-top: 36px; }
.hero-proof b { display: block; font-size: 24px; letter-spacing: -.02em; }
.hero-proof span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-top > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-url { margin-left: 12px; font-size: 12px; color: var(--faint); background: var(--bg-soft); padding: 3px 12px; border-radius: 6px; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.mock-kpis small { display: block; font-size: 11px; color: var(--muted); }
.mock-kpis b { font-size: 22px; letter-spacing: -.02em; }
.mock-kpis i { font-style: normal; font-size: 11px; margin-left: 6px; color: var(--warn); font-weight: 700; }
.mock-kpis i.up { color: var(--success); }
.lead-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.lead-card.dim { opacity: .75; }
.lc-head { display: flex; align-items: center; gap: 10px; }
.lc-head b { display: block; font-size: 13px; }
.lc-head small { color: var(--muted); font-size: 11px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.score { margin-left: auto; font-weight: 800; font-size: 13px; color: var(--success); background: var(--success-soft); padding: 3px 9px; border-radius: 8px; }
.score.hot { color: var(--warn); background: var(--warn-soft); }
.lead-card p { margin: 8px 0; font-size: 13px; color: var(--ink-2); }
mark { background: var(--primary-soft); color: var(--primary-text); padding: 0 3px; border-radius: 4px; }
.lc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lc-tags .chip { height: 22px; font-size: 11px; }
.chip.ok { color: var(--success); background: var(--success-soft); border-color: transparent; }
.float-badge { position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 var(--success); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* strip */
.strip { padding: 28px 0; border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.strip p { text-align: center; margin: 0 0 14px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.marquee { display: flex; gap: 10px; width: max-content; animation: slide 50s linear infinite; }
.marquee .chip { height: 34px; padding: 0 14px; font-size: 13px; background: var(--surface-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head.left { text-align: left; margin: 0; }
.kicker { font-size: 13px; font-weight: 700; color: var(--primary-text); text-transform: uppercase; letter-spacing: .1em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--primary-soft); color: var(--primary-text); }
.step h3, .feature h3 { margin: 16px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 14px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all .18s; overflow: hidden; }
.cat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .9; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.cat-icon { font-size: 26px; }
.cat h3 { margin: 10px 0 6px; font-size: 16px; }
.cat p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.cat-go { font-size: 13px; font-weight: 700; color: var(--c); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--bg-soft); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; left: 26px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 16px; color: var(--muted); }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; flex: 1; }
.plan li::before { content: '✓'; color: var(--success); font-weight: 800; margin-right: 10px; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta { padding: 0 0 88px; }
.cta-in { background: linear-gradient(120deg, #4f46e5, #0ea5e9); border-radius: 24px; padding: 56px; text-align: center; color: #fff; }
.cta-in h2 { color: #fff; max-width: 640px; margin: 0 auto 26px; }
.cta-in .hero-actions { justify-content: center; }
.cta-btn { background: #fff; color: #312e81; border-color: #fff; }
.cta-btn:hover { background: #f1f5ff; }
.cta-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-ghost:hover { background: rgba(255, 255, 255, .12); }

.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 13px; }
.footer .copy { margin-left: auto; }

@media (max-width: 980px) {
  .hero-in, .faq-wrap { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .float-badge { left: 12px; bottom: -18px; }
  .steps, .cat-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .steps, .cat-grid, .price-grid, .features { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-proof { gap: 20px; }
  .cta-in { padding: 36px 20px; }
  .nav-cta .btn-primary { display: none; }
  .mock-kpis b { font-size: 18px; }
}

.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.aud > span { font-size: 28px; }
.aud h3 { margin: 12px 0 6px; font-size: 16px; }
.aud p { margin: 0 0 14px; color: var(--muted); font-size: 14px; flex: 1; }
.aud code { font-size: 12px; color: var(--primary-text); background: var(--primary-soft); padding: 8px 10px; border-radius: 8px; font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; }
.not-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.not-list .chip { height: 32px; padding: 0 14px; font-size: 13px; }
.chip.no { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
@media (max-width: 980px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .aud-grid { grid-template-columns: 1fr; } }


/* v0.3: live feed hero, auth nav, extra pages */
[hidden] { display: none !important; }
.hero-chat { height: 600px; }
.price-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
.foot-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.page-hero { padding: 64px 0 32px; background: var(--hero-glow); text-align: center; }
.page-hero h1 { margin: 12px auto 12px; max-width: 760px; }
.page-hero .lede { margin: 0 auto; }
.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--surface-2); font-size: 15px; }
.cmp td.y { color: var(--success); font-weight: 800; }
.cmp td.n { color: var(--faint); }
.cmp-wrap { overflow-x: auto; border-radius: 16px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 16px; color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.auth-wrap { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 40px 16px; background: var(--hero-glow); }
.auth-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 26px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.auth-tabs { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 20px; }
.auth-tabs button { flex: 1; height: 36px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; }
.auth-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.auth-form .input { width: 100%; height: 44px; }
.auth-err { color: var(--danger); font-size: 13px; min-height: 18px; margin: 0; }
.perks { display: grid; gap: 8px; margin: 18px 0 0; padding: 14px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); list-style: none; }
.perks li::before { content: '✓ '; color: var(--success); font-weight: 800; }
@media (max-width: 980px) { .hero-chat { height: 560px; } .price-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hide-sm { display: none; } .foot-links { flex-wrap: wrap; } .hero-chat { height: 520px; } }

@media (max-width: 600px) { .nav-cta .btn-primary { display: inline-flex; } }

.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .price-grid.two { grid-template-columns: 1fr; } }

.avail { font-weight: 500; color: var(--muted); font-size: 12px; }
.demo-box { margin-top: 18px; padding: 14px; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--bg-soft); }
.demo-box p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.demo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat-own { background: linear-gradient(135deg, color-mix(in srgb, #f59e0b 12%, var(--surface)), var(--surface) 70%); border-style: dashed; border-color: color-mix(in srgb, #f59e0b 45%, var(--border)); }
.cat-own .own-btn { margin-top: 2px; }

.social { display: grid; gap: 8px; margin-bottom: 14px; }
.social-btn { width: 100%; height: 44px; gap: 10px; justify-content: center; position: relative; }
.social-btn .soon { position: absolute; right: 12px; font-size: 10px; font-weight: 700; color: var(--warn); background: var(--warn-soft); padding: 2px 6px; border-radius: 6px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; margin: 4px 0 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.device-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.dlg-bg { position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; } }
.dlg { width: min(460px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); text-align: center; }
.dlg-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--primary-soft); }
.dlg h2 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.02em; }
.dlg p { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.dv-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; text-align: left; }
.dv-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); }
.dv-list b { display: block; font-size: 14px; }
.dv-list small { color: var(--success); font-size: 12px; font-weight: 600; }
.dv-ic { font-size: 20px; }
.dlg-btns { display: grid; gap: 8px; }
.dlg-btns .btn { width: 100%; height: 44px; }
.dlg-note { margin: 12px 0 0 !important; font-size: 12px !important; color: var(--warn) !important; }
.dlg-err { color: var(--danger) !important; margin: 10px 0 0 !important; font-size: 13px !important; }
.addon { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 18px auto 0; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--border-strong); background: var(--surface); flex-wrap: wrap; }
.addon > div:nth-child(2) { flex: 1; min-width: 240px; }
.addon h3 { margin: 0 0 4px; font-size: 16px; }
.addon p { margin: 0; color: var(--muted); font-size: 14px; }
.addon-ic { font-size: 24px; }
.country { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.country .select { height: 38px; min-width: 260px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.contact-form { display: grid; gap: 14px; padding: 26px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.contact-form label small { font-weight: 500; color: var(--muted); }
.contact-form .input, .contact-form .select, .contact-form .textarea { width: 100%; }
.contact-form .input, .contact-form .select { height: 44px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-side { display: grid; gap: 14px; }
.c-info { padding: 20px 22px; }
.c-info h3 { margin: 0 0 10px; font-size: 15px; }
.c-info p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.c-info p:last-child { margin-bottom: 0; }
.c-info a { color: var(--primary-text); font-weight: 600; }
.c-info span { color: var(--muted); font-size: 13px; }
.c-done { text-align: center; padding: 20px 10px; }
.c-done-ic { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.c-done h3 { margin: 0 0 6px; }
.c-done p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .cf-row { grid-template-columns: 1fr; } }
