@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  font-family: "DM Sans", sans-serif;
  color: #35364f;
  background: #f1f5ff;
  --ink: #35364f;
  --muted: #505b73;
  --line: #dbe4f5;
  --blue: #244cce;
  --blue-dark: #1936a0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(1024px, calc(100% - 40px)); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.brand { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { width: clamp(112px, 24vw, 155px); height: auto; display: block; }
.brand span { color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 34%);
  align-items: center;
  background: linear-gradient(105deg, #294acb, #3e64f5 66%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 30px;
}
.hero-copy { padding: 42px 0 42px 48px; }
.hero-logo { display: block; width: 100%; height: auto; }
h1, h2 { font-family: Manrope, "DM Sans", sans-serif; }
h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.05em; line-height: 1.02; margin: 0 0 18px; }
.hero p { color: #fff; max-width: 410px; line-height: 1.5; margin: 0; }

.panel { margin-top: 23px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.steps { display: flex; gap: 24px; padding: 18px 30px; background: #f7f9ff; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.steps [aria-current] { color: var(--blue-dark); font-weight: 800; }
.content { padding: 28px 30px 30px; }
h2 { font-size: 27px; letter-spacing: -.04em; margin: 0 0 8px; }
p { color: var(--muted); }
#intro { margin: 0 0 23px; }
label { font-weight: 700; display: block; margin-bottom: 8px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.credentials { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.credentials input { width: 100%; }
input { font: inherit; color: var(--ink); height: 48px; padding: 0 14px; width: min(260px,100%); border: 1px solid #8999ba; border-radius: 10px; letter-spacing: .05em; }
.button { font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 10px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button:disabled { opacity: .55; cursor: progress; }
:focus-visible { outline: 3px solid #1978ca; outline-offset: 3px; }
.back { background: none; border: 0; color: var(--blue-dark); cursor: pointer; font: inherit; padding: 10px 0; font-weight: 700; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.row small { display: block; color: var(--muted); margin-top: 4px; }
#status:empty { display: none; }
footer { display: flex; justify-content: space-between; padding: 24px 1px; color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; margin-top: 20px; background: linear-gradient(#294acb, #3e64f5 60%); }
  .hero-copy { padding: 28px 24px 0; }
  .hero-logo { width: min(188px, 54%); justify-self: center; }
  .steps { gap: 8px; justify-content: space-between; padding: 14px; font-size: 12px; }
  .content { padding: 22px 16px; }
}

@media (max-width: 380px) {
  .form-row > * { width: 100%; }
  footer { gap: 12px; }
}
