html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

.home-shell {
  min-height: 100vh;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 48px 20px 120px;
}

.brand-block {
  width: 100%;
  max-width: 980px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.nut-logo {
  display: block;

  width: min(58.5vw, 615px);
  height: auto;

  object-fit: contain;
}

.tagline {
  margin-top: 18px;

  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;

  text-align: center;
}

/* =========================================================
   HOME NAVIGATION
   ========================================================= */

.home-nav {
    width: 100%;
    max-width: 980px;
    margin-top: 64px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}


/* =========================================================
   HOME NAVIGATION BUTTONS
   ========================================================= */

.home-nav-button {
    width: min(92vw, 620px);
    min-height: 76px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 16px 24px;

    border: 1px solid #444;
    border-radius: 10px;

    background: #111;
    color: #fff;

    text-align: center;
    text-decoration: none;
}


/* =========================================================
   ENGINEERING TOOLS
   ========================================================= */

.home-nav-primary {
    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.home-nav-primary:hover {
    background: #1b1b1b;
    border-color: #777;
    transform: translateY(-1px);
}


/* =========================================================
   CUSTOMER PORTAL / EPMS
   ========================================================= */

.home-nav-secondary.disabled {
    background: #080808;
    border-color: #292929;
    color: #777;
    cursor: default;
}


/* =========================================================
   HOME NAVIGATION TEXT
   ========================================================= */

.home-nav-title {
    font-size: 18px;
    font-weight: 700;
}

.home-nav-description {
    margin-top: 6px;

    color: #999;

    font-size: 13px;
    font-weight: 400;
}

.home-nav-secondary .home-nav-description {
    color: #666;
}

/* =========================================================
   COPYRIGHT FOOTER
   ========================================================= */

.home-footer {
    margin-top: 38px;
    padding-bottom: 18px;

    color: #666;

    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.rfq-button {
  position: fixed;

  right: 26px;
  bottom: 26px;

  width: 64px;
  height: 64px;

  border-radius: 50%;

  border: 2px solid #fff;

  background: #111;
  color: #fff;

  font-size: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.rfq-nut {
  line-height: 1;
}

@media (min-width: 760px) {

  .tool-nav {
    grid-template-columns: 1fr 1fr;
  }

}

.development-label {
  margin-top: 42px;

  color: #777;

  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;

  text-align: center;
}

/* RFQ MODAL */

.rfq-modal {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  box-sizing: border-box;

  background: rgba(0, 0, 0, 0.82);

  z-index: 1000;
}

.rfq-modal.show {
  display: flex;
}

.rfq-modal-panel {
  position: relative;

  width: min(92vw, 560px);
  max-height: 90vh;
  overflow-y: auto;

  box-sizing: border-box;

  padding: 28px;

  border: 1px solid #555;
  border-radius: 14px;

  background: #111;
  color: #fff;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.rfq-modal-panel h2 {
  margin: 0 40px 8px 0;

  font-size: 28px;
}

.rfq-description {
  margin: 0 0 22px;

  color: #bbb;
  line-height: 1.5;
}

.rfq-close {
  position: absolute;

  top: 12px;
  right: 14px;

  width: 38px;
  height: 38px;

  border: 0;

  background: transparent;
  color: #fff;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

.rfq-field {
  margin-bottom: 16px;
}

.rfq-field label {
  display: block;

  margin-bottom: 6px;

  font-size: 14px;
  font-weight: 700;
}

.rfq-field input,
.rfq-field textarea {
  width: 100%;

  box-sizing: border-box;

  padding: 11px 12px;

  border: 1px solid #555;
  border-radius: 8px;

  background: #000;
  color: #fff;

  font: inherit;
}

.rfq-field textarea {
  resize: vertical;
}

.rfq-field input:focus,
.rfq-field textarea:focus {
  outline: none;

  border-color: #aaa;
  background: #151515;
}

.rfq-submit {
  width: 100%;

  padding: 13px 16px;

  border: 1px solid #777;
  border-radius: 9px;

  background: #1a1a1a;
  color: #fff;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
}

.rfq-submit:hover {
  background: #252525;
}

.rfq-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.rfq-status {
  min-height: 22px;

  margin-top: 14px;

  color: #ddd;

  font-size: 14px;
  line-height: 1.4;
}

.rfq-honeypot {
  position: absolute;

  left: -9999px;
  top: -9999px;

  width: 1px;
  height: 1px;

  overflow: hidden;
}

body.rfq-open {
  overflow: hidden;
}

@media (max-width: 520px) {

  .rfq-modal {
    padding: 12px;
  }

  .rfq-modal-panel {
    padding: 22px 18px;
  }

  .rfq-modal-panel h2 {
    font-size: 24px;
  }

}