:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #20212e;
  background: #f5f5f9;
  font-synthesis: none;
  --purple: #5639c5;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  width: min(100% - 40px, 720px);
  margin: clamp(32px, 9vh, 96px) auto;
}

header { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.brand { font-size: 29px; font-weight: 750; letter-spacing: -1.7px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #7856ff;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.access {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #e4e4ed;
  border-radius: 22px;
  background: #fff;
}
h1, h2, p { margin: 0; }
h1 { font-size: clamp(32px, 6vw, 50px); letter-spacing: -.045em; line-height: 1.12; }
.access p { max-width: 34em; margin-top: 16px; color: #4e5063; line-height: 1.6; }
nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.primary { background: var(--purple); color: #fff; }
.primary:hover { background: #442ba1; }
.secondary { border-color: #d5ccef; color: var(--purple); }
.secondary:hover { background: #f5f1ff; }
a:focus-visible { outline: 3px solid #7d57e9; outline-offset: 4px; }

.guide { padding: 28px clamp(4px, 2vw, 16px); }
.guide h2 { font-size: 19px; line-height: 1.4; }
.guide a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.guide p { margin-top: 7px; color: #5a5c70; font-size: 14px; line-height: 1.6; }
@media (max-width: 440px) {
  .button { width: 100%; }
}
