:root {
  color-scheme: light;
  --ink: #374151;
  --ink-strong: #30394b;
  --muted: #687385;
  --line: #eaedf2;
  --purple: #4f46e5;
  --purple-hover: #4338ca;
  --white: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 14px;
}
.stack { width: min(100%, 610px); }
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 40px;
}
.brand img { display: block; width: 203px; height: auto; max-width: 75%; }
.card {
  padding: 38px 40px 34px;
  background: var(--white);
  border: 1px solid #edf0f3;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(18, 30, 49, .08), 0 12px 26px rgba(18, 30, 49, .022);
}
h1 {
  color: var(--ink-strong);
  font-size: clamp(25px, 3vw, 30px);
  letter-spacing: -.85px;
  line-height: 1.22;
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px;
}
.lead {
  color: var(--ink-strong);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
  margin: 0 0 20px;
}
.description {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.72;
  text-align: center;
  margin: 0 0 32px;
}
.access {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.access h2, .support h2 {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
  color: var(--ink-strong);
  margin: 0 0 14px;
  text-align: center;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 5px;
  background: var(--purple);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.primary:hover { background: var(--purple-hover); box-shadow: 0 4px 13px rgba(79,70,229,.18); }
.primary:active { transform: translateY(1px); }
.support { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 22px; }
.support h2 { margin-bottom: 7px; }
.support p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.support a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.support a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #b6b0fc; outline-offset: 4px; }
footer {
  color: #8994a3;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  padding: 12px 16px 23px;
}
@media (max-width: 540px) {
  main { padding: 25px 18px 14px; align-items: center; }
  .stack { max-width: 450px; }
  .brand { margin-bottom: 31px; }
  .brand img { width: 173px; }
  .card { padding: 32px 25px 28px; }
  .description { font-size: 14px; margin-bottom: 26px; }
  .access { padding-top: 23px; }
}
@media (max-width: 365px) {
  main { padding-inline: 12px; }
  .card { padding: 27px 20px; }
  .brand img { width: 154px; }
  .brand { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { .primary { transition: none; } }
