:root {
  --ink: #12262f;
  --muted: #52656d;
  --deep: #004362;
  --deep-2: #002f45;
  --accent: #b34422;
  --accent-bright: #ef6236;
  --white: #fff;
}

* { box-sizing: border-box; }

body.tai-oklahoma-login {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 15%, rgba(239, 98, 54, .24), transparent 24rem),
    linear-gradient(135deg, var(--deep-2), var(--deep));
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

.login-shell {
  width: min(100% - 40px, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  width: fit-content;
  margin: 0 auto 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  min-width: 67px;
  font-family: Georgia, serif;
  font-size: 1.52rem;
  letter-spacing: -.06em;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  width: 1px;
  height: 40px;
  background: #89a3ad;
}

.brand-mark span {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.brand-name {
  max-width: 220px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: .96rem;
  line-height: 1.1;
}

.brand-name strong {
  display: block;
  color: #ff9b7b;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.login-card {
  padding: clamp(28px, 6vw, 46px);
  background: var(--white);
  border-top: 5px solid var(--accent-bright);
  box-shadow: 0 28px 70px rgba(0, 28, 40, .32);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.intro {
  margin: 20px 0 27px;
  color: var(--muted);
}

.login-error {
  margin: 0 0 22px;
  padding: 13px 15px;
  color: #74270f;
  background: #fff1eb;
  border-left: 4px solid var(--accent);
}

form { display: grid; gap: 10px; }

label {
  color: var(--deep-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9eb0b7;
  border-radius: 3px;
  font: inherit;
}

.remember {
  margin: 2px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.remember input { width: 18px; height: 18px; }

button {
  min-height: 50px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

button:hover { background: #8f3218; }

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(179, 68, 34, .72);
  outline-offset: 3px;
}

.back-link {
  margin-top: 24px;
  display: inline-block;
  color: var(--deep);
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 520px) {
  .login-shell { width: min(100% - 24px, 520px); }
  .brand-name { display: none; }
  .login-card { padding: 28px 22px; }
}
