/* Confidential Development / NDA portal */
:root {
  --nda-blue: #3D5A73;
  --nda-blue-soft: rgba(61, 90, 115, 0.12);
  --nda-ink: var(--onyx);
  --nda-paper: var(--ivory);
}
body[data-page="nda"] .nda-hero {
  background: linear-gradient(165deg, #0B0C0F 0%, #14161C 55%, #1A1D24 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
body[data-page="nda"] .nda-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l) 42%, transparent 78%);
  opacity: 0.75;
}
.nda-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.nda-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin: 0 0 18px;
}
.nda-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.036em;
  line-height: 1.06;
  max-width: 14ch;
  margin: 0;
  text-wrap: balance;
}
.nda-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-l);
}
.nda-lead {
  margin: 22px 0 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--type-lead);
  line-height: 1.65;
}
.nda-reassure {
  margin: 16px 0 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
}
.nda-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  margin-top: 32px;
}
.nda-cta-row .btn.solid {
  background: #fff !important;
  color: var(--onyx) !important;
  border-color: #fff !important;
}
.nda-cta-row .btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.nda-cta-row .nda-text-link {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nda-doc-card {
  background: var(--nda-paper);
  color: var(--onyx);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px -36px rgba(0, 0, 0, 0.65);
  padding: 28px 26px 24px;
  max-width: 360px;
  margin-left: auto;
}
.nda-doc-card .nda-doc-mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin: 0 0 14px;
}
.nda-doc-card h2 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.2;
}
.nda-doc-id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ash);
  margin: 0 0 18px;
}
.nda-doc-meta {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nda-doc-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.nda-doc-meta dt {
  color: var(--ash);
  margin: 0;
}
.nda-doc-meta dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.nda-status {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 10px;
  border: 1px solid var(--line-gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-d);
}
.nda-section {
  padding: clamp(56px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}
.nda-section .eyebrow {
  margin-bottom: 10px;
}
.nda-section h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
  margin: 0 0 14px;
}
.nda-section .lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 32px;
}
.nda-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.nda-step {
  background: var(--ivory);
  padding: clamp(22px, 2.5vw, 32px);
  min-height: 180px;
}
.nda-step .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-d);
  margin: 0 0 14px;
}
.nda-step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.nda-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.nda-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.nda-action {
  background: #fff;
  padding: clamp(28px, 3vw, 40px);
}
.nda-action.party-a {
  background: var(--onyx);
  color: #fff;
}
.nda-action.party-b {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--nda-blue);
}
.nda-action .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.nda-action.party-a .tag { color: var(--gold-l); }
.nda-action.party-b .tag { color: var(--nda-blue); }
.nda-action h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.nda-action .state {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  opacity: 0.7;
}
.nda-action ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.nda-action li {
  font-size: 14px;
  line-height: 1.45;
  padding-left: 1.4em;
  position: relative;
}
.nda-action li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 600;
}
.nda-action.party-a li { color: rgba(255, 255, 255, 0.78); }
.nda-action.party-b li { color: var(--muted); }
.nda-action.party-b li::before { color: var(--nda-blue); }
.nda-action-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ash);
  max-width: 70ch;
  line-height: 1.55;
}
.nda-protect {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nda-protect article {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 22px 20px;
  min-height: 140px;
}
.nda-protect h3 {
  font-size: 15px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.nda-protect p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.nda-trust-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.nda-trust-split article {
  background: #fff;
  padding: clamp(28px, 3vw, 40px);
}
.nda-trust-split h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  max-width: 16ch;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.nda-trust-split p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
  max-width: 42ch;
}
.nda-ready {
  background: var(--onyx);
  color: #fff;
  border-top: 0;
}
.nda-ready h2 { color: #fff; }
.nda-ready .lead { color: rgba(255, 255, 255, 0.66); }
.nda-ready .nda-meta-line {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.nda-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 8px;
}
.nda-form label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 600;
}
.nda-form input,
.nda-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  background: var(--ivory);
  color: var(--onyx);
  min-height: 44px;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--body);
  font-weight: 400;
}
.nda-form textarea { min-height: 96px; resize: vertical; }
.nda-form input:focus-visible,
.nda-form textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--onyx);
}
.nda-form .hint {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--ash);
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  margin: -2px 0 0;
}
.nda-form .err {
  color: #8b2e2e;
  font-size: 13px;
  margin: 0;
}
.nda-form .ok {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.nda-form .ok h3 { margin: 0 0 8px; font-size: 18px; }
.nda-form .ok p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.nda-faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.nda-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.nda-faq summary::-webkit-details-marker { display: none; }
.nda-faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
  max-width: 68ch;
}
.nda-history {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
  max-width: 62ch;
}
.nda-history strong { color: var(--onyx); }
@media (max-width: 900px) {
  .nda-hero-grid,
  .nda-action-grid,
  .nda-trust-split { grid-template-columns: 1fr; }
  .nda-steps { grid-template-columns: 1fr 1fr; }
  .nda-protect { grid-template-columns: 1fr 1fr; }
  .nda-doc-card { margin: 8px 0 0; max-width: none; }
}
@media (max-width: 560px) {
  .nda-steps,
  .nda-protect { grid-template-columns: 1fr; }
  .nda-cta-row .btn { width: 100%; justify-content: center; }
}

.nda-viewer {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  margin-top: 8px;
}
.nda-viewer-stage {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.nda-viewer-top {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
}
.nda-cover {
  aspect-ratio: 3/4;
  max-height: 520px;
  margin: 0 auto;
  width: min(100%, 380px);
  background: linear-gradient(165deg, #0B0C0F, #1A1E26 60%, #242A33);
  color: #fff;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.nda-cover::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l), transparent);
}
.nda-cover-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin: 0 0 auto;
}
.nda-cover-t {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}
.nda-cover-id {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 0 0 8px;
}
.nda-cover-a {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.nda-viewer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ash);
}
.nda-viewer-bar a {
  color: var(--onyx);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nda-viewer-side {
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: clamp(22px, 2.5vw, 28px);
}
.nda-viewer-side h3 {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nda-viewer-side dl {
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}
.nda-viewer-side dl div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.nda-viewer-side dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
.nda-viewer-side dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.nda-clause-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nda-clause-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(22px, 2.5vw, 28px);
  min-height: 160px;
}
.nda-clause-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nda-blue);
  margin: 0 0 10px;
}
.nda-clause-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nda-clause-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.nda-exec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.nda-exec-party {
  padding: clamp(28px, 3vw, 40px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.nda-exec-party.a {
  background: var(--onyx);
  color: #fff;
}
.nda-exec-party.b {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--nda-blue);
}
.nda-exec-party .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.nda-exec-party.a .tag { color: var(--gold-l); }
.nda-exec-party.b .tag { color: var(--nda-blue); }
.nda-exec-party h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
}
.nda-exec-party p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.78;
  flex: 1;
}
.nda-exec-seal {
  align-self: flex-start;
  border: 2px solid var(--gold-l);
  color: var(--gold-l);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 10px 14px;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
}
.nda-exec-line {
  border-top: 1px solid var(--nda-blue);
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nda-blue);
}
.nda-form input[type="file"] {
  padding: 10px 0;
  border: 0;
  background: transparent;
  min-height: 0;
}
@media (max-width: 900px) {
  .nda-viewer,
  .nda-clause-grid,
  .nda-exec { grid-template-columns: 1fr; }
  .nda-cover { max-height: 420px; }
}

.nda-crumb {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.45);
}
.nda-crumb a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nda-crumb a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.35);
}
.nda-crumb span { color: var(--gold-l); }
.nda-fold {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 28px);
}
.nda-fold > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  gap: 6px;
}
.nda-fold > summary::-webkit-details-marker { display: none; }
.nda-fold-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.028em;
  color: var(--onyx);
}
.nda-fold-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
.nda-fold[open] .nda-fold-hint { display: none; }
.nda-fold .nda-protect { margin-top: 8px; }

/* P2/P3 — hero cover image, funnel, PDF embed, archive, supplier form */
.nda-hero-visual { margin: 0; }
.nda-hero-cover {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e1014;
  box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.85);
}
.nda-hero-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.nda-hero-cover figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nda-hero-cover figcaption strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}
.nda-funnel-bar {
  background: var(--paper);
  border-bottom: 1px solid rgba(11, 12, 15, 0.06);
  padding: 16px 0;
}
.nda-funnel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: baseline;
  justify-content: space-between;
}
.nda-funnel-inner p { margin: 0; font-size: 14px; color: var(--ash); line-height: 1.5; }
.nda-funnel-inner strong { color: var(--onyx); }
.nda-funnel-inner .on {
  color: var(--onyx);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
}
.nda-funnel-note { font-size: 13px !important; max-width: 42ch; }
.nda-pdf-embed {
  display: none;
  background: #1a1c22;
  min-height: 520px;
}
.nda-pdf-embed object {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}
.nda-cover--mobile { display: block; }
@media (min-width: 901px) {
  .nda-pdf-embed { display: block; }
  .nda-cover--mobile { display: none; }
}
.nda-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.nda-archive-card {
  padding: 22px 22px 20px;
  border: 1px solid rgba(11, 12, 15, 0.08);
  background: #fff;
}
.nda-archive-card.current {
  border-color: rgba(184, 148, 74, 0.45);
  box-shadow: 0 12px 32px -28px rgba(11, 12, 15, 0.35);
}
.nda-archive-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nda-blue);
  margin: 0 0 10px;
}
.nda-archive-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nda-archive-card p { margin: 0; color: var(--ash); font-size: 14px; line-height: 1.55; }
.nda-archive-card .nda-cta-row { margin-top: 16px; }
.nda-archive-card .nda-text-link { display: inline-block; margin-top: 14px; }
.nda-history { margin-top: 22px; font-size: 13px; color: var(--ash); line-height: 1.6; }
.nda-history code, .nda-section code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: rgba(11, 12, 15, 0.04);
  padding: 1px 5px;
}
@media (max-width: 900px) {
  .nda-archive { grid-template-columns: 1fr; }
  .nda-funnel-inner { flex-direction: column; }
}
.cf-nda-gate {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(61, 90, 115, 0.28);
  background: rgba(61, 90, 115, 0.06);
  border-radius: 8px;
}
.cf-nda-gate p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--onyx, #0b0c0f); }
.cf-nda-gate a { font-weight: 600; }
.cf-nda-gate.is-ready {
  border-color: rgba(46, 125, 70, 0.35);
  background: rgba(46, 125, 70, 0.07);
}


/* Path rail + 8-step infrastructure */
.nda-path {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
}
.nda-path li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  min-height: 58px;
}
.nda-path li.on {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
}
.nda-path span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}
.nda-path b {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
}
.nda-steps--8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nda-steps--8 .nda-step { min-height: 168px; }
.nda-loop-note {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  max-width: 62ch !important;
}
@media (max-width: 900px) {
  .nda-path { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .nda-steps--8 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nda-steps--8 { grid-template-columns: 1fr; }
}
