/* Site-specific additions on top of the Flexi Kanban Website design system (tokens.css + components.css). */

body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); }
a:hover { color: var(--brand); }
.logo img { height: 24px; width: auto; }

/* Stat tiles in the hero */
.stat-num { font: 700 2.4rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }

/* Static (non-interactive) chips */
.chip.static { cursor: default; }
.industries { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.industries .muted { font-size: .9rem; margin-right: 6px; }

.small-note { margin-top: 24px; font-size: .9rem; }
.role-meta { font-size: .88rem; margin-top: 4px; }
.model-num { font: 700 .8rem var(--font-mono); color: var(--brand-ink); }
.model-price { font-size: .88rem; margin-top: auto; }
.work-tile .eyebrow { margin-bottom: 0; }

/* Featured product panel (Flexi Kanban) — always dark, independent of theme */
.feature {
  position: relative; overflow: hidden; overflow: clip; padding: 44px; margin-bottom: 20px; border: none;
  background-color: #0e2240; background-image: linear-gradient(120deg, #0e2240 0%, #14365f 50%, #1a3f6e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.14), 0 24px 60px -24px rgba(14,34,64,.55);
}
.feature-glow { position: absolute; inset: 0; pointer-events: none; }
.feature-glow span { position: absolute; border-radius: 50%; }
.feature-glow .g1 { left: -120px; top: -170px; width: 420px; height: 420px; background: #34e5c4; filter: blur(80px); opacity: .42; }
.feature-glow .g2 { right: -120px; top: -150px; width: 480px; height: 480px; background: #7ee0ff; filter: blur(90px); opacity: .45; }
.feature-glow .g3 { right: 18%; bottom: -230px; width: 440px; height: 440px; background: #f4aaf8; filter: blur(90px); opacity: .42; }
.feature-glow .g4 { left: 28%; bottom: -190px; width: 300px; height: 300px; background: #ffd65a; filter: blur(80px); opacity: .30; }
.feature-glow .glass {
  inset: 0; border-radius: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.03) 42%, rgba(255,255,255,.02) 60%, rgba(255,255,255,.10) 100%);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.feature .split { gap: 40px; position: relative; z-index: 1; }
.feature .eyebrow { margin-bottom: 10px; color: #7ee0ff; }
.feature h3 { font-size: 1.6rem; color: #fff; }
.feature h3 a, .feature h3 a:hover { color: #fff; }
.feature p { margin-top: 12px; color: rgba(255,255,255,.84); }
.feature-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.feature-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; justify-content: flex-end; }
.feature-logo { width: 150px; height: 150px; border-radius: 8px; background: #fff; display: grid; place-items: center; flex: none; }
.feature-logo img { width: 132px; height: 132px; }
.feature-rating { height: 150px; width: auto; border-radius: 8px; flex: none; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.feature .chip { cursor: default; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
@media (max-width: 900px) {
  .feature { padding: 28px; }
  .feature-side, .feature-badges, .feature-chips { align-items: flex-start; justify-content: flex-start; }
}
@media (max-width: 420px) {
  .feature-logo { width: 120px; height: 120px; }
  .feature-logo img { width: 104px; height: 104px; }
  .feature-rating { height: 120px; }
}

/* Mobile menu button (components.css shows .menu-btn under 1080px) */
.menu-btn { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1080px) { .site-header .wrap { position: relative; } }

/* Contact page */
.contact-hero { padding-bottom: 24px; }
.contact-body { padding-top: 32px; }
.contact-body .split { align-items: start; grid-template-columns: 1fr 1.2fr; }
@media (max-width: 900px) { .contact-body .split { grid-template-columns: 1fr; } }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card-head { display: flex; gap: 16px; align-items: center; }
.contact-card-head .tile-ico { flex: none; }
.contact-list { list-style: none !important; padding: 0 !important; margin: 8px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.form-tile { padding: 32px; }
.form-tile h2 { font-size: 1.5rem; }
.form-tile .form { margin-top: 8px; }
.form-status:empty { display: none; }
/* Keep label + control at the top of each cell so paired fields line up, and drop empty error lines. */
.form .field { align-content: start; }
.form .field .err:empty { display: none; }
.form .field input[type="text"], .form .field input[type="email"], .form .field select { height: 48px; }
/* Custom chevron: the native arrow can't be inset, so draw our own 14px from the edge. */
.form .field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
[data-theme="dark"] .form .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b97a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form [hidden] { display: none; }
/* reCAPTCHA checkbox is a fixed 304px iframe; shrink it on narrow phones so it never overflows the card. */
.captcha-field #recaptcha { min-height: 78px; }
@media (max-width: 400px) { .captcha-field #recaptcha { transform: scale(.86); transform-origin: 0 0; min-height: 67px; margin-bottom: -11px; } }
.form-status.ok { color: var(--ok); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* 404 */
.notfound { min-height: 50vh; display: flex; align-items: center; }
