/* Minitank Technologies — Enterprise White Theme */

/* ── Brand Tokens ── */
:root {
  --mt-red: #E31B23;
  --mt-red-dark: #C41018;
  --mt-red-light: #FEE8E9;
  --mt-navy: #0A1628;
  --mt-navy-light: #1B2A45;
  --mt-white: #FFFFFF;
  --mt-off-white: #F8F9FC;
  --mt-grey-50: #F1F3F8;
  --mt-grey-100: #E4E7EE;
  --mt-grey-200: #C8CDD8;
  --mt-grey-300: #9BA3B5;
  --mt-grey-600: #4A5568;
  --mt-grey-700: #2D3748;
  --mt-grey-800: #1A202C;
  --mt-blue: #2563EB;
  --mt-blue-light: #EBF1FF;
  --mt-green: #059669;
  --mt-green-light: #E6F9F1;
  --mt-gold: #D97706;
  --mt-gold-light: #FEF3E2;
  --mt-purple: #7C3AED;
  --mt-purple-light: #F0EAFF;
  --mt-shadow-sm: 0 1px 3px rgba(10,22,40,0.06), 0 1px 2px rgba(10,22,40,0.04);
  --mt-shadow-md: 0 4px 14px rgba(10,22,40,0.08), 0 2px 6px rgba(10,22,40,0.04);
  --mt-shadow-lg: 0 10px 30px rgba(10,22,40,0.10), 0 4px 10px rgba(10,22,40,0.04);
  --mt-shadow-xl: 0 20px 50px rgba(10,22,40,0.12);
  --mt-radius: 12px;
  --mt-radius-lg: 20px;
  --mt-radius-xl: 28px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--mt-white);
  color: var(--mt-grey-800);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}
#root, #root > div {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* Prevent ANY block-level element from exceeding viewport */
section, div, main, article, aside, header, footer, nav {
  max-width: 100%;
}

/* ── Typography ── */
.mt-h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; color: var(--mt-navy); }
.mt-h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: var(--mt-navy); }
.mt-h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; color: var(--mt-navy); }
.mt-h4 { font-size: 1.1rem; font-weight: 600; color: var(--mt-navy); }
.mt-body { font-size: 1.05rem; color: var(--mt-grey-600); line-height: 1.75; }
.mt-body-sm { font-size: 0.92rem; color: var(--mt-grey-600); line-height: 1.7; }
.mt-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Section Spacing ── */
.mt-section { padding: 90px 24px; max-width: 1200px; margin: 0 auto; }
.mt-section-full { padding: 90px 24px; }
.mt-section-inner { max-width: 1200px; margin: 0 auto; }

/* ── Section Badge ── */
.mt-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--mt-red-light); color: var(--mt-red);
  margin-bottom: 16px;
}
.mt-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mt-red); }

.mt-badge-blue { background: var(--mt-blue-light); color: var(--mt-blue); }
.mt-badge-blue::before { background: var(--mt-blue); }
.mt-badge-green { background: var(--mt-green-light); color: var(--mt-green); }
.mt-badge-green::before { background: var(--mt-green); }
.mt-badge-navy { background: rgba(10,22,40,0.06); color: var(--mt-navy); }
.mt-badge-navy::before { background: var(--mt-navy); }

/* ── Buttons ── */
.mt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; border: none;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none;
}
.mt-btn-primary {
  background: var(--mt-red); color: #fff;
  box-shadow: 0 4px 14px rgba(227,27,35,0.3);
}
.mt-btn-primary:hover { background: var(--mt-red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227,27,35,0.4); }

.mt-btn-outline {
  background: transparent; color: var(--mt-navy);
  border: 2px solid var(--mt-grey-200);
}
.mt-btn-outline:hover { border-color: var(--mt-red); color: var(--mt-red); transform: translateY(-2px); }

.mt-btn-white {
  background: #fff; color: var(--mt-navy);
  box-shadow: var(--mt-shadow-md);
}
.mt-btn-white:hover { transform: translateY(-2px); box-shadow: var(--mt-shadow-lg); }

.mt-btn-navy {
  background: var(--mt-navy); color: #fff;
  box-shadow: 0 4px 14px rgba(10,22,40,0.25);
}
.mt-btn-navy:hover { background: var(--mt-navy-light); transform: translateY(-2px); }

.mt-btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ── Cards ── */
.mt-card {
  background: var(--mt-white);
  border: 1px solid var(--mt-grey-100);
  border-radius: var(--mt-radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.mt-card:hover { border-color: var(--mt-grey-200); box-shadow: var(--mt-shadow-lg); transform: translateY(-4px); }
.mt-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--mt-red);
  transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.mt-card:hover::before { transform: scaleX(1); }

.mt-card-dark {
  background: var(--mt-navy); border-color: rgba(255,255,255,0.08);
}
.mt-card-dark:hover { border-color: rgba(227,27,35,0.4); }
.mt-card-dark .mt-h3, .mt-card-dark .mt-h4 { color: #fff; }
.mt-card-dark .mt-body, .mt-card-dark .mt-body-sm { color: rgba(255,255,255,0.65); }

/* ── Icon containers ── */
.mt-icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.mt-icon-red { background: var(--mt-red-light); color: var(--mt-red); }
.mt-icon-blue { background: var(--mt-blue-light); color: var(--mt-blue); }
.mt-icon-green { background: var(--mt-green-light); color: var(--mt-green); }
.mt-icon-gold { background: var(--mt-gold-light); color: var(--mt-gold); }
.mt-icon-purple { background: var(--mt-purple-light); color: var(--mt-purple); }
.mt-icon-navy { background: rgba(10,22,40,0.06); color: var(--mt-navy); }

/* ── Photo Placeholder ── */
.mt-photo-placeholder {
  width: 100%; border-radius: var(--mt-radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--mt-grey-50) 0%, var(--mt-grey-100) 100%);
  border: 2px dashed var(--mt-grey-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--mt-grey-300); gap: 8px; position: relative;
  min-height: 220px;
}
.mt-photo-placeholder .label {
  font-size: 0.82rem; font-weight: 600; color: var(--mt-grey-300); text-align: center; padding: 0 16px;
}
.mt-photo-placeholder .sublabel {
  font-size: 0.72rem; color: var(--mt-grey-200); text-align: center;
}
.mt-photo-placeholder-dark {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.25);
}
.mt-photo-placeholder-dark .label { color: rgba(255,255,255,0.3); }
.mt-photo-placeholder-dark .sublabel { color: rgba(255,255,255,0.18); }

/* ── Backgrounds ── */
.bg-white { background: var(--mt-white); }
.bg-off-white { background: var(--mt-off-white); }
.bg-grey { background: var(--mt-grey-50); }
.bg-navy { background: var(--mt-navy); }
.bg-navy-gradient { background: linear-gradient(180deg, var(--mt-navy) 0%, #0E1E38 100%); }
.bg-red-gradient { background: linear-gradient(135deg, var(--mt-red) 0%, var(--mt-red-dark) 100%); }

/* ── Stats Bar ── */
.mt-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--mt-navy);
  border-radius: var(--mt-radius-xl);
  overflow: hidden;
  box-shadow: var(--mt-shadow-xl);
}
.mt-stat-item {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mt-stat-item:last-child { border-right: none; }
.mt-stat-number { font-size: 2.2rem; font-weight: 800; color: var(--mt-red); line-height: 1; }
.mt-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 500; }

/* ── Navbar ── */
.mt-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mt-grey-100);
  transition: all 0.3s ease;
}
.mt-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.mt-nav-logo {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  font-weight: 700; font-size: 1.15rem; color: var(--mt-navy);
}
.mt-nav-logo-icon {
  width: 40px; height: 40px; background: var(--mt-red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.85rem;
}
.mt-nav-links { display: flex; align-items: center; gap: 6px; }
.mt-nav-link {
  padding: 8px 16px; border-radius: 8px; border: none; background: none;
  font-size: 0.9rem; font-weight: 500; color: var(--mt-grey-600);
  cursor: pointer; transition: all 0.2s;
}
.mt-nav-link:hover { color: var(--mt-navy); background: var(--mt-grey-50); }
.mt-nav-link.active { color: var(--mt-red); background: var(--mt-red-light); font-weight: 600; }

/* ── Hamburger Button ── */
.mt-hamburger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--mt-grey-100); background: var(--mt-white);
  cursor: pointer; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.mt-hamburger:hover { border-color: var(--mt-red); }

/* ── Mobile Menu Overlay ── */
.mt-mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; padding: 16px 24px;
  animation: slideDown 0.3s ease;
}
.mt-mobile-menu.open { display: flex; }
.mt-mobile-menu-link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 12px; border-radius: 12px; border: none;
  background: none; font-size: 1.05rem; font-weight: 500;
  color: var(--mt-grey-700); cursor: pointer; transition: all 0.2s;
  width: 100%; text-align: left;
  border-bottom: 1px solid var(--mt-grey-50);
}
.mt-mobile-menu-link:hover,
.mt-mobile-menu-link.active { color: var(--mt-red); background: var(--mt-red-light); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grid Utilities ── */
.mt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.mt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Responsive Grid (class-based, overridable) ── */
.mt-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mt-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mt-two-col-center { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mt-two-col-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ── Divider ── */
.mt-divider { height: 1px; background: var(--mt-grey-100); margin: 48px 0; }

/* ── Interactive Demo Styles ── */
.mt-demo-container {
  background: var(--mt-white);
  border: 1px solid var(--mt-grey-100);
  border-radius: var(--mt-radius-xl);
  overflow: hidden;
  box-shadow: var(--mt-shadow-lg);
}
.mt-demo-header {
  background: var(--mt-navy);
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.mt-demo-title { color: #fff; font-weight: 600; font-size: 1rem; }
.mt-demo-body { padding: 40px 32px; }

.mt-demo-phone {
  width: 280px; height: 520px;
  background: var(--mt-grey-800);
  border-radius: 36px; padding: 12px;
  box-shadow: var(--mt-shadow-xl);
  position: relative; margin: 0 auto;
}
.mt-demo-phone-screen {
  width: 100%; height: 100%;
  background: var(--mt-white);
  border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column;
}
.mt-demo-phone-notch {
  width: 120px; height: 28px; background: var(--mt-grey-800);
  border-radius: 0 0 16px 16px; margin: 0 auto;
}

/* ── Wristband/Card Visual ── */
.mt-wristband {
  width: 200px; height: 60px;
  background: linear-gradient(135deg, var(--mt-red) 0%, var(--mt-red-dark) 100%);
  border-radius: 30px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(227,27,35,0.35);
  position: relative; cursor: pointer;
  transition: all 0.3s ease;
}
.mt-wristband:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(227,27,35,0.45); }

.mt-nfc-card {
  width: 300px; height: 190px;
  background: linear-gradient(135deg, var(--mt-navy) 0%, var(--mt-navy-light) 100%);
  border-radius: 16px; padding: 24px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--mt-shadow-xl); cursor: pointer;
  transition: all 0.3s ease;
}
.mt-nfc-card:hover { transform: translateY(-4px) rotateX(2deg); }

/* ── Pulse Animation ── */
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.mt-pulse {
  position: relative;
}
.mt-pulse::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 2px solid var(--mt-red);
  animation: pulse-ring 1.5s ease-out infinite;
}

/* ── Signal Wave Animation ── */
@keyframes signal-wave {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ── Feature List ── */
.mt-feature-list { list-style: none; padding: 0; }
.mt-feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; font-size: 0.95rem; color: var(--mt-grey-600);
}
.mt-feature-list li .check {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: var(--mt-green-light); color: var(--mt-green);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ── Footer ── */
.mt-footer {
  background: var(--mt-navy); color: rgba(255,255,255,0.55); padding: 64px 24px 0;
}
.mt-footer-inner { max-width: 1200px; margin: 0 auto; }
.mt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.mt-footer-brand { font-size: 0.92rem; line-height: 1.7; }
.mt-footer h4 { color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.mt-footer-link {
  display: block; color: rgba(255,255,255,0.5); font-size: 0.9rem; padding: 5px 0;
  text-decoration: none; cursor: pointer; transition: color 0.2s; border: none; background: none; text-align: left;
}
.mt-footer-link:hover { color: var(--mt-red); }
.mt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.mt-footer-legal { display: flex; gap: 24px; }

/* ── Legal Pages ── */
.mt-legal { max-width: 820px; margin: 0 auto; padding: 120px 24px 80px; }
.mt-legal h1 { font-size: 2rem; font-weight: 700; color: var(--mt-navy); margin-bottom: 8px; }
.mt-legal .updated { font-size: 0.88rem; color: var(--mt-grey-300); margin-bottom: 40px; }
.mt-legal h2 { font-size: 1.3rem; font-weight: 600; color: var(--mt-navy); margin: 36px 0 12px; }
.mt-legal h3 { font-size: 1.1rem; font-weight: 600; color: var(--mt-navy); margin: 24px 0 8px; }
.mt-legal p { font-size: 0.95rem; color: var(--mt-grey-600); line-height: 1.8; margin-bottom: 16px; }
.mt-legal ul { padding-left: 24px; margin-bottom: 16px; }
.mt-legal li { font-size: 0.95rem; color: var(--mt-grey-600); line-height: 1.8; margin-bottom: 6px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Grids */
  .mt-grid-2, .mt-grid-3, .mt-grid-4 { grid-template-columns: 1fr 1fr; }
  .mt-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mt-two-col { grid-template-columns: 1fr; gap: 32px; }
  .mt-two-col-center { grid-template-columns: 1fr; gap: 32px; }
  .mt-two-col-features { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .mt-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .mt-stat-number { font-size: 1.6rem; }
  .mt-stat-item { padding: 24px 16px; }

  /* Navbar */
  .mt-nav-links { display: none !important; }
  .mt-hamburger { display: flex; }

  /* Section spacing */
  .mt-section { padding: 60px 20px; }

  /* Footer */
  .mt-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Cards */
  .mt-card { padding: 28px 24px; }

  /* Buttons */
  .mt-btn { padding: 12px 24px; font-size: 0.9rem; }
  .mt-btn-sm { padding: 10px 18px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Ensure no horizontal overflow */
  body, html { overflow-x: hidden; }
  /* Global media sizing */
  img, video, iframe { max-width: 100%; height: auto; }
  /* Prevent long words from overflowing */
  body, section, p, span, div { word-break: break-word; }
  /* Phone mockups scale down */
  .mt-phone-mockup { transform: scale(0.85); transform-origin: top center; }

  /* Grids go single column */
  .mt-grid-2, .mt-grid-3, .mt-grid-4 { grid-template-columns: 1fr; }
  .mt-two-col-features { grid-template-columns: 1fr; }

  /* Stats */
  .mt-stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--mt-radius-lg); }
  .mt-stat-number { font-size: 1.4rem; }
  .mt-stat-item { padding: 20px 12px; }

  /* Section spacing */
  .mt-section { padding: 48px 16px; }

  /* Footer */
  .mt-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mt-footer-bottom { flex-direction: column; text-align: center; }
  .mt-footer-legal { justify-content: center; }

  /* Nav */
  .mt-nav-inner { padding: 0 16px; height: 64px; }
  .mt-nav-logo { font-size: 1rem; gap: 8px; }
  .mt-nav-logo-icon { width: 36px; height: 36px; font-size: 0.75rem; }
  .mt-mobile-menu { top: 64px; }

  /* Cards */
  .mt-card { padding: 24px 20px; border-radius: 16px; }

  /* Buttons */
  .mt-btn { padding: 12px 20px; font-size: 0.88rem; }

  /* Legal pages */
  .mt-legal { padding: 100px 16px 60px; }
  .mt-legal h1 { font-size: 1.6rem; }
  .mt-legal h2 { font-size: 1.15rem; }

  /* Demo body */
  .mt-demo-body { padding: 24px 16px; }
}


/* WiFi tap icon pulse animation */
@keyframes wifiAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.2); }
}
.wifi-pulse {
  animation: wifiAnim 1.1s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
}

/* NFC ring pulse animation */
@keyframes nfcPulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── Tap Hint Bar ── */
@keyframes tapHintIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tapHintPop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.18); }
}
.tap-hint-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 14px;
  background: linear-gradient(135deg, #0A1628 0%, #1a3560 100%);
  border-radius: 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: tapHintIn 0.4s ease;
  border-left: 4px solid #E31B23;
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.tap-hint-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E31B23;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: tapHintPop 1.1s ease-in-out infinite;
}
.tap-hint-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.tap-hint-close:hover { color: #fff; }

/* ── Demo Side-by-Side Layout ── */
.demo-side-wrap > div {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 14px 40px !important;
  align-items: start;
}
/* Badge (child 1) and title (child 2) span full width */
.demo-side-wrap > div > :first-child,
.demo-side-wrap > div > :nth-child(2) {
  grid-column: 1 / -1 !important;
}
/* Phone (child 3) anchors to left column, spans all rows */
.demo-side-wrap > div > :nth-child(3) {
  grid-column: 1 !important;
  grid-row: 3 / 20 !important;
  align-self: start;
}
/* Description, features, etc. stack in right column */
.demo-side-wrap > div > :nth-child(n+4) {
  grid-column: 2 !important;
  align-self: start;
}
/* Mobile: collapse back to single column */
@media (max-width: 900px) {
  .demo-side-wrap > div {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .demo-side-wrap > div > :nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .demo-side-wrap > div > :nth-child(n+4) {
    grid-column: 1 !important;
  }
  .tap-hint-bar {
    font-size: 12.5px;
    padding: 10px 12px 10px 12px;
  }
}
