/* ==========================================================================
   PrintPOS BD — Compiled Stylesheet (Auto-Generated via build.mjs)
   DO NOT EDIT THIS COMPILED FILE DIRECTLY. EDIT SRC PARTIALS INSTEAD.
   ========================================================================== */

/* --- Start of tokens.css --- */
/**
 * Shared Design Tokens & Global Variables
 * Universal font definitions, animations, and baseline geometric tokens
 */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-bengali: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* --- Start of tokens.css --- */
/* ==========================================================================
   PrintPOS BD — Landing Design Tokens & Themes
   ========================================================================== */
:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-gray: #f1f5f9;
  --bg-gray-dark: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-sub: #64748b;
  
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-strong: #cbd5e1;
  
  --primary: #00a6d6;
  --primary-hover: #008eb7;
  --primary-dark: #006685;
  --primary-light: #e0f7fd;
  --primary-glow: rgba(0, 166, 214, 0.2);
  
  --green: #16a34a;
  --green-hover: #15803d;
  --green-dark: #006d2f;
  --green-light: #dcfce7;
  --green-text: #166534;
  
  --red: #ba1a1a;
  --red-light: #ffdad6;
  --red-text: #991b1b;
  
  --amber: #d97706;
  --amber-light: #fef3c7;
  --amber-text: #92400e;
  
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  
  --font-main: 'Inter', 'Noto Sans Bengali', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;

  /* App.css UI & Touch Target Primitives (WCAG 2.5.5) */
  --tap: 44px;

  /* Header & Sticky Stack Geometry */
  --header-height: 64px;
  --stack-top: var(--header-height);
  --stack-step: 14px;
  --stack-card-gap: 32px;

  /* App.css theme variable aliases */
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --txt: #0f172a;
  --txt-2: #334155;
  --txt-3: #64748b;
  --accent: #00a6d6;
  --accent-2: #008eb7;
}

@media (min-width: 640px) {
  :root {
    --header-height: 72px;
    --stack-top: var(--header-height);
    --stack-step: 16px;
    --stack-card-gap: 40px;
  }
}

/* Dark Theme Support — Reusing palette from public/css/app.css */
:root[data-theme="dark"],
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-canvas: #0a0c0f;
    --bg-subtle: #101318;
    --bg-card: #151920;
    --bg-gray: #1b2029;
    --bg-gray-dark: #242a34;

    --text-main: #eef1f6;
    --text-muted: #9aa5b6;
    --text-sub: #8792a6;

    --border: #242a34;
    --border-subtle: #1b2029;
    --border-strong: #333b49;

    --bg: #0a0c0f;
    --bg-2: #101318;
    --panel: #151920;
    --panel-2: #1b2029;
    --line: #242a34;
    --line-2: #333b49;
    --txt: #eef1f6;
    --txt-2: #9aa5b6;
    --txt-3: #8792a6;
    color-scheme: dark;
  }
}

/* --- Start of reset.css --- */
/**
 * Shared Modern CSS Reset
 * Clean baseline across all modern browsers
 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img, svg, iframe, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* --- Start of base.css --- */
/* ==========================================================================
   Base Layout, Reset & Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.55;
  font-size: 15px;
  /* Use overflow-x: clip instead of overflow-x: hidden.
     overflow-x: hidden creates an ancestor scroll container that breaks position: sticky.
     overflow-x: clip prevents horizontal scrolling without trapping sticky descendants. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

::selection {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Material Symbols icon helper */
.icon {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* --- Start of buttons.css --- */
/* ==========================================================================
   Buttons & Action Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--text-main);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover {
  background-color: #1e293b;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-green {
  background-color: var(--green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
.btn-green:hover {
  background-color: var(--green-hover);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}

.btn-outline-green {
  background-color: #ffffff;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-outline-green:hover {
  background-color: var(--green-light);
  color: var(--green-text);
  border-color: var(--green-dark);
}

.btn-outline-dark {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-strong);
}
.btn-outline-dark:hover {
  border-color: var(--text-main);
  background-color: var(--bg-subtle);
}

.btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
  .btn-lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 16px;
  }
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--radius-md);
}

@media (min-width: 640px) {
  .btn-sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13.5px;
  }
}

/* --- Start of header.css --- */
/* ==========================================================================
   Site Header & Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height, 64px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--duration-normal) var(--ease-standard);
}

@media (min-width: 640px) {
  .site-header {
    height: var(--header-height, 72px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo-img {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: block;
}

@media (min-width: 640px) {
  .brand-logo {
    font-size: 20px;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 860px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--duration-fast) var(--ease-standard);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 12px;
  }
}

/* --- Start of hero.css --- */
/* ==========================================================================
   Hero Section & Interactive App Mockup
   ========================================================================== */
.site-main {
  padding-top: 72px;
  min-height: calc(100vh - 140px);
}

@media (min-width: 640px) {
  .site-main {
    padding-top: 84px;
  }
}

.hero-section {
  padding-top: 32px;
  padding-bottom: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-gray);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 100%;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .pill-badge {
    font-size: 13px;
    padding: 6px 18px;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
  animation: pulse 2s infinite ease-in-out;
}

.hero-title {
  font-size: clamp(26px, 5.2vw, 48px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--text-main);
  max-width: 880px;
  margin-bottom: 16px;
  word-break: break-word;
}

.hero-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #00a6d6 0%, #006685 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(14.5px, 2.5vw, 17.5px);
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-cta-box .btn-lg {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 640px) {
  .hero-cta-box .btn-lg {
    width: auto;
  }
}

.hero-caption {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Hero Video Showcase Container
   -------------------------------------------------------------------------- */
.hero-video-wrapper {
  width: 100%;
  max-width: 1060px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 50% 0%, rgba(0, 166, 214, 0.08) 0%, rgba(255, 255, 255, 0.95) 70%);
  padding: 6px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard);
}

@media (min-width: 768px) {
  .hero-video-wrapper {
    padding: 10px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  }
}

.hero-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0d10;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .hero-video-container {
    border-radius: calc(var(--radius-2xl) - 6px);
  }
}

.hero-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background-color: #0b0d10;
  border-radius: inherit;
  transition: opacity var(--duration-normal) var(--ease-standard);
}

/* Fallback Mockup Classes (for backward-compatibility) */
.mockup-wrapper {
  width: 100%;
  max-width: 1060px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background-color: #ffffff;
  padding: 8px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

/* --- Start of features.css --- */
/* ==========================================================================
   Features Grid & Interactive Previews
   ========================================================================== */
.section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 52px;
  }
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.section-subtitle {
  font-size: clamp(14px, 2.5vw, 16px);
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.55;
}

.feature-cards-grid {
  display: flex;
  flex-direction: column;
  position: relative;
  /* Crucial: NO overflow property on this container to preserve position: sticky */
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  background-color: var(--panel, var(--bg-card, #ffffff));
  background: var(--panel, var(--bg-card, #ffffff)); /* Opaque background so underlying cards are fully masked */
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Sticky Stacking Cards Engine */
.feature-card.sticky-card {
  position: sticky;
  top: calc(var(--stack-top, 64px) + var(--stack-index, 0) * var(--stack-step, 14px));
  z-index: calc(10 + var(--stack-index, 0));
  transform-origin: top center;
  will-change: transform;
  /* Use 100svh (Small Viewport Height) so mobile browser address bar / chrome does not clip cards */
  max-height: calc(100svh - var(--stack-top, 64px) - 18px);
  overflow-y: auto;
  scrollbar-width: thin;
  /* Natural scroll clearance between stacked cards */
  margin-bottom: min(28svh, 190px);
}

.feature-card.sticky-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .feature-card {
    padding: 26px 24px;
    border-radius: var(--radius-2xl);
    gap: 24px;
  }
  .feature-card.sticky-card {
    top: calc(var(--stack-top, 72px) + var(--stack-index, 0) * var(--stack-step, 16px));
    max-height: calc(100svh - var(--stack-top, 72px) - 24px);
    margin-bottom: min(32svh, 240px);
  }
}

@media (min-width: 768px) {
  .feature-card.sticky-card {
    margin-bottom: min(36svh, 280px);
  }
}

/* Reduced Motion: Disable depth scaling transforms while retaining clean sticky layering */
@media (prefers-reduced-motion: reduce) {
  .feature-card.sticky-card {
    transform: none !important;
    transition: none !important;
  }
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .feature-card {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    padding: 36px;
  }
  
  .feature-card.reverse-layout {
    grid-template-columns: 7fr 5fr;
  }
  .feature-card.reverse-layout .feature-content {
    order: 2;
  }
  .feature-card.reverse-layout .feature-preview {
    order: 1;
  }
}

.feature-icon-box {
  width: var(--tap, 44px);
  height: var(--tap, 44px);
  min-width: var(--tap, 44px);
  min-height: var(--tap, 44px);
  border-radius: var(--radius-lg);
  background-color: var(--primary-light);
  border: 1px solid var(--primary-glow);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .feature-icon-box {
    width: 52px;
    height: 52px;
  }
}

.feature-heading {
  font-size: clamp(20px, 3.5vw, 25px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: clamp(14px, 2.2vw, 15px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li .icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-preview {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .feature-preview {
    border-radius: var(--radius-xl);
    padding: 24px;
  }
}

/* Feature Preview Internal Components */
.feature-preview-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

@media (min-width: 640px) {
  .feature-preview-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.feature-preview-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.feature-preview-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

@media (min-width: 640px) {
  .feature-preview-title {
    font-size: 15px;
  }
}

.feature-preview-badge {
  background: var(--text-main);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.feature-preview-sub {
  font-size: 12px;
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.feature-preview-sub-primary {
  font-size: 12px;
  color: var(--primary-dark);
  font-weight: 600;
}

.feature-preview-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-pill {
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .preview-pill {
    padding: 4px 12px;
    font-size: 12px;
  }
}

.preview-pill.primary {
  background: var(--primary);
  color: #fff;
}
.preview-pill.outline {
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-main);
}
.preview-pill.success {
  background: var(--green-light);
  color: var(--green-text);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.feature-stat-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 14px 0;
}

@media (min-width: 480px) {
  .feature-stat-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
  }
}

.stat-card {
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-card-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.feature-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-gray);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.feature-total-bar.plain {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  padding: 12px 0 0 0;
  border-radius: 0;
}

.feature-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.feature-total-val {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-mono);
}

.feature-total-val.red {
  color: var(--red);
}

.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: var(--tap, 44px);
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.ledger-name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-main);
  display: block;
}

.ledger-sub {
  font-size: 11.5px;
  color: var(--text-sub);
  display: block;
}

.ledger-right {
  text-align: right;
  flex-shrink: 0;
}

.ledger-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  display: block;
}
.ledger-amount.red { color: var(--red); }
.ledger-amount.green { color: var(--green-dark); }

.pipeline-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

@media (min-width: 640px) {
  .pipeline-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.pipeline-col {
  background: var(--bg-subtle);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.pipeline-col.active-cmyk {
  border-color: var(--primary);
  background: var(--primary-light);
}

.pipeline-col-title {
  font-size: 11.5px;
  font-weight: 700;
  display: block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.pipeline-col-title.primary { color: var(--primary-dark); border-bottom-color: var(--primary); }
.pipeline-col-title.success { color: var(--green-text); }

.pipeline-card {
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.pipeline-card.border-primary { border-color: var(--primary); }
.pipeline-card.border-green { border-color: rgba(0, 109, 47, 0.4); }
.pipeline-card.border-success { border-color: var(--green); }

.pipeline-job-id {
  font-size: 9.5px;
  color: var(--text-sub);
  display: block;
  font-family: var(--font-mono);
}

.pipeline-job-status {
  font-size: 9.5px;
  display: block;
  font-family: var(--font-mono);
}
.pipeline-job-status.primary { color: var(--primary); }
.pipeline-job-status.green { color: var(--green-dark); }
.pipeline-job-status.success { color: var(--green); font-weight: 700; }

.pipeline-job-title {
  font-size: 11.5px;
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Feature Video Player Styles
   ========================================================================== */
.feature-preview.feature-preview-video {
  padding: 0;
  overflow: hidden;
  background-color: #0b0d10;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-preview.feature-preview-video:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.video-container {
  width: 100%;
  height: 100%;
  min-height: var(--tap, 44px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0d10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.feature-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  background-color: #0b0d10;
  transition: opacity var(--duration-normal) var(--ease-standard);
}

/* --- Start of testimonials.css --- */
/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-standard);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 28px;
  }
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* --- Start of pricing.css --- */
/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .pricing-card.yearly {
    order: 2;
  }
  .pricing-card.free-trial {
    order: 1;
  }
  .pricing-card.monthly {
    order: 3;
  }
}

@media (max-width: 767px) {
  .pricing-card.yearly {
    order: 1;
  }
  .pricing-card.monthly {
    order: 2;
  }
  .pricing-card.free-trial {
    order: 3;
  }
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
}

@media (min-width: 640px) {
  .pricing-card {
    padding: 28px;
    border-radius: var(--radius-2xl);
  }
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.yearly {
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 166, 214, 0.15);
  position: relative;
  padding: 26px;
}

@media (min-width: 640px) {
  .pricing-card.yearly {
    padding: 32px;
  }
}

.popular-badge {
  display: inline-block;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: block;
}

.pricing-plan-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.pricing-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

@media (min-width: 640px) {
  .pricing-price {
    font-size: 38px;
  }
}

.pricing-card.yearly .pricing-price {
  color: var(--primary);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-sub);
}

.pricing-savings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.strike {
  text-decoration: line-through;
  opacity: 0.7;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text-main);
}

@media (min-width: 640px) {
  .pricing-features {
    font-size: 14px;
    gap: 14px;
    margin-bottom: 32px;
  }
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li .icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

/* --- Start of download.css --- */
/* ==========================================================================
   Download Page Specific Styles
   ========================================================================== */
.download-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
  text-align: left;
}

@media (min-width: 1024px) {
  .download-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    margin-bottom: 56px;
  }
}

.download-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.download-action-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .download-action-card {
    border-radius: var(--radius-2xl);
    padding: 28px;
    gap: 24px;
  }
}

.binary-specs-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
  .binary-specs-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-radius: var(--radius-xl);
  }
}

.binary-specs-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.binary-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .binary-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
  }
}

.binary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

@media (min-width: 640px) {
  .binary-title {
    font-size: 17.5px;
  }
}

.binary-meta {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 2px;
}

.all-versions-link {
  font-size: 12.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  transition: all var(--duration-fast) var(--ease-standard);
}

.all-versions-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.download-buttons-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .download-buttons-row {
    flex-direction: row;
  }
  .download-buttons-row .btn {
    flex: 1;
  }
}

.smartscreen-callout {
  background: var(--green-light);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--green-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.security-badges-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 4px;
}

@media (min-width: 480px) {
  .security-badges-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.security-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.sys-req-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .sys-req-box {
    padding: 24px;
    border-radius: var(--radius-xl);
  }
}

.sys-req-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sys-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .sys-req-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.sys-req-label {
  font-size: 11.5px;
  color: var(--text-sub);
  display: block;
}

.sys-req-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-top: 2px;
}

@media (min-width: 640px) {
  .sys-req-val {
    font-size: 14px;
  }
}

.download-hero-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.video-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 166, 214, 0.4);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
}

.video-caption-bar {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background-color: #ffffff;
  border-top: 1px solid var(--border);
}

.support-banner-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .support-banner-card {
    padding: 24px;
    border-radius: var(--radius-xl);
  }
}

.support-banner-header {
  display: flex;
  gap: 14px;
}

.support-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--green-light);
  color: var(--green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-banner-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

@media (min-width: 640px) {
  .support-banner-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   4-Step Installation Guide
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-standard);
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .step-card {
    padding: 24px;
    border-radius: var(--radius-xl);
  }
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.step-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-sub);
}

/* --- Start of faq.css --- */
/* ==========================================================================
   PrintPOS BD — FAQ Page Styles (Responsive & Clean)
   ========================================================================== */
.faq-main-wrapper {
  background-color: var(--bg-subtle);
  min-height: calc(100vh - 200px);
}

.faq-header {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .faq-grid {
    gap: 24px;
  }
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-standard);
}

.faq-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 40px;
  margin: 0;
}

@media (max-width: 640px) {
  .faq-question {
    font-size: 16px;
    gap: 10px;
  }
  
  .faq-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .faq-answer {
    padding-left: 0;
    margin-top: 8px;
    font-size: 14.5px;
  }
}

.faq-cta-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px 24px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .faq-cta-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 36px 36px;
  }
  
  .faq-cta-content {
    max-width: 520px;
  }
}

.faq-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-cta-desc {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --- Start of tools.css --- */
/* ==========================================================================
   PrintPOS BD — Free Tools Suite Stylesheet (Vanilla CSS)
   Compliant with AGENTS.md, docs/DESIGN.md & strict Vercel CSP
   ========================================================================== */

:root {
  /* Surface & Container Tokens */
  --t-surface: #fcf8f8;
  --t-surface-dim: #dcd9d9;
  --t-surface-bright: #ffffff;
  --t-surface-lowest: #ffffff;
  --t-surface-low: #f6f3f2;
  --t-surface-container: #f0edec;
  --t-surface-high: #ebe7e7;
  --t-surface-highest: #e5e2e1;
  
  /* Text & Foreground */
  --t-on-surface: #1c1b1b;
  --t-on-surface-variant: #414754;
  --t-inverse-surface: #313030;
  --t-inverse-on-surface: #f3f0ef;
  --t-outline: #727786;
  --t-outline-variant: #c1c6d7;
  
  /* Brand Accents */
  --t-primary: #0058c3;
  --t-primary-container: #0070f3;
  --t-on-primary: #ffffff;
  --t-primary-fixed: #d8e2ff;
  --t-on-primary-fixed: #001a43;
  
  /* Secondary & Status */
  --t-secondary: #b5242f;
  --t-secondary-container: #fe5a5d;
  --t-on-secondary: #ffffff;
  --t-error: #ba1a1a;
  --t-error-container: #ffdad6;
  --t-on-error: #ffffff;
  --t-success: #059669;
  --t-success-bg: #ecfdf5;
  
  /* Spacing */
  --t-space-xs: 0.25rem;
  --t-space-sm: 0.5rem;
  --t-space-md: 1rem;
  --t-space-lg: 1.5rem;
  --t-space-xl: 2.5rem;
  --t-gutter: 1.5rem;
  --t-gutter-mobile: 1rem;
  --t-max-width: 1120px;
  
  /* Radii */
  --t-radius-sm: 0.25rem;
  --t-radius-md: 0.5rem;
  --t-radius-lg: 0.75rem;
  --t-radius-xl: 1rem;
  --t-radius-full: 9999px;
  
  /* Typography */
  --t-font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --t-font-mono: 'Space Mono', monospace;
  --t-font-bn: 'Noto Sans Bengali', 'Noto Sans', sans-serif;
  
  /* Shadows */
  --t-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --t-shadow-md: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
  --t-shadow-focus: 0 0 0 2px var(--t-surface-lowest), 0 0 0 4px var(--t-primary-container);
}

/* Dark theme overrides */
[data-theme="dark"] {
  --t-surface: #101419;
  --t-surface-dim: #0a0e13;
  --t-surface-bright: #1c2025;
  --t-surface-lowest: #14181f;
  --t-surface-low: #181d24;
  --t-surface-container: #202630;
  --t-surface-high: #28303d;
  --t-surface-highest: #323b4b;
  --t-on-surface: #eef1f6;
  --t-on-surface-variant: #9aa5b6;
  --t-inverse-surface: #ffffff;
  --t-inverse-on-surface: #1c1b1b;
  --t-outline: #6e798f;
  --t-outline-variant: #404b5c;
  --t-primary: #4da3ff;
  --t-primary-container: #0070f3;
  --t-primary-fixed: #1e3a5f;
  --t-on-primary-fixed: #d8e2ff;
  --t-secondary: #ff6b6b;
}

/* Base resets & layout */
.tools-wrapper {
  background-color: var(--t-surface);
  color: var(--t-on-surface);
  font-family: var(--t-font-sans);
  min-height: 100vh;
  padding-top: calc(var(--header-height, 72px) + 36px);
  padding-bottom: var(--t-space-xl);
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .tools-wrapper {
    padding-top: calc(var(--header-height, 64px) + 28px);
  }
}

.flex-col {
  display: flex !important;
  flex-direction: column !important;
}

.tools-container {
  max-width: var(--t-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--t-gutter-mobile);
  padding-right: var(--t-gutter-mobile);
}

@media (min-width: 768px) {
  .tools-container {
    padding-left: var(--t-gutter);
    padding-right: var(--t-gutter);
  }
}

/* Breadcrumbs */
.tools-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--t-space-xs);
  font-family: var(--t-font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--t-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--t-space-md);
}

.tools-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tools-breadcrumb a:hover {
  color: var(--t-primary);
}

.tools-breadcrumb .sep {
  color: var(--t-outline-variant);
}

.tools-breadcrumb .active {
  color: var(--t-on-surface);
  font-weight: 600;
}

/* Header & Titles */
.tools-header {
  margin-bottom: var(--t-space-lg);
}

.tools-title-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--t-space-sm);
}

@media (min-width: 768px) {
  .tools-title-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.tools-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--t-on-surface);
  margin: 0;
}

.tools-subtitle-bn {
  font-family: var(--t-font-bn);
  font-size: 14px;
  line-height: 22px;
  color: var(--t-primary);
  font-weight: 500;
  margin-top: 2px;
}

.tools-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--t-on-surface-variant);
  max-w: 720px;
  margin-top: var(--t-space-xs);
  margin-bottom: 0;
}

.tools-header-actions {
  display: flex;
  align-items: center;
  gap: var(--t-space-xs);
  flex-shrink: 0;
}

/* Engine split layout: 7 cols vs 5 cols */
.tools-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--t-gutter);
  align-items: start;
  margin-bottom: var(--t-space-xl);
}

@media (min-width: 1024px) {
  .tools-grid-layout {
    grid-template-columns: 7fr 5fr;
  }
}

/* Cards & Panels */
.tool-panel {
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-lg);
  box-shadow: var(--t-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--t-space-lg);
}

.tool-panel-low {
  background-color: var(--t-surface-low);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-lg);
  box-shadow: var(--t-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--t-space-md);
}

.tool-section {
  display: flex;
  flex-direction: column;
  gap: var(--t-space-sm);
}

.tool-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--t-space-xs);
  border-bottom: 1px solid var(--t-surface-high);
}

.tool-section-title {
  display: flex;
  align-items: center;
  gap: var(--t-space-xs);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--t-on-surface);
}

.tool-step-badge {
  font-family: var(--t-font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  background-color: var(--t-surface-container);
  color: var(--t-on-surface);
  border-radius: var(--t-radius-sm);
}

.tool-section-bn {
  font-family: var(--t-font-bn);
  font-size: 12px;
  line-height: 18px;
  color: var(--t-on-surface-variant);
}

/* Form Controls */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--t-on-surface-variant);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field-input-box {
  height: 40px;
  display: flex;
  align-items: center;
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-md);
  overflow: hidden;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
}

.field-input-box:focus-within {
  border-color: var(--t-primary-container);
  box-shadow: var(--t-shadow-focus);
}

.field-input {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  font-family: var(--t-font-mono);
  font-size: 13px;
  color: var(--t-on-surface);
  background: transparent;
  border: none;
  outline: none;
}

.field-input-text {
  font-family: var(--t-font-sans);
  font-size: 14px;
}

textarea.field-input,
.field-textarea {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-md);
  padding: 12px;
  font-family: var(--t-font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--t-on-surface);
  outline: none;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
}

textarea.field-input:focus,
.field-textarea:focus {
  border-color: var(--t-primary-container);
  box-shadow: var(--t-shadow-focus);
}

.field-unit-addon {
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: var(--t-surface-low);
  border-left: 1px solid var(--t-surface-highest);
  font-family: var(--t-font-mono);
  font-size: 11px;
  color: var(--t-on-surface-variant);
  flex-shrink: 0;
}

.field-select-box {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 12px;
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-md);
  font-size: 14px;
  color: var(--t-on-surface);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23727786' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
}

.field-select-box:focus {
  border-color: var(--t-primary-container);
  box-shadow: var(--t-shadow-focus);
}

/* Grid columns for forms */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--t-space-sm);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--t-space-sm);
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--t-space-xs);
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Buttons */
.btn-primary {
  height: 40px;
  padding: 0 20px;
  background-color: var(--t-on-surface);
  color: var(--t-surface-lowest);
  border: 1px solid transparent;
  border-radius: var(--t-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--t-inverse-surface);
  transform: translateY(-1px);
}

.btn-secondary {
  height: 40px;
  padding: 0 16px;
  background-color: var(--t-surface-container);
  color: var(--t-on-surface);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--t-surface-high);
}

.btn-blue {
  height: 40px;
  padding: 0 20px;
  background-color: var(--t-primary-container);
  color: #ffffff;
  border: none;
  border-radius: var(--t-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-blue:hover {
  background-color: var(--t-primary);
}

.btn-sm {
  height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

/* Readout Cards (Right Column) */
.stat-card {
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  padding: 12px;
  border-radius: var(--t-radius-md);
  box-shadow: var(--t-shadow-sm);
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--t-on-surface-variant);
}

.stat-val-lg {
  font-family: var(--t-font-mono);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  color: var(--t-on-surface);
  letter-spacing: -0.02em;
}

.stat-val-md {
  font-family: var(--t-font-mono);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--t-on-surface);
}

.stat-unit {
  font-family: var(--t-font-mono);
  font-size: 11px;
  color: var(--t-on-surface-variant);
  font-weight: 400;
  margin-left: 4px;
}

.stat-sub-bn {
  font-family: var(--t-font-bn);
  font-size: 11px;
  color: var(--t-on-surface-variant);
  margin-top: 2px;
}

/* Badge components */
.badge-blue {
  padding: 2px 8px;
  border-radius: var(--t-radius-full);
  font-family: var(--t-font-mono);
  font-size: 11px;
  font-weight: 700;
  background-color: var(--t-surface-lowest);
  color: var(--t-primary);
  border: 1px solid var(--t-primary-fixed);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--t-radius-sm);
  font-family: var(--t-font-mono);
  font-size: 11px;
  background-color: var(--t-surface-container);
  color: var(--t-on-surface-variant);
}

/* Hub Tool Cards Grid */
.tools-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--t-gutter);
  margin-bottom: var(--t-space-xl);
}

@media (min-width: 640px) {
  .tools-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tools-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-tool-card {
  position: relative;
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--t-shadow-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.hub-tool-card:hover {
  border-color: var(--t-primary-container);
  box-shadow: var(--t-shadow-md);
  transform: translateY(-2px);
}

.hub-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--t-radius-md);
  background-color: var(--t-surface-low);
  border: 1px solid var(--t-surface-highest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-on-surface);
  transition: all 0.15s ease;
}

.hub-tool-card:hover .hub-card-icon {
  background-color: var(--t-primary-fixed);
  color: var(--t-primary);
}

.hub-card-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--t-on-surface);
  margin: 0;
  transition: color 0.15s ease;
}

.hub-tool-card:hover .hub-card-title {
  color: var(--t-primary);
}

.hub-card-bn {
  font-family: var(--t-font-bn);
  font-size: 12px;
  line-height: 18px;
  color: var(--t-outline);
  display: block;
  margin-top: 2px;
}

.hub-card-desc {
  font-size: 13px;
  line-height: 20px;
  color: var(--t-on-surface-variant);
  margin-top: 8px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-card-footer {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--t-surface-highest);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hub-card-category {
  font-family: var(--t-font-mono);
  font-size: 11px;
  color: var(--t-outline);
  text-transform: uppercase;
}

.hub-card-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--t-on-surface);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.hub-tool-card:hover .hub-card-cta {
  color: var(--t-primary);
  transform: translateX(2px);
}

/* Explanatory Technical Bento Block */
.tools-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--t-gutter);
  margin-top: var(--t-space-xl);
}

@media (min-width: 768px) {
  .tools-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background-color: var(--t-surface-lowest);
  border: 1px solid var(--t-surface-highest);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-lg);
  box-shadow: var(--t-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--t-space-md);
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: var(--t-space-xs);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--t-on-surface);
  margin: 0;
}

/* Call to action marketing banner */
.tools-cta-banner {
  margin-top: var(--t-space-xl);
  background-color: var(--t-on-surface);
  color: var(--t-surface-lowest);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--t-space-lg);
  box-shadow: var(--t-shadow-sm);
}

@media (min-width: 768px) {
  .tools-cta-banner {
    flex-direction: row;
    align-items: center;
    padding: var(--t-space-xl);
  }
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  gap: var(--t-space-xs);
  max-width: 620px;
}

.cta-banner-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: var(--t-surface-lowest);
  margin: 0;
}

.cta-banner-text {
  font-size: 14px;
  line-height: 22px;
  color: var(--t-surface-highest);
  margin: 0;
}

/* Utility strip footer */
.tools-footer-strip {
  margin-top: var(--t-space-lg);
  padding-top: var(--t-space-md);
  border-top: 1px solid var(--t-surface-highest);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--t-space-md);
  font-family: var(--t-font-mono);
  font-size: 11px;
  color: var(--t-on-surface-variant);
}

.tools-footer-links {
  display: flex;
  align-items: center;
  gap: var(--t-space-md);
}

.tools-footer-links a,
.tools-footer-links button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  padding: 0;
}

.tools-footer-links a:hover,
.tools-footer-links button:hover {
  color: var(--t-on-surface);
}

/* Print CSS */
@media print {
  .site-header,
  .site-footer,
  .tools-breadcrumb,
  .tools-footer-strip,
  .tools-header-actions,
  .tools-cta-banner,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }
  
  .tools-wrapper {
    padding: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }

  .tool-panel,
  .tool-panel-low,
  .stat-card {
    border: 1px solid #000000 !important;
    box-shadow: none !important;
  }
}

/* --- Start of footer.css --- */
/* ==========================================================================
   Site Footer & Navigation Links
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background-color: #ffffff;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 40px 0;
    margin-top: 64px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 13.5px;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-sub);
}

@media (min-width: 640px) {
  .footer-links {
    gap: 24px;
    font-size: 14px;
  }
}

.footer-links a:hover {
  color: var(--primary);
}

/* --- Start of responsive.css --- */
/* ==========================================================================
   Responsive Utilities & Fine-Grained Mobile Enhancements
   ========================================================================== */
@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
    letter-spacing: -0.02em;
  }
  
  .mockup-wrapper {
    padding: 6px;
    border-radius: var(--radius-lg);
  }
  
  .mockup-canvas {
    padding: 12px;
  }
  
  .feature-card {
    padding: 16px;
  }

  .stat-card {
    padding: 10px;
  }

  .btn-lg {
    width: 100%;
  }

  .header-actions .btn-sm {
    padding: 0 10px;
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  .brand-logo span {
    display: none;
  }
}

