/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f8f5e7;
}

/* Layout */
.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(560px, 100%);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}

/* Logo */
.logo {
  width: min(220px, 70%);
  height: auto;
  display: block;
  margin: 6px auto 18px;
}

/* Text */
h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-family: halyard;
  color: #546e7a;
}

.subtitle {
  margin: 0;
  font-size: 16px;
  color: rgba(0,0,0,0.70);
}

.small {
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Divider */
.divider {
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,0.08);
  margin: 18px 0 16px;
}

/* Mobile tweaks */
@media (max-width: 420px) {
  .card { padding: 22px 18px; }
  h1 { font-size: 24px; }
}
