/* Homepage chrome shared by /, /flarewing/, and /news/ */

.bg-wrapper {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-wrapper img {
  width: 100%;
  display: block;
}

.bg-wrapper .bg-planet {
  position: absolute;
  left: 48.69%;
  top: 0;
  width: 220.95%;
  height: auto;
  transform: translate(-50%, -90.23%) rotate(0deg);
  transform-origin: center center;
  animation: planetSpin 600s linear infinite;
  pointer-events: none;
}

@keyframes planetSpin {
  to { transform: translate(-50%, -90.23%) rotate(360deg); }
}

.bg-wrapper .bg-planet-shade {
  position: absolute;
  left: 48.69%;
  top: 0;
  width: 220.95%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -90.23%);
  transform-origin: center center;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #000 0%, #000 90%, transparent 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg-wrapper .bg-planet {
    animation: none;
  }
}

.bg-gradient {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #010101);
}

.container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 264px 64px 80px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.header-left {
  display: flex;
  gap: 8px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  color: inherit;
}

.brand-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -0.84px;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 65%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 65%, transparent 100%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: brandReach 3.67s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes brandReach {
  to {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-text {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.logo {
  width: 64px;
  height: auto;
}

.logo .logo-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: logoDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo .logo-path-1 { animation-delay: 0.97s; }
.logo .logo-path-2 { animation-delay: 1.17s; }
.logo .logo-path-3 { animation-delay: 1.37s; }

@keyframes logoDraw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .logo .logo-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: #00FFCC;
}

.scroll-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.scroll-btn:hover {
  opacity: 1;
}

.scroll-value {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #00FFCC;
}

.scroll-value .bracket {
  opacity: 0.45;
}

#scrollPercent {
  min-width: 3ch;
  text-align: center;
}

.hero {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: -2.4px;
  margin-bottom: 60px;
}

.hero h1 .tm {
  opacity: 0.5;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: #03362C;
  margin-bottom: 96px;
}

.hero-body {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.hero-description {
  max-width: 540px;
}

.hero-description p {
  font-size: 18px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.18px;
  text-align: left;
  margin-bottom: 36px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding-top: 2px;
}

/* Keep fixed desktop chrome above later page-level stacking contexts.
   The fixed nav's own z-index cannot escape this ancestor context. */
.container:has(.side-nav) {
  z-index: 4;
}

.side-nav a,
.mobile-nav-overlay a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.side-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
}

.side-nav a:hover {
  color: #fff;
}

.side-nav a.is-active,
.mobile-nav-overlay a.is-active,
.side-nav a.is-active:hover,
.mobile-nav-overlay a.is-active:hover {
  color: #00FFCC;
}

.side-nav a.is-active::after,
.mobile-nav-overlay a.is-active::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00FFCC;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
}

.contact-form .form-field.full-width,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(221, 221, 221, 0.5);
  border-radius: 111px;
  padding: 12px 18px;
  font-family: 'PP Telegraf', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16px;
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2.5px);
  outline: none;
  transition: border-color 0.25s ease;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 255, 204, 0.5);
}

.contact-form textarea {
  border-radius: 20px;
  min-height: 120px;
  resize: vertical;
}

.contact-form button.btn {
  justify-self: start;
  margin-top: 8px;
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.contact-left {
  flex: 1;
  min-width: 0;
}

.contact-inner h3 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -0.84px;
  margin-bottom: 16px;
}

.contact-intro {
  font-size: 18px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.18px;
  margin-bottom: 56px;
  max-width: 580px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 4px;
  border-left: 1px solid #03362C;
  padding-left: 56px;
}

.contact-right .logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
  -webkit-mask-image: linear-gradient(to top right, #000 0%, #000 35%, transparent 65%, transparent 100%);
  mask-image: linear-gradient(to top right, #000 0%, #000 35%, transparent 65%, transparent 100%);
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0%;
  mask-position: 100% 0%;
  transition: -webkit-mask-position 2.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              mask-position 2.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.contact-right .logo.visible {
  -webkit-mask-position: 0% 100%;
  mask-position: 0% 100%;
}

.contact-right .logo .lockup-star {
  fill: none;
  stroke: #00FFCC;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.contact-right .logo.visible .lockup-star {
  animation: logoDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-right .logo.visible .lockup-star-1 { animation-delay: 0.6s; }
.contact-right .logo.visible .lockup-star-2 { animation-delay: 0.8s; }
.contact-right .logo.visible .lockup-star-3 { animation-delay: 1.0s; }

@media (prefers-reduced-motion: reduce) {
  .contact-right .logo {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .contact-right .logo .lockup-star {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.contact-copyright {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.35);
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-address {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.35);
  text-align: left;
  text-transform: uppercase;
  margin-top: 16px;
}

.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.contact-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.fade-in-line {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: revealLine 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealLine {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.scroll-indicator.is-stuck,
.side-nav.is-stuck {
  position: fixed !important;
  z-index: 10000;
}

.sticky-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 30000;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: rgba(1, 1, 1, 0.6);
  backdrop-filter: blur(8px);
  border: 1px dashed rgba(221, 221, 221, 0.5);
  border-radius: 111px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s, border-color 0.3s;
}

.mobile-nav-toggle:hover {
  color: #fff;
  border-color: rgba(221, 221, 221, 0.8);
}

.mobile-nav-toggle[aria-expanded="true"] {
  z-index: 40001;
  color: #fff;
}

.mobile-nav-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.mobile-nav-icon span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.mobile-nav-icon span:nth-child(1) { top: 0; }
.mobile-nav-icon span:nth-child(2) { top: 5.25px; }
.mobile-nav-icon span:nth-child(3) { top: 10.5px; }

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(1) {
  top: 5.25px;
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(3) {
  top: 5.25px;
  transform: rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40000;
  background: rgba(1, 1, 1, 0.92);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay a {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  min-height: 44px;
  justify-content: center;
}

.mobile-nav-overlay a:hover {
  color: #fff;
}

.mobile-nav-close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.mobile-nav-close:hover {
  color: #fff;
}

.quote-hero .hero-description {
  max-width: 640px;
  flex: 1;
}

.quote-hero:has(+ .quote-model) .hero-description p:last-child {
  margin-bottom: 18px;
}

.quote-model {
  position: relative;
  z-index: 2;
  max-width: 88%;
  margin-top: -56px;
}

.quote-model canvas {
  display: block;
  width: 100%;
  height: 410px;
}

.quote-section {
  padding-top: 120px;
}

/* pull the section following the 3D model closer to it */
.quote-model + .quote-section {
  padding-top: 24px;
}

.quote-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  max-width: 88%;
}

.quote-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  max-width: 88%;
}

.quote-feature {
  padding: 28px 24px;
  border: 1px dashed rgba(221, 221, 221, 0.2);
  border-radius: 8px;
}

.quote-feature h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -0.84px;
  margin-bottom: 16px;
}

.quote-feature h3 svg,
.quote-feature h3 img {
  flex-shrink: 0;
}

.quote-feature p {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.16px;
}

.quote-table-wrap {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.quote-table-hint {
  display: none;
}

.quote-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.quote-table th,
.quote-table td {
  text-align: left;
  padding: 20px 10px;
  border: 0;
  border-bottom: 1px dashed rgba(221, 221, 221, 0.15);
  box-shadow: none;
  outline: none;
  vertical-align: middle;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
}

.quote-table thead th {
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.config-size {
  color: #00FFCC;
}

.quote-table thead th:first-child,
.quote-table tbody th {
  width: auto;
  white-space: nowrap;
  text-wrap: nowrap;
}

.quote-table tbody th {
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.quote-table tbody td,
.quote-table td {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.quote-config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 88%;
  margin-bottom: 32px;
}

.quote-config-intro {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.18px;
}

.quote-form {
  width: 100%;
  max-width: 88%;
}

.quote-standard,
.quote-form .contact-inner {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

/* Questions hug their pills; leftover width goes to the folded model. */
.quote-standard-layout {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 24px 40px;
  align-items: start;
}

.quote-custom-model {
  position: sticky;
  top: 110px;
  justify-self: start;
  width: 100%;
  min-width: 0;
  /* cap so a square in a wide 1fr column stays in-viewport and clear of the side nav */
  max-width: min(100%, calc(100vh - 140px));
  aspect-ratio: 1 / 1;
  display: grid;
  /* faint diagonal hatching behind the transparent canvas */
  background: repeating-linear-gradient(
    45deg,
    rgba(221, 221, 221, 0.08) 0 1px,
    transparent 1px 6px
  );
  border: 1px dashed rgba(221, 221, 221, 0.2);
  border-radius: 8px;
}

.quote-custom-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.quote-standard-layout {
  margin-bottom: 0;
}

.quote-standard-questions {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.quote-qty {
  position: relative;
  width: 100%;
}

.quote-standard-questions .quote-qty-input {
  width: 100%;
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quote-standard-questions .quote-qty-input::-webkit-outer-spin-button,
.quote-standard-questions .quote-qty-input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.quote-qty-steppers {
  position: absolute;
  top: 0;
  right: 8px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form .quote-qty-step {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  margin: 0;
  border: 0;
  background: none;
  font-size: 0;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  line-height: 0;
  transition: color 0.2s, opacity 0.2s;
}

.contact-form .quote-qty-step:hover {
  color: #00FFCC;
  opacity: 1;
}

.contact-form .quote-qty-step:disabled {
  color: rgba(255, 255, 255, 0.18);
  cursor: default;
  opacity: 1;
}

.quote-standard .quote-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.quote-validation-error {
  margin: 16px 0 32px;
  color: #ff9f9f;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.4px;
}

.quote-validation-error[hidden] {
  display: none;
}

.quote-table-select[aria-invalid="true"] {
  outline: 1px dashed rgba(255, 159, 159, 0.8);
  outline-offset: 8px;
}

.quote-validation-error[hidden] + .quote-standard-layout {
  margin-top: 48px;
}

.quote-table-select [data-size] {
  cursor: pointer;
}

.quote-table-select thead th[data-size]:hover,
.quote-table-select td[data-size]:hover {
  background: rgba(0, 255, 204, 0.04);
}

.quote-table-select.is-size-S thead th[data-size="S"],
.quote-table-select.is-size-M thead th[data-size="M"],
.quote-table-select.is-size-L thead th[data-size="L"] {
  color: #00FFCC;
}

.quote-table-select.is-size-S [data-size="S"],
.quote-table-select.is-size-M [data-size="M"],
.quote-table-select.is-size-L [data-size="L"],
.quote-table-select.is-size-S [data-size="S"]:hover,
.quote-table-select.is-size-M [data-size="M"]:hover,
.quote-table-select.is-size-L [data-size="L"]:hover {
  background: rgba(0, 255, 204, 0.07);
  background-clip: padding-box;
  border: 0;
  border-bottom: 1px dashed rgba(221, 221, 221, 0.15);
  box-shadow: none;
  outline: none;
}

.quote-table-select.is-size-S td[data-size="S"],
.quote-table-select.is-size-M td[data-size="M"],
.quote-table-select.is-size-L td[data-size="L"] {
  color: rgba(255, 255, 255, 0.75);
}

.quote-table-select .quote-table-select-row th,
.quote-table-select .quote-table-select-row td,
.quote-table-select.is-size-S .quote-table-select-row [data-size="S"],
.quote-table-select.is-size-M .quote-table-select-row [data-size="M"],
.quote-table-select.is-size-L .quote-table-select-row [data-size="L"],
.quote-table-select.is-size-S .quote-table-select-row [data-size="S"]:hover,
.quote-table-select.is-size-M .quote-table-select-row [data-size="M"]:hover,
.quote-table-select.is-size-L .quote-table-select-row [data-size="L"]:hover {
  position: relative;
  border-bottom: 0;
  padding-top: 36px;
}

.quote-table-select-row td[data-size] {
  text-align: center;
}

.contact-form .quote-size-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contact-form .quote-select-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  box-sizing: border-box;
  width: 180px;
  min-width: 180px;
  margin: 0;
  padding: 11px 20px;
  background: transparent;
  border: 1px dashed rgba(221, 221, 221, 0.35);
  border-radius: 111px;
  box-shadow: none;
  outline: none;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.3px;
  line-height: 130%;
  text-transform: uppercase;
  opacity: 1;
  filter: none;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.contact-form .quote-select-btn:hover,
.contact-form .quote-select-btn:focus,
.contact-form .quote-select-btn:focus-visible {
  background: transparent;
  border: 1px dashed rgba(221, 221, 221, 0.55);
  box-shadow: none;
  outline: none;
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.contact-form .quote-select-btn.is-selected,
.contact-form .quote-select-btn.is-selected:hover,
.contact-form .quote-select-btn.is-selected:focus,
.contact-form .quote-select-btn.is-selected:focus-visible {
  background: rgba(0, 255, 204, 0.07);
  border: 1px solid #00FFCC;
  box-shadow: none;
  outline: none;
  color: #00FFCC;
  opacity: 1;
  filter: none;
}

.contact-form .quote-table .quote-select-btn {
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.quote-q,
.quote-contact {
  grid-column: 1 / -1;
}

.quote-q {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.quote-q + .quote-q {
  margin-top: 40px;
}

.quote-q legend {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  padding: 0;
}

.quote-q legend::before {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  flex-shrink: 0;
  margin-top: 0.65em;
  background: #00FFCC;
}

.quote-q:has(.quote-q-hint) legend {
  margin-bottom: 8px;
}

.quote-q-hint {
  display: flex;
  flex-direction: column;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 20px;
  padding-left: 84px;
}

.quote-q-hint span {
  white-space: nowrap;
}

.quote-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.quote-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border: 1px dashed rgba(221, 221, 221, 0.35);
  border-radius: 111px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  letter-spacing: 0.16px;
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s;
}

.quote-option input {
  accent-color: #00FFCC;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  flex-shrink: 0;
}

.quote-option:hover {
  border-color: rgba(0, 255, 204, 0.5);
  background: rgba(0, 255, 204, 0.03);
}

.quote-option.is-selected,
.quote-option:has(input:checked) {
  border-color: rgba(0, 255, 204, 0.5);
  background: rgba(0, 255, 204, 0.07);
}

/* Max BOL power slider */
.quote-slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.quote-slider-value {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #00FFCC;
  font-variant-numeric: tabular-nums;
}

/* Reset the .contact-form input chrome (dashed pill, padding, blur). */
.contact-form .quote-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  outline: none;
  cursor: pointer;
  --fill: 100%;
}

.contact-form .quote-slider-input:focus {
  border: 0;
}

.contact-form .quote-slider-input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    to right,
    #00FFCC 0%,
    #00FFCC var(--fill),
    rgba(221, 221, 221, 0.25) var(--fill),
    rgba(221, 221, 221, 0.25) 100%
  );
}

.contact-form .quote-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: #00FFCC;
  box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.15);
  transition: box-shadow 0.2s;
}

.contact-form .quote-slider-input:hover::-webkit-slider-thumb,
.contact-form .quote-slider-input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(0, 255, 204, 0.25);
}

.contact-form .quote-slider-input::-moz-range-track {
  height: 2px;
  border-radius: 1px;
  background: rgba(221, 221, 221, 0.25);
}

.contact-form .quote-slider-input::-moz-range-progress {
  height: 2px;
  border-radius: 1px;
  background: #00FFCC;
}

.contact-form .quote-slider-input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #00FFCC;
  box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.15);
  transition: box-shadow 0.2s;
}

.contact-form .quote-slider-input:hover::-moz-range-thumb,
.contact-form .quote-slider-input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 6px rgba(0, 255, 204, 0.25);
}

.quote-slider-scale {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
}

.quote-contact-intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.18px;
}

/* Quote contact only — do not change .contact-form (home / news footer). */
.quote-form .quote-contact:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  margin-top: 40px;
  box-sizing: border-box;
}

.quote-form .quote-contact .form-field,
.quote-form .quote-contact .form-field.full-width,
.quote-form .quote-contact .cta,
.quote-form .quote-contact .quote-contact-intro {
  grid-column: auto;
  width: 100%;
  max-width: 100%;
}

/* Quote submit only — matches the spec-sheet modal's full-width bordered button.
   Do not change .contact-form button (home / news footer submit). */
.contact-form .quote-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px dashed rgba(0, 255, 204, 0.4);
  border-radius: 111px;
  background: rgba(0, 255, 204, 0.06);
  color: #00FFCC;
  white-space: nowrap;
  opacity: 1;
  transition: background 0.25s, border-color 0.25s;
}

.contact-form .quote-submit-btn:hover,
.contact-form .quote-submit-btn:focus-visible {
  background: rgba(0, 255, 204, 0.1);
  border-color: rgba(0, 255, 204, 0.6);
  opacity: 1;
  outline: none;
}

.contact-form .quote-submit-btn:disabled {
  cursor: wait;
  opacity: 0.55;
}

.quote-submit-status {
  width: 100%;
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.4px;
}

.quote-submit-status[hidden] {
  display: none;
}

.quote-submit-status.is-success {
  color: #00FFCC;
}

.quote-submit-status.is-error {
  color: #ff9f9f;
}

.news-index-list,
.post-cover,
.post-related,
.post-back {
  max-width: 88%;
}

.news-index-list {
  padding-top: 80px;
  margin-top: -88px;
}

.news-index-hero .hero-description {
  flex: 1;
  min-width: 0;
  max-width: none;
}

.news-index-intro-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.news-index-hero .hero-description .news-index-intro {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.news-topic-filter {
  appearance: none;
  -webkit-appearance: none;
  margin-left: auto;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 13.5rem;
  max-width: 100%;
  padding: 8px 38px 8px 18px;
  border-radius: 111px;
  border: 1px dashed rgba(221, 221, 221, 0.5);
  background-color: rgba(1, 1, 1, 0.72);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23DDDDDD' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  color: #ddd;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.3px;
  line-height: 130%;
  color-scheme: dark;
}

.news-topic-filter:hover {
  border-color: rgba(0, 255, 204, 0.45);
  color: #00ffcc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300FFCC' stroke-width='1.5'/%3E%3C/svg%3E");
}

.news-topic-filter:focus,
.news-topic-filter:focus-visible {
  border-color: #00ffcc;
  color: #00ffcc;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300FFCC' stroke-width='1.5'/%3E%3C/svg%3E");
}

.news-index-hero .hero-description p:last-child,
.post-hero .hero-description p:last-child {
  margin-bottom: 0;
}

.post-hero h1 {
  font-size: 48px;
  letter-spacing: -1.92px;
  line-height: 1.05;
  max-width: 14em;
}

.post-hero .post-author {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.post-body .quote-table-wrap {
  margin: 32px 0 48px;
  overflow-x: auto;
}

.news-site-footer {
  margin-top: 96px;
  padding-top: 80px;
}

@media (max-width: 1024px) {
  .container {
    padding: 180px 40px 60px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .hero-body {
    flex-direction: column;
    gap: 40px;
  }

  .hero-description {
    max-width: 100%;
  }

  .side-nav {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .quote-badges,
  .quote-features,
  .quote-config-head,
  .quote-table-wrap,
  .quote-form.is-standard,
  .news-index-list,
  .post-cover,
  .post-related,
  .post-back {
    max-width: 100%;
  }

  .quote-form,
  .quote-form.is-standard {
    max-width: 100%;
  }

  .quote-model {
    max-width: 100%;
    margin-top: 0;
  }

  .news-index-list {
    margin-top: 0;
  }

  .quote-model canvas {
    height: 340px;
  }

  /* single column: folded model sits below the questions, not sticky */
  .quote-standard-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-custom-model {
    position: static;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    margin-top: 16px;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 1 / 1;
  }

  .quote-option {
    white-space: normal;
  }

  .contact-inner {
    flex-direction: column;
    gap: 48px;
  }

  .contact-right {
    align-items: flex-start;
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .news-index-intro-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .news-index-hero .hero-description .news-index-intro {
    white-space: normal;
  }

  .news-topic-filter {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .custom-cursor {
    display: none !important;
  }

  body, *, a, button, input, [role="button"] {
    cursor: auto !important;
  }

  .container {
    padding: 140px 24px 48px;
  }

  header {
    margin-bottom: 40px;
  }

  .header-left .badge {
    padding: 6px 12px;
    font-size: 11px;
  }

  .brand-text {
    display: none;
  }

  .header-right {
    gap: 16px;
  }

  .scroll-indicator {
    position: fixed;
    top: 20px;
    right: 76px;
    z-index: 30000;
    flex-direction: row;
    gap: 6px;
    background: rgba(1, 1, 1, 0.6);
    backdrop-filter: blur(8px);
    border: 1px dashed rgba(221, 221, 221, 0.5);
    border-radius: 111px;
    min-height: 44px;
    padding: 4px 8px;
  }

  .scroll-indicator .scroll-btn {
    min-width: 32px;
    min-height: 32px;
    padding: 8px;
  }

  .scroll-indicator .scroll-btn img {
    width: 12px;
    height: 12px;
  }

  .logo {
    width: 48px;
  }

  .hero h1,
  .post-hero h1 {
    font-size: 36px;
    letter-spacing: -1.44px;
    margin-bottom: 36px;
  }

  .hero-divider {
    margin-bottom: 48px;
  }

  .hero-body {
    flex-direction: column;
    gap: 32px;
  }

  .hero-description p {
    font-size: 16px;
  }

  .side-nav {
    display: none;
  }

  .mobile-nav-toggle,
  .mobile-nav-overlay {
    display: flex;
  }

  .mobile-nav-toggle {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-nav-overlay.active .mobile-nav-close {
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-nav-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-inner h3 {
    font-size: 18px;
  }

  .contact-intro {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .quote-features {
    grid-template-columns: 1fr;
  }

  .quote-model {
    margin-top: 4px;
  }

  .quote-model canvas {
    height: 220px;
  }

  .quote-section {
    padding-top: 80px;
  }

  .quote-model + .quote-section {
    padding-top: 24px;
  }

  .quote-feature h3 {
    font-size: 18px;
  }

  .quote-config-head {
    flex-direction: column;
    align-items: stretch;
  }

  /* Release the desktop max-content question column on mobile so every
     control fills the quote form inside the page gutters. */
  .quote-standard-layout,
  .quote-standard-questions,
  .quote-q,
  .quote-options,
  .quote-option,
  .quote-slider,
  .quote-qty,
  .quote-form .quote-contact:not([hidden]),
  .quote-form .quote-contact .form-field,
  .quote-form .quote-contact .form-field.full-width {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  .quote-table-hint {
    display: block;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.42);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }

  .quote-standard .quote-table-wrap {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 204, 0.45) rgba(255, 255, 255, 0.06);
    -webkit-overflow-scrolling: touch;
  }

  .quote-standard .quote-table-wrap:focus-visible {
    outline: 1px dashed rgba(0, 255, 204, 0.7);
    outline-offset: 6px;
  }

  .quote-table {
    width: 600px;
    min-width: 600px;
    table-layout: fixed;
  }

  .quote-table thead th:first-child,
  .quote-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 120px;
    min-width: 120px;
    white-space: normal;
    text-wrap: wrap;
    background: #010101;
  }

  .quote-table thead th:first-child {
    z-index: 3;
  }

  .quote-table-select .quote-table-select-row th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #010101;
  }

  .quote-table thead th:not(:first-child),
  .quote-table tbody td {
    width: 160px;
  }

  .quote-table tbody td,
  .quote-table td {
    white-space: normal;
    text-wrap: wrap;
  }

  .contact-form .quote-table .quote-select-btn {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .header-left .badge:not(:only-child):last-child {
    display: none;
  }

  .quote-table th,
  .quote-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
}
