/* UnisealCR responsive full fit: desktop, tablet, mobile */
:root{
  --ucr-page-max: 1180px;
  --ucr-side-pad: clamp(16px, 4vw, 32px);
  --ucr-header-h: 74px;
}
*{box-sizing:border-box;}
html{width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;}
body{width:100%;overflow-x:hidden;}
img,svg,video,iframe{max-width:100%;}
img,video{height:auto;}
a,button{touch-action:manipulation;}
.container,.footer-container,.wrap{
  width:min(var(--ucr-page-max), calc(100% - (var(--ucr-side-pad) * 2))) !important;
  max-width:var(--ucr-page-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.section,.section-alt,.chotam-audience,.chotam-faq{padding:clamp(44px, 7vw, 86px) 0 !important;}
.section--tight{padding:clamp(34px, 5vw, 64px) 0 !important;}
.section-title,.section-head h2,h1.hero-title{font-size:clamp(1.85rem, 4vw, 3.4rem) !important;line-height:1.12 !important;}
.section-subtitle,.hero-subtitle,.subtitle,.description{font-size:clamp(1rem, 1.5vw, 1.2rem) !important;line-height:1.65 !important;}

/* Header and navigation */
.header{z-index:99999 !important;}
.navbar{
  width:min(var(--ucr-page-max), calc(100% - 28px)) !important;
  max-width:var(--ucr-page-max) !important;
  min-height:var(--ucr-header-h) !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
}
.logo{display:inline-flex !important;align-items:center !important;gap:8px !important;min-width:0 !important;text-decoration:none !important;}
.logo span{white-space:nowrap !important;font-size:1.15rem !important;}
.logo-icon,.logo-icon--img{width:32px !important;height:32px !important;flex:0 0 auto !important;}
.logo-icon img,.logo-icon--img img{width:32px !important;height:32px !important;display:block !important;}
.nav-actions{display:flex !important;align-items:center !important;gap:10px !important;flex:0 0 auto !important;}
.theme-toggle,.menu-toggle{appearance:none;}
.menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;border:0;background:transparent;border-radius:12px;cursor:pointer;}
.menu-toggle span{display:block;width:24px;height:2px;background:#111;border-radius:999px;transition:transform .2s ease, opacity .2s ease;}
.menu-toggle[aria-expanded="true"] span:nth-child(1),.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] span:nth-child(2),.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] span:nth-child(3),.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.nav-menu{display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:clamp(8px, 1.2vw, 22px) !important;list-style:none !important;margin:0 !important;padding:0 !important;min-width:0 !important;}
.nav-menu li{margin:0 !important;padding:0 !important;}
.nav-menu a{white-space:nowrap !important;text-decoration:none !important;}

/* Hero media */
.hero.hero--image-only{height:clamp(360px, 60vh, 640px) !important;min-height:360px !important;margin:0 !important;margin-top:var(--ucr-header-h) !important;}
.hero.hero--image-only .hero-bg--only,.hero-bg,.chotam-hero__bg{width:100% !important;height:100% !important;object-fit:cover !important;}
.chotam-hero{min-height:100svh !important;padding-top:var(--ucr-header-h) !important;}
.chotam-hero__content{padding-left:var(--ucr-side-pad) !important;padding-right:var(--ucr-side-pad) !important;}
.chotam-hero__title{font-size:clamp(2rem, 6vw, 4rem) !important;max-width:980px !important;}
.chotam-hero__text{font-size:clamp(1rem, 1.7vw, 1.25rem) !important;max-width:820px !important;}
.chotam-hero__actions,.hero-buttons,.cta-buttons,.cta-btns{display:flex !important;flex-wrap:wrap !important;justify-content:center !important;gap:12px !important;}
.btn,.btn-large,.btn-small{max-width:100% !important;text-align:center !important;white-space:normal !important;}

/* Responsive grids */
.cards-grid,.team-grid,.threat-grid,.audience-grid,.features-grid,.solutions-grid,.stats-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important;
  gap:clamp(16px, 2vw, 32px) !important;
}
.card,.team-card,.aud-card,.threat-card,.solution-card,.feature-card,.faq-accordion details{
  max-width:100% !important;
  overflow-wrap:anywhere !important;
}
.process-timeline,.faq-grid{max-width:100% !important;}
.process-step{display:grid !important;grid-template-columns:auto 1fr !important;gap:18px !important;align-items:start !important;}
.media-block{max-width:100% !important;overflow:hidden !important;}
.content-image,.media-block img{width:100% !important;max-width:100% !important;height:auto !important;display:block !important;margin-left:auto !important;margin-right:auto !important;border-radius:clamp(12px, 2vw, 22px) !important;}
.kling-video-wrap{min-height:260px !important;}
.kling-title{font-size:clamp(1.15rem, 3vw, 2rem) !important;}

/* Embedded action iframe */
.embedded-action-wrap{width:100% !important;max-width:100% !important;border-radius:clamp(14px, 2vw, 24px) !important;overflow:hidden !important;}
#unisealcr-action-frame{display:block !important;width:100% !important;min-height:5200px !important;border:0 !important;}

/* Footer */
.site-footer{padding-left:var(--ucr-side-pad) !important;padding-right:var(--ucr-side-pad) !important;}
.site-footer .footer-content.footer-container{display:grid !important;grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;gap:clamp(22px, 4vw, 44px) !important;align-items:start !important;}
.footer-line,.footer-links a{overflow-wrap:anywhere !important;}

@media (max-width: 1100px){
  .nav-menu{gap:8px !important;}
  .nav-menu a:not(.btn){font-size:.94rem !important;padding:6px 8px !important;}
}

@media (max-width: 900px){
  :root{--ucr-header-h:68px;}
  .header,.header.is-scrolled{background:#fff !important;box-shadow:0 4px 18px rgba(0,0,0,.08) !important;}
  .navbar{width:calc(100% - 24px) !important;min-height:var(--ucr-header-h) !important;}
  .logo span{font-size:1.05rem !important;}
  .logo-icon,.logo-icon--img,.logo-icon img,.logo-icon--img img{width:30px !important;height:30px !important;}
  .menu-toggle{display:flex !important;}
  .nav-menu{
    position:fixed !important;
    top:calc(var(--ucr-header-h) + 8px) !important;
    left:12px !important;
    right:12px !important;
    z-index:99998 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:14px !important;
    border-radius:20px !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 18px 45px rgba(0,0,0,.18) !important;
    border:1px solid rgba(0,0,0,.08) !important;
    max-height:calc(100dvh - var(--ucr-header-h) - 24px) !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
  .nav-menu.active{display:flex !important;}
  .nav-menu li{width:100% !important;}
  .nav-menu a{display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;padding:13px 14px !important;border-radius:12px !important;font-size:1rem !important;}
  .nav-menu .btn{width:100% !important;}
  html.menu-open,body.menu-open,body.nav-open{overflow:hidden !important;}
  .theme-toggle{width:42px !important;height:42px !important;}
  .hero.hero--image-only{height:46svh !important;min-height:300px !important;}
  .chotam-hero{min-height:92svh !important;align-items:center !important;justify-content:flex-end !important;padding-bottom:44px !important;}
  .chotam-hero__scroll{display:none !important;}
  .process-step{grid-template-columns:1fr !important;text-align:center !important;}
  .step-number{margin:0 auto !important;}
  #unisealcr-action-frame{min-height:6500px !important;}
}

@media (max-width: 600px){
  :root{--ucr-side-pad:16px;--ucr-header-h:64px;}
  body{font-size:16px !important;}
  .container,.footer-container,.wrap{width:calc(100% - 32px) !important;}
  .section,.section-alt,.chotam-audience,.chotam-faq{padding:38px 0 !important;}
  .hero.hero--image-only{height:42svh !important;min-height:250px !important;}
  .hero-text-below{min-height:200px !important;padding:32px 0 !important;}
  .chotam-hero{min-height:88svh !important;padding-bottom:32px !important;}
  .chotam-hero__badge{font-size:.8rem !important;padding:7px 12px !important;}
  .chotam-hero__title{font-size:2rem !important;}
  .chotam-hero__text{font-size:1rem !important;line-height:1.55 !important;}
  .btn,.btn-large{width:100% !important;padding:13px 16px !important;}
  .aud-card,.card,.team-card,.threat-card,.solution-card,.feature-card{padding:18px !important;border-radius:16px !important;}
  .kling-overlay{padding:26px 16px !important;}
  .kling-video-wrap{aspect-ratio:9/14 !important;min-height:420px !important;}
  .footer-bottom{font-size:.82rem !important;line-height:1.5 !important;}
  #installAppBtn{left:16px !important;right:16px !important;bottom:16px !important;justify-content:center !important;border-radius:16px !important;}
  .embedded-action-wrap{margin-left:-6px !important;margin-right:-6px !important;width:calc(100% + 12px) !important;}
  #unisealcr-action-frame{min-height:7600px !important;}
}

@media (max-width: 380px){
  .logo span{font-size:.95rem !important;}
  .theme-toggle{display:none !important;}
  #unisealcr-action-frame{min-height:8200px !important;}
}

/* 2026-06-15 patch: unified header video sizing + embedded action box fit */
body .hero.hero--image-only{
  position:relative !important;
  overflow:hidden !important;
  height:clamp(360px, 58vh, 620px) !important;
  min-height:360px !important;
  max-height:620px !important;
}
body .hero.hero--image-only video.hero-bg--only,
body .hero.hero--image-only .hero-bg--only{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
}
body .chotam-hero{
  position:relative !important;
  overflow:hidden !important;
  min-height:clamp(560px, 78vh, 760px) !important;
  height:clamp(560px, 78vh, 760px) !important;
  max-height:760px !important;
}
body .chotam-hero__bg{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}
.embedded-action-wrap{
  height:auto !important;
  max-height:none !important;
  overflow:hidden !important;
}
#unisealcr-action-frame{
  display:block !important;
  width:100% !important;
  height:1px;
  min-height:0 !important;
  max-height:none !important;
  border:0 !important;
  overflow:hidden !important;
}
@media (max-width:900px){
  body .hero.hero--image-only{
    height:clamp(280px, 44svh, 430px) !important;
    min-height:280px !important;
    max-height:430px !important;
  }
  body .chotam-hero{
    min-height:clamp(520px, 74svh, 680px) !important;
    height:clamp(520px, 74svh, 680px) !important;
    max-height:680px !important;
  }
}
@media (max-width:600px){
  body .hero.hero--image-only{
    height:clamp(240px, 38svh, 360px) !important;
    min-height:240px !important;
    max-height:360px !important;
  }
  body .chotam-hero{
    min-height:clamp(500px, 70svh, 620px) !important;
    height:clamp(500px, 70svh, 620px) !important;
    max-height:620px !important;
  }
}

/* 2026-06-15 patch: keep mobile browser status bar blue and make hero videos visible */
:root{
  --uniseal-status-blue:#0b5cff;
}
body .hero.hero--image-only{
  background:#0b5cff;
}
body .hero.hero--image-only video.hero-bg--only{
  opacity:1 !important;
  visibility:visible !important;
  z-index:0 !important;
  background:#0b5cff;
}
body .hero.hero--image-only .hero-content,
body .hero.hero--image-only + .hero-text-below{
  position:relative;
  z-index:1;
}

/* 2026-06-15 patch v4: fix About page dark mode readability without changing light mode */
html[data-theme="dark"] body{
  background:#0b1220 !important;
  color:#e5e7eb !important;
}
html[data-theme="dark"] .about-hero,
html[data-theme="dark"] .section,
html[data-theme="dark"] .section-alt{
  background:#0b1220 !important;
  color:#e5e7eb !important;
}
html[data-theme="dark"] .content-block,
html[data-theme="dark"] .profile-content,
html[data-theme="dark"] .full-profile,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .panel{
  background:rgba(15,23,42,0.72) !important;
  color:#e5e7eb !important;
  border-color:rgba(148,163,184,0.22) !important;
}
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-header,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .team-name{
  color:#f8fafc !important;
}
html[data-theme="dark"] .hero-subtitle,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .content-block,
html[data-theme="dark"] .content-block p,
html[data-theme="dark"] .profile-content,
html[data-theme="dark"] .profile-content p,
html[data-theme="dark"] p,
html[data-theme="dark"] li{
  color:#cbd5e1 !important;
}
html[data-theme="dark"] strong{
  color:#f8fafc !important;
}
html[data-theme="dark"] .content-block [style*="background: #eff6ff"],
html[data-theme="dark"] .content-block [style*="background:#eff6ff"]{
  background:rgba(37,99,235,0.16) !important;
  border:1px solid rgba(96,165,250,0.25) !important;
}
html[data-theme="dark"] .content-block [style*="color: #1e3a8a"],
html[data-theme="dark"] .content-block [style*="color:#1e3a8a"]{
  color:#bfdbfe !important;
}
