/* APEX Interactive: warm paper, coral, terracotta and deep plum. */
html { scroll-padding-top: 100px; }
body { background: #fffaf6; }
::selection { background: #f9c4ad; color: #291923; }
:focus-visible { outline: 3px solid #ad3e32; outline-offset: 5px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.nav { background: rgba(255, 250, 246, .92); }
.nav-logo { flex-shrink: 0; }
.nav-links { margin-left: 32px; gap: 26px; }
.logo-word { white-space: nowrap; font-size: 17px; }
.hero-title { text-wrap: balance; }
.hero-note { color: #826e70; }
.frame-url { color: #d9bfc5; }
.frame-kpi-lbl { color: #d9bfc5; }
.ft-tagline, .ft-contact span, .ft-col a { color: #c4adb6; }
.ft-contact svg, .ft-copy, .ft-links a { color: #b7a0aa; }
.ft-contact a { overflow-wrap: anywhere; }
.fade-up { opacity: 1; transform: none; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #e9d9d1; border-radius: 10px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 20px; height: 20px; }
.mobile-nav-panel { position: absolute; top: 50px; right: 0; width: 200px; padding: 10px; background: #fffaf6; border: 1px solid #e9d9d1; border-radius: 12px; box-shadow: 0 12px 30px #2919231a; }
.mobile-nav-panel a { display: block; padding: 13px 15px; border-radius: 8px; }
.mobile-nav-panel a:hover { background: #fbece3; }
.skip-link { position: fixed; z-index: 1100; top: 8px; left: 8px; padding: 12px 18px; background: #fffaf6; border: 2px solid #ad3e32; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.apex-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 32px; border: 1px solid #e9d9d1; border-radius: 20px; background: #fffaf6; color: #291923; box-shadow: 0 24px 80px #29192333; }
.apex-dialog::backdrop { background: rgba(32, 18, 28, .65); backdrop-filter: blur(5px); }
.apex-dialog h2 { font-size: 28px; letter-spacing: -.025em; margin: 8px 32px 12px 0; }
.apex-dialog p { font-size: 15px; line-height: 1.7; color: #735d64; margin-bottom: 22px; }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #e9d9d1; border-radius: 50%; background: transparent; color: #735d64; cursor: pointer; }
.dialog-close svg { width: 18px; height: 18px; }
.inquiry-form { display: grid; gap: 16px; }
.inquiry-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.inquiry-form input, .inquiry-form textarea { width: 100%; min-width: 0; padding: 12px 14px; color: #291923; background: #fff; border: 1px solid #dbc7bf; border-radius: 9px; font-size: 15px; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #8b757b; }
.inquiry-form textarea { resize: vertical; min-height: 100px; }
.inquiry-form .btn-primary { justify-content: center; min-height: 48px; }
.inquiry-status { min-height: 24px; color: #735d64; font-size: 14px; line-height: 1.6; }
.inquiry-result { display: grid; gap: 10px; }
.inquiry-result[hidden] { display: none; }
.inquiry-result textarea { min-height: 180px; }
.demo-note { margin: 22px auto 0; font-size: 12px; color: #c4adb6; text-align: center; }
.apex-policy h3 { margin: 20px 0 8px; font-size: 17px; }
.apex-policy p:last-child { margin-bottom: 0; }
@media (max-width: 1150px) {
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .nav-right { gap: 12px; }
}
@media (max-width: 600px) {
  .nav { padding-inline: 16px; height: 72px; gap: 8px; }
  .nav-logo { gap: 8px; }
  .nav .logo-badge { width: 32px; height: 32px; border-radius: 9px; }
  .nav .logo-word { font-size: 16px; line-height: 1.1; }
  .nav .logo-word .accent { display: block; font-size: 11px; margin-top: 3px; letter-spacing: .025em; }
  .nav-right { gap: 8px; }
  .nav-right .btn-nav { display: none; }
  .lang-pill button { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .lang-pill button > span { display: none; }
  .hero-badge { font-size: 11px; padding-inline: 10px; }
  .hero { overflow: hidden; }
  .hero-title { font-size: clamp(30px, 8vw, 36px); }
  .frame-body { padding: 14px; }
  .frame-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame-main { min-width: 0; }
  .frame-url { margin-left: 3px; font-size: 10px; padding-inline: 8px; }
  .fv-stat-row { gap: 8px; }
  .apex-dialog { padding: 26px 20px; }
  .apex-dialog h2 { font-size: 25px; }
  .ft-inner { padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
