/* ==========================================================================
   TABLIXS marketing theme
   1. Tokens  2. Base  3. Layout  4. Header & nav  5. Buttons
   6. Marketing sections  7. Cards & icons  8. Product illustrations
   9. Demo form  10. Blog  11. Footer  12. Motion  13. Editor
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* Self-hosted Google Fonts (SIL OFL, see assets/fonts/OFL-*.txt), variable weight,
   subset to Latin + ₹ + punctuation. Hindi/Gujarati text falls back to system fonts. */
@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans.woff2") format("woff2");
	font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-italic.woff2") format("woff2");
	font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "Spline Sans";
	src: url("../fonts/spline-sans.woff2") format("woff2");
	font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
	--c-primary: #006B54;
	--c-primary-700: #00523F;
	--c-primary-900: #003A2D;
	--c-primary-50: #E7F2EE;
	--c-lime: #B3F32D;
	--c-lime-600: #9BD91A;
	--c-white: #FFFFFF;
	--c-ink: #17212B;
	--c-mist: #F7F9F7;
	--c-muted: #4B5663;
	--c-line: #E1E7E3;
	--c-danger: #B42318;
	--c-warn: #B54708;

	/* Body: Mona Sans. Headings: Spline Sans (it has no ₹, so ₹ falls through to Mona Sans). */
	--font: "Mona Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--font-heading: "Spline Sans", "Mona Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--max: 1200px;
	--narrow: 760px;
	--gutter: 16px;
	--section-y: clamp(56px, 8vw, 104px);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(23, 33, 43, .06), 0 1px 3px rgba(23, 33, 43, .08);
	--shadow: 0 10px 30px -12px rgba(23, 33, 43, .22), 0 2px 6px rgba(23, 33, 43, .06);
	--shadow-lg: 0 30px 60px -20px rgba(0, 58, 45, .45), 0 8px 20px -8px rgba(23, 33, 43, .2);
	--header-h: 72px;
	--bleed: max(var(--gutter), calc((100% - var(--max)) / 2));
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-700); }
h1, h2, h3, h4, .tx-plan__price { font-family: var(--font-heading); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--c-lime); outline-offset: 2px; border-radius: 4px; }
.is-style-section :focus-visible, .site-header :focus-visible, .prose :focus-visible { outline-color: var(--c-primary); }
::selection { background: rgba(179, 243, 45, .35); } /* light lime; text keeps its own colour (also readable on dark sections) */
code { font-family: var(--font-mono); font-size: .9em; background: var(--c-mist); padding: .1em .35em; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }
.site-main:focus { outline: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.tx-center { text-align: center; justify-content: center; }
.eyebrow, .tx-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-primary); margin: 0 0 14px;
}
.tx-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--c-lime); }
.tx-lead, .page-head__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--c-muted); max-width: 62ch; }
.tx-note { font-size: .9rem; color: var(--c-muted); }
.prose .tx-note { background: #FFF8E6; border: 1px solid #F5D78E; padding: 12px 16px; border-radius: var(--radius-sm); color: #6B4A00; }

/* Every top-level block in marketing content is a full-width band. */
.marketing-content > * { margin: 0; }
.marketing-content > :where(section, .wp-block-group) { padding: var(--section-y) var(--bleed); }
.marketing-content :where(.wp-block-group) > * { margin-block-start: 0; }

/* 4. Header & navigation --------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(23, 33, 43, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand, .custom-logo-link { display: inline-flex; align-items: center; flex: none; }
.brand img, .custom-logo { width: auto; height: 38px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	display: block; padding: 8px 12px; border-radius: 8px;
	color: var(--c-ink); font-weight: 560; font-size: .97rem; text-decoration: none;
}
.nav-menu a:hover { background: var(--c-mist); color: var(--c-primary); }
.nav-menu .current-menu-item > a, .nav-menu .current_page_item > a, .nav-menu .current_page_parent > a { color: var(--c-primary); background: var(--c-primary-50); }

.nav-toggle { display: none; }

/* Language menu */
.lang-switch { position: relative; flex: none; }
.lang-switch summary {
	display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px;
	border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-white);
	font-weight: 600; font-size: .9rem; cursor: pointer; list-style: none; white-space: nowrap;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.lang-switch[open] summary { border-color: var(--c-primary); }
.lang-switch ul {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 120; min-width: 160px;
	margin: 0; padding: 6px; list-style: none; background: var(--c-white);
	border: 1px solid var(--c-line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.lang-switch li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--c-ink); text-decoration: none; }
.lang-switch li a:hover { background: var(--c-mist); }
.lang-switch li a[aria-current] { background: var(--c-primary-50); color: var(--c-primary); font-weight: 700; }
@media (max-width: 959px) {
	.site-header__inner { gap: 10px; }
	.lang-switch { order: 1; margin-left: auto; }
	.site-header .nav-toggle { order: 2; margin-left: 0; }
	.no-js .site-nav { order: 3; }
}
/* Narrow desktop: make room for the language menu beside the full navigation. */
@media (min-width: 960px) and (max-width: 1119px) {
	.site-header__inner { gap: 12px; }
	.site-header .site-nav { gap: 10px; }
	.site-header .nav-menu { gap: 0; }
	.site-header .nav-menu a { padding-inline: 7px; font-size: .92rem; white-space: nowrap; }
	.site-header .site-nav__cta { padding-inline: 12px; white-space: nowrap; }
	.site-header .brand img, .site-header .custom-logo { height: 32px; }
}
/* Small phones */
@media (max-width: 400px) {
	.site-header__inner { gap: 8px; }
	.site-header .brand img, .site-header .custom-logo { height: 28px; }
	.lang-switch summary { padding-inline: 7px; font-size: .84rem; }
	.lang-switch summary svg, .lang-switch summary::after { display: none; }
}

@media (max-width: 959px) {
	.nav-toggle {
		display: inline-grid; place-items: center; margin-left: auto;
		width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 10px;
		background: #fff; cursor: pointer; color: var(--c-ink);
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
		position: relative; transition: transform .2s, opacity .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	/* Without JS the menu simply stays visible under the logo. */
	.no-js .site-header__inner { flex-wrap: wrap; }
	.no-js .nav-toggle { display: none; }
	.no-js .site-nav { width: 100%; flex-wrap: wrap; margin: 0 0 12px; gap: 12px; }
	.no-js .nav-menu { flex-wrap: wrap; }

	.js .site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 24px; background: #fff;
		border-bottom: 1px solid var(--c-line); box-shadow: 0 24px 40px -24px rgba(23, 33, 43, .35);
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.admin-bar.js .site-nav { top: calc(var(--header-h) + 46px); }
	.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.js .nav-menu { flex-direction: column; }
	.js .nav-menu a { padding: 12px; font-size: 1.05rem; }
	.site-nav__cta { text-align: center; }
}
@media (max-width: 600px) { .admin-bar.js .site-nav { top: var(--header-h); } }

/* 5. Buttons --------------------------------------------------------------- */
.btn, .wp-block-button__link, .search-form button, .tx-form button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 12px;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
	border: 2px solid transparent; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.wp-block-button__link, .btn--primary, .search-form button, .tx-form button { background: var(--c-primary); color: #fff; }
.wp-block-button__link:hover, .btn--primary:hover, .search-form button:hover, .tx-form button:hover { background: var(--c-primary-700); color: #fff; }
.btn--lime, .is-style-lime .wp-block-button__link { background: var(--c-lime); color: var(--c-ink); }
.btn--lime:hover, .is-style-lime .wp-block-button__link:hover { background: var(--c-lime-600); color: var(--c-ink); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(155, 217, 26, .9); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--c-primary); border-color: currentColor; }
.is-style-outline .wp-block-button__link:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-button { margin: 0; }

/* Buttons on green backgrounds. */
:is(.tx-hero, .is-style-section-dark) .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
:is(.tx-hero, .is-style-section-dark) .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

/* 6. Marketing sections ---------------------------------------------------- */
.is-style-section { background: var(--c-white); }
.is-style-section-tint { background: var(--c-mist); }
.is-style-section-dark { background: var(--c-primary); color: #fff; }
.is-style-section + .is-style-section { padding-top: 0 !important; }

.tx-section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.tx-section-head .tx-eyebrow { justify-content: center; }
.tx-section-head > p:not(.tx-eyebrow) { color: var(--c-muted); font-size: 1.1rem; }

/* Hero */
.marketing-content > .tx-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; gap: 48px; align-items: center;
	padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px);
	background:
		radial-gradient(60% 70% at 85% 10%, rgba(179, 243, 45, .22), transparent 60%),
		radial-gradient(50% 60% at 0% 100%, rgba(255, 255, 255, .08), transparent 60%),
		linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-900) 100%);
	color: #fff;
}
.tx-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
	background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.tx-hero .tx-eyebrow { color: var(--c-lime); }
.tx-hero h1 { color: #fff; max-width: 15ch; }
.tx-hero .tx-lead { color: rgba(255, 255, 255, .86); }
.tx-hero__visual { min-width: 0; }
@media (min-width: 1024px) {
	.marketing-content > .tx-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
	.tx-hero__visual { margin-right: -40px; }
}
.tx-inline-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.tx-inline-list li { display: inline-flex; align-items: center; gap: 8px; }
.tx-inline-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-lime); }

/* Value strip under the hero */
.marketing-content > .tx-strip { padding-top: 40px; padding-bottom: 40px; background: #fff; border-bottom: 1px solid var(--c-line); }
.tx-value h3 { font-size: 1.02rem; margin-bottom: 4px; }
.tx-value p { font-size: .95rem; color: var(--c-muted); }
.tx-value.tx-ico::before { width: 40px; height: 40px; margin-bottom: 12px; }

/* Page hero (inner pages) */
.marketing-content > .tx-page-hero {
	padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px);
	background: radial-gradient(50% 80% at 100% 0%, rgba(179, 243, 45, .18), transparent 60%), var(--c-mist);
	border-bottom: 1px solid var(--c-line);
}
.tx-page-hero h1 { max-width: 22ch; }
.tx-jump { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-jump a, .pill {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px;
	border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
	font-size: .9rem; font-weight: 600; text-decoration: none;
}
.tx-jump a:hover, .pill:hover, .pill.is-active { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-50); }

/* Grids */
.tx-grid { display: grid; gap: 20px; }
.tx-grid > * { margin: 0 !important; }
@media (min-width: 640px) { .tx-grid--2, .tx-grid--3, .tx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.tx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}

/* Split: text beside an illustration */
.marketing-content > .tx-split { display: grid; gap: 40px; align-items: center; }
.tx-split__copy, .tx-split__visual { min-width: 0; }
@media (min-width: 960px) {
	.marketing-content > .tx-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
	.marketing-content > .tx-split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
	.tx-split--reverse .tx-split__copy { order: 2; }
}

/* Checklists */
.tx-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.tx-checks li { position: relative; padding-left: 34px; }
.tx-checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.is-style-card .tx-checks { gap: 8px; font-size: .97rem; }

/* Steps */
.tx-steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .tx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tx-step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); margin: 0 !important; }
.tx-step::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
	border-radius: 12px; background: var(--c-primary); color: var(--c-lime); font-weight: 800; font-size: .95rem;
}
.tx-step p { color: var(--c-muted); font-size: .97rem; }

/* Solutions rows */
.marketing-content > .tx-solution { display: grid; gap: 16px 64px; }
.marketing-content > .tx-solution + .tx-solution { border-top: 1px solid var(--c-line); padding-top: var(--section-y) !important; margin-inline: var(--bleed); padding-inline: 0; }
.marketing-content > .tx-page-hero + .tx-solution { padding-top: var(--section-y); }
@media (min-width: 900px) { .marketing-content > .tx-solution { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.tx-solution__head p { color: var(--c-muted); font-size: 1.1rem; }
.tx-solution__head.tx-ico::before { width: 52px; height: 52px; margin-bottom: 20px; }
.tx-solution .tx-checks { margin-top: 0; }

/* Plans */
.tx-plans { align-items: stretch; }
.tx-plan { display: flex; flex-direction: column; }
.tx-plan .wp-block-buttons { margin-top: auto; padding-top: 24px; }
.tx-plan .wp-block-button, .tx-plan .wp-block-button__link { width: 100%; }
.is-style-card .tx-plan__price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; color: var(--c-primary); }
.is-style-card .tx-plan__term { color: var(--c-muted); font-size: .92rem; }
.tx-plans + .tx-note { margin-top: 32px; }
.tx-plan.is-featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow); }
@media (min-width: 1024px) { .tx-plan.is-featured { transform: translateY(-12px); } }
/* Two-plan layout + comparison table */
.tx-plans.tx-grid--2 { max-width: 960px; margin-inline: auto; }
@media (min-width: 640px) { .tx-plans--1 { grid-template-columns: minmax(0, 480px); justify-content: center; } }
.is-style-card .tx-plan__for { color: var(--c-muted); font-size: .95rem; margin: 4px 0 8px; }
.is-style-card .tx-plan__day { font-size: .9rem; font-weight: 600; color: var(--c-ink); margin-top: 4px; }
.is-style-card .tx-plan__intro { margin: 20px 0 -8px; }
.tx-compare { max-width: calc(560px + 200px * var(--tx-plans, 2)); margin: 0 auto; overflow-x: auto; } /* 960px for 2 plans */
.tx-compare table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.tx-compare th, .tx-compare td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.tx-compare th:not(:first-child), .tx-compare td:not(:first-child) { text-align: center; width: calc(44% / var(--tx-plans, 2)); white-space: nowrap; }
.tx-compare thead th { background: var(--c-primary); color: #fff; font-weight: 700; }
.tx-compare td[colspan] { text-align: left !important; background: var(--c-mist); padding-top: 18px; color: var(--c-primary); }
.tx-compare tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) { .tx-compare th, .tx-compare td { padding: 10px; font-size: .9rem; } .tx-compare td:not(:first-child) { white-space: normal; } }
.tx-plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.tx-plan__head > * { margin: 0 !important; }
.tx-plan__badge {
	padding: 4px 12px; border-radius: 999px; line-height: 1.4;
	background: var(--c-lime); color: var(--c-ink); font-size: .8rem; font-weight: 700;
}

/* Pricing: "Android app, unlimited users" highlight */
.tx-hero-perk {
	/* Not flex: translated sentences put words on both sides of the bold part. */
	display: inline-block; position: relative; margin-top: 24px !important; padding: 11px 18px 11px 52px;
	border-radius: 26px; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); font-size: .95rem;
}
.tx-hero-perk::before {
	content: ""; position: absolute; left: 10px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%;
	background: var(--c-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317212B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.tx-app-panel {
	display: grid; gap: 40px; align-items: center; max-width: 1060px; margin-inline: auto; padding: clamp(28px, 5vw, 56px);
	border-radius: calc(var(--radius) * 1.5); color: #fff; overflow: hidden;
	background: radial-gradient(60% 90% at 100% 100%, rgba(179, 243, 45, .28), transparent 60%), var(--c-primary);
	box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .tx-app-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.tx-app-panel__copy, .tx-app-panel__visual { min-width: 0; }
.tx-app-panel h2 { color: #fff; margin-top: 8px; }
.tx-app-panel .tx-eyebrow { color: var(--c-lime); }
.tx-mark { background: var(--c-lime); color: var(--c-ink); padding: 0 .25em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tx-app-panel__lead { color: rgba(255, 255, 255, .88); max-width: 52ch; }
.tx-app-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .tx-app-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tx-app-points li { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.tx-app-points strong { font-family: var(--font-heading); font-size: 1.35rem; color: var(--c-lime); line-height: 1.1; }
.tx-app-points span { font-size: .88rem; color: rgba(255, 255, 255, .85); line-height: 1.35; }
.tx-app-panel .wp-block-buttons { margin-top: 28px; }
.tx-app-panel .mk-phone { width: min(250px, 80%); }
.tx-app-panel .tx-visual__note { color: rgba(255, 255, 255, .8); }

.tx-hero-perk--dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); box-shadow: none; color: rgba(255, 255, 255, .9); }
.tx-hero-perk--dark strong { color: var(--c-lime); }
.tx-app-panel .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.tx-app-panel .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.tx-compare tr.tx-compare__hl td { background: rgba(179, 243, 45, .22); }

/* "Coming soon" pill (features not launched yet) */
.tx-soon {
	display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 10px; border-radius: 999px;
	background: var(--c-lime); color: var(--c-ink); font-size: .75rem; font-weight: 700; letter-spacing: 0; white-space: nowrap;
}
.tx-compare .tx-soon { margin-left: 0; }

/* Pricing: which plan fits each kind of business */
.is-style-card .tx-fit__plan { margin: 4px 0 8px; color: var(--c-primary); font-weight: 700; font-size: .9rem; }

/* FAQ (details block) */
.tx-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.tx-faq-page > h2 { max-width: 820px; margin: 56px auto 20px; font-size: 1.5rem; }
.tx-faq-page > h2:first-child { margin-top: 0; }
.wp-block-details { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 0; margin: 0 !important; transition: border-color .15s, box-shadow .15s; }
.wp-block-details[open] { border-color: rgba(0, 107, 84, .35); box-shadow: var(--shadow-sm); }
.wp-block-details summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 18px 56px 18px 22px; font-weight: 650; font-size: 1.05rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
	border-radius: 50%; background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { padding: 0 22px 20px; margin: 0; color: var(--c-muted); }
.wp-block-details summary:focus-visible { outline-offset: -3px; border-radius: 14px; }

/* CTA band (block version + PHP version) */
.marketing-content > .tx-cta {
	text-align: center;
	background:
		radial-gradient(50% 120% at 50% 0%, rgba(179, 243, 45, .2), transparent 60%),
		linear-gradient(160deg, var(--c-primary), var(--c-primary-900));
}
.tx-cta h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.tx-cta p { color: rgba(255, 255, 255, .85); max-width: 56ch; margin-inline: auto; font-size: 1.1rem; }
.tx-cta .wp-block-buttons { justify-content: center; }
.cta-band { background: linear-gradient(160deg, var(--c-primary), var(--c-primary-900)); color: #fff; padding: 56px 0; margin-top: var(--section-y); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .85); }

.tx-prose-section > * { max-width: var(--narrow); margin-inline: auto !important; }
.tx-prose-section h2 { margin-top: 40px !important; font-size: 1.6rem; }
.tx-prose-section h2:first-child { margin-top: 0 !important; }
.tx-prose-section ul { padding-left: 1.2em; }

/* 7. Cards & icons --------------------------------------------------------- */
.is-style-card {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 28px; box-shadow: var(--shadow-sm);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.is-style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0, 107, 84, .25); }
.is-style-card p { color: var(--c-muted); font-size: .98rem; }
.is-style-card h3 { margin-bottom: 8px; }
.tx-card-link { background: var(--c-primary-50); border-style: dashed; border-color: rgba(0, 107, 84, .35); display: flex; flex-direction: column; justify-content: center; }
.tx-card-link a { font-weight: 700; text-decoration: none; }

.tx-ico::before {
	content: ""; display: block; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px;
	background-color: var(--c-primary-50);
	background-image: var(--ico);
	background-repeat: no-repeat; background-position: center; background-size: 55%;
}
.tx-ico-pos      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M7 8h4M7 11h7'/%3E%3C/svg%3E"); }
.tx-ico-bill     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.tx-ico-pay      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.tx-ico-kot      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16a8 8 0 0 1-16 0z'/%3E%3Cpath d='M8 7c0-1 1-1 1-2s-1-1-1-2M12 7c0-1 1-1 1-2s-1-1-1-2M16 7c0-1 1-1 1-2s-1-1-1-2'/%3E%3C/svg%3E"); }
.tx-ico-table    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h18M5 9v11M19 9v11M8 9V6M16 9V6M8 14h8'/%3E%3C/svg%3E"); }
.tx-ico-menu     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M14 14h3v3h-3zM20 14v.01M14 20h.01M17 20h4v-3'/%3E%3C/svg%3E"); }
.tx-ico-stock    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8M12 13v8'/%3E%3C/svg%3E"); }
.tx-ico-report   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.tx-ico-branch   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9l7-5 7 5v12'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.tx-ico-users    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21c0-4 3-6 7-6s7 2 7 6M16 4a4 4 0 0 1 0 8M22 21c0-3-1.5-5-4-5.7'/%3E%3C/svg%3E"); }
.tx-ico-phone    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.tx-ico-offline  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
.tx-ico-print    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v7H6z'/%3E%3C/svg%3E"); }
.tx-ico-lang     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.tx-ico-offer    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.tx-ico-customer { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.tx-ico-shield   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.tx-ico-delivery { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='18' cy='17' r='3'/%3E%3Cpath d='M9 17h6l-2-7H8M15 6h3l3 8'/%3E%3C/svg%3E"); }
.tx-ico-chat     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 21l1.9-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.tx-ico-cafe     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17M8 2v3M12 2v3'/%3E%3C/svg%3E"); }

/* 8. Product illustrations ------------------------------------------------- */
.tx-visual { margin: 0; }
.tx-visual__frame {
	position: relative; background: #fff; color: var(--c-ink); border-radius: 18px; overflow: hidden;
	box-shadow: var(--shadow-lg); border: 1px solid rgba(23, 33, 43, .08);
	font-size: 12px; line-height: 1.4; user-select: none;
}
.tx-visual__note { margin-top: 12px; font-size: .78rem; color: var(--c-muted); text-align: center; }
.tx-hero .tx-visual__note { color: rgba(255, 255, 255, .85); }
.mk-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F2F5F3; border-bottom: 1px solid var(--c-line); }
.mk-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #D5DCD8; }
.mk-chrome span:first-child { background: #F59E8B; }
.mk-chrome span:nth-child(2) { background: #F5CF6B; }
.mk-chrome span:nth-child(3) { background: #8BD39B; }
.mk-chrome em { margin-left: 10px; font-style: normal; font-weight: 600; color: var(--c-muted); }
.mk-app { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 300px; }
.mk-side { background: var(--c-primary-900); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mk-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--c-lime); color: var(--c-primary-900); font-weight: 900; font-size: 16px; margin: 0 0 10px 4px; }
.mk-nav { padding: 6px 8px; border-radius: 6px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.mk-nav.is-on { background: rgba(179, 243, 45, .16); color: var(--c-lime); }
.mk-main { padding: 14px; background: var(--c-mist); display: grid; gap: 12px; align-content: start; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-kpi, .mk-card { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 10px; }
.mk-kpi small, .mk-card small, .mk-bill small { display: block; color: var(--c-muted); font-size: 10.5px; margin-bottom: 4px; }
.mk-kpi b { display: block; font-size: 17px; letter-spacing: -.02em; }
.mk-kpi i { font-style: normal; font-size: 10.5px; color: var(--c-muted); }
.mk-kpi i.up { color: var(--c-primary); font-weight: 700; }
.mk-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
.mk-bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; padding-top: 6px; }
.mk-bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--c-primary), #2E8C74); }
.mk-bars span:nth-child(9) { background: linear-gradient(180deg, var(--c-lime-600), var(--c-lime)); }
.mk-orders p { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--c-line); }
.mk-orders p:last-child { border: 0; }
.mk-orders b { min-width: 24px; }
.st { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.st-new { background: #E6F0FF; color: #1D4ED8; }
.st-prep { background: #FFF4DB; color: #8A5300; }
.st-ready { background: #E2F7D0; color: #2F6B05; }
.st-paid { background: var(--c-primary-50); color: var(--c-primary); }

.mk-pos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: 290px; }
.mk-menu { padding: 12px; background: var(--c-mist); }
.mk-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.mk-tabs span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-weight: 600; }
.mk-tabs .is-on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.mk-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mk-item { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 10px 10px 10px 24px; font-weight: 600; }
.mk-item b { display: block; color: var(--c-primary); font-weight: 700; margin-top: 2px; }
.ft { position: absolute; left: 9px; top: 13px; width: 8px; height: 8px; border-radius: 2px; outline: 1.5px solid; outline-offset: 1.5px; }
.ft-veg { background: #16A34A; outline-color: #16A34A; }
.ft-nonveg { background: #B91C1C; outline-color: #B91C1C; border-radius: 50%; }
.ft-egg { background: #D97706; outline-color: #D97706; }
.mk-bill { padding: 12px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--c-line); }
.mk-bill p { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 5px 0; }
.mk-bill em { color: var(--c-muted); font-size: 10.5px; font-style: normal; }
.mk-tax { color: var(--c-muted); border-top: 1px dashed var(--c-line); }
.mk-total { font-size: 15px; font-weight: 800; border-top: 1px solid var(--c-line); }
.mk-actions { display: grid; gap: 6px; margin-top: auto; padding-top: 8px; }
.mk-actions span { text-align: center; padding: 8px; border-radius: 8px; border: 1.5px solid var(--c-primary); color: var(--c-primary); font-weight: 700; }
.mk-actions .is-pay { background: var(--c-primary); color: #fff; }

.mk-kds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; background: var(--c-mist); min-height: 250px; align-items: start; }
.mk-kcol { display: grid; gap: 8px; }
.mk-kcol > .st { margin: 0 0 2px; justify-self: start; }
.mk-ticket { background: #fff; border: 1px solid var(--c-line); border-left: 3px solid var(--c-primary); border-radius: 8px; padding: 8px 10px; display: grid; gap: 3px; }
.mk-kcol:first-child .mk-ticket { border-left-color: #1D4ED8; }
.mk-kcol:nth-child(2) .mk-ticket { border-left-color: #D97706; }
.mk-kcol:nth-child(3) .mk-ticket { border-left-color: #4D9A0C; }

.mk-floor { padding: 16px; background: var(--c-mist); }
.mk-tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mk-table { display: grid; place-items: center; aspect-ratio: 1.3; border-radius: 12px; font-weight: 800; font-size: 13px; border: 2px solid; }
.t-a { background: #fff; border-color: #CFE3DA; color: var(--c-primary); }
.t-o { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.t-r { background: #FFF4DB; border-color: #F2C76B; color: #8A5300; }
.t-c { background: #EEF2F6; border-color: #C9D3DE; color: #475467; }
.mk-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; color: var(--c-muted); }
.mk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mk-legend i { width: 12px; height: 12px; border-radius: 4px; border: 2px solid; }

.tx-visual--phone .tx-visual__frame { background: transparent; box-shadow: none; border: 0; overflow: visible; }
.mk-phone { width: min(280px, 80%); margin: 0 auto; background: var(--c-ink); border-radius: 38px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.mk-notch { position: absolute; top: 12px; left: 50%; width: 90px; height: 22px; margin-left: -45px; background: var(--c-ink); border-radius: 0 0 14px 14px; z-index: 1; }
.mk-screen { background: #fff; border-radius: 28px; padding: 44px 16px 18px; display: grid; gap: 4px; font-size: 13px; min-height: 420px; align-content: start; }
.mk-ph-title { display: flex; align-items: center; font-weight: 800; font-size: 17px; margin: 0 0 10px; }
.mk-ph-line { display: flex; justify-content: space-between; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--c-line); }
.mk-ph-total { display: flex; justify-content: space-between; margin: 6px 0 14px; font-weight: 800; font-size: 16px; }
.mk-ph-btn { display: block; text-align: center; padding: 11px; border-radius: 12px; background: var(--c-primary); color: #fff; font-weight: 700; margin-top: 8px; }
.mk-ph-btn.is-ghost { background: var(--c-primary-50); color: var(--c-primary); }

@media (max-width: 560px) {
	.mk-app { grid-template-columns: minmax(0, 1fr); }
	.mk-side { display: none; }
	.mk-row, .mk-pos { grid-template-columns: minmax(0, 1fr); }
	.mk-bill { border-left: 0; border-top: 1px solid var(--c-line); }
	.mk-kds { grid-template-columns: minmax(0, 1fr); }
	.mk-kpi b { font-size: 15px; }
	.mk-tables { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 9. Demo page & form ------------------------------------------------------ */
.marketing-content > .tx-demo {
	display: grid; gap: 40px; align-items: start;
	padding-top: clamp(40px, 6vw, 80px);
	background: radial-gradient(45% 60% at 0% 0%, rgba(179, 243, 45, .16), transparent 60%), var(--c-mist);
}
@media (min-width: 960px) { .marketing-content > .tx-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.tx-h-small { font-size: 1.15rem; margin-top: 32px !important; }
.tx-demo__form { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.tx-contact { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.tx-contact li { display: flex; gap: 10px; align-items: baseline; }
.tx-contact span { min-width: 64px; font-size: .85rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }

.tx-form { display: grid; gap: 18px; }
.tx-form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .tx-form__row { grid-template-columns: 1fr 1fr; } }
.tx-field { display: grid; gap: 6px; }
.tx-field label { font-weight: 650; font-size: .95rem; }
.tx-field .req { color: var(--c-danger); }
.tx-field .hint { font-size: .85rem; color: var(--c-muted); }
.tx-field input, .tx-field select, .tx-field textarea, .search-form input {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--c-ink);
	background: #fff; border: 1.5px solid #CBD5CF; border-radius: 10px;
	transition: border-color .15s, box-shadow .15s;
}
.tx-field textarea { min-height: 120px; resize: vertical; }
.tx-field input:focus, .tx-field select:focus, .tx-field textarea:focus, .search-form input:focus {
	outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(0, 107, 84, .15);
}
.tx-field [aria-invalid="true"] { border-color: var(--c-danger); }
.tx-field .error { color: var(--c-danger); font-size: .88rem; font-weight: 600; }
.tx-check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--c-muted); }
.tx-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }
.tx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tx-form button { width: 100%; }
.tx-form button[disabled] { opacity: .7; cursor: progress; }
.tx-alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 18px; }
.tx-alert--ok { background: var(--c-primary-50); color: var(--c-primary-700); border: 1px solid rgba(0, 107, 84, .3); }
.tx-alert--err { background: #FEF3F2; color: var(--c-danger); border: 1px solid #FECDCA; }
.tx-form__small { font-size: .82rem; color: var(--c-muted); text-align: center; }

/* 10. Pages, blog & articles ----------------------------------------------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); background: var(--c-mist); border-bottom: 1px solid var(--c-line); }
.page-head__title { margin: 0; }
.page-head .eyebrow a { color: inherit; text-decoration: none; }
.page-head--blog .page-head__lead { margin-top: 12px; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list--nav { margin-top: 28px; }
.pill-list--center { justify-content: center; margin: 24px 0; }
.pill-list .pill { min-height: 30px; padding: 3px 12px; font-size: .82rem; }

.prose { padding-top: 48px; padding-bottom: 24px; font-size: 1.08rem; }
.prose > * { margin-top: 0; margin-bottom: 1.25em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-lime); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 8px 12px; text-align: left; }

.post-list { padding-top: 48px; }
.post-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--c-primary-50); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(60% 80% at 80% 20%, rgba(179, 243, 45, .5), transparent 60%), linear-gradient(150deg, var(--c-primary), var(--c-primary-900)); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-size: 1.2rem; margin: 0; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card .pill-list { position: relative; z-index: 1; }
.post-card__excerpt { color: var(--c-muted); font-size: .97rem; margin: 0; }
.post-meta { font-size: .85rem; color: var(--c-muted); margin: auto 0 0; }

.pagination { margin-top: 48px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 0; margin: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600; }
.pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.article__head { padding: clamp(40px, 6vw, 72px) 0 32px; background: var(--c-mist); }
.article__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: 14px 0 12px; }
.breadcrumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--c-muted); margin-bottom: 18px; }
.breadcrumbs a { color: inherit; }
.article__media { margin-top: -1px; padding-top: 32px; }
.article__media img { width: 100%; border-radius: var(--radius); }
.article__tags { padding-bottom: 32px; }
.related { padding-top: 56px; }
.related > h2 { font-size: 1.6rem; }
.comments { padding: 32px 0; border-top: 1px solid var(--c-line); }

.empty-state { text-align: center; padding: 48px 0; }
.empty-state--404 { padding: clamp(64px, 10vw, 120px) var(--gutter); }
.empty-state--404 .eyebrow { font-size: 1rem; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.page-head .search-form { margin-left: 0; }
.search-form input { flex: 1; min-width: 0; }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, .78); padding-top: 64px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--c-lime); }
.site-footer :focus-visible { outline-color: var(--c-lime); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }
.brand--footer img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.site-footer__brand p { margin-top: 16px; max-width: 34ch; }
.site-footer__contact { font-style: normal; display: grid; gap: 6px; margin-top: 16px; }
.site-footer__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.social-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social-links a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22); color: #fff;
	transition: background-color .15s, color .15s, border-color .15s;
}
.social-links a:hover { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-ink); }

/* 12. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.js [data-reveal].is-visible { opacity: 1; transform: none; }
	.tx-hero__visual .tx-visual__frame { animation: tx-float 7s ease-in-out infinite; }
	@keyframes tx-float { 50% { transform: translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* 13. Block editor (this file is also loaded as the editor style) ---------- */
.editor-styles-wrapper .tx-hero { padding: 48px 24px; }
.editor-styles-wrapper .tx-split, .editor-styles-wrapper .tx-demo, .editor-styles-wrapper .tx-solution { padding: 32px 16px; }

/* Card titles that are H2 for document outline but look like H3. */
h2.tx-h-card { font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: 8px; }
.tx-value h2.tx-h-card { font-size: 1.02rem; margin-bottom: 4px; }

/* Comment form (only shown if comments are switched on for a post). */
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label { font-weight: 600; font-size: .95rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; border: 1.5px solid #CBD5CF; border-radius: 10px;
}
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.comment-form .submit { background: var(--c-primary); color: #fff; border: 0; border-radius: 12px; min-height: 48px; padding: 12px 22px; font: inherit; font-weight: 650; cursor: pointer; }
.comment-list { padding-left: 1.2em; }

/* Indian scripts -------------------------------------------------------------
   Letter spacing splits conjuncts and the headline stroke, and their vowel
   signs need more line height than Latin. The web fonts above are Latin only. */
body:is(.tx-lang-hi, .tx-lang-mr) {
	--font: "Mona Sans", "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", system-ui, sans-serif;
	--font-heading: "Spline Sans", "Mona Sans", "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", system-ui, sans-serif;
}
body.tx-lang-gu {
	--font: "Mona Sans", "Noto Sans Gujarati", "Kohinoor Gujarati", "Gujarati Sangam MN", "Nirmala UI", system-ui, sans-serif;
	--font-heading: "Spline Sans", "Mona Sans", "Noto Sans Gujarati", "Kohinoor Gujarati", "Gujarati Sangam MN", "Nirmala UI", system-ui, sans-serif;
}
body:is(.tx-lang-hi, .tx-lang-gu, .tx-lang-mr) { font-family: var(--font); }
body:is(.tx-lang-hi, .tx-lang-gu, .tx-lang-mr) * { letter-spacing: normal !important; }
body:is(.tx-lang-hi, .tx-lang-gu, .tx-lang-mr) :is(h1, h2, h3, h4) { line-height: 1.35; }
body:is(.tx-lang-hi, .tx-lang-gu, .tx-lang-mr) h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.25rem); }
