
:root{
  --psa-red:#EE0403;
  --psa-blue:#065FF5;
  --psa-text:#111111;
  --psa-muted:#6b7280;
  --psa-border:#e5e7eb;
  --psa-surface:#ffffff;
  --psa-surface-2:#f8fafc;
}
html{scroll-behavior:smooth}
body{
  font-family:Inter,Arial,Helvetica,sans-serif !important;
  color:var(--psa-text);
  background:#fff;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a,button{transition:all .18s ease}
.psa-old-shell-hidden{display:none !important}
.psa-global-promo{
  background:#111111;
  color:#fff;
  font-size:14px;
  line-height:1.4;
}
.psa-global-header{
  background:var(--psa-red);
  border-bottom:1px solid rgba(0,0,0,0.1);
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  height:auto;
  min-height:3.5rem;
  padding:0.5rem 1rem;
}
@media(min-width:768px){
  .psa-global-header{
    min-height:4rem;
    padding:0.75rem 1rem;
  }
}
.psa-global-header nav{
  display:flex;
  gap:2rem;
  flex:1;
}
.psa-global-header nav a,
.psa-global-header nav button{
  color:#ffffff;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
  transition:opacity .18s ease;
}
.psa-global-header nav a:hover,
.psa-global-header nav button:hover{
  opacity:0.8;
}
.psa-global-header .psa-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  shrink:0;
  padding:0;
  transition:opacity .18s ease;
}
.psa-global-header .psa-logo-link svg{
  display:block;
  width:auto;
  height:24px;
  max-height:32px;
}
.psa-global-header .psa-logo-link:hover{
  opacity:0.9;
}
.psa-global-header .psa-logo-link:hover svg{
  filter:brightness(0.95);
}
@media(min-width:768px){
  .psa-global-header .psa-logo-link svg{
    height:28px;
  }
}
.psa-global-header .psa-nav-link{
  color:#ffffff;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  transition:opacity .18s ease;
}
.psa-global-header .psa-nav-link:hover{
  opacity:0.8;
}
.psa-cta{
  background:var(--psa-red);
  color:#fff;
  border-radius:9999px;
  padding:0.625rem 1.25rem;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  border:none;
  cursor:pointer;
  transition:all .18s ease;
}
.psa-cta:hover{
  background:#cf1203;
  transform:translateY(-1px);
}
.psa-cta:active{
  transform:translateY(0);
}
@media(max-width:640px){
  .psa-cta{
    padding:0.5rem 1rem;
    font-size:12px;
  }
}
.psa-user-btn{
  width:36px;
  height:36px;
  border-radius:9999px;
  background:rgba(255,255,255,0.2);
  color:#ffffff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:all .18s ease;
  border:none;
  cursor:pointer;
  flex-shrink:0;
}
.psa-user-btn:hover{
  background:rgba(255,255,255,0.3);
}
@media(max-width:640px){
  .psa-user-btn{
    width:32px;
    height:32px;
  }
}
.psa-broken-image{
  background:linear-gradient(135deg,#f8fafc,#e5e7eb);
  border:1px solid var(--psa-border);
  border-radius:18px;
  padding:16px;
  object-fit:contain !important;
}
.psa-card-clean{
  border-radius:22px !important;
  overflow:hidden !important;
  border:1px solid var(--psa-border) !important;
  box-shadow:0 8px 24px rgba(15,23,42,.06) !important;
  background:#fff;
}
.psa-service-card{
  cursor:pointer;
}
.psa-service-card:hover{
  transform:translateY(-1px);
}
.psa-service-tile{
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #eef2f7;
}
.psa-service-tile.active{
  border-color:#111;
  box-shadow:inset 0 -4px 0 #111;
}
.psa-service-tile img{
  display:block;
  margin:0 auto;
  object-fit:contain;
}
.shadow, .shadow-sm, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl{
  box-shadow:0 10px 28px rgba(15,23,42,.07) !important;
}
.border, [class*="border-"]{
  border-color:var(--psa-border) !important;
}
input, textarea, select{
  border-radius:14px !important;
}
form .rounded-lg, form .rounded-xl{
  border-radius:16px !important;
}
button, a{
  text-decoration:none;
}
.psa-center-buttons .rounded-full,
.psa-center-buttons .rounded-xl,
.psa-center-buttons .rounded-2xl{
  width:100%;
}
.psa-article-prose{
  max-width:900px;
  margin:0 auto;
}

/* Mobile UI Enhancements */
@media(max-width:640px){
  body{
    font-size:14px;
  }
  
  /* Better touch targets on mobile */
  button, a[role="button"], input[type="button"], input[type="submit"]{
    min-height:44px;
    min-width:44px;
    padding:12px 16px;
  }
  
  /* Improved spacing on mobile */
  main, section, .container, .wrapper{
    padding-left:16px;
    padding-right:16px;
  }
  
  /* Better text hierarchy */
  h1{ font-size:24px !important; }
  h2{ font-size:20px !important; }
  h3{ font-size:18px !important; }
  p{ line-height:1.6; }
  
  /* Wider touch targets for nav */
  nav a, nav button{
    padding:12px 8px;
    font-size:13px;
  }
  
  /* Better form inputs on mobile */
  input, textarea, select{
    font-size:16px;
    padding:12px;
    width:100%;
  }
  
  /* Prevent text scaling on input focus */
  input, textarea, select{
    font-size:16px;
  }
  
  /* Responsive grid columns */
  .grid{
    gap:12px;
  }
  
  .grid-cols-2, [class*="grid-cols-3"], [class*="grid-cols-4"]{
    grid-template-columns:1fr !important;
  }
  
  /* Stack flex items on mobile */
  .flex{
    flex-direction:column;
  }
  .flex.md\:flex-row, .flex.lg\:flex-row{
    flex-direction:column;
  }
}

/* Mobile-first spacing improvements */
@media(max-width:768px){
  .psa-global-promo{
    padding:12px 16px;
    font-size:13px;
  }
  
  .psa-global-promo a{
    display:inline-block;
  }
}

/* Better accessibility on mobile */
@media(hover:none) and (pointer:coarse){
  /* Remove hover effects on touch devices */
  button:hover, a:hover, [role="button"]:hover{
    opacity:0.9;
  }
  
  /* Add active state for touch */
  button:active, a:active, [role="button"]:active{
    opacity:0.7;
  }
}

/* Smooth scrolling for mobile */
@media(max-width:768px){
  html{
    scroll-behavior:smooth;
    scroll-padding-top:80px;
  }
}
