:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: #f5f4f8;
  color: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: #f5f4f8;
}

main {
  width: min(100%, 560px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.wordmark {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
}

.preview {
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: #77777f;
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.08;
}

.summary {
  margin: 12px 0 22px;
  color: #6f6f77;
  font-size: 17px;
  line-height: 1.45;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.08);
}

.detail {
  min-width: 0;
  padding: 14px;
  background: #ffffff;
}

.detail-label {
  display: block;
  margin-bottom: 5px;
  color: #7a7a82;
  font-size: 12px;
}

.detail-value {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button[hidden] {
  display: none;
}

.privacy {
  margin: 16px 2px 0;
  color: #83838b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.error h1 {
  font-size: 30px;
}

@media (max-width: 420px) {
  body {
    align-items: start;
    padding-top: 24px;
  }

  .preview {
    padding: 22px 18px;
  }

  .details {
    grid-template-columns: 1fr;
  }
}
