/* Flowtra website · flowtra.in */
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Mukta Vaani"; src: url(fonts/mukta-vaani-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta Vaani"; src: url(fonts/mukta-vaani-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mukta Vaani"; src: url(fonts/mukta-vaani-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mukta Vaani"; src: url(fonts/mukta-vaani-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mukta Vaani"; src: url(fonts/mukta-vaani-gu-400.woff2) format("woff2"); font-weight: 400 700; unicode-range: U+0A80-0AFF; font-display: swap; }

:root {
  --ink: #0E1B2C; --ink-2: #1B2B40; --text: #17222F; --muted: #5A6878; --line: #DCE3EC;
  --paper: #F4F7FB; --white: #FFFFFF; --blue: #2F6FD6; --blue-soft: #E5EEFB; --gold: #E3A13B; --gold-deep: #A86A0E; --gold-soft: #FBF0DC;
  --chat: #DCF3D2; --chat-in: #FFFFFF; --wa-bg: #EFE9E1; --ok: #23764A; --bad: #B2392C;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Mukta Vaani", "Noto Sans Gujarati", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px; --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.62 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 .45em; }
h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 750; }
h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); max-width: 34em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--white); padding: 8px 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 23px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.logo svg { width: 36px; height: 36px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 17px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top-r { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.signin { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 17px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--ink-2); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #EDB250; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line:hover { background: var(--white); }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; margin: 0; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; } .nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; } .signin { display: none; } .top .btn.sm { display: none; }
  .top-r { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 18px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* the signature: WhatsApp message turning into a record */
.demo { position: relative; background: var(--wa-bg); border-radius: 28px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(14, 27, 44, .45); overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,27,44,.06) 1px, transparent 1.4px); background-size: 16px 16px; pointer-events: none; }
.demo-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(14,27,44,.08); margin-bottom: 16px; }
.demo-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 15px var(--f-display); }
.demo-head b { display: block; font-size: 16px; line-height: 1.2; color: var(--ink); }
.demo-head small { color: var(--muted); font-size: 13px; }
.demo-tabs { position: relative; display: flex; gap: 6px; margin-left: auto; }
.demo-tabs button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(14,27,44,.2); cursor: pointer; }
.demo-tabs button[aria-pressed="true"] { background: var(--ink); }
.msg { position: relative; max-width: 86%; background: var(--chat-in); border-radius: 4px 16px 16px 16px; padding: 10px 14px 6px; font-size: 17px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg.me { margin-left: auto; background: var(--chat); border-radius: 16px 4px 16px 16px; }
.msg + .msg { margin-top: 8px; }
.msg time { display: block; text-align: right; font-size: 12px; color: var(--muted); margin-top: 2px; }
.msg .typing { display: inline-flex; gap: 4px; padding: 6px 0 8px; } .msg .typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA6B2; animation: blink 1.2s infinite; } .msg .typing i:nth-child(2) { animation-delay: .15s; } .msg .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.arrow { position: relative; display: flex; align-items: center; gap: 10px; margin: 18px 4px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.arrow::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A13B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }
.rec { position: relative; background: var(--white); border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 30px -12px rgba(14,27,44,.35); border-top: 5px solid var(--blue); }
.rec.pro { border-top-color: var(--gold); }
.rec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.rec-h b { font: 650 19px/1.2 var(--f-display); color: var(--ink); }
.rec-h span { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.rec.pro .rec-h span { background: var(--gold-soft); color: var(--gold-deep); }
.rec dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 16px; }
.rec dt { color: var(--muted); } .rec dd { margin: 0; color: var(--ink); font-weight: 600; }
.rec dd .warn { color: var(--bad); }
.rec .foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.step-in { opacity: 0; transform: translateY(10px); }
.play .step-in { animation: in .5s cubic-bezier(.2,.7,.2,1) forwards; }
.play .s2 { animation-delay: 1.5s !important; } .play .s3 { animation-delay: 2.2s !important; }
@keyframes in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step-in { opacity: 1; transform: none; } .play .step-in { animation: none; } }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-h { max-width: 46em; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-h p { color: var(--muted); font-size: 19px; }

/* two product panels */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.panel { border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.panel.task { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.panel.pro { background: var(--ink); color: #D8E1EC; }
.panel.pro h3, .panel.pro .pname { color: #fff; }
.pname { font: 750 clamp(32px, 3.4vw, 44px)/1 var(--f-display); letter-spacing: -.025em; color: var(--ink); margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.pname i { width: 14px; height: 14px; border-radius: 4px; background: var(--blue); flex: none; }
.panel.pro .pname i { background: var(--gold); }
.panel .for { font-size: 19px; margin-bottom: 22px; }
.panel.task .for { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6FD6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel.pro .ticks li::before { background-color: rgba(227,161,59,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A13B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.panel .btn { margin-top: auto; align-self: flex-start; }
.panel.pro .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); } .panel.pro .btn.line:hover { background: rgba(255,255,255,.08); }

/* the message journey: a real sequence */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.journey li { padding: 22px 22px 0 0; counter-increment: s; }
.journey li::before { content: counter(s); display: block; font: 750 46px/1 var(--f-display); color: var(--gold); margin-bottom: 14px; }
.journey p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; gap: 0 20px; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* plain two-column facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; }
.facts h3 { font-size: 20px; margin-bottom: .3em; }
.facts p { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.band { background: var(--white); border-block: 1px solid var(--line); }

/* compare */
.compare { width: 100%; border-collapse: collapse; font-size: 17px; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 20px/1.2 var(--f-display); color: var(--ink); }
.compare thead th:nth-child(2) { box-shadow: inset 0 4px 0 var(--blue); } .compare thead th:nth-child(3) { box-shadow: inset 0 4px 0 var(--gold); }
.compare tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.scroll-x { overflow-x: auto; }
@media (max-width: 700px) { .compare { min-width: 620px; } }

/* faq */
.faq { max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 650 20px/1.3 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 28px/1 var(--f-body); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 42em; }

/* closing call */
.cta-end { background: var(--ink); color: #D8E1EC; border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.cta-end h2 { color: #fff; margin: 0; }
.cta-end .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-end .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
@media (max-width: 800px) { .cta-end { grid-template-columns: 1fr; } .cta-end .ctas { justify-content: flex-start; } }

/* product pages */
.p-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.p-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .p-hero .wrap { grid-template-columns: 1fr; } }
.tag { display: inline-flex; align-items: center; gap: 9px; font: 650 18px/1 var(--f-display); color: var(--ink); margin-bottom: 18px; }
.tag i { width: 13px; height: 13px; border-radius: 4px; background: var(--blue); } .tag.pro i { background: var(--gold); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip > :first-child { order: 2; }
.feature p { color: var(--muted); }
.feature ul { padding-left: 1.1em; color: var(--muted); margin: 0; } .feature li { margin: .25em 0; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }
.mock { background: var(--white); border-radius: 20px; padding: 18px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(14,27,44,.35); font-size: 15.5px; }
.mock.wa { background: var(--wa-bg); }
.mock-t { font: 650 16px/1.2 var(--f-display); color: var(--ink); margin: 2px 2px 12px; display: flex; justify-content: space-between; gap: 10px; }
.mock-t small { font: 500 13px var(--f-body); color: var(--muted); }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.row b { color: var(--ink); font-weight: 600; } .row small { color: var(--muted); grid-column: 1; }
.pill { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; align-self: start; white-space: nowrap; }
.pill.late { background: #F9E3E0; color: var(--bad); } .pill.today { background: var(--gold-soft); color: var(--gold-deep); } .pill.next { background: var(--blue-soft); color: var(--blue); } .pill.ok { background: #E1F2E8; color: var(--ok); }
.group-l { font-size: 13px; font-weight: 700; color: var(--muted); margin: 10px 2px 2px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.cmp th { color: var(--muted); font-weight: 600; font-size: 13px; }
.cmp td.n { text-align: right; } .cmp .up { color: var(--bad); font-weight: 700; } .cmp .dn { color: var(--ok); font-weight: 700; }
.bar { height: 10px; border-radius: 10px; background: var(--paper); overflow: hidden; display: flex; margin: 8px 0 4px; } .bar i { background: var(--ok); } .bar i.add { background: var(--gold); opacity: .7; }
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.who span { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 16px; border-radius: 999px; font-size: 16px; }
.modules { columns: 3 260px; column-gap: 40px; }
.modules div { break-inside: avoid; margin-bottom: 26px; }
.modules h3 { font-size: 19px; margin-bottom: .25em; } .modules p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* contact */
.form { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; color: var(--ink); }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--f-body); padding: 12px 14px; border-radius: 12px; border: 1.5px solid #C5CFDB; background: var(--white); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form .hp { position: absolute; left: -5000px; }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form .small { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; }
.notice.ok { background: #E1F2E8; color: var(--ok); } .notice.bad { background: #F9E3E0; color: var(--bad); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.side-list { display: grid; gap: 22px; }
.side-list h3 { font-size: 19px; margin-bottom: .2em; } .side-list p { color: var(--muted); margin: 0; }
.prose { max-width: 44em; } .prose h2 { font-size: 28px; margin-top: 1.4em; } .prose p, .prose li { color: var(--muted); }

/* footer */
.foot { padding: 56px 0 40px; color: var(--muted); font-size: 16px; }
.foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 650 16px var(--f-display); color: var(--ink); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14.5px; }
@media (max-width: 800px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) { .demo { min-height: 470px; } }

/* sign-in menu, guides */
.signin-menu { position: relative; }
.signin-menu summary { list-style: none; cursor: pointer; } .signin-menu summary::-webkit-details-marker { display: none; }
.signin-menu > div { position: absolute; right: 0; top: 34px; background: var(--white); border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(14,27,44,.35), 0 0 0 1px var(--line); padding: 6px; min-width: 190px; display: grid; z-index: 40; }
.signin-menu > div a { text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.signin-menu > div a:hover { background: var(--paper); }
@media (max-width: 900px) { .signin-menu { display: block; } .signin-menu .signin { display: inline; } }
.guide { max-width: 860px; }
.gsteps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: g; }
.gstep { counter-increment: g; position: relative; padding: 0 0 26px 64px; border-left: 2px solid var(--line); margin-left: 20px; }
.gstep:last-child { border-left-color: transparent; }
.gstep::before { content: counter(g); position: absolute; left: -21px; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font: 700 18px var(--f-display); }
.gstep h3 { margin: 4px 0 6px; } .gstep p { color: var(--muted); margin: 0; }
.gstep code { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 1px 7px; border-radius: 6px; font-size: .92em; }
.callout-g { margin-top: 10px; background: var(--gold-soft); border-radius: 16px; padding: 16px 20px; color: var(--ink); }
.journey5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .journey5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey5 { grid-template-columns: 1fr; } }
