/* VouchMorph partner sandbox: the joining pages (P154, P156, P173): the front
   page (sign in with the connection key), the terms and the test people.
   Only what portal.css does not already give. Every rule starts with .pt so it
   outweighs portal.css's resets (.pt h1, .pt p, .pt button). */

/* Front page: dark hero on the left, a white card on the right (design page 1). */
.pt .jn-landing { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pt .jn-display { font: 600 clamp(40px, 5.3vw, 84px)/1.02 var(--display); letter-spacing: -.045em; margin: 56px 0 0; }
.pt .jn-lead { color: var(--muted); font-size: 19px; line-height: 32px; max-width: 560px; margin-top: 32px; }
.pt .jn-steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.pt .jn-steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 26px; }
.pt .jn-steps li + li { border-left: 1px solid var(--line); }
.pt .jn-step-n { font: 600 30px/1 var(--display); letter-spacing: -.02em; margin-bottom: 16px; }
.pt .jn-steps strong { font-weight: 500; }
.pt .jn-steps li > span:last-child { color: var(--muted); font-size: 14px; line-height: 22px; }
.pt .jn-base { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 13px; }

.pt .jn-card {
  --ink: #0B0B0B; --paper: #FFFFFF; --panel: #F4F4F4; --line: #DDDDDD; --rule: #E8E8E8;
  --muted: #5F5F5F; --quiet: #8A8A8A; --red: #D7261E;
  background: var(--paper); color: var(--ink); padding: 40px 48px 48px; margin-top: 8px;
}
.pt .jn-form { margin: 0; }
.pt .jn-field { display: block; margin-top: 28px; border: 0; padding: 0; min-width: 0; }
.pt .jn-field > .pt-label { display: block; margin-bottom: 10px; padding: 0; }
.pt .jn-field + .pt-note { margin-top: 8px; }
.pt .jn-gap { margin-top: 16px; }
/* portal.css's ".pt button { color: inherit }" outweighs ".pt-btn": a filled button keeps its light text.
   And ".pt h1, .pt p { margin: 0 }" outweighs the heading's and the lead's own margins. */
.pt button.pt-btn { color: var(--paper); }
.pt .pt-h1 { margin-top: 16px; }
.pt .pt-lead { margin-top: 16px; }

/* Shown once: a new key, a pin. */
.pt .jn-once { border: 1.5px solid var(--ink); padding: 24px; background: var(--paper); }
.pt .jn-secret { font-family: var(--mono); font-size: 15px; line-height: 24px; background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin-top: 12px; word-break: break-all; user-select: all; }

/* Terms */
.pt .jn-terms-list { list-style: none; margin: 0; padding: 0; }
.pt .jn-terms-list > li + li { margin-top: 24px; }
.pt .jn-term-h { font: 600 15px/22px var(--text); margin-bottom: 4px; }

/* People page (design page 2) */
.pt .jn-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; }
.pt .jn-small { font-size: 12px; }
.pt .jn-endpoints > li { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) 88px minmax(0, 1.6fr); gap: 16px; align-items: baseline; }
.pt .jn-way { font-size: 13px; }
/* One rule between every part of the panel, splits included; none inside a split's top. */
.pt .jn-panel > * + * { border-top: 1px solid var(--line); }
.pt .jn-panel .pt-split > .pt-section + .pt-section { border-top: 0; }

@media (max-width: 960px) {
  .pt .jn-landing { grid-template-columns: 1fr; gap: 40px; }
  .pt .jn-display { margin-top: 24px; }
  .pt .jn-steps { grid-template-columns: 1fr; margin-top: 40px; }
  .pt .jn-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pt .jn-card { padding: 24px 20px 32px; }
  .pt .jn-endpoints > li { grid-template-columns: 1fr; gap: 4px; }
  .pt .pt-rows > li { flex-wrap: wrap; }
  .pt .jn-panel .pt-split > .pt-section + .pt-section { border-top: 1px solid var(--line); }
}
