/* Tessera & Co. corporate look and feel, vendored for the POC Demo Login page.
   Adapted from the tesseraandco.ai home page so the sign-in reads as part of
   that site: same Inter type stack, same teal and navy palette, same button
   and card treatment. Self-contained: the Inter reference falls back cleanly to
   the system sans stack, so the page needs no cross-domain font or asset. This
   stylesheet is scoped to the login page only; the rest of the demo app keeps
   its own app.css. */

:root {
  --teal: #00897B;
  --teal-dark: #00695C;
  --teal-pale: #E8F5F3;
  --navy: #1A2744;
  --ink: #111827;
  --body: #4B5563;
  --mid: #9CA3AF;
  --line: #E5E7EB;
  --canvas: #FFFFFF;
  --canvas-soft: #F8FAFC;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); text-decoration: underline; }

/* Page chrome: a full-height column, centered sign-in in the middle. */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header lockup, mirroring the home site brand treatment. A text wordmark is
   used in place of the corporate logo image so the page stays self-contained. */
.signin-header {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 40px 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand-lockup__mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand-lockup__mark .accent { color: var(--teal-dark); }
.brand-lockup__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Centered sign-in region. */
.signin-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-card {
  width: 100%;
  max-width: 520px;
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 40px 36px;
}

.signin-card .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-pale);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.signin-card h1 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 700;
}
.signin-card h1 .accent { color: var(--teal-dark); }

.signin-card .lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 22px;
}

/* SSO honesty note, styled as a quiet brand callout. */
.sso-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 13px 15px;
  margin: 0 0 24px;
}

/* Form controls. */
.signin-form { margin: 0; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.signin-form select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mid) 50%),
    linear-gradient(135deg, var(--mid) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1.1em),
    calc(100% - 15px) calc(1.1em);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.signin-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-pale);
}

.btn-row { margin-top: 22px; }
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--teal);
  color: var(--canvas);
  border-color: var(--teal);
}
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--teal-pale); }

.hint {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mid);
  margin: 22px 0 0;
}

/* Footer, matching the home site's quiet legal line. */
.signin-footer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 40px 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mid);
}

@media (max-width: 720px) {
  .signin-header { padding: 22px 24px 0; }
  .signin-main { padding: 32px 24px 40px; }
  .signin-card { padding: 30px 24px 28px; }
  .signin-card h1 { font-size: 28px; }
  .signin-footer { padding: 22px 24px; }
}
