/* Targeted fixes on the original dev site. Keep its existing page compositions. */
.site-header .nav { gap: 20px; }
.site-header .nav-right { margin-left: auto; gap: clamp(14px, 1.8vw, 28px); }
.site-header .nav-secondary { white-space: nowrap; }
.site-header .nav-secondary[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.source-buy { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid #f4f4f4; border-radius: 3px; background: #f4f4f4; color: #080808 !important; font: inherit; font-size: 14px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.source-buy:not(:disabled):hover { background: #ddd; border-color: #ddd; }
.source-buy:disabled { cursor: default; opacity: 1; }
.source-buy:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
#hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
#hero .hero-actions .source-buy, #hero .hero-actions .section-cta { position: static; width: auto; min-width: 148px; min-height: 48px; margin: 0; }
#hero .hero-actions .section-cta { cursor: pointer; }
@media (max-width: 620px) {
  #hero .hero-actions { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}
.source-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.source-actions > a:not(.source-buy), .source-link { text-decoration: underline; text-underline-offset: 5px; }
.source-section { padding: clamp(56px, 8vw, 112px) 24px; background: #0b0c0d; color: #f4f4f4; }
.source-wrap { max-width: 1120px; margin: auto; }
.source-section h2 { margin: 0 0 32px; }
.source-eyebrow { color: #a7a7a7; letter-spacing: .08em; }
.source-section p { line-height: 1.7; color: #bebebe; }
.source-section a { color: inherit; }
.source-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.source-facts article { padding-top: 24px; border-top: 1px solid #454545; }
.source-facts h3 { margin-top: 0; }
.source-facts a { display: inline-flex; margin-top: 12px; }
.source-note { font-size: 15px; line-height: 1.65; color: #b5b5b5; margin-top: 28px; }
.source-preflight { padding: 24px; margin-bottom: 28px; border: 1px solid #414141; border-radius: 8px; line-height: 1.7; }
.source-preflight h2 { margin-top: 0; }
.source-preflight a { text-decoration: underline; text-underline-offset: 5px; }
.source-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.inquiry-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.inquiry-form { display: grid; gap: 24px; }
.inquiry-form label, .inquiry-form .field { display: grid; gap: 8px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea, .inquiry-draft { width: 100%; min-width: 0; padding: 12px; border: 1px solid #666; border-radius: 3px; font: inherit; color: #f4f4f4; background: #171717; }
.inquiry-form textarea { min-height: 160px; resize: vertical; }
.inquiry-form :is(input,select,textarea):focus-visible { outline: 2px solid white; outline-offset: 3px; }
.inquiry-form [aria-invalid="true"] { border-color: #fff; border-width: 2px; }
.inquiry-form .field-error { font-size: 14px; }
.inquiry-form .field-error:empty { display: none; }
.source-section .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 44px; font: inherit; font-size: 15px; line-height: 1.4; border: 1px solid #888; border-radius: 3px; color: #f4f4f4; background: transparent; cursor: pointer; text-decoration: none; }
.source-section .btn.primary { background: #f4f4f4; color: #080808; border-color: #f4f4f4; }
.inquiry-form .btn { justify-self: start; }
.inquiry-actions[hidden] { display: none; }
.inquiry-draft { display: block; min-height: 180px; margin-top: 12px; }
.inquiry-status { min-height: 1.7em; }
@media (max-width: 1120px) {
  .site-header .nav { height: 72px; padding-inline: 20px; gap: 16px; }
  .site-header .brand { margin-right: auto; width: 132px; flex: 0 1 132px; }
  .site-header .brand img { width: 100%; height: 100%; object-fit: contain; }
  .site-header .source-buy { margin-left: auto; padding-inline: 14px; }
  .site-header .menu-toggle { display: block; margin: 0; flex: 0 0 44px; width: 44px; height: 44px; }
  .site-header .nav-right { display: none; position: absolute; top: 72px; right: 16px; left: 16px; margin: 0; width: auto; max-width: none; padding: 20px; border: 1px solid #454545; background: rgba(10,10,10,.98); border-radius: 8px; max-height: calc(100dvh - 88px); overflow-y: auto; transform: none; }
  .menu-open .site-header .nav-right { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .site-header .nav-right .nav-secondary { display: flex !important; align-items: center; width: 100%; min-height: 44px; }
  .site-header .nav-right .language-toggle { display: inline-flex; align-self: flex-start; margin-top: 12px; }
}
@media (min-width: 621px) and (max-width: 1120px) {
  #why.section .content, #product.section .content, #traction.section .content { padding-bottom: calc(var(--copy-bottom, 76px) + 96px); }
}
@media (max-width: 760px) {
  .inquiry-layout, .source-facts { grid-template-columns: 1fr; gap: 36px; }
  .source-section { padding-inline: 20px; }
  .source-preflight { padding: 18px; }
}
@media (max-width: 360px) {
  .site-header .nav { padding-inline: 14px; gap: 10px; }
  .site-header .brand { max-width: 110px; }
}
