/* =============================================
   BILTAX — Complete Stylesheet v3.0
   Transparent logo · Dashboard hover · Fully responsive
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
  --orange:       #FF6B00;
  --orange-light: #FF8C35;
  --orange-dim:   #CC5500;
  --orange-glow:  rgba(255,107,0,0.12);
  --black:        #0A0A0A;
  --black-2:      #111111;
  --black-3:      #1A1A1A;
  --black-4:      #222222;
  --gray:         #777;
  --gray-light:   #AAAAAA;
  --white:        #F5F0EB;
  --white-dim:    rgba(245,240,235,0.65);
  --radius:       4px;
  --transition:   0.3s ease;
  --section-pad-y: 110px;
  --section-pad-x: 60px;
  --nav-h: 76px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--white); font-family: 'Syne', sans-serif; overflow-x: hidden; cursor: none; line-height: 1.6; }
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9000; opacity: 0.55;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }
@media (hover:none) { body { cursor: auto; } input,select,textarea,button,a { cursor: auto; } }

/* ============ CURSOR ============ */
.cursor { display: block; position: fixed; width: 12px; height: 12px; background: var(--orange); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s,height .3s, opacity .3s; opacity: 0; }
.cursor-ring { display: block; position: fixed; width: 36px; height: 36px; border: 1.5px solid var(--orange); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); opacity: 0; transition: width .3s,height .3s, opacity .3s; }
@media (hover:none),(max-width:768px) { .cursor,.cursor-ring { display: none; } }

/* ============ UTILITY ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--section-pad-x); }
.section-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,5.5vw,5rem); line-height: 1; letter-spacing: .03em; color: var(--white); margin-bottom: 20px; }
.section-title span { color: var(--orange); }
.section-sub { font-size: .98rem; color: var(--gray-light); max-width: 500px; line-height: 1.8; font-weight: 500; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border-radius: var(--radius); font-family: 'Syne',sans-serif; font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: none; border: none; transition: var(--transition); text-decoration: none; white-space: nowrap; }
@media (hover:none) { .btn { cursor: auto; } }
.btn-primary { background: var(--orange); color: var(--black); box-shadow: 0 0 28px rgba(255,107,0,.25); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 0 48px rgba(255,107,0,.45); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.2); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #1c1c1c; transform: translateY(-2px); }

/* ============================================================
   NAVBAR + LOGO
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 0 var(--section-pad-x);
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h);
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,107,0,.08);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  min-height: 64px;
  background: rgba(10,10,10,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.6);
}

/* ── LOGO LINK ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 4px 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: .85; }

/* ── HORIZONTAL LOGO IMAGE ──
   biltax-logo-horizontal.png is 160×52px canvas (transparent PNG)
   Render at 52px tall → natural width = 160px
   The image itself contains the icon + gap + wordmark at perfect proportions */
.nav-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* No filter — pure transparent PNG, orange on transparent */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--gray-light); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--orange); transition: width .3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange)!important; color: var(--black)!important; padding: 9px 20px; border-radius: var(--radius); font-weight: 700!important; }
.nav-cta::after { display: none!important; }
.nav-cta:hover { background: var(--orange-light)!important; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; background: none; border: none; padding: 4px; flex-shrink: 0; }
@media (hover:none) { .hamburger { cursor: auto; } }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--black-2); z-index: 750;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; overflow-y: auto; padding: 80px 30px 40px;
}
.mobile-menu.open { display: flex; }

/* Full stacked logo in mobile menu — large & prominent */
.mobile-menu-logo {
  height: 80px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
  /* Transparent PNG — shows perfectly on dark bg */
}

.mobile-menu a { font-family: 'Bebas Neue',sans-serif; font-size: clamp(2rem,8vw,3rem); letter-spacing: .08em; color: var(--white); transition: color .2s; }
.mobile-menu a:hover { color: var(--orange); }

/* ============ TICKER ============ */
.ticker { background: var(--orange); padding: 12px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 1; }
.ticker-track { display: inline-block; animation: ticker 35s linear infinite; }
.ticker-track span { display: inline-block; font-family: 'Bebas Neue',sans-serif; font-size: 1rem; letter-spacing: .15em; color: var(--black); margin: 0 22px; }
.ticker-track .dot { color: rgba(0,0,0,.35); margin: 0 6px; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============ HERO ============ */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 60px) var(--section-pad-x) 60px; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,107,0,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,107,0,.035) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 40%,black 30%,transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%,black 30%,transparent 100%); }
.hero-glow-1 { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,rgba(255,107,0,.1) 0%,transparent 70%); top: -150px; right: -100px; pointer-events: none; }
.hero-glow-2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle,rgba(255,107,0,.06) 0%,transparent 70%); bottom: 60px; left: 120px; pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,0,.09); border: 1px solid rgba(255,107,0,.28); border-radius: 100px; padding: 6px 16px; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 24px; width: fit-content; animation: fadeUp .8s ease both; }
.hero-badge::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--orange); animation:pulse 2s infinite; flex-shrink:0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
.hero-title { font-family: 'Bebas Neue',sans-serif; font-size: clamp(3.5rem,10vw,10.5rem); line-height: .92; letter-spacing: .02em; color: var(--white); max-width: 900px; animation: fadeUp .8s .1s ease both; }
.hero-title .accent { color: var(--orange); display: block; }
.hero-title .outline { -webkit-text-stroke: 2px rgba(245,240,235,.5); color: transparent; }
.hero-sub { margin-top: 24px; font-size: clamp(.95rem,2.2vw,1.08rem); color: var(--gray-light); max-width: 500px; line-height: 1.75; font-weight: 500; animation: fadeUp .8s .2s ease both; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .8s .3s ease both; }
.hero-stats { margin-top: 60px; display: flex; gap: 40px; flex-wrap: wrap; animation: fadeUp .8s .4s ease both; }
.stat-item { position: relative; }
.stat-item::before { content:''; position:absolute; top:0; left:-20px; width:1px; height:100%; background:rgba(255,107,0,.25); }
.stat-item:first-child::before { display: none; }
.stat-num { font-family: 'Bebas Neue',sans-serif; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--orange); line-height: 1; letter-spacing: .03em; }
.stat-label { font-size: .72rem; color: var(--gray); letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }

/* ============ SECTION BASE ============ */
section { padding: var(--section-pad-y) var(--section-pad-x); }

/* ============ FEATURES ============ */
.features-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.feature-card { background: var(--black-3); padding: 40px 30px; position: relative; overflow: hidden; border: 1px solid transparent; transition: background .3s,border-color .3s; }
.feature-card:hover { background: var(--black-4); border-color: rgba(255,107,0,.18); }
.feature-card::before { content:''; position:absolute; top:0; left:0; width:3px; height:0; background:var(--orange); transition:height .4s; }
.feature-card:hover::before { height: 100%; }
.feature-icon { width:48px; height:48px; background:var(--orange-glow); border:1px solid rgba(255,107,0,.22); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:18px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.feature-card p  { font-size: .84rem; color: var(--gray); line-height: 1.7; font-weight: 500; }
.feature-num { position:absolute; bottom:14px; right:14px; font-family:'Bebas Neue',sans-serif; font-size:3rem; color:rgba(255,107,0,.04); line-height:1; transition:color .3s; }
.feature-card:hover .feature-num { color: rgba(255,107,0,.09); }

/* ============ INDUSTRIES ============ */
.industries-header { text-align: center; margin-bottom: 60px; }
.industries-header .section-sub { margin: 0 auto; text-align: center; }
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card { background:var(--black-3); border:1px solid rgba(255,255,255,.055); border-radius:var(--radius); padding:36px 22px; text-align:center; transition:border-color .3s,transform .3s,background .3s; cursor:none; }
@media (hover:none) { .industry-card { cursor:auto; } }
.industry-card:hover { border-color:var(--orange); transform:translateY(-5px); background:rgba(255,107,0,.04); }
.industry-card .ind-icon { font-size:2.5rem; margin-bottom:14px; display:block; transition:transform .3s; }
.industry-card:hover .ind-icon { transform:scale(1.1); }
.industry-card h3 { font-size:.95rem; font-weight:700; margin-bottom:7px; color:var(--white); }
.industry-card p  { font-size:.8rem; color:var(--gray); line-height:1.6; }

/* ============================================================
   DASHBOARD MOCKUP  — with full sidebar hover effects
   ============================================================ */
#preview { background:var(--black-2); padding:var(--section-pad-y) 0; }
.preview-header { padding:0 var(--section-pad-x); margin-bottom:48px; }
.dashboard-frame { margin:0 var(--section-pad-x); background:var(--black-3); border:1px solid rgba(255,107,0,.14); border-radius:8px; overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.7),0 0 60px rgba(255,107,0,.04); }
.frame-bar { background:var(--black-4); padding:12px 20px; display:flex; align-items:center; gap:6px; border-bottom:1px solid rgba(255,255,255,.05); }
.frame-dot { width:11px; height:11px; border-radius:50%; flex-shrink:0; }
.frame-dot:nth-child(1){background:#FF5F57} .frame-dot:nth-child(2){background:#FEBC2E} .frame-dot:nth-child(3){background:#28C840}
.frame-url { margin-left:12px; background:var(--black-3); border-radius:4px; padding:5px 12px; font-family:'JetBrains Mono',monospace; font-size:.72rem; color:var(--gray); flex:1; max-width:260px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.frame-body { display:grid; grid-template-columns:210px 1fr; min-height:440px; }

/* ── SIDEBAR ── */
.frame-sidebar { background:rgba(0,0,0,.3); border-right:1px solid rgba(255,255,255,.05); padding:0; display:flex; flex-direction:column; }

/* Sidebar logo area */
.frame-logo {
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.frame-logo img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

/* ── SIDEBAR NAV ITEMS with hover effects ── */
.frame-nav { padding: 10px 0; flex: 1; overflow-y: auto; }
.frame-nav::-webkit-scrollbar { width: 3px; }
.frame-nav::-webkit-scrollbar-track { background: transparent; }
.frame-nav::-webkit-scrollbar-thumb { background: rgba(255,107,0,.2); border-radius: 2px; }

.frame-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: .78rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  position: relative;
  transition: color .2s, background .2s;
  border-left: 2px solid transparent;
  user-select: none;
}

/* Hover state */
.frame-nav-item:hover:not(.active) {
  color: var(--gray-light);
  background: rgba(255,255,255,.04);
  border-left-color: rgba(255,107,0,.3);
}

/* Active state */
.frame-nav-item.active {
  background: rgba(255,107,0,.11);
  color: var(--orange);
  border-left-color: var(--orange);
}

/* Left glow on active */
.frame-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

/* Nav icon */
.frame-nav-item .nav-icon { font-size: .95rem; width: 18px; text-align: center; flex-shrink: 0; transition: transform .2s; }
.frame-nav-item:hover .nav-icon { transform: scale(1.15); }
.frame-nav-item.active .nav-icon { filter: drop-shadow(0 0 4px var(--orange)); }

/* ── MAIN CONTENT ── */
.frame-main { padding:22px; overflow:hidden; }
.frame-page-title { font-family:'Bebas Neue',sans-serif; font-size:1.5rem; letter-spacing:.05em; margin-bottom:16px; color:var(--white); }
.kpi-row { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:14px; }
.kpi { background:var(--black-4); border:1px solid rgba(255,255,255,.055); border-radius:5px; padding:13px; transition: border-color .2s, transform .2s; }
.kpi:hover { border-color: rgba(255,107,0,.2); transform: translateY(-1px); }
.kpi-lbl { font-size:.63rem; color:var(--gray); letter-spacing:.1em; text-transform:uppercase; font-weight:600; margin-bottom:5px; }
.kpi-val { font-family:'Bebas Neue',sans-serif; font-size:1.6rem; color:var(--white); letter-spacing:.02em; line-height:1; }
.kpi-val.warn { color:var(--orange); }
.kpi-chg { font-size:.65rem; margin-top:4px; font-weight:600; }
.kpi-chg.up{color:#4ADE80} .kpi-chg.dn{color:#F87171}
.charts-row { display:grid; grid-template-columns:2fr 1fr; gap:10px; }
.chart-box { background:var(--black-4); border:1px solid rgba(255,255,255,.055); border-radius:5px; padding:13px; }
.chart-lbl { font-size:.66rem; color:var(--gray-light); font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; }
.bars { display:flex; align-items:flex-end; gap:5px; height:90px; }
.bar { flex:1; border-radius:2px 2px 0 0; background:rgba(255,107,0,.25); transition:background .2s, height .3s; cursor: pointer; }
.bar:hover { background:var(--orange); }
.bar.hi { background:var(--orange); }
.donut-wrap { display:flex; align-items:center; justify-content:center; height:90px; }
.donut-wrap svg { width:88px; height:88px; transform:rotate(-90deg); }

/* ============ HOW IT WORKS ============ */
.how-header { text-align:center; margin-bottom:70px; }
.how-header .section-sub { margin:0 auto; text-align:center; }
.steps { display:grid; grid-template-columns:repeat(4,1fr); position:relative; gap:20px; }
.steps::before { content:''; position:absolute; top:38px; left:10%; width:80%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,107,0,.3),rgba(255,107,0,.3),transparent); }
.step { text-align:center; padding:0 14px; }
.step-ring { width:78px; height:78px; border:2px solid var(--orange); border-radius:50%; background:var(--black-3); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; font-family:'Bebas Neue',sans-serif; font-size:1.7rem; color:var(--orange); position:relative; z-index:1; transition:background .3s,box-shadow .3s,color .3s; }
.step:hover .step-ring { background:var(--orange); color:var(--black); box-shadow:0 0 32px rgba(255,107,0,.5); }
.step h3 { font-size:.98rem; font-weight:700; margin-bottom:8px; color:var(--white); }
.step p  { font-size:.81rem; color:var(--gray); line-height:1.7; font-weight:500; }

/* ============ PRICING ============ */
.pricing-header { text-align:center; margin-bottom:60px; }
.pricing-header .section-sub { margin:0 auto; text-align:center; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1000px; margin:0 auto; }
.price-card { background:var(--black-3); border:1px solid rgba(255,255,255,.07); border-radius:6px; padding:38px 28px; position:relative; transition:border-color .3s,transform .3s; }
.price-card:hover { border-color:rgba(255,107,0,.35); transform:translateY(-4px); }
.price-card.featured { background:rgba(255,107,0,.045); border-color:var(--orange); transform:scale(1.03); }
.price-card.featured:hover { transform:scale(1.03) translateY(-4px); }
.feat-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--orange); color:var(--black); font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:4px 16px; border-radius:100px; white-space:nowrap; }
.plan-name { font-size:.78rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--orange); margin-bottom:12px; }
.plan-price { font-family:'Bebas Neue',sans-serif; font-size:3.5rem; line-height:1; color:var(--white); letter-spacing:.02em; }
.plan-price sup { font-size:1.3rem; vertical-align:top; margin-top:10px; color:var(--gray); font-family:'Syne',sans-serif; }
.plan-price sub { font-size:.9rem; color:var(--gray); font-family:'Syne',sans-serif; font-weight:500; }
.plan-desc { font-size:.82rem; color:var(--gray); margin:12px 0 24px; line-height:1.6; font-weight:500; }
.plan-features { margin-bottom:28px; }
.plan-features li { display:flex; align-items:flex-start; gap:9px; font-size:.82rem; color:var(--gray-light); padding:6px 0; border-bottom:1px solid rgba(255,255,255,.04); font-weight:500; }
.plan-features li::before { content:'✓'; color:var(--orange); font-weight:700; min-width:14px; flex-shrink:0; margin-top:1px; }
.plan-btn { display:block; text-align:center; padding:12px; border-radius:var(--radius); font-family:'Syne',sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; text-decoration:none; cursor:none; transition:.2s; }
@media (hover:none) { .plan-btn { cursor:auto; } }
.plan-btn.outline { border:1.5px solid rgba(255,255,255,.18); color:var(--white); }
.plan-btn.outline:hover { border-color:var(--orange); color:var(--orange); }
.plan-btn.filled { background:var(--orange); color:var(--black); border:1.5px solid var(--orange); }
.plan-btn.filled:hover { background:var(--orange-light); box-shadow:0 0 28px rgba(255,107,0,.38); }

/* ============ TESTIMONIALS ============ */
.testimonials-header { margin-bottom:50px; }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testi-card { background:var(--black-3); border:1px solid rgba(255,255,255,.055); border-radius:6px; padding:30px 26px; transition:border-color .3s; }
.testi-card:hover { border-color:rgba(255,107,0,.2); }
.stars { color:var(--orange); font-size:.82rem; margin-bottom:12px; }
.quote-mark { font-family:'Bebas Neue',sans-serif; font-size:4rem; color:rgba(255,107,0,.1); line-height:1; margin-bottom:-12px; }
.testi-text { font-size:.87rem; color:var(--gray-light); line-height:1.8; font-weight:500; margin-bottom:22px; }
.testi-author { display:flex; align-items:center; gap:12px; }
.t-avatar { width:40px; height:40px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; font-family:'Bebas Neue',sans-serif; font-size:1.1rem; color:var(--black); flex-shrink:0; }
.t-name { font-size:.85rem; font-weight:700; color:var(--white); }
.t-role { font-size:.73rem; color:var(--gray); font-weight:500; margin-top:2px; }

/* ============ FAQ ============ */
.faq-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:70px; align-items:start; }
.faq-list { display:flex; flex-direction:column; gap:2px; }
.faq-item { background:var(--black-3); border:1px solid rgba(255,255,255,.055); border-radius:var(--radius); overflow:hidden; }
.faq-q { padding:18px 22px; font-size:.92rem; font-weight:700; color:var(--white); cursor:none; display:flex; align-items:center; justify-content:space-between; gap:12px; user-select:none; transition:background .2s; }
@media (hover:none) { .faq-q { cursor:auto; } }
.faq-q:hover { background:rgba(255,107,0,.04); }
.faq-q.open { color:var(--orange); }
.faq-icon { font-size:1.1rem; color:var(--orange); transition:transform .3s; flex-shrink:0; line-height:1; }
.faq-q.open .faq-icon { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s ease,padding .3s; font-size:.85rem; color:var(--gray); line-height:1.8; font-weight:500; padding:0 22px; }
.faq-a.open { max-height:300px; padding:0 22px 18px; }

/* ============ CTA BANNER ============ */
#cta-section { background:var(--orange); padding:var(--section-pad-y) var(--section-pad-x); text-align:center; position:relative; overflow:hidden; }
#cta-section::before { content:'BILTAX'; position:absolute; font-family:'Bebas Neue',sans-serif; font-size:18vw; color:rgba(0,0,0,.07); left:50%; top:50%; transform:translate(-50%,-50%); white-space:nowrap; pointer-events:none; letter-spacing:.04em; }
.cta-tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.25em; text-transform:uppercase; color:rgba(0,0,0,.45); margin-bottom:12px; }
.cta-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(2.5rem,8vw,7rem); color:var(--black); line-height:.95; letter-spacing:.02em; margin-bottom:22px; }
.cta-sub { font-size:clamp(.9rem,2vw,1.02rem); color:rgba(0,0,0,.62); max-width:460px; margin:0 auto 36px; line-height:1.75; font-weight:600; }
.cta-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   FOOTER — logo + 5 social icons + app badges
   ============================================================ */
footer { background:var(--black); border-top:1px solid rgba(255,107,0,.1); padding:72px var(--section-pad-x) 32px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:50px; margin-bottom:50px; }
.footer-brand-col { display:flex; flex-direction:column; }

/* Footer stacked logo */
.footer-logo-link { display:inline-block; margin-bottom:14px; text-decoration:none; transition:opacity var(--transition); }
.footer-logo-link:hover { opacity:.85; }
.footer-logo-img {
  height: 52px;  /* horizontal logo — same visual weight as navbar */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-desc { font-size:.83rem; color:var(--gray); line-height:1.7; font-weight:500; max-width:270px; margin-bottom:20px; }

/* Social icons */
.footer-social { display:flex; gap:9px; flex-wrap:wrap; margin-bottom:18px; }
.social-a { width:36px; height:36px; border:1px solid rgba(255,255,255,.09); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; color:var(--gray); transition:border-color .2s,color .2s,background .2s,transform .2s; cursor:none; text-decoration:none; }
@media (hover:none) { .social-a { cursor:auto; } }
.social-a:hover { border-color:var(--orange); color:var(--orange); background:var(--orange-glow); transform:translateY(-2px); }
.social-a svg { display:block; flex-shrink:0; }

/* App badges */
.footer-app-badges { display:flex; flex-direction:column; gap:7px; }
.footer-app-label { font-size:.7rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--gray); margin-bottom:2px; }
.footer-app-btn { display:inline-flex; align-items:center; gap:9px; background:var(--black-3); border:1px solid rgba(255,255,255,.08); border-radius:6px; padding:9px 14px; color:var(--white); text-decoration:none; font-size:.78rem; font-weight:600; transition:border-color .2s,background .2s,transform .2s; cursor:none; max-width:180px; }
@media (hover:none) { .footer-app-btn { cursor:auto; } }
.footer-app-btn:hover { border-color:var(--orange); background:rgba(255,107,0,.06); transform:translateY(-1px); }

/* Footer columns */
.footer-col h4 { font-size:.75rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--white); margin-bottom:18px; }
.footer-col li { margin-bottom:8px; }
.footer-col a { font-size:.82rem; color:var(--gray); font-weight:500; transition:color .2s; }
.footer-col a:hover { color:var(--orange); }

.footer-hiring-badge { display:inline-block; font-size:.63rem; background:var(--orange); color:var(--black); padding:1px 7px; border-radius:100px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; vertical-align:middle; margin-left:5px; }

/* Footer bottom bar */
.footer-bottom { border-top:1px solid rgba(255,255,255,.055); padding-top:24px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-copy { font-size:.77rem; color:var(--gray); font-weight:500; }
.footer-bottom-right { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.footer-legal-link { font-size:.77rem; color:var(--gray); font-weight:500; text-decoration:none; transition:color .2s; }
.footer-legal-link:hover { color:var(--orange); }
.footer-version { font-family:'JetBrains Mono',monospace; color:var(--orange); font-size:.72rem; letter-spacing:.1em; }

/* ============ PAGE HERO (interior pages) ============ */
.page-hero { padding:calc(var(--nav-h) + 70px) var(--section-pad-x) 70px; background:var(--black-2); border-bottom:1px solid rgba(255,107,0,.1); }

/* ============ FORMS ============ */
.form-card { background:var(--black-3); border:1px solid rgba(255,255,255,.07); border-radius:6px; padding:40px 36px; }
.form-group { margin-bottom:20px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label { display:block; font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gray-light); margin-bottom:7px; }
input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea {
  width:100%; padding:12px 14px; background:var(--black-4); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius);
  color:var(--white); font-family:'Syne',sans-serif; font-size:.9rem; font-weight:500;
  transition:border-color .2s,box-shadow .2s; outline:none; -webkit-appearance:none; appearance:none;
}
input[type="number"] { -moz-appearance:textfield; }
input:focus,select:focus,textarea:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(255,107,0,.1); }
input::placeholder,textarea::placeholder { color:var(--gray); }
select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; padding-right:36px; }
textarea { resize:vertical; min-height:120px; }
.form-msg { padding:13px 16px; border-radius:var(--radius); font-size:.86rem; font-weight:600; margin-bottom:18px; display:none; }
.form-msg.success { background:rgba(74,222,128,.1); border:1px solid rgba(74,222,128,.3); color:#4ADE80; display:block; }
.form-msg.error   { background:rgba(248,113,113,.1); border:1px solid rgba(248,113,113,.3); color:#F87171; display:block; }

/* ============ CONTACT ============ */
.contact-layout { display:grid; grid-template-columns:1fr 1.3fr; gap:70px; align-items:start; padding:var(--section-pad-y) var(--section-pad-x); }
.contact-info-item { display:flex; gap:16px; margin-bottom:28px; }
.contact-icon { width:46px; height:46px; background:var(--orange-glow); border:1px solid rgba(255,107,0,.2); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.contact-info-text h4 { font-size:.85rem; font-weight:700; color:var(--white); margin-bottom:4px; }
.contact-info-text p  { font-size:.82rem; color:var(--gray); font-weight:500; line-height:1.6; }

/* ============ ABOUT ============ */
.about-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; margin:60px 0; }
.about-stat { background:var(--black-3); padding:40px 24px; text-align:center; border:1px solid transparent; transition:border-color .3s; }
.about-stat:hover { border-color:rgba(255,107,0,.2); }
.about-stat-num { font-family:'Bebas Neue',sans-serif; font-size:clamp(2.5rem,5vw,4rem); color:var(--orange); line-height:1; margin-bottom:8px; }
.about-stat-label { font-size:.78rem; color:var(--gray); letter-spacing:.15em; text-transform:uppercase; font-weight:600; }
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.team-card { background:var(--black-3); border-radius:var(--radius); overflow:hidden; border:1px solid rgba(255,255,255,.055); transition:border-color .3s,transform .3s; }
.team-card:hover { border-color:rgba(255,107,0,.2); transform:translateY(-4px); }
.team-photo { height:190px; background:var(--black-4); display:flex; align-items:center; justify-content:center; font-family:'Bebas Neue',sans-serif; font-size:3.5rem; color:var(--orange); border-bottom:1px solid rgba(255,107,0,.15); }
.team-info { padding:18px 16px; }
.team-name { font-size:.92rem; font-weight:700; color:var(--white); margin-bottom:4px; }
.team-role { font-size:.76rem; color:var(--orange); font-weight:600; letter-spacing:.08em; }

/* ============ APP STORE BUTTONS ============ */
.app-store-btn { display:inline-flex; align-items:center; gap:11px; background:var(--black-3); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:12px 18px; color:var(--white); transition:.2s; cursor:none; text-decoration:none; min-width:155px; }
@media (hover:none) { .app-store-btn { cursor:auto; } }
.app-store-btn:hover { border-color:var(--orange); background:rgba(255,107,0,.06); transform:translateY(-2px); box-shadow:0 8px 28px rgba(255,107,0,.15); }

/* ============ PHONE MOCKUP ============ */
.phone-mockup { width:240px; background:var(--black-3); border:2px solid rgba(255,107,0,.2); border-radius:32px; overflow:hidden; position:relative; box-shadow:0 40px 80px rgba(0,0,0,.6),0 0 50px rgba(255,107,0,.06); margin:0 auto; }
.phone-notch { width:80px; height:20px; background:var(--black); border-radius:0 0 12px 12px; margin:0 auto; position:relative; z-index:10; }
.phone-screen { padding:8px 14px 14px; }
.phone-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.phone-topbar img { height:22px; width:auto; max-width:90px; object-fit:contain; }
.phone-greeting { font-size:.75rem; font-weight:700; color:var(--white); margin-bottom:12px; }
.phone-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:14px; }
.phone-kpi { background:var(--black-4); border-radius:8px; padding:8px 6px; text-align:center; }
.phone-kpi-num { font-family:'Bebas Neue',sans-serif; font-size:1.3rem; line-height:1; color:var(--white); }
.phone-kpi-lbl { font-size:.58rem; color:var(--gray); letter-spacing:.08em; text-transform:uppercase; font-weight:600; margin-top:2px; }
.phone-section-title { font-size:.65rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gray); margin-bottom:7px; }
.phone-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.phone-action { background:var(--black-4); border:1px solid rgba(255,107,0,.12); border-radius:7px; padding:9px 8px; font-size:.67rem; font-weight:600; color:var(--gray-light); }
.phone-item { font-size:.67rem; color:var(--gray-light); font-weight:500; padding:5px 0; border-bottom:1px solid rgba(255,255,255,.04); display:flex; align-items:center; gap:7px; }
.phone-home-bar { width:70px; height:3px; background:rgba(255,255,255,.15); border-radius:2px; margin:10px auto; }

/* ============ API DOCS ============ */
.code-block { background:var(--black); border:1px solid rgba(255,255,255,.08); border-radius:6px; overflow:hidden; }
.code-topbar { display:flex; align-items:center; justify-content:space-between; padding:8px 14px; background:var(--black-4); border-bottom:1px solid rgba(255,255,255,.06); }
.code-lang { font-family:'JetBrains Mono',monospace; font-size:.7rem; color:var(--gray); font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.copy-btn { background:none; border:1px solid rgba(255,255,255,.1); color:var(--gray); font-family:'Syne',sans-serif; font-size:.7rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:3px 10px; border-radius:3px; cursor:none; transition:.2s; }
@media (hover:none) { .copy-btn { cursor:auto; } }
.copy-btn:hover { border-color:var(--orange); color:var(--orange); }
.code-block pre { padding:16px 18px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.code-block code { font-family:'JetBrains Mono',monospace; font-size:.8rem; color:var(--gray-light); line-height:1.7; white-space:pre; }

/* ============ CAREERS ============ */
.filter-btn { background:transparent; border:1px solid rgba(255,255,255,.1); color:var(--gray); font-family:'Syne',sans-serif; font-size:.73rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:7px 15px; border-radius:100px; cursor:none; transition:.2s; }
@media (hover:none) { .filter-btn { cursor:auto; } }
.filter-btn:hover { border-color:var(--orange); color:var(--orange); }
.filter-btn.active { background:var(--orange); border-color:var(--orange); color:var(--black); }
.job-card { background:var(--black-3); border:1px solid rgba(255,255,255,.06); border-radius:6px; padding:28px 30px; transition:border-color .3s,transform .3s; }
.job-card:hover { border-color:rgba(255,107,0,.3); transform:translateX(3px); }

/* ============ LEGAL ============ */
.legal-intro { font-size:.93rem; color:var(--gray-light); line-height:1.85; font-weight:500; padding:22px 26px; background:var(--black-3); border-left:3px solid var(--orange); border-radius:0 6px 6px 0; margin-bottom:44px; }
.legal-section { margin-bottom:44px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.06); }
.legal-section:last-child { border-bottom:none; margin-bottom:0; }
.legal-section h2 { font-family:'Bebas Neue',sans-serif; font-size:1.7rem; letter-spacing:.04em; color:var(--white); margin-bottom:14px; }
.legal-section h3 { font-size:.95rem; font-weight:700; color:var(--gray-light); margin:18px 0 9px; }
.legal-section p  { font-size:.9rem; color:var(--gray); line-height:1.85; font-weight:500; margin-bottom:10px; }
.legal-section ul { margin:10px 0 14px; display:flex; flex-direction:column; gap:7px; }
.legal-section li { font-size:.88rem; color:var(--gray); line-height:1.7; font-weight:500; padding-left:18px; position:relative; }
.legal-section li::before { content:'→'; position:absolute; left:0; color:var(--orange); font-size:.78rem; top:2px; }

/* ===========================================
   TABLET  ≤ 1100px
   =========================================== */
@media (max-width:1100px) {
  :root { --section-pad-x:36px; --section-pad-y:80px; }
  .navbar { padding:0 var(--section-pad-x); }
  .nav-links { gap:18px; }
  .nav-links a { font-size:.74rem; }
  .nav-logo-img { height: 46px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .features-header { grid-template-columns:1fr; gap:22px; }
  .industries-grid { grid-template-columns:repeat(2,1fr); }
  .dashboard-frame { margin:0 var(--section-pad-x); }
  .preview-header { padding:0 var(--section-pad-x); }
  .kpi-row { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:repeat(2,1fr); gap:44px; }
  .steps::before { display:none; }
  .price-card.featured { transform:scale(1); }
  .price-card.featured:hover { transform:translateY(-4px); }
  .testimonials-grid { grid-template-columns:repeat(2,1fr); }
  .faq-layout { grid-template-columns:1fr; gap:40px; }
  .about-stats { grid-template-columns:repeat(2,1fr); }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .contact-layout { grid-template-columns:1fr; padding:70px var(--section-pad-x); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
  footer { padding:60px var(--section-pad-x) 28px; }
  .footer-logo-img { height:48px; }
}

/* ===========================================
   MOBILE  ≤ 768px
   =========================================== */
@media (max-width:768px) {
  :root { --section-pad-x:20px; --section-pad-y:64px; --nav-h:64px; }
  .navbar { padding:0 var(--section-pad-x); }
  .nav-links { display:none; }
  .hamburger { display:flex; }

  /* Logo on mobile nav: slightly smaller */
  .nav-logo-img { height: 40px; max-width: 160px; }
  .mobile-menu-logo { height: 72px; margin-bottom:16px; }

  /* Hero */
  .hero { padding:calc(var(--nav-h) + 40px) var(--section-pad-x) 48px; }
  .hero-title { font-size:clamp(3rem,12vw,5rem); }
  .hero-title .outline { -webkit-text-stroke:1.5px rgba(245,240,235,.5); }
  .hero-sub { font-size:.95rem; max-width:100%; }
  .hero-actions { flex-direction:column; align-items:stretch; gap:10px; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .hero-stats { gap:18px; margin-top:44px; }
  .hero-stats .stat-item::before { left:-9px; }
  .hero-glow-1 { width:280px; height:280px; }
  .hero-glow-2 { display:none; }

  /* Grids */
  .features-grid { grid-template-columns:1fr; }
  .features-header { gap:14px; margin-bottom:32px; }
  .feature-card { padding:28px 22px; }
  .industries-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .industry-card { padding:24px 14px; }
  .pricing-grid { grid-template-columns:1fr; gap:14px; max-width:100%; }
  .price-card { padding:28px 20px; }
  .price-card.featured { transform:none; }
  .testimonials-grid { grid-template-columns:1fr; gap:14px; }
  .faq-layout { gap:28px; }
  .about-stats { grid-template-columns:1fr 1fr; }
  .team-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .team-photo { height:160px; font-size:2.8rem; }

  /* Steps */
  .steps { grid-template-columns:1fr 1fr; gap:28px; }
  .steps::before { display:none; }
  .step-ring { width:62px; height:62px; font-size:1.4rem; }

  /* Dashboard */
  #preview { padding:var(--section-pad-y) 0; }
  .preview-header { padding:0 var(--section-pad-x); margin-bottom:28px; }
  .dashboard-frame { margin:0 var(--section-pad-x); border-radius:6px; }
  .frame-url { max-width:160px; font-size:.62rem; }
  .frame-body { grid-template-columns:1fr; }
  .frame-sidebar { display:none; }
  .frame-main { padding:14px; }
  .frame-page-title { font-size:1.2rem; margin-bottom:12px; }
  .kpi-row { grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:10px; }
  .kpi { padding:11px 9px; }
  .kpi-val { font-size:1.4rem; }
  .charts-row { grid-template-columns:1fr; gap:8px; }
  .bars { height:80px; }

  /* CTA */
  #cta-section { padding:64px var(--section-pad-x); }
  .cta-actions { flex-direction:column; align-items:center; gap:10px; }
  .cta-actions .btn,.cta-actions a { width:100%; max-width:360px; justify-content:center; }

  /* Footer */
  footer { padding:48px var(--section-pad-x) 24px; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-desc { max-width:100%; }
  .footer-logo-img { height:44px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
  .footer-copy { order:2; }
  .footer-bottom-right { order:1; justify-content:center; }

  /* Page hero */
  .page-hero { padding:calc(var(--nav-h) + 30px) var(--section-pad-x) 40px; }
  .page-hero .section-title { font-size:clamp(1.8rem,8vw,2.8rem); }
  .page-hero .section-sub { max-width:100%; }

  /* Contact/forms */
  .contact-layout { padding:48px var(--section-pad-x); gap:36px; }
  .form-card { padding:28px 20px; }
  .form-row { grid-template-columns:1fr; gap:0; }

  /* Jobs */
  .job-card { padding:20px 16px; }
  #filterBtns { gap:6px; }
  .filter-btn { padding:6px 12px; font-size:.7rem; }

  /* Legal */
  .legal-toc-col { display:none !important; }
  .legal-content-col { grid-column:1 / -1 !important; }
}

/* ===========================================
   SMALL MOBILE  ≤ 480px
   =========================================== */
@media (max-width:480px) {
  :root { --section-pad-x:16px; --section-pad-y:52px; }
  .hero-title { font-size:clamp(2.6rem,13vw,3.8rem); }
  .hero-badge { font-size:.63rem; padding:5px 12px; }
  .hero-stats { gap:12px; }
  .stat-num { font-size:2rem; }
  .nav-logo-img { height:36px; max-width:140px; }
  .mobile-menu-logo { height:60px; }
  .steps { grid-template-columns:1fr; gap:24px; }
  .industries-grid { grid-template-columns:1fr 1fr; }
  .team-grid { grid-template-columns:1fr; }
  .mobile-menu a { font-size:clamp(1.8rem,9vw,2.6rem); }
  .form-card { padding:22px 15px; }
  .cta-title { font-size:clamp(2rem,10vw,3.5rem); }
  .footer-logo-img { height:40px; }
  .footer-app-btn { max-width:100%; }
  .footer-app-badges { flex-direction:row; flex-wrap:wrap; }
  .footer-app-btn { flex:1; min-width:130px; justify-content:center; }
  .chart-box:last-child { display:none; }
  .charts-row { grid-template-columns:1fr !important; }
}

/* ===========================================
   LANDSCAPE PHONE
   =========================================== */
@media (max-height:500px) and (orientation:landscape) {
  .hero { min-height:auto; padding-top:calc(var(--nav-h) + 20px); padding-bottom:32px; }
  .mobile-menu { padding-top:65px; gap:18px; }
  .mobile-menu a { font-size:1.7rem; }
}

/* ===========================================
   INLINE GRID OVERRIDES (PHP template grids)
   =========================================== */
@media (max-width:768px) {
  [style*="grid-template-columns: 1fr 1fr"],[style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important; }
  [style*="grid-template-columns: repeat(4"],[style*="grid-template-columns:repeat(4"] { grid-template-columns:repeat(2,1fr) !important; }
  [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns:repeat(3"] { grid-template-columns:repeat(2,1fr) !important; }
}
@media (max-width:480px) {
  [style*="grid-template-columns: repeat(2"],[style*="grid-template-columns:repeat(2"] { grid-template-columns:1fr !important; }
  [style*="grid-template-columns: repeat(4"],[style*="grid-template-columns:repeat(4"] { grid-template-columns:1fr !important; }
}

/* Touch interaction */
* { -webkit-tap-highlight-color: rgba(255,107,0,.15); }
a,button { -webkit-tap-highlight-color: rgba(255,107,0,.2); }

/* iPhone notch safe areas */
.navbar { padding-left:max(var(--section-pad-x),env(safe-area-inset-left)); padding-right:max(var(--section-pad-x),env(safe-area-inset-right)); }
footer  { padding-bottom:max(32px,env(safe-area-inset-bottom)); }

/* Print */
@media print {
  .navbar,.mobile-menu,.cursor,.cursor-ring,.ticker,#cta-section,footer { display:none !important; }
  body { background:white; color:black; cursor:auto; }
}
