/* Mixpapa — sales site. Three voices of the inbox drive the palette: customer (orange), AI (violet), team (green). */
@font-face { font-family: 'Bricolage'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/landing/fonts/bricolage.woff2) format('woff2'); }
@font-face { font-family: 'Instrument'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/landing/fonts/instrument-sans.woff2) format('woff2'); }

:root {
  --ink: #18213A; --ink-2: #4A5470; --ink-3: #6B7590; --line: #E3E7EF;
  --paper: #FFFFFF; --mist: #F3F5F9;
  --brand: #FF6600; --act: #C24400; --act-h: #A83A00;
  --cust: #FFF1E6; --cust-t: #8A3300;
  --ai: #F1EEFF; --ai-t: #4B33B8;
  --team: #E7F6EF; --team-t: #0E6A47;
  --display: 'Bricolage', 'Instrument', system-ui, sans-serif;
  --body: 'Instrument', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--act); }
:focus-visible { outline: 3px solid #2F6BFF; outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; max-width: 13ch; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 650; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-main { background: var(--act); color: #fff; }
.btn-main:hover { background: var(--act-h); }
.btn-plain { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-plain:hover { border-color: var(--ink-3); }
.btn .sm { display: none; }
@media (max-width: 560px) { .btn .lg { display: none; } .btn .sm { display: inline; } }

/* Header: frosted, sticky */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(227, 231, 239, .7); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo img { display: block; height: 30px; width: auto; }
.top-nav { display: flex; gap: 24px; margin-right: auto; }
.top-nav a, .link-quiet { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:hover, .link-quiet:hover { color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: 18px; }
@media (max-width: 900px) { .top-nav { display: none; } .top-cta { margin-left: auto; } }
@media (max-width: 560px) { .top-in { gap: 12px; height: 60px; } .top-cta { gap: 12px; } .top-cta .btn { height: 38px; padding: 0 14px; } .logo img { height: 26px; } }

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pip { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pip-live { background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.pip-beta { background: #7C5CFF; box-shadow: 0 0 0 4px rgba(124, 92, 255, .15); }
.sep { width: 1px; height: 14px; background: var(--line); margin: 0 6px; }
.status-line > span:not(.sep):not(.pip) { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 560px) { .status-line { flex-direction: column; align-items: flex-start; gap: 6px; } .sep { display: none; } }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--ink-3); }
@media (max-width: 980px) { .hero { padding: 48px 0; } .hero-in { grid-template-columns: 1fr; gap: 40px; } h1 { max-width: 16ch; } }

/* The demo conversation — the one memorable thing on the page */
.demo { margin: 0; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; position: relative; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.demo-who b { color: var(--ink); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.tag-tg { background: #E3F3FC; color: #0B6E99; }
.chat { list-style: none; margin: 0; padding: 16px 4px 6px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.msg small { font-size: 12px; opacity: .75; }
.msg.c { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.msg.c small { color: #FFE4D1; opacity: 1; }
.msg.ai { align-self: flex-start; background: var(--ai); color: #241A63; border: 1px solid #DED6FF; border-bottom-left-radius: 6px; }
.msg.h { align-self: flex-start; background: var(--team); color: #0B3F2B; border: 1px solid #C7EAD8; border-bottom-left-radius: 6px; }
.msg.ai small { color: var(--ai-t); } .msg.h small { color: var(--team-t); }
.handoff { align-self: stretch; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: #9A3412; }
.handoff::before, .handoff::after { content: ''; flex: 1; height: 1.5px; background: repeating-linear-gradient(90deg, #F2A97C 0 6px, transparent 6px 11px); }
.handoff span { flex: none; max-width: 70%; text-align: center; background: #FFF4EC; border: 1px solid #FBD3B8; padding: 6px 12px; border-radius: 999px; }
[lang="bn"] { font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', var(--body); }
.demo-key { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 6px 2px; border-top: 1px solid var(--line); margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.k::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k-c::before { background: var(--brand); } .k-ai::before { background: #8B73FF; } .k-h::before { background: #22A06B; }
/* One orchestrated moment: the conversation plays once on load (JS adds .play). Without JS or with reduced motion, it is simply there. */
.chat.play > li { opacity: 0; transform: translateY(8px); }
.chat.play > li.in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--ai); border: 1px solid #DED6FF; }
.typing.h { background: var(--team); border-color: #C7EAD8; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8B73FF; animation: dot 1s infinite ease-in-out; }
.typing.h i { background: #22A06B; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat.play > li { opacity: 1; transform: none; } .typing i { animation: none; } }

/* Works with */
.works { border-block: 1px solid var(--line); background: var(--paper); }
.works-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; }
.works-label { font-weight: 600; font-size: 15px; }
.works-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.works-list li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.works-list em { font-style: normal; color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.built { flex-basis: 100%; font-size: 14px; color: var(--ink-3); }

/* Sections */
.block { padding: 96px 0; }
.sub { margin-top: 14px; color: var(--ink-2); font-size: 18px; max-width: 60ch; }
.block-mist { background: var(--mist); }
@media (max-width: 720px) { .block { padding: 64px 0; } }

.flows { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.flow { border-top: 3px solid #8B73FF; padding-top: 22px; }
.flow-h { border-top-color: #22A06B; }
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--body); background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.note { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 820px) { .flows { grid-template-columns: 1fr; } }

.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 48px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1080px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; gap: 28px; } }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.rule { padding: 28px 32px; }
.rule + .rule { border-left: 1px solid var(--line); }
.rule-yes { background: #FAF8FF; } .rule-no { background: #FFFAF7; }
.rule ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rule li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.rule-yes li::before { content: '✓'; color: var(--ai-t); font-weight: 700; }
.rule-no li::before { content: '✕'; color: #B42318; font-weight: 700; }
@media (max-width: 820px) { .rules { grid-template-columns: 1fr; } .rule + .rule { border-left: 0; border-top: 1px solid var(--line); } .rule { padding: 24px; } }

.setup { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.setup li { counter-increment: s; position: relative; padding-top: 56px; }
.setup li::before { content: counter(s); position: absolute; top: 0; left: 0; font: 700 40px/1 var(--display); color: var(--brand); }
.setup p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 820px) { .setup { grid-template-columns: 1fr; gap: 28px; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two p { margin-top: 16px; color: var(--ink-2); max-width: 56ch; }
.plain { margin: 18px 0 0; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 48px; } }

/* Pricing on ink */
.block-ink { background: var(--ink); color: #DCE2EE; }
.block-ink h2, .block-ink h3 { color: #fff; }
.block-ink .sub { color: #B7C0D4; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.plan { background: #212B47; border: 1px solid #2E3A5C; border-radius: var(--r-m); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan-pick { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan-flag { font-size: 12px; font-weight: 600; color: #FFB27F; }
.price { font: 700 48px/1 var(--display); color: #fff; letter-spacing: -0.03em; }
.price small { font: 500 15px/1 var(--body); color: #B7C0D4; letter-spacing: 0; margin-left: 4px; }
.yearly { font-size: 14px; color: #B7C0D4; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: '✓'; color: #6EE7B7; font-weight: 700; }
.plan li.soon::before { content: '·'; color: #8792AD; }
.plan li.soon { color: #A3ACC2; }
.plan .btn { margin-top: auto; }
.plan .btn-plain { background: transparent; color: #fff; border-color: #44507A; }
.plan .btn-plain:hover { border-color: #fff; }
.promises { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: #C9D0E0; }
.promises b { color: #fff; font-weight: 600; }
.compare { margin-top: 32px; border-top: 1px solid #2E3A5C; padding-top: 20px; }
.compare summary { cursor: pointer; font-weight: 600; color: #fff; font-size: 16px; }
.cmp-scroll { overflow-x: auto; margin-top: 16px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #2E3A5C; }
.cmp thead th { color: #fff; font-weight: 600; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp .yes { color: #6EE7B7; font-weight: 700; } .cmp .no { color: #6B7590; } .cmp .soon { color: #A3ACC2; font-size: 13px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 560px) { .cmp { min-width: 0; font-size: 13px; } .cmp th, .cmp td { padding: 10px 6px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 400 24px/1 var(--body); color: var(--ink-3); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Early access */
.block-access { background: linear-gradient(180deg, var(--mist), #fff); }
.access-in p { margin-top: 16px; color: var(--ink-2); }
.access-form { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.access-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.access-form .opt { font-weight: 400; color: var(--ink-3); }
.access-form input, .access-form textarea { font: 400 16px/1.4 var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; background: #fff; }
.access-form input:focus, .access-form textarea:focus { border-color: var(--act); outline: none; box-shadow: 0 0 0 3px rgba(194, 68, 0, .15); }
.access-form textarea { resize: vertical; }
.access-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--team-t); font-weight: 600; } .form-msg.err { color: #B42318; }
@media (max-width: 560px) { .access-form { padding: 20px; } }

/* Footer */
.foot { background: var(--ink); color: #B7C0D4; padding: 64px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 30ch; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav h2 { font: 600 14px/1.4 var(--body); color: #fff; margin-bottom: 4px; letter-spacing: 0; max-width: none; }
.foot a { color: #B7C0D4; text-decoration: none; } .foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid #2E3A5C; font-size: 13px; color: #8792AD; }
@media (max-width: 900px) { .foot-in { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); max-width: none; }
.legal h2 { font-size: 24px; margin-top: 40px; max-width: none; }
.legal p, .legal li { color: var(--ink-2); margin-top: 12px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
