/* ============================================
   HMI Library — Landing & App
   Paleta basada en ISA-101 (escala de grises industrial)
   ============================================ */

:root {
  /* Escala de grises ISA-101 (de claro a oscuro) */
  --g-50:  #F7F7F6;   /* fondo base */
  --g-100: #EFEEEC;   /* superficies */
  --g-150: #E5E4E1;   /* borde sutil */
  --g-200: #D7D6D2;   /* borde card */
  --g-300: #C8C8C8;   /* gris HMI canónico */
  --g-400: #A8A8A6;
  --g-500: #8A8A87;   /* texto secundario */
  --g-600: #6B6B68;
  --g-700: #4A4A47;   /* texto */
  --g-800: #2E2E2C;   /* heading */
  --g-900: #1A1A18;   /* máximo contraste */

  /* Colores de estado ISA-101 (sólo para acentos puntuales) */
  --p1: #D32F2F;
  --p2: #F57C00;
  --p3: #FBC02D;
  --p4: #1976D2;
  --run: #2E7D32;
  --stop: #9E9E9E;
  --disabled: #616161;

  /* Tokens de diseño */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow: 0 4px 14px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --header-h: 68px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--g-800);
  background: var(--g-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

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

/* ----------- HEADER / NAV ----------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,246,.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--g-150);
}
.nav-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--g-900);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--g-900);
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--g-50);
  font-size: 13px; font-weight: 700;
  font-family: var(--font-mono);
}
.nav-links {
  display: flex; gap: 4px; margin-left: 16px; flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--g-700);
  transition: all .15s;
}
.nav-link:hover { background: var(--g-100); color: var(--g-900); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--g-900); color: var(--g-50);
  border-color: var(--g-900);
}
.btn-primary:hover { background: var(--g-800); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--g-800);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--g-100); }
.btn-outline {
  background: transparent; color: var(--g-900);
  border-color: var(--g-300);
}
.btn-outline:hover { background: var(--g-100); border-color: var(--g-500); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-icon {
  width: 38px; height: 38px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--radius); color: var(--g-700);
  position: relative;
}
.btn-icon:hover { background: var(--g-100); }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--p1); color: white;
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
}

/* ----------- HERO ----------- */
.hero {
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--g-150) 1px, transparent 1px),
    linear-gradient(90deg, var(--g-150) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 30%, transparent 80%);
  opacity: .55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--g-100);
  border: 1px solid var(--g-200);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--g-700);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--run);
  box-shadow: 0 0 0 3px rgba(46,125,50,.15);
}
h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--g-900);
  margin: 20px 0 20px;
  text-wrap: balance;
}
h1 .accent { color: var(--g-500); font-weight: 600; }
.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--g-600);
  max-width: 540px;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--g-500);
}
.hero-meta strong { color: var(--g-800); font-weight: 600; }

/* ----------- HERO ART (panel HMI mock) ----------- */
.hmi-panel {
  background: var(--g-300);
  border: 1px solid var(--g-400);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.5);
  position: relative;
}
.hmi-titlebar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 8px 12px;
  border-bottom: 1px solid var(--g-400);
  font-family: var(--font-mono);
  font-size: 11px; color: var(--g-700);
  text-transform: uppercase; letter-spacing: .05em;
}
.hmi-titlebar .live {
  display: flex; align-items: center; gap: 6px;
}
.hmi-titlebar .live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--run); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}
.hmi-canvas {
  background: white;
  margin-top: 12px;
  border-radius: 6px;
  padding: 24px;
  min-height: 360px;
  position: relative;
}

/* ----------- SECTIONS ----------- */
section { padding: 80px 0; }
.section-head {
  text-align: center; margin-bottom: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-head .eyebrow { margin-bottom: 16px; }
h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; color: var(--g-900);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px; color: var(--g-600); margin: 0;
  text-wrap: pretty;
}

/* ----------- FEATURES ----------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--g-200);
  border: 1px solid var(--g-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: white;
  padding: 32px;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--g-100);
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--g-800);
}
.feature h3 {
  font-size: 17px; font-weight: 600;
  margin: 0 0 8px; color: var(--g-900);
}
.feature p {
  font-size: 14px; line-height: 1.6;
  color: var(--g-600); margin: 0;
}

/* ----------- PRICING ----------- */
.pricing-toggle {
  display: inline-flex;
  background: var(--g-100);
  border: 1px solid var(--g-200);
  padding: 4px;
  border-radius: 999px;
  margin: 0 auto 40px;
}
.pricing-toggle button {
  background: transparent; border: 0; padding: 8px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--g-600);
  border-radius: 999px;
  transition: all .15s;
}
.pricing-toggle button.active {
  background: white; color: var(--g-900);
  box-shadow: var(--shadow-sm);
}
.save-badge {
  display: inline-block; margin-left: 6px;
  font-size: 10px; font-family: var(--font-mono);
  background: var(--run); color: white;
  padding: 2px 6px; border-radius: 4px;
  font-weight: 700;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.plan {
  background: white;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .2s;
}
.plan:hover { border-color: var(--g-400); transform: translateY(-2px); }
.plan.featured {
  border: 2px solid var(--g-900);
  background: var(--g-900);
  color: var(--g-50);
}
.plan.featured h3, .plan.featured .price { color: white; }
.plan.featured .plan-desc { color: var(--g-300); }
.plan.featured li { color: var(--g-150); }
.plan.featured li svg { color: var(--run); }
.plan-tag {
  position: absolute; top: -10px; right: 16px;
  background: var(--p4); color: white;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.plan h3 {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--g-700); margin: 0 0 4px;
  font-family: var(--font-mono);
}
.plan-desc { font-size: 13px; color: var(--g-500); margin: 0 0 20px; min-height: 36px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; color: var(--g-900); }
.price-suffix { font-size: 14px; color: var(--g-500); }
.plan-billing { font-size: 12px; color: var(--g-500); margin: 0 0 24px; min-height: 18px; }
.plan ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.plan li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--g-700); line-height: 1.5;
}
.plan li svg { flex-shrink: 0; color: var(--run); margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }

/* ----------- DEMO STRIP ----------- */
.demo-strip {
  background: var(--g-900);
  color: var(--g-50);
  padding: 60px 0;
  text-align: center;
}
.demo-strip h2 { color: white; }
.demo-strip .section-sub { color: var(--g-300); }
.demo-strip .btn-primary { background: white; color: var(--g-900); border-color: white; }
.demo-strip .btn-primary:hover { background: var(--g-100); }

/* ----------- FAQ ----------- */
.faq {
  max-width: 760px; margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--g-200);
  padding: 20px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
  font-size: 16px; font-weight: 600; color: var(--g-900);
}
.faq-q .toggle { transition: transform .2s; color: var(--g-500); }
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  font-size: 15px; color: var(--g-600); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 240px; padding-top: 12px; }

/* ----------- FOOTER ----------- */
.footer {
  background: var(--g-100);
  border-top: 1px solid var(--g-200);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--g-700);
  font-family: var(--font-mono);
  margin: 0 0 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: var(--g-600);
  transition: color .15s;
}
.footer-links a:hover { color: var(--g-900); }
.footer-bottom {
  border-top: 1px solid var(--g-200);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--g-500);
}

/* ----------- MODAL ----------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,24,.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn .15s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 440px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp .2s ease-out;
}
@keyframes slideUp { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-wide { max-width: 640px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: transparent; border: 0;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--g-500);
}
.modal-close:hover { background: var(--g-100); color: var(--g-900); }
.modal h3 { font-size: 22px; margin: 0 0 6px; color: var(--g-900); letter-spacing: -0.01em; }
.modal-sub { font-size: 14px; color: var(--g-600); margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--g-700); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 10px 12px;
  font-size: 14px; font-family: inherit;
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  background: var(--g-50);
  transition: all .15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--g-900); background: white;
  box-shadow: 0 0 0 3px rgba(26,26,24,.08);
}
.field-row { display: flex; gap: 12px; }
.field-row > .field { flex: 1; }
.modal .btn-primary { width: 100%; justify-content: center; padding: 12px; }
.modal-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; font-size: 12px; color: var(--g-500);
  text-transform: uppercase; letter-spacing: .08em;
  font-family: var(--font-mono);
}
.modal-divider::before, .modal-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--g-200);
}
.modal-foot { font-size: 13px; color: var(--g-500); text-align: center; margin-top: 18px; }
.modal-foot a { color: var(--g-900); font-weight: 600; }

/* ----------- DROPDOWN ----------- */
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white;
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px;
  z-index: 60;
  animation: fadeIn .12s;
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0; background: transparent;
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--g-800);
  text-align: left;
}
.dropdown-item:hover { background: var(--g-100); }
.dropdown-item.danger { color: var(--p1); }
.dropdown-divider { height: 1px; background: var(--g-150); margin: 6px 4px; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  background: transparent;
  border: 1px solid var(--g-200);
  border-radius: 999px;
  position: relative;
}
.user-menu-btn:hover { background: var(--g-100); }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--g-900); color: var(--g-50);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  font-family: var(--font-mono);
}

/* ----------- CART DRAWER ----------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,24,.4);
  z-index: 100;
  animation: fadeIn .15s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: white;
  z-index: 101;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideLeft .2s ease-out;
}
@keyframes slideLeft { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--g-150);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-head h3 { margin: 0; font-size: 17px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--g-150);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-thumb {
  width: 52px; height: 52px;
  background: var(--g-100);
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  color: var(--g-700);
}
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--g-900); margin: 0 0 2px; }
.cart-item-meta { font-size: 12px; color: var(--g-500); margin: 0 0 6px; }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--g-900); }
.cart-item-remove {
  border: 0; background: transparent;
  color: var(--g-500); font-size: 12px;
  padding: 4px 0; align-self: flex-start;
}
.cart-item-remove:hover { color: var(--p1); }
.cart-empty {
  text-align: center; padding: 60px 24px;
  color: var(--g-500);
}
.cart-empty svg { color: var(--g-300); margin: 0 auto 16px; }
.drawer-foot {
  border-top: 1px solid var(--g-150);
  padding: 20px 24px;
  background: var(--g-50);
}
.cart-total {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 600;
  margin-bottom: 14px;
}
.cart-total .price { font-size: 20px; }

/* ----------- LANG SWITCHER ----------- */
.lang-switcher { position: relative; }
.lang-btn {
  background: transparent; border: 1px solid var(--g-200);
  padding: 7px 12px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  color: var(--g-700);
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.lang-btn:hover { background: var(--g-100); }

/* ----------- DASHBOARD / PROFILE ----------- */
.dash {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 32px; padding: 40px 0;
}
.dash-side {
  background: white;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-lg);
  padding: 8px;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.dash-side button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  border: 0; background: transparent;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  color: var(--g-700); text-align: left;
}
.dash-side button:hover { background: var(--g-100); }
.dash-side button.active {
  background: var(--g-900); color: white;
}
.dash-main {
  background: white;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 500px;
}
.dash-main h2 { font-size: 24px; margin: 0 0 6px; }
.dash-main .section-sub { font-size: 14px; margin: 0 0 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.stat {
  background: var(--g-50);
  border: 1px solid var(--g-200);
  border-radius: var(--radius);
  padding: 18px;
}
.stat .label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--g-500); font-family: var(--font-mono);
  margin-bottom: 6px;
}
.stat .value {
  font-size: 28px; font-weight: 700;
  color: var(--g-900); letter-spacing: -0.02em;
}
.stat .delta { font-size: 12px; color: var(--run); margin-top: 2px; }

.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th, .dl-table td {
  text-align: left; padding: 12px 8px;
  font-size: 14px;
  border-bottom: 1px solid var(--g-150);
}
.dl-table th {
  font-weight: 600; color: var(--g-600);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .05em;
  font-family: var(--font-mono);
}
.dl-table td .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  font-family: var(--font-mono);
}
.badge-active { background: rgba(46,125,50,.12); color: var(--run); }
.badge-trial { background: rgba(25,118,210,.12); color: var(--p4); }

/* ----------- TOAST ----------- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--g-900); color: white;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn .25s ease-out;
  display: flex; align-items: center; gap: 10px;
}
.toast.success { background: var(--run); }
.toast.error { background: var(--p1); }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ----------- RESPONSIVE ----------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .nav-links { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  section { padding: 56px 0; }
}
