:root {
  --orange: #f36c21;
  --orange-dark: #d95712;
  --navy: #102a43;
  --blue: #1f5f99;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --text: #17324d;
  --muted: #65788a;
  --line: #d9e1e7;
  --shadow: 0 30px 80px rgba(8, 32, 54, .2);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
}

body::before,
body::after {
  position: fixed;
  content: "";
  pointer-events: none;
}

body::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(16, 42, 67, .09) 9% 9.25%, transparent 9.25% 72%, rgba(16, 42, 67, .09) 72% 72.25%, transparent 72.25%),
    linear-gradient(0deg, transparent 0 17%, rgba(16, 42, 67, .09) 17% 17.25%, transparent 17.25% 78%, rgba(16, 42, 67, .09) 78% 78.25%, transparent 78.25%);
}

body::after {
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  top: -12vw;
  right: -8vw;
  border: 58px solid var(--orange);
  border-radius: 50%;
  opacity: .95;
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.page::before {
  position: fixed;
  left: 0;
  bottom: 8%;
  width: 21vw;
  height: 18px;
  content: "";
  background: var(--blue);
}

.login-card {
  position: relative;
  width: min(100%, 560px);
  padding: 42px;
  background: rgba(255, 253, 248, .97);
  border: 1px solid rgba(16, 42, 67, .12);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.login-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 7px;
  content: "";
  background: var(--orange);
}

.brandbar,
.logo,
.status,
.xml-download {
  display: flex;
  align-items: center;
}

.brandbar { justify-content: space-between; }

.logo {
  gap: 13px;
  font-weight: 900;
  letter-spacing: .035em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--navy);
  color: white;
  font-size: 25px;
  font-weight: 900;
}

.logo__text { font-size: 19px; }
.logo__text b { color: var(--orange); }

.locale {
  padding: 7px 9px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.content { margin-top: 52px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--orange);
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 10vw, 66px);
  line-height: .9;
  letter-spacing: -.06em;
}

p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 17px;
  margin-top: 34px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: white;
  color: var(--text);
  font-size: 16px;
  transition: border-color .18s, box-shadow .18s;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 4px 4px 0 rgba(31, 95, 153, .12);
}

button {
  height: 55px;
  margin-top: 2px;
  border: 0;
  border-radius: 0;
  background: var(--orange);
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition: background .18s, transform .18s, box-shadow .18s;
}

button:hover {
  background: var(--orange-dark);
  box-shadow: 5px 5px 0 var(--navy);
  transform: translate(-2px, -2px);
}

button:disabled { cursor: wait; opacity: .72; }

.xml-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  margin-top: 24px;
  padding: 20px;
  border-left: 5px solid var(--blue);
  background: #edf3f6;
}

.xml-note__number {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.xml-note strong { color: var(--navy); font-size: 15px; }
.xml-note p { margin: 7px 0 10px; font-size: 13px; line-height: 1.5; }

.xml-note ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
  margin: 0 0 16px;
  padding-left: 17px;
  color: #53697a;
  font-size: 13px;
  line-height: 1.4;
}

.xml-download {
  display: inline-flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s;
}

.xml-download:hover { background: var(--blue); }

.status {
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #228b5a;
  box-shadow: 0 0 0 5px rgba(34, 139, 90, .12);
}

@media (max-width: 560px) {
  .page { padding: 18px; }
  .login-card { padding: 30px 24px; }
  .logo__text { font-size: 17px; }
  .content { margin-top: 42px; }
  .xml-note ul { grid-template-columns: 1fr; }
  body::after { border-width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
