/* ==========================================================================
   NexoHaven — main stylesheet
   ========================================================================== */

:root {
	--brand: #fec131;
	--brand-600: #f5ae0b;
	--brand-50: #fff6dc;
	--brand-text: #8a5a00;
	--accent: #ff7a45;
	--ink: #0f1222;
	--ink-2: #3c4257;
	--muted: #6b7184;
	--line: #e7e8ee;
	--bg: #ffffff;
	--bg-soft: #f6f7f9;
	--dark: #111217;
	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15, 18, 34, .06), 0 12px 32px -12px rgba(15, 18, 34, .18);
	--font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1200px;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 48px; padding: 0 22px; border-radius: 999px;
	font-weight: 600; font-size: 15px; border: 1px solid transparent;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
	cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--brand); color: var(--ink); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header (glass) ---------- */
/* The glass lives on ::before so the dropdowns inside can blur on their own
   (a backdrop-filter nested inside another one doesn't blur the page). */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .62);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, background .25s;
}
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .74); border-bottom-color: rgba(15, 18, 34, .07); }
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; border-radius: 10px; }
.brand-mark { width: 30px; height: 25px; fill: var(--brand); transition: transform .4s cubic-bezier(.2, .8, .2, 1.4); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.custom-logo { max-height: 40px; width: auto; }

/* Nav items */
.main-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-item { position: relative; }
.main-nav .nav-list > li > a,
.nav-trigger {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 14px; border-radius: 10px; border: 0; background: transparent;
	font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink);
	cursor: pointer; transition: background .2s, color .2s;
}
.main-nav .nav-list > li > a:hover,
.nav-trigger:hover,
.nav-item.is-open > .nav-trigger { background: rgba(15, 18, 34, .055); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .25s; }
.nav-item.is-open .chev { transform: rotate(180deg); }

/* Mega panel */
.mega {
	position: absolute; top: 100%; left: 0; padding-top: 12px;
	width: 640px; z-index: 50;
	opacity: 0; visibility: hidden; transform: translateY(6px) scale(.985); transform-origin: top left;
	transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
}
.mega.mega-sm { width: 440px; }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-panel {
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(22px);
	-webkit-backdrop-filter: saturate(180%) blur(22px);
	border: 1px solid rgba(15, 18, 34, .08);
	border-radius: 18px; overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(15, 18, 34, .22), 0 2px 6px rgba(15, 18, 34, .04);
}
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 28px 28px 22px; }
.mega-head { font-size: 13.5px; font-weight: 500; color: var(--muted); margin: 0 0 12px 12px; }
.mega-link { display: block; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.mega-link:hover { background: rgba(254, 193, 49, .14); }
.mega-link b { display: block; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.mega-link span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.mega-link:hover b { color: var(--ink); }
.mega-promo { display: flex; align-items: center; gap: 16px; padding: 18px 28px; background: rgba(15, 18, 34, .04); border-top: 1px solid rgba(15, 18, 34, .06); transition: background .2s; }
.mega-promo:hover { background: rgba(254, 193, 49, .16); }
.promo-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(15, 18, 34, .08); }
.promo-icon svg { width: 26px; height: 22px; fill: var(--brand); }
.mega-promo b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.mega-promo span span { display: block; font-size: 13.5px; color: var(--muted); }

/* WordPress-managed menus: simple dropdown */
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 8px;
	background: rgba(255, 255, 255, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(15, 18, 34, .08); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(15, 18, 34, .25);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.main-nav .menu-item-has-children { position: relative; }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 15px; }
.main-nav .sub-menu a:hover { background: rgba(254, 193, 49, .14); }
.nav-extra { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* Search pill */
.search-pill {
	position: relative; display: flex; align-items: center; gap: 9px;
	width: 280px; height: 44px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--line); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.search-pill:hover { border-color: #d3d5dc; }
.search-pill:focus-within { border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-50); }
.search-icon { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search-pill input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; width: 100%; color: var(--ink); }
.search-pill input::placeholder { color: var(--muted); }
.search-pill input::-webkit-search-cancel-button { -webkit-appearance: none; }

.btn-shine { box-shadow: 0 1px 0 rgba(15, 18, 34, .06); }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(15, 18, 34, .08); background: rgba(255, 255, 255, .7); border-radius: 12px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

main { position: relative; z-index: 0; overflow-x: clip; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
.section-title { font-size: clamp(30px, 4.2vw, 48px); max-width: 18ch; }
.lead { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 56ch; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 24px; }
.hero-title { font-size: clamp(38px, 6.4vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.hero-title span { background: linear-gradient(transparent 58%, var(--brand) 58%, var(--brand) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 60ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Marquee carousel ---------- */
.marquee { overflow: hidden; padding: 0 0 72px; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: none) {
	.marquee { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.marquee::-webkit-scrollbar { display: none; }
	.marquee-track { animation: none; }
}

.feature-card { width: clamp(320px, 31vw, 520px); flex: none; display: flex; flex-direction: column; }
/* Text sits on the bottom edge so every card's label lines up, whatever the title length */
.fc-text { flex: 1; padding: 0 clamp(24px, 2.4vw, 40px) 30px; min-height: clamp(220px, 17vw, 270px); display: flex; flex-direction: column; justify-content: flex-end; }
.fc-text h3 { font-size: clamp(26px, 2.5vw, 40px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.12; }
.fc-text p { font-size: clamp(14.5px, 1.05vw, 16.5px); color: var(--ink-2); margin-top: 16px; line-height: 1.55; max-width: 40ch; }
.fc-tag { padding-top: 14px; font-size: clamp(12.5px, .9vw, 14px); letter-spacing: .05em; color: var(--muted); }

.fc-visual { position: relative; height: clamp(380px, 33vw, 560px); overflow: hidden; display: grid; place-items: center; padding: clamp(24px, 3vw, 48px); color: var(--brand-text); }
.tone-1 { background: #ffe7a8; }
.tone-2 { background: #ffd978; }
.tone-3 { background: #fec131; }
.tone-4 { background: #1b1c22; }
.tone-5 { background: #ffefc4; }
.tone-6 { background: #ffd25a; }
.tone-7 { background: #ffe9a6; }

/* Dashboard mock */
.mock-dash { width: 100%; max-width: 360px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.md-head { display: flex; justify-content: space-between; align-items: center; }
.md-title { font-weight: 600; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.md-title .dot { width: 14px; height: 10px; border-radius: 3px; background: var(--brand); display: inline-block; }
.md-title, .md-pill { white-space: nowrap; }
.md-pill { font-size: 12px; border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; color: var(--ink-2); }
.md-chart { width: 100%; height: 70px; margin: 14px 0 6px; color: #3aa18c; }
.md-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.md-stats > div { padding: 10px 6px; color: var(--ink); }
.md-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.md-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.md-stats small { display: block; font-size: 11.5px; color: var(--ink-2); }
.md-stats b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.md-stats em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }

/* SERP mock */
.mock-serp { position: relative; width: 100%; max-width: 380px; display: grid; gap: 10px; }
.serp-bar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow); }
.serp-bar svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; }
.serp-row { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .55); border-radius: 12px; padding: 12px 14px; }
.serp-row .rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; color: var(--ink-2); flex: none; }
.serp-row > div { flex: 1; display: grid; gap: 5px; }
.serp-row b { font-size: 13px; color: #1a0dab; }
.serp-row b.ghost, .serp-row i { display: block; height: 7px; border-radius: 4px; background: rgba(15, 18, 34, .14); }
.serp-row b.ghost { width: 55%; height: 9px; }
.serp-row i.short { width: 60%; }
/* White card on ::after, glow on ::before behind it (both inside the row's own stacking context) */
.serp-row.is-you { position: relative; z-index: 1; background: transparent; transform: scale(1.04); animation: rise 3.2s ease-in-out infinite; }
.serp-row.is-you::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; box-shadow: var(--shadow); }
.serp-row.is-you::before {
	content: ""; position: absolute; inset: -6px 6%; z-index: -2; border-radius: 22px;
	background: rgba(255, 255, 255, .9);
	filter: blur(16px); opacity: .8;
}
.serp-row.is-you .rank { background: var(--brand); color: var(--ink); }
.serp-row .up { font-size: 11.5px; font-weight: 600; color: #1f9d6b; background: #e3f7ee; padding: 3px 8px; border-radius: 999px; }
@keyframes rise { 0%, 100% { transform: scale(1.04) translateY(0); } 50% { transform: scale(1.04) translateY(-4px); } }

/* Social post mock */
.mock-post { width: 230px; margin-top: 8px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); }
.mp-head { display: flex; gap: 10px; align-items: center; padding: 12px; }
.mp-head .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.mp-head b { display: block; font-size: 13px; }
.mp-head small { display: block; font-size: 11px; color: var(--muted); }
.mp-img { height: 150px; background: linear-gradient(140deg, #ffb48f, #ff7a45 55%, #e2557a); display: grid; place-items: center; }
.mp-img span { color: #fff; font-weight: 700; font-size: 26px; text-align: center; line-height: 1; letter-spacing: -0.02em; }
.mp-foot { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 12px; color: var(--ink-2); }
.floaters { position: absolute; right: 30px; bottom: 40px; width: 40px; height: 260px; pointer-events: none; }
.floaters span { position: absolute; bottom: 0; left: 0; font-size: 22px; opacity: 0; animation: float-up 4s ease-in infinite; }
.floaters span:nth-child(2) { left: 14px; animation-delay: .8s; }
.floaters span:nth-child(3) { left: -6px; animation-delay: 1.6s; }
.floaters span:nth-child(4) { left: 10px; animation-delay: 2.4s; }
.floaters span:nth-child(5) { left: 2px; animation-delay: 3.2s; }
@keyframes float-up { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-240px) scale(1.1); opacity: 0; } }
.bubble { position: absolute; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 500; padding: 8px 12px; border-radius: 14px; box-shadow: var(--shadow); }
.bubble.b1 { left: 14px; top: 14px; border-bottom-left-radius: 4px; animation: bob 4s ease-in-out infinite; }
.bubble.b2 { right: 14px; bottom: 14px; border-bottom-right-radius: 4px; animation: bob 4s ease-in-out 1.5s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Notifications mock */
.notif-stack { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.notif-glow {
	position: absolute; left: 50%; top: 50%; width: min(78%, 330px); height: 120px; transform: translate(-50%, -50%);
	border-radius: 999px; background: rgba(254, 193, 49, .55);
	filter: blur(34px); opacity: .6;
}
.notif-scroll { position: relative; display: grid; gap: 14px; width: min(100% - 48px, 360px); margin: 0 auto; transition: transform .7s cubic-bezier(.65, 0, .35, 1); animation: notif-up 22s linear infinite; }
.js-notif .notif-scroll { animation: none; }
@keyframes notif-up { to { transform: translateY(-50%); } }
.notif {
	display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 20px; color: var(--ink);
	background: rgba(255, 255, 255, .62); opacity: .5; transform: scale(.94);
	transition: transform .7s cubic-bezier(.65, 0, .35, 1), opacity .7s, background .7s, box-shadow .7s;
}
.notif.is-near { opacity: .9; transform: scale(.97); }
.notif.is-focus { background: rgba(255, 255, 255, .97); opacity: 1; transform: scale(1.07); box-shadow: 0 18px 40px -16px rgba(15, 18, 34, .45); }
.notif > div { flex: 1; min-width: 0; }
.notif b { display: block; font-size: 14px; }
.notif small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif em { font-style: normal; font-size: 11.5px; color: var(--muted); align-self: flex-start; }
.ni { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.ni-email { background: linear-gradient(135deg, #ea4335, #fbbc05); }
.ni-sms { background: linear-gradient(135deg, #34c759, #2fb34e); }
.ni-messenger { background: linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); }

/* Creative grid mock */
.mock-grid { display: grid; grid-template-columns: repeat(3, clamp(76px, 6.6vw, 104px)); grid-auto-rows: clamp(76px, 6.6vw, 104px); gap: 10px; transform: rotate(-8deg); }
.tile { border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; text-align: center; line-height: 1.05; box-shadow: var(--shadow); animation: tile-pop 6s ease-in-out infinite; }
.tile:nth-child(2n) { animation-delay: 1.5s; }
.tile:nth-child(3n) { animation-delay: 3s; }
.t1 { background: linear-gradient(135deg, #ff7a45, #e2557a); }
.t2 { background: #111217; }
.t3 { background: #fff; }
.t4 { background: linear-gradient(135deg, #1f9d6b, #0f766e); }
.t5 { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.t6 { background: var(--brand); color: var(--ink); }
@keyframes tile-pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.08); } }

/* Browser mock */
.mock-browser { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: visible; }
.mb-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e1e3ea; }
.mb-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--bg-soft); padding: 2px 10px; border-radius: 6px; }
.mb-body { padding: 18px 14px; }
.mb-hero { display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 10px; background: var(--brand-50); }
.mb-hero b { display: block; width: 80%; height: 12px; border-radius: 4px; background: var(--brand); opacity: .85; }
.mb-hero b.short { width: 50%; opacity: .4; }
.mb-btn { margin-top: 6px; font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.mb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mb-cols i { height: 54px; border-radius: 8px; background: var(--bg-soft); }
.mb-chip { position: absolute; right: -8px; bottom: -18px; background: #fff; color: #1f9d6b; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 12px; box-shadow: var(--shadow); animation: bob 3.6s ease-in-out infinite; }

/* Report printer mock: the receipt prints line by line, holds, then is torn off */
.fc-visual.tone-7 { place-items: start center; padding-top: clamp(40px, 6vw, 72px); }
.mock-printer { position: relative; width: min(88%, 340px); }
.printer-body {
	position: relative; z-index: 2; height: 92px; border-radius: 18px;
	background: linear-gradient(180deg, #34353d 0%, #1b1c21 55%, #111216 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 0 rgba(0, 0, 0, .5), 0 22px 36px -14px rgba(15, 18, 34, .55);
}
.printer-grille { position: absolute; top: 14px; left: 50%; width: 52px; height: 9px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 2px, transparent 2px 6px); border-radius: 2px; }
.printer-logo { position: absolute; left: 20px; top: 38px; width: 28px; height: 24px; fill: var(--brand); }
.printer-led { position: absolute; right: 22px; top: 46px; width: 7px; height: 7px; border-radius: 50%; background: #2bd47d; box-shadow: 0 0 8px #2bd47d; animation: led 10s linear infinite; }
.printer-slot { position: absolute; left: 7%; right: 7%; bottom: 10px; height: 5px; border-radius: 3px; background: #050506; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .9); }

.receipt-wrap { position: absolute; z-index: 1; top: 82px; left: 10%; right: 10%; height: 640px; overflow: hidden; }
.receipt {
	position: relative; padding: 20px 16px 26px;
	font: 500 11.5px/1.55 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Hind Siliguri", monospace; color: #1d1e22;
	background: linear-gradient(180deg, #e9e8e2 0, #fbfbf8 18px, #fbfbf8);
	box-shadow: 0 12px 24px -12px rgba(15, 18, 34, .35);
	transform: translateY(-100%);
	animation: print 10s infinite;
}
/* torn leading edge */
.receipt::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
	background: linear-gradient(135deg, #fbfbf8 50%, transparent 50%) 0 0 / 12px 8px repeat-x, linear-gradient(225deg, #fbfbf8 50%, transparent 50%) 0 0 / 12px 8px repeat-x;
}
.receipt p { margin: 0; }
.receipt hr { border: 0; border-top: 1px dashed rgba(29, 30, 34, .35); margin: 9px 0; }
.r-brand { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: .28em; }
.r-sub { text-align: center; font-size: 10.5px; color: #55575f; }
.r-row { display: flex; justify-content: space-between; gap: 8px; }
.r-row span:first-child { flex: 1; }
.r-row span + span { min-width: 4.2em; text-align: right; }
.r-head { color: #55575f; }
.r-big { font-size: 13.5px; font-weight: 700; }
.r-big span:last-child { color: #1f9d6b; }
.r-foot { text-align: center; font-size: 10px; color: #55575f; margin-top: 10px !important; }

@keyframes print {
	0% { transform: translateY(-100%); opacity: 1; animation-timing-function: steps(22, end); }
	34% { transform: translateY(0); opacity: 1; animation-timing-function: linear; }
	78% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
	90% { transform: translateY(45%) rotate(2deg); opacity: 0; }
	100% { transform: translateY(-100%); opacity: 0; }
}
@keyframes led {
	0%, 34% { opacity: 1; }
	2%, 6%, 10%, 14%, 18%, 22%, 26%, 30% { opacity: .25; }
	4%, 8%, 12%, 16%, 20%, 24%, 28%, 32% { opacity: 1; }
	35%, 100% { opacity: 1; }
}

/* ---------- Panels ---------- */
.panel { position: relative; margin: 0 16px; border-radius: 28px; padding: 96px 0; }
.panel-light { background: var(--bg-soft); }
.panel-dark { background: var(--dark); color: #fff; margin-top: 16px; overflow: hidden; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px 18px 56px; position: relative; border: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand-text); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.check-list b { display: block; font-weight: 600; }
.check-list span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.process { margin-top: 96px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step span { font-size: 13px; font-weight: 600; color: var(--brand-text); }
.step h3 { font-size: 22px; margin-top: 18px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }

/* Dark services */
.panel-dark::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.5px) 0 0 / 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 45% 60% at 78% 50%, #000, transparent);
	mask-image: radial-gradient(ellipse 45% 60% at 78% 50%, #000, transparent);
}
.panel-dark .container { position: relative; }
.panel-dark .eyebrow { color: var(--brand); }
.dark-grid { max-width: 620px; }
.service-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.service-item { border-bottom: 1px solid rgba(255,255,255,.14); }
.service-head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 18px 0; background: none; border: 0; color: rgba(255,255,255,.62); font: inherit; text-align: left; cursor: pointer; transition: color .2s; }
.service-head .num { font-size: 13px; width: 24px; font-variant-numeric: tabular-nums; }
.service-head .name { font-size: 18px; font-weight: 500; flex: 1; }
.service-head .hint { font-size: 13.5px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; color: var(--brand); }
.service-item.is-open .service-head, .service-head:hover { color: #fff; }
.service-item.is-open .hint, .service-head:hover .hint { opacity: 1; transform: none; }
.service-item.is-open .num::before { content: "— "; }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.service-body > p { overflow: hidden; color: rgba(255,255,255,.7); font-size: 15px; padding-left: 42px; }
.service-item.is-open .service-body { grid-template-rows: 1fr; }
.service-item.is-open .service-body > p { padding-bottom: 20px; }

/* ---------- Industries ---------- */
.industries { padding: 112px 0 80px; }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind-card { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.ind-card:hover { background: var(--bg-soft); }
.ind-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); }
.ind-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ind-card h3 { font-size: 17px; margin-top: 22px; }
.ind-card p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.tag { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 999px; }
.ind-card:hover .tag { background: #fff; }

/* ---------- Posts ---------- */
.insights { padding: 40px 0 80px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.post-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.thumb-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ffefc4, #fec131); }
.post-meta { font-size: 13px; color: var(--muted); margin-top: 16px; }
.post-card h3 { font-size: 19px; margin-top: 6px; }
.post-card h3 a:hover { color: var(--brand-text); }
.post-card p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact { padding: 40px 0 96px; }
.contact-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, var(--brand-50), #fff 70%); border: 1px solid var(--line); border-radius: 28px; padding: 64px; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 16px; font-size: 15.5px; }
.contact-lines span { width: 64px; color: var(--muted); flex: none; }
.contact-lines a { color: var(--brand-text); font-weight: 500; }
.cta-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.cta-card h3 { font-size: 22px; }
.cta-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }

/* Basic form styling for form plugins */
.contact-action input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.contact-action textarea, .contact-action select {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.contact-action input[type=submit] { background: var(--brand); color: var(--ink); border: 0; border-radius: 999px; height: 48px; padding: 0 24px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Inner pages ---------- */
.page-head { padding: 80px 0 32px; }
.page-head .lead { margin-bottom: 28px; }
.page-body { padding: 0 0 96px; }
.entry-content { font-size: 17px; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { color: var(--ink); margin-top: 1.8em; }
.entry-content a { color: var(--brand-text); text-decoration: underline; }
.entry-thumb { border-radius: var(--radius); margin-bottom: 32px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pagination .current { background: var(--brand); color: var(--ink); border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); margin: 0 16px 16px; border-radius: 28px; padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.socials { display: flex; gap: 16px; margin-top: 18px; font-size: 14px; font-weight: 500; }
.socials a:hover, .footer-col a:hover { color: var(--brand-text); }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* Large desktops */
@media (min-width: 1600px) {
	:root { --container: 1360px; }
	.hero { padding: 96px 0 64px; }
	.hero-sub, .lead { font-size: 20px; }
}

/* Laptops with short screens (e.g. 1366x768, 1280x720) */
@media (min-width: 1025px) and (max-height: 820px) {
	.hero { padding: 40px 0 24px; }
	.hero-title { font-size: clamp(40px, 4.6vw, 62px); }
	.hero-sub { font-size: 17px; margin-top: 16px; }
	.hero-cta { margin-top: 24px; }
	.marquee { padding-top: 16px; }
	.fc-text { min-height: 190px; padding-bottom: 24px; }
	.fc-text h3 { font-size: clamp(24px, 2.2vw, 32px); }
	.fc-visual { height: 360px; }
	.panel { padding: 80px 0; }
}

@media (max-width: 1024px) {
	.header-inner { gap: 20px; }
	.search-pill { display: none; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.split, .contact-box { grid-template-columns: 1fr; }
	.contact-box { padding: 40px; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.ind-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
	.search-pill { width: 220px; }
	.header-inner { gap: 20px; }
}

@media (max-width: 860px) {
	.menu-toggle { display: block; }
	.main-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		background: rgba(255, 255, 255, .94);
		backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
		border-bottom: 1px solid var(--line);
		padding: 8px 16px 20px; display: none;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		box-shadow: 0 24px 40px -24px rgba(15, 18, 34, .25);
	}
	.menu-open .main-nav { display: block; animation: drop .25s ease; }
	@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
	.main-nav .nav-list { flex-direction: column; gap: 0; }
	.main-nav .nav-list > li { border-bottom: 1px solid var(--line); }
	.main-nav .nav-list > li > a, .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; }
	.main-nav .nav-list > li > a:hover, .nav-trigger:hover, .nav-item.is-open > .nav-trigger { background: none; }
	.mega, .mega.mega-sm { position: static; width: auto; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
	.nav-item.is-open > .mega { display: block; }
	.mega-panel { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; border-radius: 0; }
	.mega-cols { grid-template-columns: 1fr; padding: 0 0 12px; gap: 4px; }
	.mega-head { margin: 8px 0 4px 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
	.mega-link { padding: 10px 4px; }
	.mega-promo { border-radius: 14px; padding: 14px; margin-bottom: 14px; border: 0; }
	.promo-icon { width: 44px; height: 44px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 12px; margin: 0; }
	.nav-extra { display: grid; gap: 12px; margin-top: 18px; }
	.nav-extra .search-pill { display: flex; width: 100%; height: 50px; }
	.nav-extra .search-pill input { font-size: 16px; }
	.nav-extra .btn { color: var(--ink); height: 50px; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.header-actions .btn { display: none; }
	.hero { padding: 40px 0 24px; }
	.hero-sub { font-size: 17px; }
	.hero-cta .btn { flex: 1 1 100%; }
	.btn-row .btn { flex: 1 1 100%; }
	.feature-card { width: min(84vw, 340px); }
	.fc-text { padding: 0 20px 24px; min-height: 200px; }
	.fc-text h3 { font-size: 26px; }
	.fc-visual { height: 360px; }
	.panel { margin: 0 8px; padding: 64px 0; border-radius: 22px; }
	.panel-dark { margin-top: 8px; }
	.steps, .ind-grid, .post-grid { grid-template-columns: 1fr; }
	.step { padding: 22px; }
	.step h3 { margin-top: 10px; }
	.md-title { font-size: 13px; }
	.industries { padding: 72px 0 48px; }
	.ind-grid { margin-top: 32px; border-left: 0; }
	.ind-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 20px 0; border-right: 0; }
	.ind-card:hover { background: none; }
	.ind-icon { width: 48px; height: 48px; border-radius: 14px; grid-row: span 3; }
	.ind-icon svg { width: 23px; height: 23px; }
	.ind-card h3 { margin-top: 2px; }
	.ind-card .tag { margin-top: 10px; justify-self: start; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
	.footer-col ul { gap: 2px; }
	.footer-col a { display: inline-block; padding: 7px 0; }
	.contact-lines a { display: inline-block; padding: 4px 0; }
	.service-head .hint { display: none; }
	.service-body > p { padding-left: 0; }
	.contact-box { padding: 28px 20px; border-radius: 22px; }
	.site-footer { margin: 0 8px 8px; border-radius: 22px; padding: 56px 0 24px; }
	.footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.marquee { overflow-x: auto; }
	.js .reveal { opacity: 1; transform: none; }
	.receipt { transform: none; }
}
