html {
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 48px 20px;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
}

main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 56px;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  height: 2px;
  background: #e5e5e5;
  margin: 32px 0 48px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1687e8;
}

input {
  width: 100%;
  height: 76px;
  padding: 0 26px;
  font-size: 28px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #222;
}

input::placeholder {
  color: #aaa;
}

input:focus {
  border-color: #1687e8;
}

button {
  width: 100%;
  height: 80px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  background: #1687f5;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: #0f74d8;
}

pre {
  margin: 48px 0 0;
  padding: 24px;
  min-height: 260px;
  background: #f7f7f7;
  color: #333;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 768px) {
  body {
    padding: 28px 18px;
  }

  main {
    padding: 40px 30px;
  }

  h1 {
    font-size: 30px;
  }

  input {
    height: 68px;
    font-size: 24px;
  }

  button {
    height: 72px;
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  body {
    padding: 20px 14px;
  }

  main {
    padding: 32px 22px;
    border-radius: 14px;
  }

  h1 {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .divider {
    margin: 22px 0 32px;
  }

  label {
    font-size: 15px;
    letter-spacing: 0.5px;
  }

  form {
    gap: 14px;
  }

  input {
    height: 58px;
    padding: 0 18px;
    font-size: 18px;
    border-radius: 8px;
  }

  button {
    height: 60px;
    margin-top: 8px;
    font-size: 20px;
    border-radius: 8px;
  }

  pre {
    margin-top: 32px;
    padding: 18px;
    min-height: 180px;
    font-size: 13px;
    border-radius: 8px;
  }
}
