/* Partner sign-in. Builds on the tokens in /styles.css; load both. */

/* The footer sits at the foot of the window however short the card is. This file is loaded by
   the sign-in page alone, so the body rule reaches nothing else. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.sign-in-section { padding: 56px 0 96px; flex: 1 0 auto; }
.sign-in-section [hidden] { display: none !important; }

.sign-in-card {
  max-width: 440px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
}
.sign-in-card .eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
}
.sign-in-card h1 { font-size: clamp(26px, 4vw, 32px); font-weight: 800; letter-spacing: -.01em; margin-top: 8px; }
.sign-in-lede { font-size: 14px; color: var(--neutral); margin: 12px 0 20px; line-height: 1.5; }
.sign-in-card .field { margin-bottom: 18px; }
.sign-in-card input#code { letter-spacing: .3em; font-size: 20px; font-weight: 600; }
.sign-in-btn { width: 100%; justify-content: center; }

.sign-in-links { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--neutral); }
.sign-in-links .link {
  padding: 0; border: 0; background: none; font: inherit; color: var(--brand-text); text-decoration: underline; cursor: pointer;
}

.said { font-size: 13.5px; color: var(--olive-deep); margin-top: 16px; line-height: 1.5; }
.said.is-error { color: var(--fail); }

.sign-in-foot { max-width: 440px; margin: 18px auto 0; font-size: 12.5px; color: var(--neutral); text-align: center; line-height: 1.5; }
.sign-in-foot a { color: var(--brand-text); }

@media (max-width: 640px) {
  .sign-in-section { padding: 32px 0 64px; }
  .sign-in-card { padding: 24px 20px; }
}
