:root {
  --aiq-nda-lime: #b8c400;
  --aiq-nda-text: #373c3f;
  --aiq-nda-muted: #6f7478;
  --aiq-nda-bg: #f4f5f6;
  --aiq-nda-line: #d9dde0;
  --aiq-nda-white: #ffffff;
}

.aiq-nda-form-wrap,
.aiq-nda-form-wrap * {
  box-sizing: border-box;
}

.aiq-nda-form-wrap {
  width: 100%;
  color: var(--aiq-nda-text);
  font-family: inherit;
}

.aiq-nda-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--aiq-nda-white);
  border: 1px solid var(--aiq-nda-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(55, 60, 63, 0.08);
}

.aiq-nda-header {
  background: linear-gradient(135deg, #373c3f 0%, #24282a 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 54px);
  border-bottom: 5px solid var(--aiq-nda-lime);
}

.aiq-nda-brandline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}

.aiq-nda-logo {
  display: block;
  width: min(260px, 72vw);
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.aiq-nda-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--aiq-nda-lime);
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
}

.aiq-nda-header h2 {
  margin: 0 0 4px 0;
  color: #fff;
  font-size: clamp(48px, 8vw, 82px);
  line-height: .95;
  letter-spacing: -0.04em;
}

.aiq-nda-title-sub {
  margin: 0 0 18px 0;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.aiq-nda-header p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.55;
}

.aiq-nda-section,
.aiq-nda-summary,
.aiq-nda-signature-box,
.aiq-nda-consent,
.aiq-nda-note,
.aiq-nda-submit,
.aiq-nda-message {
  margin-left: clamp(22px, 5vw, 54px);
  margin-right: clamp(22px, 5vw, 54px);
}

.aiq-nda-section {
  padding: 34px 0 0 0;
}

.aiq-nda-section h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  line-height: 1.25;
  color: var(--aiq-nda-text);
}

.aiq-nda-section h3::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  background: var(--aiq-nda-lime);
  border-radius: 999px;
}

.aiq-nda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aiq-nda-form-wrap label {
  display: block;
  font-weight: 700;
  color: var(--aiq-nda-text);
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 18px 0;
}

.aiq-nda-form-wrap label span {
  color: var(--aiq-nda-lime);
}

.aiq-nda-form-wrap input[type="text"],
.aiq-nda-form-wrap input[type="email"],
.aiq-nda-form-wrap input[type="number"],
.aiq-nda-form-wrap textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid var(--aiq-nda-line);
  border-radius: 10px;
  background: #fff;
  color: var(--aiq-nda-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.aiq-nda-form-wrap textarea {
  resize: vertical;
  min-height: 86px;
}

.aiq-nda-form-wrap input:focus,
.aiq-nda-form-wrap textarea:focus {
  border-color: var(--aiq-nda-lime);
  box-shadow: 0 0 0 4px rgba(184, 196, 0, .16);
}

.aiq-nda-summary {
  margin-top: 30px;
  padding: 22px 24px;
  background: #f4f5f6;
  border-left: 5px solid var(--aiq-nda-lime);
  border-radius: 14px;
}

.aiq-nda-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--aiq-nda-text);
  font-size: 17px;
}

.aiq-nda-summary p {
  margin: 0 0 9px 0;
  color: var(--aiq-nda-text);
  line-height: 1.55;
}

.aiq-nda-summary p:last-child {
  margin-bottom: 0;
}

.aiq-nda-muted,
.aiq-nda-note {
  color: var(--aiq-nda-muted);
  font-size: 14px;
  line-height: 1.55;
}

.aiq-nda-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px !important;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--aiq-nda-line);
  border-radius: 14px;
  font-weight: 600 !important;
}

.aiq-nda-consent input {
  margin-top: 3px;
  accent-color: var(--aiq-nda-lime);
}

.aiq-nda-signature-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--aiq-nda-line);
  background: #fff;
}

.aiq-nda-signature-box label {
  margin-bottom: 12px;
}

.aiq-nda-signature-canvas {
  display: block;
  width: 100%;
  height: 190px;
  background: #fbfbfb;
  border: 1px dashed #b9bec3;
  border-radius: 12px;
  cursor: crosshair;
  touch-action: none;
}

.aiq-nda-clear-signature {
  margin-top: 12px;
  border: 1px solid var(--aiq-nda-line);
  background: #fff;
  color: var(--aiq-nda-text);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
}

.aiq-nda-note {
  margin-top: 18px;
}

.aiq-nda-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  margin-bottom: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--aiq-nda-lime);
  color: #25282a;
  padding: 15px 26px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.aiq-nda-submit:hover {
  transform: translateY(-1px);
  filter: brightness(.98);
}

.aiq-nda-submit[disabled] {
  opacity: .65;
  cursor: wait;
}

.aiq-nda-message {
  margin-top: -26px;
  margin-bottom: 32px;
  padding: 0;
  min-height: 24px;
  font-weight: 700;
}

.aiq-nda-message.aiq-success {
  color: #4f7500;
}

.aiq-nda-message.aiq-error {
  color: #a33;
}

.aiq-nda-admin-details {
  margin-bottom: 10px;
}

.aiq-nda-admin-sign-form {
  max-width: 520px;
  margin-top: 10px;
}

.aiq-nda-admin-sign-form .aiq-nda-signature-canvas {
  height: 140px;
}

@media (max-width: 760px) {
  .aiq-nda-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aiq-nda-header {
    padding: 30px 22px;
  }

  .aiq-nda-logo {
    width: min(220px, 72vw);
    max-height: 48px;
  }

  .aiq-nda-header h2 {
    font-size: clamp(48px, 18vw, 70px);
  }

  .aiq-nda-title-sub {
    font-size: 21px;
    line-height: 1.15;
    max-width: 100%;
  }

  .aiq-nda-section,
  .aiq-nda-summary,
  .aiq-nda-signature-box,
  .aiq-nda-consent,
  .aiq-nda-note,
  .aiq-nda-submit,
  .aiq-nda-message {
    margin-left: 22px;
    margin-right: 22px;
  }

  .aiq-nda-signature-box {
    padding: 18px;
  }
}
