:root {
  color-scheme: light dark;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6fb;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eef3ff 0, #f8f9fc 280px, #f8f9fc 100%);
}

a {
  color: #3158a6;
}

.shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #172033;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #3158a6;
  color: #fff;
  font-weight: 900;
}

.card {
  margin-top: 24px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #dce2ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(35 53 87 / 9%);
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

p,
li {
  line-height: 1.7;
}

.lead {
  color: #4d5b73;
  font-size: 1.08rem;
}

.meta {
  color: #66738b;
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  background: #3158a6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid #cbd5e7;
  background: #fff;
  color: #3158a6;
}

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid #3158a6;
  border-radius: 12px;
  background: #eef3ff;
}

footer {
  padding: 24px 4px 0;
  color: #66738b;
  font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0f1520;
    color: #ecf1fb;
  }

  body {
    background: linear-gradient(180deg, #17223a 0, #0f1520 280px, #0f1520 100%);
  }

  a,
  .brand,
  .button.secondary {
    color: #a9c4ff;
  }

  .card,
  .button.secondary {
    border-color: #334058;
    background: #182131;
  }

  .lead,
  .meta,
  footer {
    color: #b4bfd2;
  }

  .notice {
    background: #202e48;
  }
}
