:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: #090909;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.page {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}

.brand-rail {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 18px;
  background: #1c1c1c;
  border-right: 1px solid #343434;
}

.brand-rail img {
  display: block;
  width: 40px;
  height: 40px;
}

.main-content {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 48px 24px;
  background-color: #090909;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./contours.svg");
  background-position: center;
  background-size: cover;
}

.notice {
  width: min(100%, 570px);
  padding: clamp(36px, 6vw, 64px);
  color: #111;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.3);
}

.notice__accent {
  width: 44px;
  height: 6px;
  margin-bottom: 42px;
  background: #c1fa3d;
  border-radius: 3px;
}

h1 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(30px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.notice__message {
  max-width: 380px;
  margin: 26px 0 0;
  color: #555;
  font-size: 18px;
  line-height: 1.55;
}

.notice__message a {
  color: #006bd6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice__message a:focus-visible {
  outline: 2px solid #006bd6;
  outline-offset: 3px;
}

.notice__thanks {
  margin: 20px 0 0;
  color: #555;
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: 64px minmax(0, 1fr);
  }

  .brand-rail {
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid #343434;
  }

  .brand-rail img {
    width: 36px;
    height: 36px;
  }

  .main-content {
    padding: 24px 16px;
  }

  .notice__accent {
    margin-bottom: 32px;
  }

  .notice__message,
  .notice__thanks {
    font-size: 16px;
  }
}
