/* Premium responsive interaction & legal page layer */
html { scroll-padding-top: 96px; }
.page-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 5000; pointer-events: none; background: transparent; }
.page-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #134E21, #D4AF37); transition: width .12s linear; }
.app-loader { position: fixed; inset: 0; z-index: 6000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, #f3f8f3, #fff 65%); color: #134E21; font: 600 13px/1.4 var(--font-sans); letter-spacing: .04em; transition: opacity .3s ease, visibility .3s ease; }
.app-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, #134E21, #1E7A34); color: #fff; border: 2px solid #D4AF37; font: 700 22px Georgia; box-shadow: 0 12px 28px rgba(19, 78, 33, .22); }
.loader-track { width: 120px; height: 3px; border-radius: 20px; background: #dce8dc; overflow: hidden; }
.loader-track i { display: block; width: 40%; height: 100%; border-radius: 20px; background: #1E7A34; animation: sa-load 1.1s ease-in-out infinite; }
@keyframes sa-load { from { transform: translateX(-110%); } to { transform: translateX(360%); } }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #D4AF37; outline-offset: 2px; }
.legal-page { max-width: 900px; padding-top: clamp(38px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.legal-page h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .4rem 0 .85rem; color: #134E21; }
.legal-page h2 { font-size: 1.3rem; margin: 1.85rem 0 .65rem; color: #134E21; }
.legal-page p, .legal-page li { color: #3A473D; line-height: 1.78; }
.legal-page ul { list-style: disc; padding-left: 1.35rem; margin-bottom: 1rem; }
.legal-updated { font-size: .9rem; color: #617164; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Engineer page: route-safe DTCP credential mark */
.dtcp-mark{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:34px;padding:0 9px;margin:0 7px 0 0;border:2px solid #1d6b43;border-radius:6px;color:#1d6b43;background:#fff;font-weight:800;letter-spacing:1px;vertical-align:middle}

/* Desktop / PC layout refinement — 02 Dec 2026 */
@media (min-width: 981px) {
  html, body { width: 100%; max-width: 100%; }
  .container { width: min(100% - 48px, 1260px); padding-left: 0; padding-right: 0; }
  .header-inner { min-height: 76px; gap: clamp(12px, 1.4vw, 22px); }
  .brand-logo { flex: 0 0 auto; }
  .main-nav { flex: 1 1 auto; justify-content: center; min-width: 0; gap: 2px; }
  .nav-link { padding: 9px clamp(7px, .75vw, 12px); font-size: clamp(12px, .92vw, 14px); }
  .header-wa-btn { flex: 0 0 auto; padding: 9px 16px; }
  .hero-ref { min-height: clamp(500px, 43vw, 620px); }
  .hero-ref-bg { object-position: 68% center; }
  .hero-ref-overlay { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.68) 53%, rgba(255,255,255,.08) 78%, rgba(19,78,33,.04) 100%); }
  .hero-ref-content { width: min(100%, 650px); max-width: 650px; margin-left: max(24px, calc((100vw - 1260px) / 2)); margin-right: auto; }
  .hero-ref h1 { max-width: 650px; font-size: clamp(42px, 4vw, 58px); }
  .hero-verify-row { align-items: stretch; }
  .hero-verify-card { max-width: 100%; }
  .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefit-item { min-width: 0; }
  .section { scroll-margin-top: 90px; }
}

/* Compact desktop laptops: keep the full desktop navigation usable. */
@media (min-width: 981px) and (max-width: 1180px) {
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 8px; }
  .brand-logo img { width: 42px; height: 42px; }
  .brand-name { font-size: .88rem; }
  .brand-sub { font-size: .62rem; }
  .nav-link { padding: 8px 6px; font-size: 11.5px; }
  .header-wa-btn { padding: 8px 11px; font-size: 12px; }
  .hero-ref-content { margin-left: 18px; }
}

@media (max-width: 980px) {
  .container { width: 100%; padding-left: 20px; padding-right: 20px; }
}
