/* EasyBiz official website */
:root {
    --ink: #0b1f1a;
    --ink-2: #33463f;
    --muted: #64756e;
    --line: #e3ebe7;
    --bg: #ffffff;
    --tint: #f3f8f5;
    --brand: #16a34a;
    --brand-d: #12803b;
    --brand-dd: #0b2a24;
    --brand-l: #dcfce7;
    --accent: #facc15;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(11, 31, 26, .05), 0 8px 24px rgba(11, 31, 26, .07);
    --shadow-lg: 0 30px 60px -20px rgba(11, 42, 36, .35);
    --font: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.lang-si body, .lang-ta body { font-size: 16px; line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; }
.lang-si h1, .lang-si h2, .lang-ta h1, .lang-ta h2, .lang-si h3, .lang-ta h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(22, 163, 74, .45); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 36px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; margin-top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.35em; border-radius: 12px; font-weight: 700; font-size: .97rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1em; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(22, 163, 74, .7); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-light { background: #fff; color: var(--brand-dd); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); margin-top: 8px; }
.lang-si .btn, .lang-ta .btn { white-space: normal; text-align: center; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 31, 26, .05); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-dd); }
.brand-mark { width: 34px; height: 34px; color: var(--brand); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; font-family: "Plus Jakarta Sans", sans-serif; }
.brand-name b { color: var(--brand); }
.brand-light { color: #fff; }
.brand-light .brand-name b { color: #4ade80; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links > a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav-links > a:hover, .nav-links > a.active { color: var(--brand-d); background: var(--tint); }
.nav-mobile-extra { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-login { text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.nav-login:hover { color: var(--brand-d); }
.lang { display: flex; align-items: center; gap: 2px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.lang .i { margin: 0 4px; width: 16px; height: 16px; }
.lang a { text-decoration: none; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--ink-2); }
.lang a.on { background: var(--brand-dd); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle .i-close { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
    radial-gradient(900px 500px at 85% 10%, rgba(22, 163, 74, .12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(250, 204, 21, .10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); background: var(--brand-l); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lang-si .eyebrow, .lang-ta .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.eyebrow-light { background: rgba(74, 222, 128, .14); color: #86efac; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.lang-si .hero h1, .lang-ta .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.lang-si .lead, .lang-ta .lead { font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.hero-note .i { color: var(--brand); margin-top: 3px; }

.hero-visual { position: relative; min-height: 470px; }
.hero-grid > *, .split > *, .demo-grid > * { min-width: 0; }
.dash { position: absolute; right: 0; top: 10px; width: 78%; padding-left: 110px !important; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; }
.dash-top { display: flex; gap: 6px; margin-bottom: 14px; }
.dash-top span { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dash-kpis div { background: var(--tint); border-radius: 12px; padding: 10px 12px; position: relative; }
.dash-kpis small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpis b { font-size: 1.25rem; }
.dash-kpis em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--muted); }
.dash-kpis em.up { color: var(--brand); }
.dash-kpis em.down { color: #dc2626; }
.dash-chart { width: 100%; height: 90px; margin-top: 14px; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 10px; }
.dash-bars span { flex: 1; background: linear-gradient(#bbf7d0, #86efac); border-radius: 6px 6px 2px 2px; }

.phone { position: absolute; left: 0; bottom: 0; width: 230px; background: #0f172a; border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-notch { width: 70px; height: 18px; background: #0f172a; border-radius: 0 0 12px 12px; position: absolute; left: 50%; transform: translateX(-50%); top: 10px; z-index: 2; }
.phone-screen { background: #f8faf9; border-radius: 26px; padding: 30px 14px 16px; min-height: 400px; display: flex; flex-direction: column; gap: 12px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .7rem; color: var(--muted); font-weight: 600; }
.ph-sync { display: inline-flex; align-items: center; gap: 4px; background: #fef3c7; color: #92400e; padding: 3px 7px; border-radius: 999px; font-size: .62rem; white-space: nowrap; }
.ph-sync.on { background: var(--brand-l); color: var(--brand-d); }
.ph-sync .i { width: 11px; height: 11px; }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-stats div { background: #fff; border-radius: 10px; padding: 8px 6px; text-align: center; border: 1px solid var(--line); }
.ph-stats b { display: block; font-size: .9rem; }
.ph-stats small { font-size: .58rem; color: var(--muted); line-height: 1.2; display: block; }
.ph-bill { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.ph-bill-row { display: flex; justify-content: space-between; font-size: .72rem; gap: 6px; }
.ph-bill-row span { color: var(--muted); white-space: nowrap; }
.ph-line { display: flex; align-items: center; gap: 8px; }
.ph-line span { height: 8px; width: 80%; background: #e5ece8; border-radius: 4px; }
.ph-line i { font-style: normal; font-size: .68rem; color: var(--ink-2); margin-left: auto; }
.ph-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 8px; font-size: .78rem; }
.ph-btn { margin-top: auto; background: var(--brand); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 700; font-size: .82rem; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph-grid div { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; color: var(--brand); }
.ph-grid .i { width: 26px; height: 26px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; font-size: .8rem; font-weight: 700; animation: bob 5s ease-in-out infinite; }
.float-chip .i { color: var(--brand); }
.chip-a { left: 210px; top: 300px; }
.chip-b { right: 6%; bottom: 40px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Stats */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--brand-d); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--brand-dd); color: #e6f2ed; background-image: radial-gradient(700px 400px at 100% 0%, rgba(22, 163, 74, .28), transparent 60%); }
.section-dark h2 { color: #fff; }
.section-dark .lead { color: #b9d3c9; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
.lang-si .section-head h2, .lang-ta .section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 31, 26, .05), 0 16px 36px rgba(11, 31, 26, .1); }
.card-soft { box-shadow: none; }
.card h3 { font-size: 1.15rem; margin-top: 16px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--brand-l); color: var(--brand-d); flex: none; }
.ico .i { width: 24px; height: 24px; }
.ico-solid { background: linear-gradient(135deg, var(--brand), #0d9488); color: #fff; box-shadow: 0 10px 20px -10px rgba(22, 163, 74, .8); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-dd); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; border-top: 2px dashed #b7d3c6; }

/* Split (app) */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.split-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.split-visual .phone { position: relative; }
.phone-lg { width: 260px; }
.phone-lg .phone-screen { min-height: 440px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--brand); margin-top: 4px; width: 18px; height: 18px; }
.section-dark .ticks .i { color: #4ade80; }
.ticks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }

/* Tabs */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); max-width: 940px; margin: 0 auto; }
.tab-list { display: flex; gap: 6px; background: var(--tint); border-radius: 14px; padding: 6px; overflow-x: auto; }
.tab-list button { flex: 1; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--muted); padding: 12px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--brand-d); box-shadow: 0 2px 8px rgba(11, 31, 26, .08); }
.tab-panel { padding: 26px 26px 30px; }
.tab-panel .ticks { margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan-for { color: var(--muted); margin: 6px 0 18px; }
.plan-price { font-weight: 800; font-size: 1.25rem; color: var(--brand-dd); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin: 0; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(22, 163, 74, .55); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #b7dcc8; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-inner { background: linear-gradient(120deg, var(--brand-dd), #0f5132 60%, var(--brand-d)); color: #fff; border-radius: 28px; padding: 56px; display: flex; gap: 36px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(250, 204, 21, .15); }
.cta-inner h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: .3em; }
.cta-inner p { color: #cfe7dc; margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; flex: none; }
.cta-call { display: inline-flex; gap: 8px; align-items: center; color: #d1fae5; text-decoration: none; font-weight: 600; font-size: .95rem; }

/* Features page */
.page-hero { padding: 72px 0 48px; text-align: center; background: radial-gradient(800px 400px at 50% 0%, rgba(22, 163, 74, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-hero .lead { margin: 0 auto; }
.page-hero-sm { padding-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chips a:hover { border-color: var(--brand); color: var(--brand-d); }
.chips .i { color: var(--brand); width: 17px; height: 17px; }
.modules { display: grid; gap: 22px; }
.module { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; scroll-margin-top: 90px; }
.module:nth-child(even) { background: var(--tint); }
.module-head { display: flex; gap: 18px; align-items: flex-start; }
.module-num { font-size: .8rem; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
.module h2 { font-size: 1.5rem; margin: 2px 0 8px; }
.module-head p { color: var(--muted); margin: 0; }
.module .ticks { margin: 0; }

/* Demo page */
.demo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdfc; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22, 163, 74, .14); background: #fff; }
.form textarea { resize: vertical; }
.err { color: #dc2626; font-size: .84rem; font-weight: 500; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .ico { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.thanks p { color: var(--muted); }
.demo-side { background: var(--brand-dd); color: #e6f2ed; border-radius: 22px; padding: 32px; position: sticky; top: 96px; }
.demo-side h2 { color: #fff; font-size: 1.3rem; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-line .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #86efac; }
.contact-line .i { width: 20px; height: 20px; }
.demo-side .ticks { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: .93rem; }
.demo-side .ticks .i { color: #4ade80; }

/* Footer */
.footer { background: #071a16; color: #9fb8ae; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a, .footer-contact span { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 0; color: #9fb8ae; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 22em; }
.footer-brand .brand { padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.footer-bottom a { color: #fff; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .float-chip { animation: none; }
    .btn:hover, .card:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
    .nav-login, .lang .i { display: none; }
    .nav-links { margin-left: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    body { font-size: 16px; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-links { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(11, 31, 26, .1); gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; }
    .nav-links > a { padding: 12px 10px; font-size: 1rem; }
    .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
    .nav.open .i-open { display: none; }
    .nav.open .i-close { display: block; }
    .nav-mobile-extra { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
    .nav-mobile-extra a:not(.btn) { padding: 8px 10px; text-decoration: none; font-weight: 600; }
    .lang { padding: 3px 4px; }
    .lang a { padding: 3px 7px; font-size: .75rem; }
    .hero { padding: 40px 0 64px; }
    .hero-grid, .split, .demo-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
    .split-visual { order: 2; min-height: auto; }
    .grid-3, .steps, .plans { grid-template-columns: 1fr; }
    .steps .step::after { display: none; }
    .plan-featured { transform: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .section { padding: 68px 0; }
    .module { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
    .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
    .demo-side { position: static; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .nav-actions > .lang { display: none; }
    .lang-menu { justify-content: center; }
    .lang-menu a { font-size: .9rem; padding: 6px 14px; }
    .lang-si .page-hero h1, .lang-ta .page-hero h1 { font-size: 1.7rem; }
    .grid-4, .ticks-grid, .form-row { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; display: flex; justify-content: center; padding: 10px 0 20px; }
    .dash, .float-chip { display: none; }
    .hero-visual .phone { position: relative; width: 240px; }
    .tab-panel { padding: 20px 14px; }
    .demo-card { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat b { font-size: 1.7rem; }
}

/* ------------------------------------------------------------------
   Sinhala & Tamil: the scripts are wider and taller than English, and
   the words are longer. Own type scale + layout fixes, not a blanket
   shrink: body text stays readable, headings and chrome get tighter.
   Tamil is the widest, so it gets the strongest reduction.
   ------------------------------------------------------------------ */
.nav-links > a, .nav-login, .lang a { white-space: nowrap; }

.lang-si body { font-size: 15.5px; line-height: 1.75; }
.lang-ta body { font-size: 15px; line-height: 1.75; }

.lang-si .hero h1 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); line-height: 1.4; }
.lang-ta .hero h1 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); line-height: 1.45; }
.lang-si .section-head h2, .lang-si .cta-inner h2, .lang-si .page-hero h1 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.lang-ta .section-head h2, .lang-ta .cta-inner h2, .lang-ta .page-hero h1 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.lang-si .lead, .lang-ta .lead, .lang-si .section-head p, .lang-ta .section-head p { font-size: 1rem; }
.lang-ta .card h3, .lang-ta .step h3, .lang-ta .plan h3 { font-size: 1.02rem; }
.lang-si .card h3, .lang-si .step h3 { font-size: 1.08rem; }
.lang-ta .module h2, .lang-si .module h2 { font-size: 1.25rem; }
.lang-ta .card p, .lang-ta .step p, .lang-ta .ticks li, .lang-ta .faq p { font-size: .94rem; }
.lang-si .btn, .lang-ta .btn { font-size: .9rem; line-height: 1.45; }
.lang-ta .btn-lg, .lang-si .btn-lg { padding: .85em 1.35em; }
.lang-si .eyebrow, .lang-ta .eyebrow { font-size: .8rem; }
.lang-si .stat span, .lang-ta .stat span { font-size: .85rem; }
.lang-si .tab-list button, .lang-ta .tab-list button { font-size: .9rem; }
.lang-ta .chips a, .lang-si .chips a { font-size: .85rem; }
.lang-ta .faq summary, .lang-si .faq summary { font-size: .97rem; }
.lang-ta .form label, .lang-si .form label { font-size: .88rem; }

/* Header: tighter links; drop the "Log in" link from the bar on mid widths (it stays in the footer and phone menu) */
.lang-si .nav-links > a, .lang-ta .nav-links > a { font-size: .88rem; padding: 8px 9px; }
.lang-si .nav-row, .lang-ta .nav-row { gap: 16px; }
@media (max-width: 1280px) {
    .lang-si .nav-login, .lang-ta .nav-login { display: none; }
    .lang-si .lang a, .lang-ta .lang a { padding: 3px 7px; }
}

/* "Who it is for": four narrow columns are too tight for these scripts, use two wider ones */
.lang-si .grid-4, .lang-ta .grid-4 { grid-template-columns: repeat(2, 1fr); }
.lang-si .grid-4 .card, .lang-ta .grid-4 .card { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; }
.lang-si .grid-4 .card .ico, .lang-ta .grid-4 .card .ico { grid-row: span 2; }
.lang-si .grid-4 .card h3, .lang-ta .grid-4 .card h3 { margin-top: 2px; }

/* Phone mock-up text */
.lang-si .ph-stats small, .lang-ta .ph-stats small { font-size: .52rem; }
.lang-si .ph-head small, .lang-ta .ph-head small { font-size: .62rem; }
.lang-si .dash-kpis small, .lang-ta .dash-kpis small { font-size: .64rem; }

@media (max-width: 900px) {
    .lang-si .hero h1 { font-size: 1.7rem; }
    .lang-ta .hero h1 { font-size: 1.55rem; }
    .lang-si .nav-links > a, .lang-ta .nav-links > a { font-size: 1rem; padding: 12px 10px; }
}
@media (max-width: 600px) {
    .lang-si .grid-4, .lang-ta .grid-4 { grid-template-columns: 1fr; }
    .lang-ta body { font-size: 14.5px; }
    .lang-ta .section-head h2, .lang-ta .cta-inner h2, .lang-ta .page-hero h1 { font-size: 1.3rem; }
    .lang-si .section-head h2, .lang-si .cta-inner h2, .lang-si .page-hero h1 { font-size: 1.4rem; }
}

/* Sinhala & Tamil rendering: the script's own font first, so letters, vowel signs and
   Latin/numbers in the same line all come from one font (no per-character fallback);
   bold capped at 700, a weight these fonts have, so the browser never fakes bold. */
.lang-ta body { font-family: "Noto Sans Tamil", "Plus Jakarta Sans", system-ui, sans-serif; }
.lang-si body { font-family: "Noto Sans Sinhala", "Plus Jakarta Sans", system-ui, sans-serif; }
.lang-ta h1, .lang-ta h2, .lang-ta h3, .lang-ta b, .lang-ta strong, .lang-ta .btn, .lang-ta summary,
.lang-si h1, .lang-si h2, .lang-si h3, .lang-si b, .lang-si strong, .lang-si .btn, .lang-si summary { font-weight: 700; }
.lang-ta .brand-name, .lang-si .brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }
/* Never cut these scripts mid-word with "…": let labels wrap instead */
.lang-ta .dash-kpis small, .lang-si .dash-kpis small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.lang-ta .dash-kpis div, .lang-si .dash-kpis div { min-width: 0; }
.lang-ta .ph-bill-row, .lang-si .ph-bill-row { flex-wrap: wrap; }
.lang-ta .ph-head small, .lang-si .ph-head small { line-height: 1.35; }
